Package com.scriptbasic.spi
Interface LeftValue
-
- All Superinterfaces:
AnalysisResult,Value
- All Known Implementing Classes:
BasicLeftValue
public interface LeftValue extends Value, AnalysisResult
A LeftValue is a value that can stand on the left hand side of an assignment command.- Author:
- Peter Verhas
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidsetValue(RightValue rightValue, Interpreter interpreter)Assign the value to the left value.
-
-
-
Method Detail
-
setValue
void setValue(RightValue rightValue, Interpreter interpreter) throws ScriptBasicException
Assign the value to the left value.- 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
-
-