Class BasicLeftValue

java.lang.Object
com.scriptbasic.executors.leftvalues.BasicLeftValue
All Implemented Interfaces:
AnalysisResult, Value, LeftValue

public class BasicLeftValue extends Object implements LeftValue
Author:
Peter Verhas date June 13, 2012
  • Constructor Details

    • BasicLeftValue

      public BasicLeftValue()
  • Method Details

    • getIdentifier

      public String getIdentifier()
    • setIdentifier

      public void setIdentifier(String identifier)
    • getModifiers

      public List<LeftValueModifier> getModifiers()
    • hasModifiers

      public boolean hasModifiers()
    • addModifier

      public void addModifier(LeftValueModifier modifier)
    • setValue

      public void setValue(RightValue rightValue, Interpreter interpreter) throws ScriptBasicException
      Description copied from interface: LeftValue
      Assign the value to the left value.
      Specified by:
      setValue in interface LeftValue
      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