Class BasicLeftValue
java.lang.Object
com.scriptbasic.executors.leftvalues.BasicLeftValue
- All Implemented Interfaces:
AnalysisResult,Value,LeftValue
public class BasicLeftValue extends java.lang.Object implements LeftValue
- Author:
- Peter Verhas date June 13, 2012
-
Constructor Summary
Constructors Constructor Description BasicLeftValue() -
Method Summary
Modifier and Type Method Description voidaddModifier(LeftValueModifier modifier)java.lang.StringgetIdentifier()java.util.List<LeftValueModifier>getModifiers()booleanhasModifiers()voidsetIdentifier(java.lang.String identifier)voidsetValue(RightValue rightValue, Interpreter interpreter)Assign the value to the left value.
-
Constructor Details
-
BasicLeftValue
public BasicLeftValue()
-
-
Method Details
-
getIdentifier
public java.lang.String getIdentifier() -
setIdentifier
public void setIdentifier(java.lang.String identifier) -
getModifiers
-
hasModifiers
public boolean hasModifiers() -
addModifier
-
setValue
Description copied from interface:LeftValueAssign the value to the left value.- Specified by:
setValuein interfaceLeftValue- Parameters:
rightValue- the value that will be referenced by the left value after the assignmentinterpreter- the interpreter controlling the action- Throws:
ScriptBasicException- if the value can not be assigned for some reason
-