|
Venice 0.7beta | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.mov.parser.expression.AbstractExpression org.mov.parser.expression.TernaryExpression
public abstract class TernaryExpression
Abstract base class for all expressions requiring three arguments.
Field Summary |
---|
Fields inherited from interface org.mov.parser.Expression |
---|
BOOLEAN_TYPE, FALSE, FLOAT_QUOTE_TYPE, FLOAT_TYPE, INTEGER_QUOTE_TYPE, INTEGER_TYPE, STRING_TYPE, TRUE, TRUE_LEVEL |
Constructor Summary | |
---|---|
TernaryExpression(Expression arg1,
Expression arg2,
Expression arg3)
Create a new ternary expression with the given three arguments. |
Method Summary | |
---|---|
int |
getChildCount()
Return the number of children required in a ternary expression. |
Methods inherited from class org.mov.parser.expression.AbstractExpression |
---|
clone, equals, getChild, getIndex, getNumberFormat, getParent, hashCode, isRoot, iterator, parseDouble, parseInt, setChild, setParent, simplify, size, size, valueOfDouble, valueOfInt |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.mov.parser.Expression |
---|
checkType, evaluate, getType, toString |
Constructor Detail |
---|
public TernaryExpression(Expression arg1, Expression arg2, Expression arg3)
arg1
- the first argumentarg2
- the second argumentarg3
- the third argumentMethod Detail |
---|
public int getChildCount()
3
.
3
|
Venice 0.7beta | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |