Class MCBasicTypesInterpreter
- java.lang.Object
-
- de.monticore.types.mcbasictypes._visitor.MCBasicTypesInterpreter
-
- All Implemented Interfaces:
de.monticore.interpreter.ModelInterpreter,IMCBasicsInterpreter,IMCBasicTypesInterpreter
public class MCBasicTypesInterpreter extends java.lang.Object implements IMCBasicTypesInterpreter
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.Map<de.monticore.symboltable.ISymbol,de.monticore.interpreter.Value>contextMapprotected IMCBasicsInterpretermCBasicsInterpreterprotected de.monticore.interpreter.ModelInterpreterrealThis
-
Constructor Summary
Constructors Constructor Description MCBasicTypesInterpreter()MCBasicTypesInterpreter(de.monticore.interpreter.ModelInterpreter realThis)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<de.monticore.symboltable.ISymbol,de.monticore.interpreter.Value>getContextMap()de.monticore.interpreter.ModelInterpretergetRealThis()de.monticore.interpreter.Valueinterpret(ASTMCBasicsNode node)de.monticore.interpreter.Valueinterpret(ASTMCBasicTypesNode node)de.monticore.interpreter.Valueinterpret(ASTMCImportStatement node)de.monticore.interpreter.Valueinterpret(ASTMCObjectType node)de.monticore.interpreter.Valueinterpret(ASTMCPackageDeclaration node)de.monticore.interpreter.Valueinterpret(ASTMCPrimitiveType node)de.monticore.interpreter.Valueinterpret(ASTMCQualifiedName node)de.monticore.interpreter.Valueinterpret(ASTMCQualifiedType node)de.monticore.interpreter.Valueinterpret(ASTMCReturnType node)de.monticore.interpreter.Valueinterpret(ASTMCType node)de.monticore.interpreter.Valueinterpret(ASTMCVoidType node)de.monticore.interpreter.Valueload(de.monticore.symboltable.ISymbol symbol)voidsetRealThis(de.monticore.interpreter.ModelInterpreter realThis)voidstore(de.monticore.symboltable.ISymbol symbol, de.monticore.interpreter.Value value)
-
-
-
Field Detail
-
mCBasicsInterpreter
protected IMCBasicsInterpreter mCBasicsInterpreter
-
realThis
protected de.monticore.interpreter.ModelInterpreter realThis
-
contextMap
protected java.util.Map<de.monticore.symboltable.ISymbol,de.monticore.interpreter.Value> contextMap
-
-
Method Detail
-
getRealThis
public de.monticore.interpreter.ModelInterpreter getRealThis()
- Specified by:
getRealThisin interfacede.monticore.interpreter.ModelInterpreter
-
setRealThis
public void setRealThis(de.monticore.interpreter.ModelInterpreter realThis)
- Specified by:
setRealThisin interfacede.monticore.interpreter.ModelInterpreter
-
store
public void store(de.monticore.symboltable.ISymbol symbol, de.monticore.interpreter.Value value)- Specified by:
storein interfacede.monticore.interpreter.ModelInterpreter
-
load
public de.monticore.interpreter.Value load(de.monticore.symboltable.ISymbol symbol)
- Specified by:
loadin interfacede.monticore.interpreter.ModelInterpreter
-
getContextMap
public java.util.Map<de.monticore.symboltable.ISymbol,de.monticore.interpreter.Value> getContextMap()
- Specified by:
getContextMapin interfacede.monticore.interpreter.ModelInterpreter
-
interpret
public de.monticore.interpreter.Value interpret(ASTMCQualifiedName node)
- Specified by:
interpretin interfaceIMCBasicTypesInterpreter
-
interpret
public de.monticore.interpreter.Value interpret(ASTMCPackageDeclaration node)
- Specified by:
interpretin interfaceIMCBasicTypesInterpreter
-
interpret
public de.monticore.interpreter.Value interpret(ASTMCImportStatement node)
- Specified by:
interpretin interfaceIMCBasicTypesInterpreter
-
interpret
public de.monticore.interpreter.Value interpret(ASTMCPrimitiveType node)
- Specified by:
interpretin interfaceIMCBasicTypesInterpreter
-
interpret
public de.monticore.interpreter.Value interpret(ASTMCQualifiedType node)
- Specified by:
interpretin interfaceIMCBasicTypesInterpreter
-
interpret
public de.monticore.interpreter.Value interpret(ASTMCReturnType node)
- Specified by:
interpretin interfaceIMCBasicTypesInterpreter
-
interpret
public de.monticore.interpreter.Value interpret(ASTMCVoidType node)
- Specified by:
interpretin interfaceIMCBasicTypesInterpreter
-
interpret
public de.monticore.interpreter.Value interpret(ASTMCType node)
- Specified by:
interpretin interfaceIMCBasicTypesInterpreter
-
interpret
public de.monticore.interpreter.Value interpret(ASTMCObjectType node)
- Specified by:
interpretin interfaceIMCBasicTypesInterpreter
-
interpret
public de.monticore.interpreter.Value interpret(ASTMCBasicTypesNode node)
- Specified by:
interpretin interfaceIMCBasicTypesInterpreter
-
interpret
public de.monticore.interpreter.Value interpret(ASTMCBasicsNode node)
- Specified by:
interpretin interfaceIMCBasicsInterpreter
-
-