public static class X.Var extends X
X.Var
operator is to
denote a variable or field name. During evaluation this name should be resolved
to a value.
In the default map context evaluation, the map value for the variable name is returned as evaluation result
Constructor | Description |
---|---|
Var(java.lang.String name) |
Modifier and Type | Method | Description |
---|---|---|
boolean |
equals(java.lang.Object obj) |
|
java.lang.Object |
eval(java.util.Map<java.lang.String,java.lang.Object> context) |
Evaluation of the expression over a map style context that
defines variable values.
|
java.lang.String |
get() |
|
int |
hashCode() |
|
java.lang.String |
toString() |
public java.lang.String get()
public java.lang.Object eval(java.util.Map<java.lang.String,java.lang.Object> context)
X
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object