public abstract class UnaryOperExpression extends OperExpression
| Modifier and Type | Field and Description |
|---|---|
private Expression |
operand |
| Constructor and Description |
|---|
UnaryOperExpression(Rule rule,
int oper,
Type type,
ParseNode token,
Expression operand) |
| Modifier and Type | Method and Description |
|---|---|
void |
bind()
verify that variables mentioned in this expression are actually available in the supplied
bindings list and infer/validate the type of this expression or its subexpressions
where possible
|
Expression |
getOperand(int index)
return the operand with the given index or null if the index is out of range
|
convertOper, writeTogetPos, getType, interpret, typeCheckcompile, compileBooleanConversion, compileBox, compileNumericConversion, compileObjectConversion, compilePrimitiveConversion, compileStringConversion, compileTypeConversion, compileUnbox, getBindings, getTypeGroup, toStringprivate Expression operand
public UnaryOperExpression(Rule rule, int oper, Type type, ParseNode token, Expression operand)
public void bind()
throws TypeException
bind in class ExpressionTypeExceptionpublic Expression getOperand(int index)
getOperand in class OperExpressionindex -