automatic-assessments
Version:
Automatic assessment of Marty and Scratch 3.0 projects
18 lines (17 loc) • 673 B
TypeScript
import { Target } from '../../types/main';
import Analyzer from '../Analyzer';
export declare const IF_BLOCK_OPCODE = "control_if";
export declare const IF_ELSE_BLOCK_OPCODE = "control_if_else";
export declare const AND_LOGIC_OPERATOR_OPCODE = "operator_and";
export declare const OR_LOGIC_OPERATOR_OPCODE = "operator_or";
export declare const NOT_LOGIC_OPERATOR_OPCODE = "operator_not";
declare class Logic extends Analyzer {
score: number;
targets: Target[];
constructor(targets: Target[]);
execute(): number;
private firstPointIfBlock;
private twoPointsIfElseBlock;
private threePointsLogicOperators;
}
export default Logic;