public class SimpleName extends AbstractNode
A SimpleName consists of a String which is not surrounded by double quotes.
Constructor and Description |
---|
SimpleName(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
void |
accept(Visitor visitor)
Try to accept this node by a visitor.
|
java.lang.String |
getName() |
java.lang.String |
toString() |
compareTo
public java.lang.String getName()
public void accept(Visitor visitor)
AbstractNode
Try to accept this node by a visitor.
accept
in interface Node
accept
in class AbstractNode
visitor
- the visitorpublic java.lang.String toString()
toString
in class java.lang.Object