Class MCCommonLiteralsArtifactScope
java.lang.Object
de.monticore.literals.mccommonliterals._symboltable.MCCommonLiteralsScope
de.monticore.literals.mccommonliterals._symboltable.MCCommonLiteralsArtifactScope
- All Implemented Interfaces:
IMCCommonLiteralsArtifactScope,IMCCommonLiteralsScope,IMCLiteralsBasisArtifactScope,IMCLiteralsBasisScope,IMCBasicsArtifactScope,IMCBasicsScope,de.monticore.symboltable.IArtifactScope,de.monticore.symboltable.IScope
public class MCCommonLiteralsArtifactScope
extends MCCommonLiteralsScope
implements IMCCommonLiteralsArtifactScope
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<de.monticore.symboltable.ImportStatement> protected StringFields inherited from class de.monticore.literals.mccommonliterals._symboltable.MCCommonLiteralsScope
astNode, enclosingScope, exportingSymbols, name, ordered, shadowing, spanningSymbol, subScopes, unknownSymbols, unknownSymbolsAlreadyResolved -
Constructor Summary
ConstructorsConstructorDescriptionMCCommonLiteralsArtifactScope(String packageName, List<de.monticore.symboltable.ImportStatement> imports) MCCommonLiteralsArtifactScope(Optional<IMCCommonLiteralsScope> enclosingScope, String packageName, List<de.monticore.symboltable.ImportStatement> imports) -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(MCCommonLiteralsTraverser visitor) voidaccept(MCLiteralsBasisTraverser visitor) voidaccept(MCBasicsTraverser visitor) voidaccept(de.monticore.visitor.ITraverser visitor) List<de.monticore.symboltable.ImportStatement> getName()booleanvoidsetEnclosingScope(IMCCommonLiteralsScope enclosingScope) voidsetImportsList(List<de.monticore.symboltable.ImportStatement> imports) voidsetPackageName(String packageName) Methods inherited from class de.monticore.literals.mccommonliterals._symboltable.MCCommonLiteralsScope
add, addSubScope, addSubScope, addSubScope, getAstNode, getEnclosingScope, getSpanningSymbol, getSubScopes, getUnknownSymbols, getUnknownSymbolsWithSubKinds, isExportingSymbols, isOrdered, isPresentAstNode, isPresentSpanningSymbol, isShadowing, isUnknownSymbolsAlreadyResolved, remove, removeSubScope, removeSubScope, removeSubScope, setAstNode, setAstNodeAbsent, 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.symboltable.IArtifactScope
calculateQualifiedNamesMethods inherited from interface de.monticore.mcbasics._symboltable.IMCBasicsScope
addSubScope, removeSubScope, setEnclosingScopeMethods inherited from interface de.monticore.literals.mccommonliterals._symboltable.IMCCommonLiteralsArtifactScope
addAllImports, addAllImports, addImports, addImports, checkIfContinueAsSubScope, clearImports, containsAllImports, containsImports, equalsImports, forEachImports, getFullName, getImports, getRemainingNameForResolveDown, getTopLevelSymbol, hashCodeImports, indexOfImports, isEmptyImports, iteratorImports, lastIndexOfImports, listIteratorImports, listIteratorImports, parallelStreamImports, removeAllImports, removeIfImports, removeImports, removeImports, replaceAllImports, retainAllImports, setImports, sizeImports, sortImports, spliteratorImports, streamImports, subListImports, toArrayImports, toArrayImportsMethods inherited from interface de.monticore.literals.mccommonliterals._symboltable.IMCCommonLiteralsScope
addSubScope, getEnclosingScope, getSubScopes, getSymbolsSize, removeSubScopeMethods inherited from interface de.monticore.literals.mcliteralsbasis._symboltable.IMCLiteralsBasisScope
addSubScope, getEnclosingScope, getSubScopes, getSymbolsSize, removeSubScope, setEnclosingScopeMethods inherited from interface de.monticore.symboltable.IScope
add, checkIfContinueWithEnclosingScope, filterSymbolsByAccessModifier, getAstNode, getLocalUnknownSymbols, getNameParts, getResolvedOrThrowException, getSpanningSymbol, getUnknownSymbols, isExportingSymbols, isOrdered, isPresentAstNode, isPresentSpanningSymbol, isProperSubScopeOf, isShadowing, isSubScopeOf, remove, setAstNode, setAstNodeAbsent, setExportingSymbols, setName, setNameAbsent, setOrdered, setShadowing, setSpanningSymbol, setSpanningSymbolAbsent
-
Field Details
-
packageName
-
imports
-
-
Constructor Details
-
MCCommonLiteralsArtifactScope
-
MCCommonLiteralsArtifactScope
public MCCommonLiteralsArtifactScope(Optional<IMCCommonLiteralsScope> enclosingScope, String packageName, List<de.monticore.symboltable.ImportStatement> imports) -
MCCommonLiteralsArtifactScope
public MCCommonLiteralsArtifactScope()
-
-
Method Details
-
getPackageName
- Specified by:
getPackageNamein interfacede.monticore.symboltable.IArtifactScope
-
setPackageName
- Specified by:
setPackageNamein interfacede.monticore.symboltable.IArtifactScope
-
getImportsList
- Specified by:
getImportsListin interfaceIMCBasicsArtifactScope- Specified by:
getImportsListin interfaceIMCCommonLiteralsArtifactScope- Specified by:
getImportsListin interfaceIMCLiteralsBasisArtifactScope
-
setImportsList
- Specified by:
setImportsListin interfaceIMCBasicsArtifactScope- Specified by:
setImportsListin interfaceIMCCommonLiteralsArtifactScope- Specified by:
setImportsListin interfaceIMCLiteralsBasisArtifactScope
-
isPresentName
public boolean isPresentName()- Specified by:
isPresentNamein interfacede.monticore.symboltable.IScope- Overrides:
isPresentNamein classMCCommonLiteralsScope
-
getName
- Specified by:
getNamein interfacede.monticore.symboltable.IScope- Overrides:
getNamein classMCCommonLiteralsScope
-
setEnclosingScope
- Specified by:
setEnclosingScopein interfaceIMCCommonLiteralsScope- Overrides:
setEnclosingScopein classMCCommonLiteralsScope
-
accept
- Specified by:
acceptin interfaceIMCCommonLiteralsArtifactScope- Specified by:
acceptin interfaceIMCCommonLiteralsScope- Overrides:
acceptin classMCCommonLiteralsScope
-
accept
- Specified by:
acceptin interfaceIMCBasicsArtifactScope- Specified by:
acceptin interfaceIMCBasicsScope- Specified by:
acceptin interfaceIMCCommonLiteralsArtifactScope- Specified by:
acceptin interfaceIMCCommonLiteralsScope- Overrides:
acceptin classMCCommonLiteralsScope
-
accept
- Specified by:
acceptin interfaceIMCCommonLiteralsArtifactScope- Specified by:
acceptin interfaceIMCCommonLiteralsScope- Specified by:
acceptin interfaceIMCLiteralsBasisArtifactScope- Specified by:
acceptin interfaceIMCLiteralsBasisScope- Overrides:
acceptin classMCCommonLiteralsScope
-
accept
public void accept(de.monticore.visitor.ITraverser visitor) - Specified by:
acceptin interfaceIMCBasicsArtifactScope- Specified by:
acceptin interfaceIMCBasicsScope- Specified by:
acceptin interfaceIMCCommonLiteralsArtifactScope- Specified by:
acceptin interfaceIMCCommonLiteralsScope- Specified by:
acceptin interfaceIMCLiteralsBasisArtifactScope- Specified by:
acceptin interfaceIMCLiteralsBasisScope- Specified by:
acceptin interfacede.monticore.symboltable.IScope- Overrides:
acceptin classMCCommonLiteralsScope
-