Class NullLiteral
- java.lang.Object
-
- org.apache.sling.scripting.sightly.compiler.expression.nodes.NullLiteral
-
- All Implemented Interfaces:
ExpressionNode
public final class NullLiteral extends java.lang.Object implements ExpressionNode
Defines the null literal.
-
-
Field Summary
Fields Modifier and Type Field Description static NullLiteralINSTANCE
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> Taccept(NodeVisitor<T> visitor)Accept a visitor to process this node.
-
-
-
Field Detail
-
INSTANCE
public static final NullLiteral INSTANCE
-
-
Method Detail
-
accept
public <T> T accept(NodeVisitor<T> visitor)
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
-
-