public abstract class Value
extends java.lang.Object
implements java.lang.Cloneable
Modifier and Type | Class and Description |
---|---|
static class |
Value.E0Expr
Represent an expression with no argument
|
static class |
Value.E1Expr
Represent an expression with 1 argument
|
static class |
Value.E2Expr
Represent an expression with 2 arguments
|
static class |
Value.EnExpr
Represent an expression with 3+ arguments
|
static class |
Value.VT
Value Type
|
Modifier and Type | Field and Description |
---|---|
static int |
CAN_THROW |
ET |
et
The number of argument
|
static int |
MAY_THROW |
java.lang.Object |
tag |
java.lang.String |
valueType |
Value.VT |
vt
Value Type
|
Modifier | Constructor and Description |
---|---|
protected |
Value(Value.VT vt,
ET et) |
Modifier and Type | Method and Description |
---|---|
abstract Value |
clone() |
abstract Value |
clone(LabelAndLocalMapper mapper) |
Value |
getOp() |
Value |
getOp1() |
Value |
getOp2() |
Value[] |
getOps() |
protected void |
releaseMemory()
clean resource used by this value,release memory
|
void |
setOp(Value op) |
void |
setOp1(Value op) |
void |
setOp2(Value op) |
void |
setOps(Value[] op) |
java.lang.String |
toString() |
protected abstract java.lang.String |
toString0() |
Value |
trim() |
public static final int CAN_THROW
public static final int MAY_THROW
public final ET et
public java.lang.String valueType
public java.lang.Object tag
public final Value.VT vt
public void setOp(Value op)
public void setOp1(Value op)
public void setOp2(Value op)
public void setOps(Value[] op)
public abstract Value clone()
clone
in class java.lang.Object
public abstract Value clone(LabelAndLocalMapper mapper)
public Value getOp()
public Value getOp1()
public Value getOp2()
public Value[] getOps()
protected void releaseMemory()
public final java.lang.String toString()
toString
in class java.lang.Object
protected abstract java.lang.String toString0()
public Value trim()