public class VarRefAssignment extends java.lang.Object implements AssignmentType
| Constructor and Description |
|---|
VarRefAssignment(java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(RtflType val,
Scope scope)
Checks two RtflTypes to see if they qualify as equals in Rtfl
|
RtflType |
extractValue(Scope scope)
Returns the wrapped RtflType value for this AssignmentType
|
java.lang.String |
name()
The name of the type
|
java.lang.String |
toString() |
java.lang.Object |
value()
The Java value stored in this RtflType wrapper
|
java.lang.String |
variableName() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfromJavaType, toJavaTypepublic boolean equals(RtflType val, Scope scope) throws RuntimeException
RtflTypeequals in interface RtflTypeval - The value to check this RtflType againstscope - The scope in which to check (to use functions and variables)RuntimeException - If any references are invalid or if executing a function failspublic java.lang.String name()
RtflTypepublic java.lang.Object value()
RtflTypepublic java.lang.String variableName()
public java.lang.String toString()
toString in class java.lang.Objectpublic RtflType extractValue(Scope scope) throws RuntimeException
AssignmentTypeextractValue in interface AssignmentTypescope - The scope in which to resolve this AssignmentTypeRuntimeException - If a reference is invalid, a function fails, or invalid operations are used