View Javadoc

1   /* Generated By:JJTree: Do not edit this line. ASTAttribute.java */
2   package org.codehaus.aspectwerkz.expression.ast;
3   
4   public class ASTAttribute extends SimpleNode {
5       private String m_name;
6   
7       public ASTAttribute(int id) {
8           super(id);
9       }
10  
11      public ASTAttribute(ExpressionParser p, int id) {
12          super(p, id);
13      }
14  
15      public Object jjtAccept(ExpressionParserVisitor visitor, Object data) {
16          return visitor.visit(this, data);
17      }
18  
19      public void setName(String name) {
20          // remove the first '@'
21          m_name = name.substring(1, name.length());
22      }
23  
24      public String getName() {
25          return m_name;
26      }
27  }