/** * simple init - don't do anything that is context specific. * just get what we need from the AST, which is static. */ public Object init(InternalContextAdapter context, Object data) throws Exception { super.init(context, data); identifier = getFirstToken().image; uberInfo = new Info(context.getCurrentTemplateName(), getLine(), getColumn()); return data; }
+ ") of '!=' operation has null value." + " Operation not possible. " + context.getCurrentTemplateName() + " [line " + getLine() + ", column " + getColumn() + "]"); return false; + " Currently left = " + left.getClass() + ", right = " + right.getClass() + ". " + context.getCurrentTemplateName() + " [line " + getLine() + ", column " + getColumn() + "] (ASTEQNode)");
+ context.getCurrentTemplateName() + " [line " + getLine() + ", column " + getColumn() + "]"); return null; + " side of range operator is not a valid type. " + "Currently only integers (1,2,3...) and Integer type is supported. " + context.getCurrentTemplateName() + " [line " + getLine() + ", column " + getColumn() + "]");
+ "If a reference, it may not be in the context." + " Operation not possible. " + context.getCurrentTemplateName() + " [line " + getLine() + ", column " + getColumn() + "]"); return false; + " Currently left = " + left.getClass() + ", right = " + right.getClass() + ". " + context.getCurrentTemplateName() + " [line " + getLine() + ", column " + getColumn() + "] (ASTEQNode)");
+ " Operation not possible. " + context.getCurrentTemplateName() + " [line " + getLine() + ", column " + getColumn() + "]"); return false; + " It is a " + ( !( left instanceof Integer ) ? left.getClass() : right.getClass() ) + ". Currently only integers (1,2,3...) and Integer type is supported. " + context.getCurrentTemplateName() + " [line " + getLine() + ", column " + getColumn() + "]");
+ " Operation not possible. " + context.getCurrentTemplateName() + " [line " + getLine() + ", column " + getColumn() + "]"); return false; + " It is a " + ( !( left instanceof Integer ) ? left.getClass() : right.getClass() ) + ". Currently only integers (1,2,3...) and Integer type is supported. " + context.getCurrentTemplateName() + " [line " + getLine() + ", column " + getColumn() + "]");
+ " Operation not possible. " + context.getCurrentTemplateName() + " [line " + getLine() + ", column " + getColumn() + "]"); return false; + " It is a " + ( !( left instanceof Integer ) ? left.getClass() : right.getClass() ) + ". Currently only integers (1,2,3...) and Integer type is supported. " + context.getCurrentTemplateName() + " [line " + getLine() + ", column " + getColumn() + "]");
+ " Operation not possible. " + context.getCurrentTemplateName() + " [line " + getLine() + ", column " + getColumn() + "]"); return false; + " It is a " + ( !( left instanceof Integer ) ? left.getClass() : right.getClass() ) + ". Currently only integers (1,2,3...) and Integer type is supported. " + context.getCurrentTemplateName() + " [line " + getLine() + ", column " + getColumn() + "]");
+ ") of modulus operation has null value." + " Operation not possible. " + context.getCurrentTemplateName() + " [line " + getLine() + ", column " + getColumn() + "]"); return null; + " side of modulus operation is not a valid type. " + "Currently only integers (1,2,3...) and Integer type is supported. " + context.getCurrentTemplateName() + " [line " + getLine() + ", column " + getColumn() + "]"); + context.getCurrentTemplateName() + " [line " + getLine() + ", column " + getColumn() + "]");
+ " Operation not possible. " + context.getCurrentTemplateName() + " [line " + getLine() + ", column " + getColumn() + "]"); return null; + " side of division operation is not a valid type. " + "Currently only integers (1,2,3...) and Integer type is supported. " + context.getCurrentTemplateName() + " [line " + getLine() + ", column " + getColumn() + "]"); + context.getCurrentTemplateName() + " [line " + getLine() + ", column " + getColumn() + "]");
+ ") of multiplication operation has null value." + " Operation not possible. " + context.getCurrentTemplateName() + " [line " + getLine() + ", column " + getColumn() + "]"); return null; + " side of multiplication operation is not a valid type. " + "Currently only integers (1,2,3...) and Integer type is supported. " + context.getCurrentTemplateName() + " [line " + getLine() + ", column " + getColumn() + "]");
+ ") of subtraction operation has null value." + " Operation not possible. " + context.getCurrentTemplateName() + " [line " + getLine() + ", column " + getColumn() + "]"); return null; + " side of subtraction operation is not a valid type. " + "Currently only integers (1,2,3...) and Integer type is supported. " + context.getCurrentTemplateName() + " [line " + getLine() + ", column " + getColumn() + "]");
+ ") of addition operation has null value." + " Operation not possible. " + context.getCurrentTemplateName() + " [line " + getLine() + ", column " + getColumn() + "]"); return null; + " side of addition operation is not a valid type. " + "Currently only integers (1,2,3...) and Integer type is supported. " + context.getCurrentTemplateName() + " [line " + getLine() + ", column " + getColumn() + "]");
public Object init(InternalContextAdapter context, Object data) throws Exception { /* * init our children */ super.init(context, data); /* * the only thing we can do in init() is getRoot() * as that is template based, not context based, * so it's thread- and context-safe */ rootString = getRoot(); numChildren = jjtGetNumChildren(); /* * and if appropriate... */ if (numChildren > 0 ) { identifier = jjtGetChild(numChildren - 1).getFirstToken().image; } /* * make an uberinfo - saves new's later on */ uberInfo = new Info(context.getCurrentTemplateName(), getLine(),getColumn()); return data; }
+ context.getCurrentTemplateName() + " [line " + getLine() + ", column " + getColumn() + "]"); return false;
+ " [" + this.getLine() + "," + this.getColumn() + "]"); return false;
+ rootString + " in template " + context.getCurrentTemplateName() + " at " + " [" + this.getLine() + "," + this.getColumn() + "]");
+ context.getCurrentTemplateName() + " [line " + getLine() + ", column " + getColumn() + "]");