|
Venice 0.74beta | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnz.org.venice.parser.expression.AbstractExpression
nz.org.venice.parser.expression.TerminalExpression
Abstract base class for all expressions requiring no arguments.
| Field Summary |
| Fields inherited from interface nz.org.venice.parser.Expression |
BOOLEAN_TYPE, FALSE, FLOAT_QUOTE_TYPE, FLOAT_TYPE, INTEGER_QUOTE_TYPE, INTEGER_SHORT_TYPE, INTEGER_TYPE, NUMERIC_TYPE, STRING_TYPE, TRUE, TRUE_LEVEL, UNDEFINED_TYPE |
| Constructor Summary | |
TerminalExpression()
Create a new terminal expression. |
|
| Method Summary | |
int |
checkType()
Perform type checking on the expression. |
int |
getChildCount()
Return the number of children required in a terminal expression. |
| Methods inherited from class nz.org.venice.parser.expression.AbstractExpression |
clone, equals, getChild, getId, getIndex, getNumberFormat, getParent, getParseMetadata, hashCode, isRoot, iterator, parseDouble, parseInt, printParents, setChild, setChildMutableVersion, setParent, setParseMetadata, simplify, simplifyMutableVersion, size, size, toString, validTree, valueOfDouble, valueOfInt |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface nz.org.venice.parser.Expression |
evaluate, getType |
| Constructor Detail |
public TerminalExpression()
| Method Detail |
public int getChildCount()
0.
0
public int checkType()
throws TypeMismatchException
Expression
TypeMismatchException - if the expression has incorrect types
|
Venice 0.74beta | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||