Class MCStatementsBasisArtifactScope
java.lang.Object
de.monticore.statements.mcstatementsbasis._symboltable.MCStatementsBasisScope
de.monticore.statements.mcstatementsbasis._symboltable.MCStatementsBasisArtifactScope
- All Implemented Interfaces:
IMCStatementsBasisArtifactScope,IMCStatementsBasisScope,de.monticore.symboltable.IArtifactScope,de.monticore.symboltable.IScope
public class MCStatementsBasisArtifactScope
extends MCStatementsBasisScope
implements IMCStatementsBasisArtifactScope
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<de.monticore.symboltable.ImportStatement> protected StringFields inherited from class de.monticore.statements.mcstatementsbasis._symboltable.MCStatementsBasisScope
astNode, enclosingScope, exportingSymbols, name, ordered, shadowing, spanningSymbol, subScopes, unknownSymbols, unknownSymbolsAlreadyResolved -
Constructor Summary
ConstructorsConstructorDescriptionMCStatementsBasisArtifactScope(String packageName, List<de.monticore.symboltable.ImportStatement> imports) MCStatementsBasisArtifactScope(Optional<IMCStatementsBasisScope> enclosingScope, String packageName, List<de.monticore.symboltable.ImportStatement> imports) -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(MCStatementsBasisTraverser visitor) voidaccept(de.monticore.visitor.ITraverser visitor) List<de.monticore.symboltable.ImportStatement> getName()booleanvoidsetEnclosingScope(IMCStatementsBasisScope enclosingScope) voidsetImportsList(List<de.monticore.symboltable.ImportStatement> imports) voidsetPackageName(String packageName) Methods inherited from class de.monticore.statements.mcstatementsbasis._symboltable.MCStatementsBasisScope
add, addSubScope, getAstNode, getEnclosingScope, getSpanningSymbol, getSubScopes, getUnknownSymbols, getUnknownSymbolsWithSubKinds, isExportingSymbols, isOrdered, isPresentAstNode, isPresentSpanningSymbol, isShadowing, isUnknownSymbolsAlreadyResolved, remove, removeSubScope, setAstNode, setAstNodeAbsent, 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.statements.mcstatementsbasis._symboltable.IMCStatementsBasisArtifactScope
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.statements.mcstatementsbasis._symboltable.IMCStatementsBasisScope
addSubScope, getEnclosingScope, getSubScopes, getSymbolsSize, removeSubScopeMethods 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
-
MCStatementsBasisArtifactScope
-
MCStatementsBasisArtifactScope
public MCStatementsBasisArtifactScope(Optional<IMCStatementsBasisScope> enclosingScope, String packageName, List<de.monticore.symboltable.ImportStatement> imports) -
MCStatementsBasisArtifactScope
public MCStatementsBasisArtifactScope()
-
-
Method Details
-
getPackageName
- Specified by:
getPackageNamein interfacede.monticore.symboltable.IArtifactScope
-
setPackageName
- Specified by:
setPackageNamein interfacede.monticore.symboltable.IArtifactScope
-
getImportsList
- Specified by:
getImportsListin interfaceIMCStatementsBasisArtifactScope
-
setImportsList
- Specified by:
setImportsListin interfaceIMCStatementsBasisArtifactScope
-
isPresentName
public boolean isPresentName()- Specified by:
isPresentNamein interfacede.monticore.symboltable.IScope- Overrides:
isPresentNamein classMCStatementsBasisScope
-
getName
- Specified by:
getNamein interfacede.monticore.symboltable.IScope- Overrides:
getNamein classMCStatementsBasisScope
-
setEnclosingScope
- Specified by:
setEnclosingScopein interfaceIMCStatementsBasisScope- Overrides:
setEnclosingScopein classMCStatementsBasisScope
-
accept
- Specified by:
acceptin interfaceIMCStatementsBasisArtifactScope- Specified by:
acceptin interfaceIMCStatementsBasisScope- Overrides:
acceptin classMCStatementsBasisScope
-
accept
public void accept(de.monticore.visitor.ITraverser visitor) - Specified by:
acceptin interfaceIMCStatementsBasisArtifactScope- Specified by:
acceptin interfaceIMCStatementsBasisScope- Specified by:
acceptin interfacede.monticore.symboltable.IScope- Overrides:
acceptin classMCStatementsBasisScope
-