public class AstChoice extends AstRightValue
Constructor and Description |
---|
AstChoice(AstNode question,
AstNode yes,
AstNode no) |
Modifier and Type | Method and Description |
---|---|
void |
appendStructure(StringBuilder b,
Bindings bindings) |
Object |
eval(Bindings bindings,
ELContext context) |
int |
getCardinality()
Get the node's number of children.
|
AstNode |
getChild(int i)
Get i'th child
|
String |
toString() |
getMethodInfo, getType, getValueReference, invoke, isLeftValue, isLiteralText, isMethodInvocation, isReadOnly, setValue
getStructuralId, getValue
public Object eval(Bindings bindings, ELContext context) throws ELException
eval
in class AstNode
ELException
public void appendStructure(StringBuilder b, Bindings bindings)
appendStructure
in class AstNode
public int getCardinality()
Node
Copyright © 2021. All rights reserved.