public class LiteralNode extends ExpressionNode
| Constructor and Description |
|---|
LiteralNode(Object literal,
TemplatesTree.TextSource source,
int offset,
int endoffset) |
| Modifier and Type | Method and Description |
|---|---|
Object |
evaluate(EvaluationContext context,
IEvaluationStrategy env) |
Object |
getLiteral() |
void |
toString(StringBuilder sb) |
emit, toStringgetEndOffset, getInput, getLine, getLocation, getOffset, getResourceNamepublic LiteralNode(Object literal, TemplatesTree.TextSource source, int offset, int endoffset)
public Object getLiteral()
public Object evaluate(EvaluationContext context, IEvaluationStrategy env) throws EvaluationException
evaluate in class ExpressionNodeEvaluationExceptionpublic void toString(StringBuilder sb)
toString in class ExpressionNodeCopyright © 2014. All rights reserved.