Class Identifier
java.lang.Object
org.apache.sling.scripting.sightly.compiler.expression.nodes.Identifier
- All Implemented Interfaces:
ExpressionNode,Atom
Defines a single variable.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Identifier
Creates an identifier.- Parameters:
name- the name of the identifier
-
-
Method Details
-
accept
Description copied from interface:ExpressionNodeAccept a visitor to process this node.- Specified by:
acceptin interfaceExpressionNode- Type Parameters:
T- the type of the visitor- Parameters:
visitor- The visitor- Returns:
- the node after it has been evaluated by the visitor
-
getName
Retrieves the name of the identifier- Returns:
- the name string
-
getText
Description copied from interface:AtomGet the text content for this nodes -
toString
-