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