Class MCCommonGlobalScope
- java.lang.Object
-
- de.monticore.mccommon._symboltable.MCCommonScope
-
- de.monticore.mccommon._symboltable.MCCommonGlobalScope
-
- All Implemented Interfaces:
ICardinalityGlobalScope,ICardinalityScope,ICompletenessGlobalScope,ICompletenessScope,IExpressionsBasisGlobalScope,IExpressionsBasisScope,IMCCommonLiteralsGlobalScope,IMCCommonLiteralsScope,IMCLiteralsBasisGlobalScope,IMCLiteralsBasisScope,IMCBasicsGlobalScope,IMCBasicsScope,IMCCommonGlobalScope,IMCCommonScope,de.monticore.symboltable.IGlobalScope,de.monticore.symboltable.IScope,IUMLModifierGlobalScope,IUMLModifierScope,IUMLStereotypeGlobalScope,IUMLStereotypeScope
public class MCCommonGlobalScope extends MCCommonScope implements IMCCommonGlobalScope
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.Set<java.lang.String>cachede.monticore.symboltable.serialization.IDeSerdeSerprotected java.lang.StringfileExtprotected java.util.Map<java.lang.String,de.monticore.symboltable.serialization.ISymbolDeSer>symbolDeSersprotected de.monticore.io.paths.MCPathsymbolPathprotected MCCommonSymbols2Jsonsymbols2Json-
Fields inherited from class de.monticore.mccommon._symboltable.MCCommonScope
astNode, enclosingScope, exportingSymbols, name, ordered, shadowing, spanningSymbol, subScopes, unknownSymbols, unknownSymbolsAlreadyResolved
-
-
Constructor Summary
Constructors Constructor Description MCCommonGlobalScope()MCCommonGlobalScope(de.monticore.io.paths.MCPath symbolPath, java.lang.String fileExt)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(CardinalityTraverser visitor)voidaccept(CompletenessTraverser visitor)voidaccept(ExpressionsBasisTraverser visitor)voidaccept(MCCommonLiteralsTraverser visitor)voidaccept(MCLiteralsBasisTraverser visitor)voidaccept(MCBasicsTraverser visitor)voidaccept(MCCommonTraverser visitor)voidaccept(UMLModifierTraverser visitor)voidaccept(UMLStereotypeTraverser visitor)voidaccept(de.monticore.visitor.ITraverser visitor)voidaddLoadedFile(java.lang.String name)voidclear()voidclearLoadedFiles()de.monticore.symboltable.serialization.IDeSergetDeSer()java.lang.StringgetFileExt()MCCommonGlobalScopegetRealThis()java.util.Map<java.lang.String,de.monticore.symboltable.serialization.ISymbolDeSer>getSymbolDeSers()de.monticore.io.paths.MCPathgetSymbolPath()MCCommonSymbols2JsongetSymbols2Json()voidinit()booleanisFileLoaded(java.lang.String name)voidloadFileForModelName(java.lang.String modelName)voidsetDeSer(de.monticore.symboltable.serialization.IDeSer deSer)voidsetFileExt(java.lang.String fileExt)voidsetSymbolDeSers(java.util.Map<java.lang.String,de.monticore.symboltable.serialization.ISymbolDeSer> symbolDeSers)voidsetSymbolPath(de.monticore.io.paths.MCPath symbolPath)voidsetSymbols2Json(MCCommonSymbols2Json symbols2Json)-
Methods inherited from class de.monticore.mccommon._symboltable.MCCommonScope
add, addSubScope, addSubScope, addSubScope, addSubScope, addSubScope, addSubScope, addSubScope, addSubScope, addSubScope, getAstNode, getEnclosingScope, getName, getSpanningSymbol, getSubScopes, getUnknownSymbols, isExportingSymbols, isOrdered, isPresentAstNode, isPresentName, isPresentSpanningSymbol, isShadowing, isUnknownSymbolsAlreadyResolved, remove, removeSubScope, removeSubScope, removeSubScope, removeSubScope, removeSubScope, removeSubScope, removeSubScope, removeSubScope, removeSubScope, setAstNode, setAstNodeAbsent, setEnclosingScope, setEnclosingScope, setEnclosingScope, setEnclosingScope, setEnclosingScope, setEnclosingScope, setEnclosingScope, setEnclosingScope, setEnclosingScope, setExportingSymbols, setName, setNameAbsent, setOrdered, setShadowing, setSpanningSymbol, setSpanningSymbolAbsent, setSubScopes, setUnknownSymbolsAlreadyResolved
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.monticore.cardinality._symboltable.ICardinalityGlobalScope
setEnclosingScope
-
Methods inherited from interface de.monticore.cardinality._symboltable.ICardinalityScope
addSubScope, removeSubScope
-
Methods inherited from interface de.monticore.completeness._symboltable.ICompletenessGlobalScope
setEnclosingScope
-
Methods inherited from interface de.monticore.completeness._symboltable.ICompletenessScope
addSubScope, getSubScopes, getSymbolsSize, removeSubScope
-
Methods inherited from interface de.monticore.expressions.expressionsbasis._symboltable.IExpressionsBasisGlobalScope
setEnclosingScope
-
Methods inherited from interface de.monticore.expressions.expressionsbasis._symboltable.IExpressionsBasisScope
addSubScope, removeSubScope
-
Methods inherited from interface de.monticore.mcbasics._symboltable.IMCBasicsGlobalScope
setEnclosingScope
-
Methods inherited from interface de.monticore.mcbasics._symboltable.IMCBasicsScope
addSubScope, removeSubScope
-
Methods inherited from interface de.monticore.mccommon._symboltable.IMCCommonGlobalScope
checkIfContinueAsSubScope, getEnclosingScope, getName, getSymbolDeSer, isPresentName, putSymbolDeSer, setEnclosingScope
-
Methods inherited from interface de.monticore.literals.mccommonliterals._symboltable.IMCCommonLiteralsGlobalScope
setEnclosingScope
-
Methods inherited from interface de.monticore.literals.mccommonliterals._symboltable.IMCCommonLiteralsScope
addSubScope, removeSubScope
-
Methods inherited from interface de.monticore.mccommon._symboltable.IMCCommonScope
addSubScope, getSubScopes, getSymbolsSize, removeSubScope
-
Methods inherited from interface de.monticore.literals.mcliteralsbasis._symboltable.IMCLiteralsBasisGlobalScope
setEnclosingScope
-
Methods inherited from interface de.monticore.literals.mcliteralsbasis._symboltable.IMCLiteralsBasisScope
addSubScope, getSubScopes, getSymbolsSize, removeSubScope
-
Methods inherited from interface de.monticore.symboltable.IScope
add, checkIfContinueWithEnclosingScope, filterSymbolsByAccessModifier, getAstNode, getLocalUnknownSymbols, getNameParts, getRemainingNameForResolveDown, getResolvedOrThrowException, getSpanningSymbol, getUnknownSymbols, isExportingSymbols, isOrdered, isPresentAstNode, isPresentSpanningSymbol, isProperSubScopeOf, isShadowing, isSubScopeOf, remove, setAstNode, setAstNodeAbsent, setExportingSymbols, setName, setNameAbsent, setOrdered, setShadowing, setSpanningSymbol, setSpanningSymbolAbsent
-
Methods inherited from interface de.monticore.umlmodifier._symboltable.IUMLModifierGlobalScope
setEnclosingScope
-
Methods inherited from interface de.monticore.umlmodifier._symboltable.IUMLModifierScope
addSubScope, getSubScopes, getSymbolsSize, removeSubScope
-
Methods inherited from interface de.monticore.umlstereotype._symboltable.IUMLStereotypeGlobalScope
setEnclosingScope
-
Methods inherited from interface de.monticore.umlstereotype._symboltable.IUMLStereotypeScope
addSubScope, removeSubScope
-
-
-
-
Field Detail
-
symbolPath
protected de.monticore.io.paths.MCPath symbolPath
-
fileExt
protected java.lang.String fileExt
-
deSer
public de.monticore.symboltable.serialization.IDeSer deSer
-
symbolDeSers
protected java.util.Map<java.lang.String,de.monticore.symboltable.serialization.ISymbolDeSer> symbolDeSers
-
symbols2Json
protected MCCommonSymbols2Json symbols2Json
-
cache
protected java.util.Set<java.lang.String> cache
-
-
Method Detail
-
getSymbolPath
public de.monticore.io.paths.MCPath getSymbolPath()
- Specified by:
getSymbolPathin interfacede.monticore.symboltable.IGlobalScope
-
setSymbolPath
public void setSymbolPath(de.monticore.io.paths.MCPath symbolPath)
- Specified by:
setSymbolPathin interfacede.monticore.symboltable.IGlobalScope
-
getFileExt
public java.lang.String getFileExt()
- Specified by:
getFileExtin interfacede.monticore.symboltable.IGlobalScope
-
setFileExt
public void setFileExt(java.lang.String fileExt)
- Specified by:
setFileExtin interfacede.monticore.symboltable.IGlobalScope
-
getDeSer
public de.monticore.symboltable.serialization.IDeSer getDeSer()
- Specified by:
getDeSerin interfacede.monticore.symboltable.IGlobalScope
-
setDeSer
public void setDeSer(de.monticore.symboltable.serialization.IDeSer deSer)
- Specified by:
setDeSerin interfacede.monticore.symboltable.IGlobalScope
-
getSymbolDeSers
public java.util.Map<java.lang.String,de.monticore.symboltable.serialization.ISymbolDeSer> getSymbolDeSers()
- Specified by:
getSymbolDeSersin interfaceICardinalityGlobalScope- Specified by:
getSymbolDeSersin interfaceICompletenessGlobalScope- Specified by:
getSymbolDeSersin interfaceIExpressionsBasisGlobalScope- Specified by:
getSymbolDeSersin interfacede.monticore.symboltable.IGlobalScope- Specified by:
getSymbolDeSersin interfaceIMCBasicsGlobalScope- Specified by:
getSymbolDeSersin interfaceIMCCommonGlobalScope- Specified by:
getSymbolDeSersin interfaceIMCCommonLiteralsGlobalScope- Specified by:
getSymbolDeSersin interfaceIMCLiteralsBasisGlobalScope- Specified by:
getSymbolDeSersin interfaceIUMLModifierGlobalScope- Specified by:
getSymbolDeSersin interfaceIUMLStereotypeGlobalScope
-
setSymbolDeSers
public void setSymbolDeSers(java.util.Map<java.lang.String,de.monticore.symboltable.serialization.ISymbolDeSer> symbolDeSers)
- Specified by:
setSymbolDeSersin interfacede.monticore.symboltable.IGlobalScope
-
setSymbols2Json
public void setSymbols2Json(MCCommonSymbols2Json symbols2Json)
-
getSymbols2Json
public MCCommonSymbols2Json getSymbols2Json()
-
addLoadedFile
public void addLoadedFile(java.lang.String name)
- Specified by:
addLoadedFilein interfacede.monticore.symboltable.IGlobalScope
-
clearLoadedFiles
public void clearLoadedFiles()
- Specified by:
clearLoadedFilesin interfacede.monticore.symboltable.IGlobalScope
-
isFileLoaded
public boolean isFileLoaded(java.lang.String name)
- Specified by:
isFileLoadedin interfacede.monticore.symboltable.IGlobalScope
-
init
public void init()
- Specified by:
initin interfacede.monticore.symboltable.IGlobalScope
-
loadFileForModelName
public void loadFileForModelName(java.lang.String modelName)
- Specified by:
loadFileForModelNamein interfaceICardinalityGlobalScope- Specified by:
loadFileForModelNamein interfaceICompletenessGlobalScope- Specified by:
loadFileForModelNamein interfaceIExpressionsBasisGlobalScope- Specified by:
loadFileForModelNamein interfaceIMCBasicsGlobalScope- Specified by:
loadFileForModelNamein interfaceIMCCommonGlobalScope- Specified by:
loadFileForModelNamein interfaceIMCCommonLiteralsGlobalScope- Specified by:
loadFileForModelNamein interfaceIMCLiteralsBasisGlobalScope- Specified by:
loadFileForModelNamein interfaceIUMLModifierGlobalScope- Specified by:
loadFileForModelNamein interfaceIUMLStereotypeGlobalScope
-
getRealThis
public MCCommonGlobalScope getRealThis()
- Specified by:
getRealThisin interfaceICardinalityGlobalScope- Specified by:
getRealThisin interfaceICompletenessGlobalScope- Specified by:
getRealThisin interfaceIExpressionsBasisGlobalScope- Specified by:
getRealThisin interfaceIMCBasicsGlobalScope- Specified by:
getRealThisin interfaceIMCCommonGlobalScope- Specified by:
getRealThisin interfaceIMCCommonLiteralsGlobalScope- Specified by:
getRealThisin interfaceIMCLiteralsBasisGlobalScope- Specified by:
getRealThisin interfaceIUMLModifierGlobalScope- Specified by:
getRealThisin interfaceIUMLStereotypeGlobalScope
-
clear
public void clear()
- Specified by:
clearin interfacede.monticore.symboltable.IGlobalScope
-
accept
public void accept(MCCommonTraverser visitor)
- Specified by:
acceptin interfaceIMCCommonGlobalScope- Specified by:
acceptin interfaceIMCCommonScope- Overrides:
acceptin classMCCommonScope
-
accept
public void accept(CardinalityTraverser visitor)
- Specified by:
acceptin interfaceICardinalityGlobalScope- Specified by:
acceptin interfaceICardinalityScope- Specified by:
acceptin interfaceIMCCommonGlobalScope- Specified by:
acceptin interfaceIMCCommonScope- Overrides:
acceptin classMCCommonScope
-
accept
public void accept(CompletenessTraverser visitor)
- Specified by:
acceptin interfaceICompletenessGlobalScope- Specified by:
acceptin interfaceICompletenessScope- Specified by:
acceptin interfaceIMCCommonGlobalScope- Specified by:
acceptin interfaceIMCCommonScope- Overrides:
acceptin classMCCommonScope
-
accept
public void accept(UMLModifierTraverser visitor)
- Specified by:
acceptin interfaceIMCCommonGlobalScope- Specified by:
acceptin interfaceIMCCommonScope- Specified by:
acceptin interfaceIUMLModifierGlobalScope- Specified by:
acceptin interfaceIUMLModifierScope- Overrides:
acceptin classMCCommonScope
-
accept
public void accept(UMLStereotypeTraverser visitor)
- Specified by:
acceptin interfaceIMCCommonGlobalScope- Specified by:
acceptin interfaceIMCCommonScope- Specified by:
acceptin interfaceIUMLModifierGlobalScope- Specified by:
acceptin interfaceIUMLModifierScope- Specified by:
acceptin interfaceIUMLStereotypeGlobalScope- Specified by:
acceptin interfaceIUMLStereotypeScope- Overrides:
acceptin classMCCommonScope
-
accept
public void accept(MCBasicsTraverser visitor)
- Specified by:
acceptin interfaceICardinalityGlobalScope- Specified by:
acceptin interfaceICardinalityScope- Specified by:
acceptin interfaceIExpressionsBasisGlobalScope- Specified by:
acceptin interfaceIExpressionsBasisScope- Specified by:
acceptin interfaceIMCBasicsGlobalScope- Specified by:
acceptin interfaceIMCBasicsScope- Specified by:
acceptin interfaceIMCCommonGlobalScope- Specified by:
acceptin interfaceIMCCommonLiteralsGlobalScope- Specified by:
acceptin interfaceIMCCommonLiteralsScope- Specified by:
acceptin interfaceIMCCommonScope- Specified by:
acceptin interfaceIUMLModifierGlobalScope- Specified by:
acceptin interfaceIUMLModifierScope- Specified by:
acceptin interfaceIUMLStereotypeGlobalScope- Specified by:
acceptin interfaceIUMLStereotypeScope- Overrides:
acceptin classMCCommonScope
-
accept
public void accept(MCCommonLiteralsTraverser visitor)
- Specified by:
acceptin interfaceICardinalityGlobalScope- Specified by:
acceptin interfaceICardinalityScope- Specified by:
acceptin interfaceIMCCommonGlobalScope- Specified by:
acceptin interfaceIMCCommonLiteralsGlobalScope- Specified by:
acceptin interfaceIMCCommonLiteralsScope- Specified by:
acceptin interfaceIMCCommonScope- Specified by:
acceptin interfaceIUMLModifierGlobalScope- Specified by:
acceptin interfaceIUMLModifierScope- Specified by:
acceptin interfaceIUMLStereotypeGlobalScope- Specified by:
acceptin interfaceIUMLStereotypeScope- Overrides:
acceptin classMCCommonScope
-
accept
public void accept(MCLiteralsBasisTraverser visitor)
- Specified by:
acceptin interfaceICardinalityGlobalScope- Specified by:
acceptin interfaceICardinalityScope- Specified by:
acceptin interfaceIExpressionsBasisGlobalScope- Specified by:
acceptin interfaceIExpressionsBasisScope- Specified by:
acceptin interfaceIMCCommonGlobalScope- Specified by:
acceptin interfaceIMCCommonLiteralsGlobalScope- Specified by:
acceptin interfaceIMCCommonLiteralsScope- Specified by:
acceptin interfaceIMCCommonScope- Specified by:
acceptin interfaceIMCLiteralsBasisGlobalScope- Specified by:
acceptin interfaceIMCLiteralsBasisScope- Specified by:
acceptin interfaceIUMLModifierGlobalScope- Specified by:
acceptin interfaceIUMLModifierScope- Specified by:
acceptin interfaceIUMLStereotypeGlobalScope- Specified by:
acceptin interfaceIUMLStereotypeScope- Overrides:
acceptin classMCCommonScope
-
accept
public void accept(ExpressionsBasisTraverser visitor)
- Specified by:
acceptin interfaceIExpressionsBasisGlobalScope- Specified by:
acceptin interfaceIExpressionsBasisScope- Specified by:
acceptin interfaceIMCCommonGlobalScope- Specified by:
acceptin interfaceIMCCommonScope- Specified by:
acceptin interfaceIUMLModifierGlobalScope- Specified by:
acceptin interfaceIUMLModifierScope- Specified by:
acceptin interfaceIUMLStereotypeGlobalScope- Specified by:
acceptin interfaceIUMLStereotypeScope- Overrides:
acceptin classMCCommonScope
-
accept
public void accept(de.monticore.visitor.ITraverser visitor)
- Specified by:
acceptin interfaceICardinalityGlobalScope- Specified by:
acceptin interfaceICardinalityScope- Specified by:
acceptin interfaceICompletenessGlobalScope- Specified by:
acceptin interfaceICompletenessScope- Specified by:
acceptin interfaceIExpressionsBasisGlobalScope- Specified by:
acceptin interfaceIExpressionsBasisScope- Specified by:
acceptin interfaceIMCBasicsGlobalScope- Specified by:
acceptin interfaceIMCBasicsScope- Specified by:
acceptin interfaceIMCCommonGlobalScope- Specified by:
acceptin interfaceIMCCommonLiteralsGlobalScope- Specified by:
acceptin interfaceIMCCommonLiteralsScope- Specified by:
acceptin interfaceIMCCommonScope- Specified by:
acceptin interfaceIMCLiteralsBasisGlobalScope- Specified by:
acceptin interfaceIMCLiteralsBasisScope- Specified by:
acceptin interfacede.monticore.symboltable.IScope- Specified by:
acceptin interfaceIUMLModifierGlobalScope- Specified by:
acceptin interfaceIUMLModifierScope- Specified by:
acceptin interfaceIUMLStereotypeGlobalScope- Specified by:
acceptin interfaceIUMLStereotypeScope- Overrides:
acceptin classMCCommonScope
-
-