Class GrammarArtifactScope
- java.lang.Object
-
- de.monticore.grammar.grammar._symboltable.GrammarScope
-
- de.monticore.grammar.grammar._symboltable.GrammarArtifactScope
-
- All Implemented Interfaces:
IGrammarArtifactScope,IGrammarScope,IGrammarScopeTOP,IMCCommonLiteralsArtifactScope,IMCCommonLiteralsScope,IMCLiteralsBasisArtifactScope,IMCLiteralsBasisScope,IMCBasicsArtifactScope,IMCBasicsScope,de.monticore.symboltable.IArtifactScope,de.monticore.symboltable.IScope,IMCBasicTypesArtifactScope,IMCBasicTypesScope,IMCCollectionTypesArtifactScope,IMCCollectionTypesScope,IMCSimpleGenericTypesArtifactScope,IMCSimpleGenericTypesScope
public class GrammarArtifactScope extends GrammarScope implements IGrammarArtifactScope
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<de.monticore.symboltable.ImportStatement>importsprotected java.lang.StringpackageName-
Fields inherited from class de.monticore.grammar.grammar._symboltable.GrammarScope
additionalAttributeSymbols, additionalAttributeSymbolsAlreadyResolved, astNode, enclosingScope, exportingSymbols, mCGrammarSymbols, mCGrammarSymbolsAlreadyResolved, name, ordered, prodSymbols, prodSymbolsAlreadyResolved, ruleComponentSymbols, ruleComponentSymbolsAlreadyResolved, shadowing, spanningSymbol, subScopes, unknownSymbols, unknownSymbolsAlreadyResolved
-
-
Constructor Summary
Constructors Constructor Description GrammarArtifactScope()GrammarArtifactScope(java.lang.String packageName, java.util.List<de.monticore.symboltable.ImportStatement> imports)GrammarArtifactScope(java.util.Optional<IGrammarScope> enclosingScope, java.lang.String packageName, java.util.List<de.monticore.symboltable.ImportStatement> imports)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(GrammarTraverser visitor)voidaccept(MCCommonLiteralsTraverser visitor)voidaccept(MCLiteralsBasisTraverser visitor)voidaccept(MCBasicsTraverser visitor)voidaccept(MCBasicTypesTraverser visitor)voidaccept(MCCollectionTypesTraverser visitor)voidaccept(MCSimpleGenericTypesTraverser visitor)voidaccept(de.monticore.visitor.ITraverser visitor)java.util.List<de.monticore.symboltable.ImportStatement>getImportsList()java.lang.StringgetName()java.lang.StringgetPackageName()booleanisPresentName()voidsetEnclosingScope(IGrammarScope enclosingScope)voidsetImportsList(java.util.List<de.monticore.symboltable.ImportStatement> imports)voidsetPackageName(java.lang.String packageName)-
Methods inherited from class de.monticore.grammar.grammar._symboltable.GrammarScope
add, add, add, add, add, addSubScope, addSubScope, addSubScope, addSubScope, addSubScope, addSubScope, addSubScope, getAdditionalAttributeSymbols, getAstNode, getEnclosingScope, getMCGrammarSymbols, getProdSymbols, getRuleComponentSymbols, getSpanningSymbol, getSubScopes, getUnknownSymbols, isAdditionalAttributeSymbolsAlreadyResolved, isExportingSymbols, isMCGrammarSymbolsAlreadyResolved, isOrdered, isPresentAstNode, isPresentSpanningSymbol, isProdSymbolsAlreadyResolved, isRuleComponentSymbolsAlreadyResolved, isShadowing, isUnknownSymbolsAlreadyResolved, remove, remove, remove, remove, remove, removeSubScope, removeSubScope, removeSubScope, removeSubScope, removeSubScope, removeSubScope, removeSubScope, resolveAdditionalAttributeSubKinds, resolveMCGrammarSubKinds, resolveProdSubKinds, resolveRuleComponentSubKinds, setAdditionalAttributeSymbolsAlreadyResolved, setAstNode, setAstNodeAbsent, setEnclosingScope, setEnclosingScope, setEnclosingScope, setEnclosingScope, setEnclosingScope, setEnclosingScope, setExportingSymbols, setMCGrammarSymbolsAlreadyResolved, setName, setNameAbsent, setOrdered, setProdSymbolsAlreadyResolved, setRuleComponentSymbolsAlreadyResolved, setShadowing, setSpanningSymbol, setSpanningSymbolAbsent, setSubScopes, setUnknownSymbolsAlreadyResolved
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.monticore.grammar.grammar._symboltable.IGrammarArtifactScope
addAllImports, addAllImports, addImports, addImports, checkIfContinueAsSubScope, clearImports, containsAllImports, containsImports, continueAdditionalAttributeWithEnclosingScope, continueMCGrammarWithEnclosingScope, continueProdWithEnclosingScope, continueRuleComponentWithEnclosingScope, 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, toArrayImports
-
Methods inherited from interface de.monticore.grammar.grammar._symboltable.IGrammarScope
getAstAttributeList, getSymbolAttributeList, isQualified, isQualified, resolveInSuperGrammar, resolveInSuperGrammars, resolveProdImported, resolveProdMany
-
Methods inherited from interface de.monticore.grammar.grammar._symboltable.IGrammarScopeTOP
add, add, add, add, addSubScope, continueAsAdditionalAttributeSubScope, continueAsMCGrammarSubScope, continueAsProdSubScope, continueAsRuleComponentSubScope, filterAdditionalAttribute, filterMCGrammar, filterProd, filterRuleComponent, getAdditionalAttributeSymbols, getEnclosingScope, getLocalAdditionalAttributeSymbols, getLocalMCGrammarSymbols, getLocalProdSymbols, getLocalRuleComponentSymbols, getMCGrammarSymbols, getProdSymbols, getRuleComponentSymbols, getSubScopes, getSymbolsSize, isAdditionalAttributeSymbolsAlreadyResolved, isMCGrammarSymbolsAlreadyResolved, isProdSymbolsAlreadyResolved, isRuleComponentSymbolsAlreadyResolved, remove, remove, remove, remove, removeSubScope, resolveAdaptedAdditionalAttributeLocallyMany, resolveAdaptedMCGrammarLocallyMany, resolveAdaptedProdLocallyMany, resolveAdaptedRuleComponentLocallyMany, resolveAdditionalAttribute, resolveAdditionalAttribute, resolveAdditionalAttribute, resolveAdditionalAttribute, resolveAdditionalAttributeDown, resolveAdditionalAttributeDown, resolveAdditionalAttributeDown, resolveAdditionalAttributeDownMany, resolveAdditionalAttributeDownMany, resolveAdditionalAttributeDownMany, resolveAdditionalAttributeDownMany, resolveAdditionalAttributeLocally, resolveAdditionalAttributeLocallyMany, resolveAdditionalAttributeMany, resolveAdditionalAttributeMany, resolveAdditionalAttributeMany, resolveAdditionalAttributeMany, resolveAdditionalAttributeMany, resolveAdditionalAttributeMany, resolveAdditionalAttributeSubKinds, resolveMCGrammar, resolveMCGrammar, resolveMCGrammar, resolveMCGrammar, resolveMCGrammarDown, resolveMCGrammarDown, resolveMCGrammarDown, resolveMCGrammarDownMany, resolveMCGrammarDownMany, resolveMCGrammarDownMany, resolveMCGrammarDownMany, resolveMCGrammarLocally, resolveMCGrammarLocallyMany, resolveMCGrammarMany, resolveMCGrammarMany, resolveMCGrammarMany, resolveMCGrammarMany, resolveMCGrammarMany, resolveMCGrammarMany, resolveMCGrammarSubKinds, resolveProd, resolveProd, resolveProd, resolveProd, resolveProdDown, resolveProdDown, resolveProdDown, resolveProdDownMany, resolveProdDownMany, resolveProdDownMany, resolveProdDownMany, resolveProdLocally, resolveProdLocallyMany, resolveProdMany, resolveProdMany, resolveProdMany, resolveProdMany, resolveProdMany, resolveProdSubKinds, resolveRuleComponent, resolveRuleComponent, resolveRuleComponent, resolveRuleComponent, resolveRuleComponentDown, resolveRuleComponentDown, resolveRuleComponentDown, resolveRuleComponentDownMany, resolveRuleComponentDownMany, resolveRuleComponentDownMany, resolveRuleComponentDownMany, resolveRuleComponentLocally, resolveRuleComponentLocallyMany, resolveRuleComponentMany, resolveRuleComponentMany, resolveRuleComponentMany, resolveRuleComponentMany, resolveRuleComponentMany, resolveRuleComponentMany, resolveRuleComponentSubKinds, setAdditionalAttributeSymbolsAlreadyResolved, setMCGrammarSymbolsAlreadyResolved, setProdSymbolsAlreadyResolved, setRuleComponentSymbolsAlreadyResolved
-
Methods inherited from interface de.monticore.mcbasics._symboltable.IMCBasicsScope
addSubScope, removeSubScope, setEnclosingScope
-
Methods inherited from interface de.monticore.types.mcbasictypes._symboltable.IMCBasicTypesScope
addSubScope, removeSubScope, setEnclosingScope
-
Methods inherited from interface de.monticore.types.mccollectiontypes._symboltable.IMCCollectionTypesScope
addSubScope, removeSubScope, setEnclosingScope
-
Methods inherited from interface de.monticore.literals.mccommonliterals._symboltable.IMCCommonLiteralsScope
addSubScope, removeSubScope, setEnclosingScope
-
Methods inherited from interface de.monticore.literals.mcliteralsbasis._symboltable.IMCLiteralsBasisScope
addSubScope, getEnclosingScope, getSubScopes, getSymbolsSize, removeSubScope, setEnclosingScope
-
Methods inherited from interface de.monticore.types.mcsimplegenerictypes._symboltable.IMCSimpleGenericTypesScope
addSubScope, getEnclosingScope, getSubScopes, getSymbolsSize, removeSubScope, setEnclosingScope
-
Methods 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
-
-
-
-
Constructor Detail
-
GrammarArtifactScope
public GrammarArtifactScope(java.lang.String packageName, java.util.List<de.monticore.symboltable.ImportStatement> imports)
-
GrammarArtifactScope
public GrammarArtifactScope(java.util.Optional<IGrammarScope> enclosingScope, java.lang.String packageName, java.util.List<de.monticore.symboltable.ImportStatement> imports)
-
GrammarArtifactScope
public GrammarArtifactScope()
-
-
Method Detail
-
getPackageName
public java.lang.String getPackageName()
- Specified by:
getPackageNamein interfacede.monticore.symboltable.IArtifactScope
-
setPackageName
public void setPackageName(java.lang.String packageName)
- Specified by:
setPackageNamein interfacede.monticore.symboltable.IArtifactScope
-
getImportsList
public java.util.List<de.monticore.symboltable.ImportStatement> getImportsList()
- Specified by:
getImportsListin interfaceIGrammarArtifactScope- Specified by:
getImportsListin interfaceIMCBasicsArtifactScope- Specified by:
getImportsListin interfaceIMCBasicTypesArtifactScope- Specified by:
getImportsListin interfaceIMCCollectionTypesArtifactScope- Specified by:
getImportsListin interfaceIMCCommonLiteralsArtifactScope- Specified by:
getImportsListin interfaceIMCLiteralsBasisArtifactScope- Specified by:
getImportsListin interfaceIMCSimpleGenericTypesArtifactScope
-
setImportsList
public void setImportsList(java.util.List<de.monticore.symboltable.ImportStatement> imports)
- Specified by:
setImportsListin interfaceIGrammarArtifactScope- Specified by:
setImportsListin interfaceIMCBasicsArtifactScope- Specified by:
setImportsListin interfaceIMCBasicTypesArtifactScope- Specified by:
setImportsListin interfaceIMCCollectionTypesArtifactScope- Specified by:
setImportsListin interfaceIMCCommonLiteralsArtifactScope- Specified by:
setImportsListin interfaceIMCLiteralsBasisArtifactScope- Specified by:
setImportsListin interfaceIMCSimpleGenericTypesArtifactScope
-
isPresentName
public boolean isPresentName()
- Specified by:
isPresentNamein interfacede.monticore.symboltable.IScope- Overrides:
isPresentNamein classGrammarScope
-
getName
public java.lang.String getName()
- Specified by:
getNamein interfacede.monticore.symboltable.IScope- Overrides:
getNamein classGrammarScope
-
setEnclosingScope
public void setEnclosingScope(IGrammarScope enclosingScope)
- Specified by:
setEnclosingScopein interfaceIGrammarScopeTOP- Overrides:
setEnclosingScopein classGrammarScope
-
accept
public void accept(GrammarTraverser visitor)
- Specified by:
acceptin interfaceIGrammarArtifactScope- Specified by:
acceptin interfaceIGrammarScopeTOP- Overrides:
acceptin classGrammarScope
-
accept
public void accept(MCCommonLiteralsTraverser visitor)
- Specified by:
acceptin interfaceIGrammarArtifactScope- Specified by:
acceptin interfaceIGrammarScopeTOP- Specified by:
acceptin interfaceIMCCommonLiteralsArtifactScope- Specified by:
acceptin interfaceIMCCommonLiteralsScope- Overrides:
acceptin classGrammarScope
-
accept
public void accept(MCSimpleGenericTypesTraverser visitor)
- Specified by:
acceptin interfaceIGrammarArtifactScope- Specified by:
acceptin interfaceIGrammarScopeTOP- Specified by:
acceptin interfaceIMCSimpleGenericTypesArtifactScope- Specified by:
acceptin interfaceIMCSimpleGenericTypesScope- Overrides:
acceptin classGrammarScope
-
accept
public void accept(MCBasicsTraverser visitor)
- Specified by:
acceptin interfaceIGrammarArtifactScope- Specified by:
acceptin interfaceIGrammarScopeTOP- Specified by:
acceptin interfaceIMCBasicsArtifactScope- Specified by:
acceptin interfaceIMCBasicsScope- Specified by:
acceptin interfaceIMCBasicTypesArtifactScope- Specified by:
acceptin interfaceIMCBasicTypesScope- Specified by:
acceptin interfaceIMCCollectionTypesArtifactScope- Specified by:
acceptin interfaceIMCCollectionTypesScope- Specified by:
acceptin interfaceIMCCommonLiteralsArtifactScope- Specified by:
acceptin interfaceIMCCommonLiteralsScope- Specified by:
acceptin interfaceIMCSimpleGenericTypesArtifactScope- Specified by:
acceptin interfaceIMCSimpleGenericTypesScope- Overrides:
acceptin classGrammarScope
-
accept
public void accept(MCLiteralsBasisTraverser visitor)
- Specified by:
acceptin interfaceIGrammarArtifactScope- Specified by:
acceptin interfaceIGrammarScopeTOP- Specified by:
acceptin interfaceIMCCommonLiteralsArtifactScope- Specified by:
acceptin interfaceIMCCommonLiteralsScope- Specified by:
acceptin interfaceIMCLiteralsBasisArtifactScope- Specified by:
acceptin interfaceIMCLiteralsBasisScope- Overrides:
acceptin classGrammarScope
-
accept
public void accept(MCCollectionTypesTraverser visitor)
- Specified by:
acceptin interfaceIGrammarArtifactScope- Specified by:
acceptin interfaceIGrammarScopeTOP- Specified by:
acceptin interfaceIMCCollectionTypesArtifactScope- Specified by:
acceptin interfaceIMCCollectionTypesScope- Specified by:
acceptin interfaceIMCSimpleGenericTypesArtifactScope- Specified by:
acceptin interfaceIMCSimpleGenericTypesScope- Overrides:
acceptin classGrammarScope
-
accept
public void accept(MCBasicTypesTraverser visitor)
- Specified by:
acceptin interfaceIGrammarArtifactScope- Specified by:
acceptin interfaceIGrammarScopeTOP- Specified by:
acceptin interfaceIMCBasicTypesArtifactScope- Specified by:
acceptin interfaceIMCBasicTypesScope- Specified by:
acceptin interfaceIMCCollectionTypesArtifactScope- Specified by:
acceptin interfaceIMCCollectionTypesScope- Specified by:
acceptin interfaceIMCSimpleGenericTypesArtifactScope- Specified by:
acceptin interfaceIMCSimpleGenericTypesScope- Overrides:
acceptin classGrammarScope
-
accept
public void accept(de.monticore.visitor.ITraverser visitor)
- Specified by:
acceptin interfaceIGrammarArtifactScope- Specified by:
acceptin interfaceIGrammarScopeTOP- Specified by:
acceptin interfaceIMCBasicsArtifactScope- Specified by:
acceptin interfaceIMCBasicsScope- Specified by:
acceptin interfaceIMCBasicTypesArtifactScope- Specified by:
acceptin interfaceIMCBasicTypesScope- Specified by:
acceptin interfaceIMCCollectionTypesArtifactScope- Specified by:
acceptin interfaceIMCCollectionTypesScope- Specified by:
acceptin interfaceIMCCommonLiteralsArtifactScope- Specified by:
acceptin interfaceIMCCommonLiteralsScope- Specified by:
acceptin interfaceIMCLiteralsBasisArtifactScope- Specified by:
acceptin interfaceIMCLiteralsBasisScope- Specified by:
acceptin interfaceIMCSimpleGenericTypesArtifactScope- Specified by:
acceptin interfaceIMCSimpleGenericTypesScope- Specified by:
acceptin interfacede.monticore.symboltable.IScope- Overrides:
acceptin classGrammarScope
-
-