1 16 17 package org.apache.commons.jexl.parser; 18 19 import org.apache.commons.jexl.JexlContext; 20 21 27 public class ASTTrueNode extends SimpleNode { 28 33 public ASTTrueNode(int id) { 34 super(id); 35 } 36 37 43 public ASTTrueNode(Parser p, int id) { 44 super(p, id); 45 } 46 47 48 public Object jjtAccept(ParserVisitor visitor, Object data) { 49 return visitor.visit(this, data); 50 } 51 52 53 public Object value(JexlContext jc) throws Exception { 54 return Boolean.TRUE; 55 } 56 } 57 | Popular Tags |