public final class Identifier extends Object implements Atom
Constructor and Description |
---|
Identifier(String name)
Creates an identifier.
|
Modifier and Type | Method and Description |
---|---|
<T> T |
accept(NodeVisitor<T> visitor)
Accept a visitor to process this node.
|
String |
getName()
Retrieves the name of the identifier
|
String |
getText()
Get the text content for this nodes
|
String |
toString() |
public Identifier(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 String getName()
public String getText()
Atom
Copyright © 2017 The Apache Software Foundation. All rights reserved.