com.alexmerz.simpleviz.parser
Class ASTAttribute
java.lang.Object
com.alexmerz.simpleviz.parser.SimpleNode
com.alexmerz.simpleviz.parser.ASTAttribute
- All Implemented Interfaces:
- Node
public class ASTAttribute
- extends SimpleNode
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ASTAttribute
public ASTAttribute(int id)
ASTAttribute
public ASTAttribute(JJTParser p,
int id)
jjtAccept
public java.lang.Object jjtAccept(JJTParserVisitor visitor,
java.lang.Object data)
- Accept the visitor.
- Specified by:
jjtAccept
in interface Node
- Overrides:
jjtAccept
in class SimpleNode
setAttribute
public void setAttribute(java.lang.String key,
java.lang.String value)
getKey
public java.lang.String getKey()
getValue
public java.lang.String getValue()
toString
public java.lang.String toString()
- Overrides:
toString
in class SimpleNode