Class MCJavaLiteralsGlobalScope
java.lang.Object
de.monticore.literals.mcjavaliterals._symboltable.MCJavaLiteralsScope
de.monticore.literals.mcjavaliterals._symboltable.MCJavaLiteralsGlobalScope
- All Implemented Interfaces:
IMCCommonLiteralsGlobalScope,IMCCommonLiteralsScope,IMCJavaLiteralsGlobalScope,IMCJavaLiteralsScope,IMCLiteralsBasisGlobalScope,IMCLiteralsBasisScope,IMCBasicsGlobalScope,IMCBasicsScope,de.monticore.symboltable.IGlobalScope,de.monticore.symboltable.IScope
public class MCJavaLiteralsGlobalScope
extends MCJavaLiteralsScope
implements IMCJavaLiteralsGlobalScope
-
Field Summary
FieldsModifier and TypeFieldDescriptionde.monticore.symboltable.serialization.IDeSerprotected Stringprotected de.monticore.io.paths.MCPathprotected MCJavaLiteralsSymbols2JsonFields inherited from class de.monticore.literals.mcjavaliterals._symboltable.MCJavaLiteralsScope
astNode, enclosingScope, exportingSymbols, name, ordered, shadowing, spanningSymbol, subScopes, unknownSymbols, unknownSymbolsAlreadyResolved -
Constructor Summary
ConstructorsConstructorDescriptionMCJavaLiteralsGlobalScope(de.monticore.io.paths.MCPath symbolPath, String fileExt) -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(MCCommonLiteralsTraverser visitor) voidaccept(MCJavaLiteralsTraverser visitor) voidaccept(MCLiteralsBasisTraverser visitor) voidaccept(MCBasicsTraverser visitor) voidaccept(de.monticore.visitor.ITraverser visitor) voidaddLoadedFile(String name) voidclear()voidde.monticore.symboltable.serialization.IDeSergetDeSer()de.monticore.io.paths.MCPathvoidinit()booleanisFileLoaded(String name) voidloadFileForModelName(String modelName) voidsetDeSer(de.monticore.symboltable.serialization.IDeSer deSer) voidsetFileExt(String fileExt) voidsetSymbolDeSers(Map<String, de.monticore.symboltable.serialization.ISymbolDeSer> symbolDeSers) voidsetSymbolPath(de.monticore.io.paths.MCPath symbolPath) voidsetSymbols2Json(MCJavaLiteralsSymbols2Json symbols2Json) Methods inherited from class de.monticore.literals.mcjavaliterals._symboltable.MCJavaLiteralsScope
add, addSubScope, addSubScope, addSubScope, addSubScope, getAstNode, getEnclosingScope, getName, getSpanningSymbol, getSubScopes, getUnknownSymbols, getUnknownSymbolsWithSubKinds, isExportingSymbols, isOrdered, isPresentAstNode, isPresentName, isPresentSpanningSymbol, isShadowing, isUnknownSymbolsAlreadyResolved, remove, removeSubScope, removeSubScope, removeSubScope, removeSubScope, setAstNode, setAstNodeAbsent, setEnclosingScope, setEnclosingScope, setEnclosingScope, setEnclosingScope, setExportingSymbols, setName, setNameAbsent, setOrdered, setShadowing, setSpanningSymbol, setSpanningSymbolAbsent, setSubScopes, setUnknownSymbolsAlreadyResolvedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.monticore.mcbasics._symboltable.IMCBasicsGlobalScope
setEnclosingScopeMethods inherited from interface de.monticore.mcbasics._symboltable.IMCBasicsScope
addSubScope, removeSubScopeMethods inherited from interface de.monticore.literals.mccommonliterals._symboltable.IMCCommonLiteralsGlobalScope
setEnclosingScopeMethods inherited from interface de.monticore.literals.mccommonliterals._symboltable.IMCCommonLiteralsScope
addSubScope, removeSubScopeMethods inherited from interface de.monticore.literals.mcjavaliterals._symboltable.IMCJavaLiteralsGlobalScope
checkIfContinueAsSubScope, getEnclosingScope, getName, getSymbolDeSer, isPresentName, putSymbolDeSer, setEnclosingScopeMethods inherited from interface de.monticore.literals.mcjavaliterals._symboltable.IMCJavaLiteralsScope
addSubScope, getSubScopes, getSymbolsSize, removeSubScopeMethods inherited from interface de.monticore.literals.mcliteralsbasis._symboltable.IMCLiteralsBasisGlobalScope
setEnclosingScopeMethods inherited from interface de.monticore.literals.mcliteralsbasis._symboltable.IMCLiteralsBasisScope
addSubScope, getSubScopes, getSymbolsSize, removeSubScopeMethods 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
-
Field Details
-
symbolPath
protected de.monticore.io.paths.MCPath symbolPath -
fileExt
-
deSer
public de.monticore.symboltable.serialization.IDeSer deSer -
symbolDeSers
-
symbols2Json
-
cache
-
-
Constructor Details
-
MCJavaLiteralsGlobalScope
-
MCJavaLiteralsGlobalScope
public MCJavaLiteralsGlobalScope()
-
-
Method Details
-
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
- Specified by:
getFileExtin interfacede.monticore.symboltable.IGlobalScope
-
setFileExt
- 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
- Specified by:
getSymbolDeSersin interfacede.monticore.symboltable.IGlobalScope- Specified by:
getSymbolDeSersin interfaceIMCBasicsGlobalScope- Specified by:
getSymbolDeSersin interfaceIMCCommonLiteralsGlobalScope- Specified by:
getSymbolDeSersin interfaceIMCJavaLiteralsGlobalScope- Specified by:
getSymbolDeSersin interfaceIMCLiteralsBasisGlobalScope
-
setSymbolDeSers
public void setSymbolDeSers(Map<String, de.monticore.symboltable.serialization.ISymbolDeSer> symbolDeSers) - Specified by:
setSymbolDeSersin interfacede.monticore.symboltable.IGlobalScope
-
setSymbols2Json
-
getSymbols2Json
-
addLoadedFile
- Specified by:
addLoadedFilein interfacede.monticore.symboltable.IGlobalScope
-
clearLoadedFiles
public void clearLoadedFiles()- Specified by:
clearLoadedFilesin interfacede.monticore.symboltable.IGlobalScope
-
isFileLoaded
- Specified by:
isFileLoadedin interfacede.monticore.symboltable.IGlobalScope
-
init
public void init()- Specified by:
initin interfacede.monticore.symboltable.IGlobalScope
-
loadFileForModelName
- Specified by:
loadFileForModelNamein interfaceIMCBasicsGlobalScope- Specified by:
loadFileForModelNamein interfaceIMCCommonLiteralsGlobalScope- Specified by:
loadFileForModelNamein interfaceIMCJavaLiteralsGlobalScope- Specified by:
loadFileForModelNamein interfaceIMCLiteralsBasisGlobalScope
-
getRealThis
- Specified by:
getRealThisin interfaceIMCBasicsGlobalScope- Specified by:
getRealThisin interfaceIMCCommonLiteralsGlobalScope- Specified by:
getRealThisin interfaceIMCJavaLiteralsGlobalScope- Specified by:
getRealThisin interfaceIMCLiteralsBasisGlobalScope
-
clear
public void clear()- Specified by:
clearin interfacede.monticore.symboltable.IGlobalScope
-
accept
- Specified by:
acceptin interfaceIMCJavaLiteralsGlobalScope- Specified by:
acceptin interfaceIMCJavaLiteralsScope- Overrides:
acceptin classMCJavaLiteralsScope
-
accept
- Specified by:
acceptin interfaceIMCCommonLiteralsGlobalScope- Specified by:
acceptin interfaceIMCCommonLiteralsScope- Specified by:
acceptin interfaceIMCJavaLiteralsGlobalScope- Specified by:
acceptin interfaceIMCJavaLiteralsScope- Overrides:
acceptin classMCJavaLiteralsScope
-
accept
- Specified by:
acceptin interfaceIMCBasicsGlobalScope- Specified by:
acceptin interfaceIMCBasicsScope- Specified by:
acceptin interfaceIMCCommonLiteralsGlobalScope- Specified by:
acceptin interfaceIMCCommonLiteralsScope- Specified by:
acceptin interfaceIMCJavaLiteralsGlobalScope- Specified by:
acceptin interfaceIMCJavaLiteralsScope- Overrides:
acceptin classMCJavaLiteralsScope
-
accept
- Specified by:
acceptin interfaceIMCCommonLiteralsGlobalScope- Specified by:
acceptin interfaceIMCCommonLiteralsScope- Specified by:
acceptin interfaceIMCJavaLiteralsGlobalScope- Specified by:
acceptin interfaceIMCJavaLiteralsScope- Specified by:
acceptin interfaceIMCLiteralsBasisGlobalScope- Specified by:
acceptin interfaceIMCLiteralsBasisScope- Overrides:
acceptin classMCJavaLiteralsScope
-
accept
public void accept(de.monticore.visitor.ITraverser visitor) - Specified by:
acceptin interfaceIMCBasicsGlobalScope- Specified by:
acceptin interfaceIMCBasicsScope- Specified by:
acceptin interfaceIMCCommonLiteralsGlobalScope- Specified by:
acceptin interfaceIMCCommonLiteralsScope- Specified by:
acceptin interfaceIMCJavaLiteralsGlobalScope- Specified by:
acceptin interfaceIMCJavaLiteralsScope- Specified by:
acceptin interfaceIMCLiteralsBasisGlobalScope- Specified by:
acceptin interfaceIMCLiteralsBasisScope- Specified by:
acceptin interfacede.monticore.symboltable.IScope- Overrides:
acceptin classMCJavaLiteralsScope
-