|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hava.engine.HValue
org.hava.engine.HReference
public class HReference
Label associated with an assigned value, for example, "pi" or "f(x, y)". It consists of the variable identifier (a String), along with an index (an inherited HValue of type list), which may be empty.
Field Summary |
---|
Fields inherited from class org.hava.engine.HValue |
---|
BLANK, BOOLEAN, EMPTYLIST, ERROR, FALSE, IGNORE, INTEGER, LIST, ONE, REAL, STRUCTURE, TOKEN, TRUE, TWO, ZERO |
Method Summary | |
---|---|
java.lang.String |
getIdentifier()
Returns the variable identifier. |
java.lang.String |
getImportIdentifier()
Returns the name of the import file where this variable is defined. |
HValue |
getValue()
Returns the value assigned to this variable reference. |
boolean |
isOverridden()
Returns true if this variable reference is overridden. |
boolean |
isTable()
Returns true if this variable reference was defined with a table |
java.lang.String |
toString()
Provides a representation of this variable reference in the same format that appears in the demo report. |
Methods inherited from class org.hava.engine.HValue |
---|
booleanValue, compareDefinitionRank, doubleValue, equals, getElement, getNumElements, getParameters, getType, hashCode, intValue, isBoolean, isCompound, isDouble, isIndex, isInteger, isList, isNumerical, isStructure, isToken, structField |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public java.lang.String getIdentifier()
f(1, 2)
has identifier "f"
.
public java.lang.String getImportIdentifier()
public HValue getValue()
public boolean isOverridden()
public boolean isTable()
table prefix.
public java.lang.String toString()
f(1, 2)
has string representation "f(1, 2)"
.
toString
in class HValue
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |