public void push(Object o) { size++; element = new StackElement(element, o); assert size == deepCount(); }
public Object parseCollection(char[] property, int start, int offset, boolean subcompile, Class colType, ParserContext pCtx) { if (colType != null) this.colType = getBaseComponentType(colType); this.property = property; this.end = start + offset; while (start < end && isWhitespace(property[start])) { start++; } this.start = this.cursor = start; this.pCtx = pCtx; return parseCollection(subcompile); }
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 static ASTBinaryTree buildTree(ASTIterator input) { ASTIterator iter = new ASTLinkedList(input.firstNode()); ASTBinaryTree tree = new ASTBinaryTree(iter.nextNode()); while (iter.hasMoreNodes()) { ASTNode node = iter.nextNode(); if (node instanceof EndOfStatement) { if (iter.hasMoreNodes()) tree = new ASTBinaryTree(iter.nextNode()); } else { tree = tree.append(node); } } return tree; } }
public Object parseCollection(char[] property, int start, int offset, boolean subcompile, ParserContext pCtx) { this.property = property; this.pCtx = pCtx; this.end = start + offset; while (start < end && isWhitespace(property[start])) { start++; } this.start = this.cursor = start; return parseCollection(subcompile); }
public Object parseCollection(char[] property, boolean subcompile, Class colType, ParserContext pCtx) { if (colType != null) this.colType = getBaseComponentType(colType); this.cursor = 0; this.pCtx = pCtx; if ((this.length = (this.property = property).length) > 0) while (length > 0 && isWhitespace(property[length - 1])) length--; return parseCollection(subcompile); }
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 void push(Object obj1, Object obj2) { size += 2; element = new StackElement(new StackElement(element, obj1), obj2); assert size == deepCount(); }
public Object parseCollection(char[] property, int start, int offset, boolean subcompile, ParserContext pCtx) { this.property = property; this.pCtx = pCtx; this.end = start + offset; while (start < end && isWhitespace(property[start])) { start++; } this.start = this.cursor = start; return parseCollection(subcompile); }
public Object parseCollection(char[] property, int start, int offset, boolean subcompile, Class colType, ParserContext pCtx) { if (colType != null) this.colType = getBaseComponentType(colType); this.property = property; this.end = start + offset; while (start < end && isWhitespace(property[start])) { start++; } this.start = this.cursor = start; this.pCtx = pCtx; return parseCollection(subcompile); }
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 void dup() { size++; element = new StackElement(element, element.value); assert size == deepCount(); }
public Object parseCollection(char[] property, boolean subcompile, ParserContext pCtx) { this.cursor = 0; this.pCtx = pCtx; if ((this.length = (this.property = property).length) > 0) while (length > 0 && isWhitespace(property[length - 1])) length--; return parseCollection(subcompile); }
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 void push(Object obj1, Object obj2, Object obj3) { size += 3; element = new StackElement(new StackElement(new StackElement(element, obj1), obj2), obj3); assert size == deepCount(); }
public WhileNode(char[] condition, char[] block, int fields, 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 void push(Object obj1, Object obj2) { size += 2; element = new StackElement(new StackElement(element, obj1), obj2); assert size == deepCount(); }
public DoNode(char[] condition, char[] block, int fields, ParserContext pCtx) { this.condition = (ExecutableStatement) subCompileExpression(this.name = condition, pCtx); expectType(this.condition, Boolean.class, ((fields & COMPILE_IMMEDIATE) != 0)); this.compiledBlock = (ExecutableStatement) subCompileExpression(this.block = block, pCtx); }
public void push(Object obj1, Object obj2, Object obj3) { size += 3; element = new StackElement(new StackElement(new StackElement(element, obj1), obj2), obj3); assert size == deepCount(); }
public void dup() { size++; element = new StackElement(element, element.value); assert size == deepCount(); }