Class AntlrArtifactScope
java.lang.Object
de.monticore.grammar.concepts.antlr.antlr._symboltable.AntlrScope
de.monticore.grammar.concepts.antlr.antlr._symboltable.AntlrArtifactScope
- All Implemented Interfaces:
IAntlrArtifactScope,IAntlrScope,de.monticore.symboltable.IArtifactScope,de.monticore.symboltable.IScope
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<de.monticore.symboltable.ImportStatement> protected StringFields inherited from class de.monticore.grammar.concepts.antlr.antlr._symboltable.AntlrScope
astNode, enclosingScope, exportingSymbols, name, ordered, shadowing, spanningSymbol, subScopes, unknownSymbols, unknownSymbolsAlreadyResolved -
Constructor Summary
ConstructorsConstructorDescriptionAntlrArtifactScope(String packageName, List<de.monticore.symboltable.ImportStatement> imports) AntlrArtifactScope(Optional<IAntlrScope> enclosingScope, String packageName, List<de.monticore.symboltable.ImportStatement> imports) -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(AntlrTraverser visitor) voidaccept(de.monticore.visitor.ITraverser visitor) List<de.monticore.symboltable.ImportStatement> getName()booleanvoidsetEnclosingScope(IAntlrScope enclosingScope) voidsetImportsList(List<de.monticore.symboltable.ImportStatement> imports) voidsetPackageName(String packageName) Methods inherited from class de.monticore.grammar.concepts.antlr.antlr._symboltable.AntlrScope
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.grammar.concepts.antlr.antlr._symboltable.IAntlrArtifactScope
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.grammar.concepts.antlr.antlr._symboltable.IAntlrScope
addSubScope, getEnclosingScope, getSubScopes, getSymbolsSize, removeSubScopeMethods inherited from interface de.monticore.symboltable.IArtifactScope
calculateQualifiedNamesMethods 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
-
AntlrArtifactScope
-
AntlrArtifactScope
public AntlrArtifactScope(Optional<IAntlrScope> enclosingScope, String packageName, List<de.monticore.symboltable.ImportStatement> imports) -
AntlrArtifactScope
public AntlrArtifactScope()
-
-
Method Details
-
getPackageName
- Specified by:
getPackageNamein interfacede.monticore.symboltable.IArtifactScope
-
setPackageName
- Specified by:
setPackageNamein interfacede.monticore.symboltable.IArtifactScope
-
getImportsList
- Specified by:
getImportsListin interfaceIAntlrArtifactScope
-
setImportsList
- Specified by:
setImportsListin interfaceIAntlrArtifactScope
-
isPresentName
public boolean isPresentName()- Specified by:
isPresentNamein interfacede.monticore.symboltable.IScope- Overrides:
isPresentNamein classAntlrScope
-
getName
- Specified by:
getNamein interfacede.monticore.symboltable.IScope- Overrides:
getNamein classAntlrScope
-
setEnclosingScope
- Specified by:
setEnclosingScopein interfaceIAntlrScope- Overrides:
setEnclosingScopein classAntlrScope
-
accept
- Specified by:
acceptin interfaceIAntlrArtifactScope- Specified by:
acceptin interfaceIAntlrScope- Overrides:
acceptin classAntlrScope
-
accept
public void accept(de.monticore.visitor.ITraverser visitor) - Specified by:
acceptin interfaceIAntlrArtifactScope- Specified by:
acceptin interfaceIAntlrScope- Specified by:
acceptin interfacede.monticore.symboltable.IScope- Overrides:
acceptin classAntlrScope
-