Class MCLiteralsBasisInterpreter

java.lang.Object
de.monticore.literals.mcliteralsbasis._visitor.MCLiteralsBasisInterpreter
All Implemented Interfaces:
de.monticore.interpreter.ModelInterpreter, IMCLiteralsBasisInterpreter

public class MCLiteralsBasisInterpreter extends Object implements IMCLiteralsBasisInterpreter
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected Map<de.monticore.symboltable.ISymbol,de.monticore.interpreter.Value>
     
    protected de.monticore.interpreter.ModelInterpreter
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    MCLiteralsBasisInterpreter(de.monticore.interpreter.ModelInterpreter realThis)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Map<de.monticore.symboltable.ISymbol,de.monticore.interpreter.Value>
     
    de.monticore.interpreter.ModelInterpreter
     
    de.monticore.interpreter.Value
     
    de.monticore.interpreter.Value
     
    de.monticore.interpreter.Value
    load(de.monticore.symboltable.ISymbol symbol)
     
    void
    setRealThis(de.monticore.interpreter.ModelInterpreter realThis)
     
    void
    store(de.monticore.symboltable.ISymbol symbol, de.monticore.interpreter.Value value)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface de.monticore.interpreter.ModelInterpreter

    interpret
  • Field Details

    • realThis

      protected de.monticore.interpreter.ModelInterpreter realThis
    • contextMap

      protected Map<de.monticore.symboltable.ISymbol,de.monticore.interpreter.Value> contextMap
  • Constructor Details

    • MCLiteralsBasisInterpreter

      public MCLiteralsBasisInterpreter()
    • MCLiteralsBasisInterpreter

      public MCLiteralsBasisInterpreter(de.monticore.interpreter.ModelInterpreter realThis)
  • Method Details

    • getRealThis

      public de.monticore.interpreter.ModelInterpreter getRealThis()
      Specified by:
      getRealThis in interface de.monticore.interpreter.ModelInterpreter
    • setRealThis

      public void setRealThis(de.monticore.interpreter.ModelInterpreter realThis)
      Specified by:
      setRealThis in interface de.monticore.interpreter.ModelInterpreter
    • store

      public void store(de.monticore.symboltable.ISymbol symbol, de.monticore.interpreter.Value value)
      Specified by:
      store in interface de.monticore.interpreter.ModelInterpreter
    • load

      public de.monticore.interpreter.Value load(de.monticore.symboltable.ISymbol symbol)
      Specified by:
      load in interface de.monticore.interpreter.ModelInterpreter
    • getContextMap

      public Map<de.monticore.symboltable.ISymbol,de.monticore.interpreter.Value> getContextMap()
      Specified by:
      getContextMap in interface de.monticore.interpreter.ModelInterpreter
    • interpret

      public de.monticore.interpreter.Value interpret(ASTLiteral node)
      Specified by:
      interpret in interface IMCLiteralsBasisInterpreter
    • interpret

      public de.monticore.interpreter.Value interpret(ASTMCLiteralsBasisNode node)
      Specified by:
      interpret in interface IMCLiteralsBasisInterpreter