KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > net > sourceforge > pmd > ast > ASTConditionalExpression


1 /* Generated By:JJTree: Do not edit this line. ASTConditionalExpression.java */
2
3 package net.sourceforge.pmd.ast;
4
5 public class ASTConditionalExpression extends SimpleJavaNode {
6     public ASTConditionalExpression(int id) {
7         super(id);
8     }
9
10     public ASTConditionalExpression(JavaParser p, int id) {
11         super(p, id);
12     }
13
14     private boolean isTernary;
15
16     public void setTernary() {
17         isTernary = true;
18     }
19
20     public boolean isTernary() {
21         return this.isTernary;
22     }
23
24     /**
25      * Accept the visitor. *
26      */

27     public Object JavaDoc jjtAccept(JavaParserVisitor visitor, Object JavaDoc data) {
28         return visitor.visit(this, data);
29     }
30 }
31
Popular Tags