Home
last modified time | relevance | path

Searched refs:ASTExpr (Results 1 – 11 of 11) sorted by relevance

/external/apache-commons-bcel/src/examples/Mini/
DASTExpr.java50 public class ASTExpr extends SimpleNode class
54 protected ASTExpr[] exprs; // Sub expressions
65 ASTExpr(int id) { in ASTExpr() method in ASTExpr
69 ASTExpr(MiniParser p, int id) { in ASTExpr() method in ASTExpr
74 return new ASTExpr(p, id); in jjtCreate()
77 ASTExpr(int line, int column, int id) { in ASTExpr() method in ASTExpr
83 ASTExpr(int line, int column, int kind, int id) { in ASTExpr() method in ASTExpr
92 ASTExpr(ASTExpr[] children, int kind, int line, int column) { in ASTExpr() method in ASTExpr
123 exprs = new ASTExpr[children.length]; in closeNode()
134 public ASTExpr traverse(Environment env) { in traverse()
DASTLetExpr.java35 public class ASTLetExpr extends ASTExpr implements org.apache.bcel.Constants {
37 private ASTExpr[] exprs;
38 private ASTExpr body;
63 exprs = new ASTExpr[len_2]; in closeNode()
68 exprs[i] = (ASTExpr)children[i * 2 + 1]; in closeNode()
71 body = (ASTExpr)children[children.length - 1]; // Last expr is the body in closeNode()
79 public ASTExpr traverse(Environment env) { in traverse()
DASTIfExpr.java34 public class ASTIfExpr extends ASTExpr implements org.apache.bcel.Constants {
35 private ASTExpr if_expr, then_expr, else_expr;
56 if_expr = (ASTExpr)children[0]; in closeNode()
57 then_expr = (ASTExpr)children[1]; in closeNode()
60 else_expr = (ASTExpr)children[2]; in closeNode()
73 public ASTExpr traverse(Environment env) { in traverse()
DASTFactor.java27 public class ASTFactor extends ASTExpr {
48 public ASTExpr traverse(Environment env) { in traverse()
52 return new ASTExpr(exprs, kind, line, column).traverse(env); in traverse()
DASTTerm.java27 public class ASTTerm extends ASTExpr {
48 public ASTExpr traverse(Environment env) { in traverse()
52 return new ASTExpr(exprs, kind, line, column).traverse(env); in traverse()
DASTFunAppl.java32 public class ASTFunAppl extends ASTExpr implements MiniParserTreeConstants,
50 ASTFunAppl(ASTIdent name, Function function, ASTExpr[] exprs) { in ASTFunAppl()
71 exprs = new ASTExpr[children.length - 1]; in closeNode()
82 public ASTExpr traverse(Environment env) { in traverse()
DASTInteger.java31 public class ASTInteger extends ASTExpr {
61 public ASTExpr traverse(Environment env) { in traverse()
DASTIdent.java33 public class ASTIdent extends ASTExpr implements org.apache.bcel.Constants {
71 public ASTExpr traverse(Environment env) { in traverse()
DASTFunDecl.java54 private ASTExpr body;
75 ASTFunDecl(ASTIdent name, ASTIdent[] argv, ASTExpr body, int type) { in ASTFunDecl()
91 body = (ASTExpr)children[children.length - 1]; in closeNode()
DMini.jj135 ASTExpr jjtn000 = new ASTExpr(JJTEXPR);
DMiniParser.java146 ASTExpr jjtn000 = new ASTExpr(JJTEXPR); in Expr()