KickJava   Java API By Example, From Geeks To Geeks.

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


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

28     public Object JavaDoc jjtAccept(JavaParserVisitor visitor, Object JavaDoc data) {
29         return visitor.visit(this, data);
30     }
31
32     public void dump(String JavaDoc prefix) {
33         System.out.println(toString(prefix) + ":" + getImage() + (isCompound ? "(compound)" : "(simple)"));
34         dumpChildren(prefix);
35     }
36 }
37
Popular Tags