01: /* Generated By:JJTree: Do not edit this line. ASTModifier.java */
02: package org.codehaus.aspectwerkz.expression.ast;
03:
04: public class ASTModifier extends SimpleNode {
05: private int m_modifier;
06:
07: private boolean m_not = false;
08:
09: public ASTModifier(int id) {
10: super (id);
11: }
12:
13: public ASTModifier(ExpressionParser p, int id) {
14: super (p, id);
15: }
16:
17: public Object jjtAccept(ExpressionParserVisitor visitor, Object data) {
18: return visitor.visit(this , data);
19: }
20:
21: public void toggleNot() {
22: m_not = !m_not;
23: }
24:
25: public boolean isNot() {
26: return m_not;
27: }
28:
29: public void setModifier(int modifier) {
30: m_modifier = modifier;
31: }
32:
33: public int getModifier() {
34: return m_modifier;
35: }
36: }
|