/** * creates a new ASTVarNode with a given variable. This method should be sub-classed * * @throws ParseException */ public ASTVarNode buildVariableNode(Variable var) throws ParseException { ASTVarNode node = new ASTVarNode(ParserTreeConstants.JJTVARNODE); node.setVar(var); return node; }