public class IfNode extends CompoundNode
instructions| Constructor and Description |
|---|
IfNode(ExpressionNode select,
TemplatesTree.TextSource source,
int offset,
int endoffset) |
| Modifier and Type | Method and Description |
|---|---|
void |
applyElse(ElseIfNode elseNode) |
protected void |
emit(StringBuilder sb,
EvaluationContext context,
IEvaluationStrategy env) |
ExpressionNode |
getSelect() |
getInstructions, setInstructionsgetEndOffset, getInput, getLine, getLocation, getOffset, getResourceName, toStringpublic IfNode(ExpressionNode select, TemplatesTree.TextSource source, int offset, int endoffset)
public ExpressionNode getSelect()
public void applyElse(ElseIfNode elseNode)
protected void emit(StringBuilder sb, EvaluationContext context, IEvaluationStrategy env)
emit in class CompoundNodeCopyright © 2014. All rights reserved.