public Convertable(ASTNode stmt, ASTNode clsStmt, ParserContext pCtx) { super(pCtx); this.stmt = stmt; this.clsStmt = clsStmt; CompilerTools.expectType(pCtx, clsStmt, Class.class, true); }
public Or(ASTNode left, ASTNode right, boolean strongTyping, ParserContext pCtx) { super(pCtx); expectType(pCtx, this.left = left, Boolean.class, strongTyping); expectType(pCtx, this.right = right, Boolean.class, strongTyping); }
public Soundslike(ASTNode stmt, ASTNode clsStmt, ParserContext pCtx) { super(pCtx); this.stmt = stmt; this.soundslike = clsStmt; CompilerTools.expectType(pCtx, clsStmt, String.class, true); }
public And(ASTNode left, ASTNode right, boolean strongTyping, ParserContext pCtx) { super(pCtx); expectType(pCtx, this.left = left, Boolean.class, strongTyping); expectType(pCtx, this.right = right, Boolean.class, strongTyping); }
public Instance(ASTNode stmt, ASTNode clsStmt, ParserContext pCtx) { super(pCtx); this.stmt = stmt; this.clsStmt = clsStmt; CompilerTools.expectType(pCtx, clsStmt, Class.class, true); }
public Or(ASTNode left, ASTNode right, boolean strongTyping, ParserContext pCtx) { super(pCtx); expectType(pCtx, this.left = left, Boolean.class, strongTyping); expectType(pCtx, this.right = right, Boolean.class, strongTyping); }
public IfNode(ExecutableStatement condition, ExecutableStatement nestedStatement, ExecutableStatement elseBlock) { expectType(this.condition = condition, Boolean.class, true); this.nestedStatement = nestedStatement; this.elseBlock = elseBlock; }
public Instance(ASTNode stmt, ASTNode clsStmt) { this.stmt = stmt; this.clsStmt = clsStmt; CompilerTools.expectType(clsStmt, Class.class, true); }
public Instance(ASTNode stmt, ASTNode clsStmt, ParserContext pCtx) { super(pCtx); this.stmt = stmt; this.clsStmt = clsStmt; CompilerTools.expectType(pCtx, clsStmt, Class.class, true); }
public Strsim(ASTNode stmt, ASTNode clsStmt, ParserContext pCtx) { super(pCtx); this.stmt = stmt; this.soundslike = clsStmt; CompilerTools.expectType(pCtx, clsStmt, String.class, true); }
public And(ASTNode left, ASTNode right, boolean strongTyping, ParserContext pCtx) { super(pCtx); expectType(pCtx, this.left = left, Boolean.class, strongTyping); expectType(pCtx, this.right = right, Boolean.class, strongTyping); }
public And(ASTNode left, ASTNode right, boolean strongTyping) { expectType(this.left = left, Boolean.class, strongTyping); expectType(this.right = right, Boolean.class, strongTyping); }
public Invert(char[] expr, int start, int offset, int fields, ParserContext pCtx) { super(pCtx); this.expr = expr; this.start = start; this.offset = offset; if ((fields & COMPILE_IMMEDIATE) != 0) { expectType(pCtx, this.stmt = (ExecutableStatement) subCompileExpression(expr, start, offset, pCtx), Integer.class, true); } }
public Invert(char[] expr, int start, int offset, int fields, ParserContext pCtx) { super(pCtx); this.expr = expr; this.start = start; this.offset = offset; if ((fields & COMPILE_IMMEDIATE) != 0) { expectType(pCtx, this.stmt = (ExecutableStatement) subCompileExpression(expr, start, offset, pCtx), Integer.class, true); } }
public Invert(char[] name, int fields, ParserContext pCtx) { this.name = name; if ((fields & COMPILE_IMMEDIATE) != 0) { expectType(this.stmt = (ExecutableStatement) subCompileExpression(name, pCtx), Integer.class, true); } }
public DoUntilNode(char[] condition, char[] block, ParserContext pCtx) { expectType(this.condition = (ExecutableStatement) subCompileExpression(this.name = condition, pCtx), Boolean.class, ((fields & COMPILE_IMMEDIATE) != 0)); this.compiledBlock = (ExecutableStatement) subCompileExpression(this.block = block, pCtx); }
public IfNode(char[] condition, char[] block, int fields, ParserContext pCtx) { if ((this.name = condition) == null || condition.length == 0) { throw new CompileException("statement expected"); } this.block = block; if ((fields & COMPILE_IMMEDIATE) != 0) { expectType(this.condition = (ExecutableStatement) subCompileExpression(condition, pCtx), Boolean.class, true); this.nestedStatement = (ExecutableStatement) subCompileExpression(block, pCtx); } }
public WhileNode(char[] expr, int start, int offset, int blockStart, int blockEnd, int fields, ParserContext pCtx) { super(pCtx); expectType(pCtx, this.condition = (ExecutableStatement) subCompileExpression(expr, start, offset, pCtx), Boolean.class, ((fields & COMPILE_IMMEDIATE) != 0)); if (pCtx != null) { pCtx.pushVariableScope(); } this.compiledBlock = (ExecutableStatement) subCompileExpression(expr, blockStart, blockEnd, pCtx); if (pCtx != null) { pCtx.popVariableScope(); } }
public UntilNode(char[] expr, int start, int offset, int blockStart, int blockOffset, int fields, ParserContext pCtx) { super(pCtx); expectType(pCtx, this.condition = (ExecutableStatement) subCompileExpression(expr, start, offset, pCtx), Boolean.class, ((fields & COMPILE_IMMEDIATE) != 0)); if (pCtx != null) { pCtx.pushVariableScope(); } this.compiledBlock = (ExecutableStatement) subCompileExpression(expr, blockStart, blockOffset, pCtx); if (pCtx != null) { pCtx.popVariableScope(); } }
public UntilNode(char[] expr, int start, int offset, int blockStart, int blockOffset, int fields, ParserContext pCtx) { super(pCtx); expectType(pCtx, this.condition = (ExecutableStatement) subCompileExpression(expr, start, offset, pCtx), Boolean.class, ((fields & COMPILE_IMMEDIATE) != 0)); if (pCtx != null) { pCtx.pushVariableScope(); } this.compiledBlock = (ExecutableStatement) subCompileExpression(expr, blockStart, blockOffset, pCtx); if (pCtx != null) { pCtx.popVariableScope(); } }