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

    Modifier and Type
    Method
    Description
    void
    setValue(RightValue rightValue, Interpreter interpreter)
    Assign the value to the left value.
  • Method Details

    • 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 assignment
      interpreter - the interpreter controlling the action
      Throws:
      ScriptBasicException - if the value can not be assigned for some reason