Package org.qdl_lang.variables
Class QDLVariable
- java.lang.Object
- 
- org.qdl_lang.variables.QDLVariable
 
- 
- All Implemented Interfaces:
- Serializable
 
 public class QDLVariable extends Object implements Serializable - See Also:
- Serialized Form
 
- 
- 
Field SummaryFields Modifier and Type Field Description static intSCOPE_DEFAULTstatic intSCOPE_EXTRINSICstatic intSCOPE_INTRINSICstatic intTYPE_DYNAMICDynamic typing is the default for QDL.static intTYPE_MANIFESTManifest typing means that when a variable is first defined, it must have that type from that point forwardstatic intTYPE_STRICTStrict typing means that ever variable must be explicitly typed either at or before it is defined.
 - 
Constructor SummaryConstructors Constructor Description QDLVariable(Object qdlValue)QDLVariable(QDLValue qdlValue)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description QDLValuegetQDLValue()intgetScope()intgetVariableType()booleanhasValue()voidsetQDLValue(QDLValue qdlValue)voidsetScope(int scope)voidsetVariableType(int variableType)
 
- 
- 
- 
Field Detail- 
TYPE_DYNAMICpublic static final int TYPE_DYNAMIC Dynamic typing is the default for QDL. It means that any variable can be re-assigned to any value at any time- See Also:
- Constant Field Values
 
 - 
TYPE_MANIFESTpublic static final int TYPE_MANIFEST Manifest typing means that when a variable is first defined, it must have that type from that point forward- See Also:
- Constant Field Values
 
 - 
TYPE_STRICTpublic static final int TYPE_STRICT Strict typing means that ever variable must be explicitly typed either at or before it is defined. Attempting to define a variable before it is given a type will raise an error.- See Also:
- Constant Field Values
 
 - 
SCOPE_DEFAULTpublic static final int SCOPE_DEFAULT - See Also:
- Constant Field Values
 
 - 
SCOPE_INTRINSICpublic static final int SCOPE_INTRINSIC - See Also:
- Constant Field Values
 
 - 
SCOPE_EXTRINSICpublic static final int SCOPE_EXTRINSIC - See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
getQDLValuepublic QDLValue getQDLValue() 
 - 
setQDLValuepublic void setQDLValue(QDLValue qdlValue) 
 - 
hasValuepublic boolean hasValue() 
 - 
getScopepublic int getScope() 
 - 
setScopepublic void setScope(int scope) 
 - 
getVariableTypepublic int getVariableType() 
 - 
setVariableTypepublic void setVariableType(int variableType) 
 
- 
 
-