Class MCStructuralTypesArtifactScope
java.lang.Object
de.monticore.types.mcstructuraltypes._symboltable.MCStructuralTypesScope
de.monticore.types.mcstructuraltypes._symboltable.MCStructuralTypesArtifactScope
- All Implemented Interfaces:
IMCBasicsArtifactScope,IMCBasicsScope,de.monticore.symboltable.IArtifactScope,de.monticore.symboltable.IScope,IMCBasicTypesArtifactScope,IMCBasicTypesScope,IMCStructuralTypesArtifactScope,IMCStructuralTypesScope
public class MCStructuralTypesArtifactScope
extends MCStructuralTypesScope
implements IMCStructuralTypesArtifactScope
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<de.monticore.symboltable.ImportStatement> protected StringFields inherited from class de.monticore.types.mcstructuraltypes._symboltable.MCStructuralTypesScope
astNode, enclosingScope, exportingSymbols, name, ordered, shadowing, spanningSymbol, subScopes, unknownSymbols, unknownSymbolsAlreadyResolved -
Constructor Summary
ConstructorsConstructorDescriptionMCStructuralTypesArtifactScope(String packageName, List<de.monticore.symboltable.ImportStatement> imports) MCStructuralTypesArtifactScope(Optional<IMCStructuralTypesScope> enclosingScope, String packageName, List<de.monticore.symboltable.ImportStatement> imports) -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(MCBasicsTraverser visitor) voidaccept(MCBasicTypesTraverser visitor) voidaccept(MCStructuralTypesTraverser visitor) voidaccept(de.monticore.visitor.ITraverser visitor) List<de.monticore.symboltable.ImportStatement> getName()booleanvoidsetEnclosingScope(IMCStructuralTypesScope enclosingScope) voidsetImportsList(List<de.monticore.symboltable.ImportStatement> imports) voidsetPackageName(String packageName) Methods inherited from class de.monticore.types.mcstructuraltypes._symboltable.MCStructuralTypesScope
add, addSubScope, addSubScope, addSubScope, getAstNode, getEnclosingScope, getSpanningSymbol, getSubScopes, getUnknownSymbols, 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.types.mcbasictypes._symboltable.IMCBasicTypesScope
addSubScope, removeSubScope, setEnclosingScopeMethods inherited from interface de.monticore.types.mcstructuraltypes._symboltable.IMCStructuralTypesArtifactScope
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.types.mcstructuraltypes._symboltable.IMCStructuralTypesScope
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
-
MCStructuralTypesArtifactScope
-
MCStructuralTypesArtifactScope
public MCStructuralTypesArtifactScope(Optional<IMCStructuralTypesScope> enclosingScope, String packageName, List<de.monticore.symboltable.ImportStatement> imports) -
MCStructuralTypesArtifactScope
public MCStructuralTypesArtifactScope()
-
-
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 interfaceIMCBasicTypesArtifactScope- Specified by:
getImportsListin interfaceIMCStructuralTypesArtifactScope
-
setImportsList
- Specified by:
setImportsListin interfaceIMCBasicsArtifactScope- Specified by:
setImportsListin interfaceIMCBasicTypesArtifactScope- Specified by:
setImportsListin interfaceIMCStructuralTypesArtifactScope
-
isPresentName
public boolean isPresentName()- Specified by:
isPresentNamein interfacede.monticore.symboltable.IScope- Overrides:
isPresentNamein classMCStructuralTypesScope
-
getName
- Specified by:
getNamein interfacede.monticore.symboltable.IScope- Overrides:
getNamein classMCStructuralTypesScope
-
setEnclosingScope
- Specified by:
setEnclosingScopein interfaceIMCStructuralTypesScope- Overrides:
setEnclosingScopein classMCStructuralTypesScope
-
accept
- Specified by:
acceptin interfaceIMCStructuralTypesArtifactScope- Specified by:
acceptin interfaceIMCStructuralTypesScope- Overrides:
acceptin classMCStructuralTypesScope
-
accept
- Specified by:
acceptin interfaceIMCBasicTypesArtifactScope- Specified by:
acceptin interfaceIMCBasicTypesScope- Specified by:
acceptin interfaceIMCStructuralTypesArtifactScope- Specified by:
acceptin interfaceIMCStructuralTypesScope- Overrides:
acceptin classMCStructuralTypesScope
-
accept
- Specified by:
acceptin interfaceIMCBasicsArtifactScope- Specified by:
acceptin interfaceIMCBasicsScope- Specified by:
acceptin interfaceIMCBasicTypesArtifactScope- Specified by:
acceptin interfaceIMCBasicTypesScope- Specified by:
acceptin interfaceIMCStructuralTypesArtifactScope- Specified by:
acceptin interfaceIMCStructuralTypesScope- Overrides:
acceptin classMCStructuralTypesScope
-
accept
public void accept(de.monticore.visitor.ITraverser visitor) - Specified by:
acceptin interfaceIMCBasicsArtifactScope- Specified by:
acceptin interfaceIMCBasicsScope- Specified by:
acceptin interfaceIMCBasicTypesArtifactScope- Specified by:
acceptin interfaceIMCBasicTypesScope- Specified by:
acceptin interfaceIMCStructuralTypesArtifactScope- Specified by:
acceptin interfaceIMCStructuralTypesScope- Specified by:
acceptin interfacede.monticore.symboltable.IScope- Overrides:
acceptin classMCStructuralTypesScope
-