public class UnaryExpression extends ExpressionNode
| Constructor and Description |
|---|
UnaryExpression(int kind,
ExpressionNode expr,
TemplatesTree.TextSource source,
int offset,
int endoffset) |
| Modifier and Type | Method and Description |
|---|---|
Object |
evaluate(EvaluationContext context,
IEvaluationStrategy env) |
void |
toString(StringBuilder sb) |
emit, toStringgetEndOffset, getInput, getLine, getLocation, getOffset, getResourceNamepublic static final int NOT
public static final int MINUS
public UnaryExpression(int kind,
ExpressionNode expr,
TemplatesTree.TextSource source,
int offset,
int endoffset)
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.