public final class Identifier extends java.lang.Object implements Atom
Constructor and Description |
---|
Identifier(java.lang.String name)
Creates an identifier.
|
Modifier and Type | Method and Description |
---|---|
<T> T |
accept(NodeVisitor<T> visitor)
Accept a visitor to process this node.
|
java.lang.String |
getName()
Retrieves the name of the identifier
|
java.lang.String |
getText()
Get the text content for this nodes
|
java.lang.String |
toString() |
public Identifier(java.lang.String name)
name
- the name of the identifierpublic <T> T accept(NodeVisitor<T> visitor)
ExpressionNode
accept
in interface ExpressionNode
T
- the type of the visitorvisitor
- The visitorpublic java.lang.String getName()
public java.lang.String getText()
Atom
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2018 The Apache Software Foundation. All rights reserved.