Interface IGrammarScope
-
- All Superinterfaces:
IGrammarScopeTOP,IMCBasicsScope,IMCBasicTypesScope,IMCCollectionTypesScope,IMCCommonLiteralsScope,IMCLiteralsBasisScope,IMCSimpleGenericTypesScope,de.monticore.symboltable.IScope
- All Known Subinterfaces:
IGrammar_WithConceptsArtifactScope,IGrammar_WithConceptsGlobalScope,IGrammar_WithConceptsScope,IGrammarArtifactScope,IGrammarGlobalScope
- All Known Implementing Classes:
Grammar_WithConceptsArtifactScope,Grammar_WithConceptsGlobalScope,Grammar_WithConceptsGlobalScopeTOP,Grammar_WithConceptsScope,GrammarArtifactScope,GrammarGlobalScope,GrammarScope
public interface IGrammarScope extends IGrammarScopeTOP
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default java.util.List<AdditionalAttributeSymbol>getAstAttributeList()default java.util.List<AdditionalAttributeSymbol>getSymbolAttributeList()default booleanisQualified(MCGrammarSymbolSurrogate grammarRef)default booleanisQualified(java.lang.String name)default java.util.Optional<ProdSymbol>resolveInSuperGrammar(java.lang.String name, MCGrammarSymbol superGrammar)default java.util.Optional<ProdSymbol>resolveInSuperGrammars(java.lang.String name, de.monticore.symboltable.modifiers.AccessModifier modifier)default java.util.Optional<ProdSymbol>resolveProdImported(java.lang.String name, de.monticore.symboltable.modifiers.AccessModifier modifier)default java.util.List<ProdSymbol>resolveProdMany(boolean foundSymbols, java.lang.String name, de.monticore.symboltable.modifiers.AccessModifier modifier, java.util.function.Predicate<ProdSymbol> predicate)-
Methods inherited from interface de.monticore.grammar.grammar._symboltable.IGrammarScopeTOP
accept, accept, accept, accept, accept, accept, accept, accept, add, add, add, add, addSubScope, continueAdditionalAttributeWithEnclosingScope, continueAsAdditionalAttributeSubScope, continueAsMCGrammarSubScope, continueAsProdSubScope, continueAsRuleComponentSubScope, continueMCGrammarWithEnclosingScope, continueProdWithEnclosingScope, continueRuleComponentWithEnclosingScope, 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, setEnclosingScope, 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, removeSubScope, setEnclosingScope
-
Methods inherited from interface de.monticore.types.mcsimplegenerictypes._symboltable.IMCSimpleGenericTypesScope
addSubScope, removeSubScope, setEnclosingScope
-
Methods inherited from interface de.monticore.symboltable.IScope
add, checkIfContinueAsSubScope, checkIfContinueWithEnclosingScope, filterSymbolsByAccessModifier, getAstNode, getLocalUnknownSymbols, getName, getNameParts, getRemainingNameForResolveDown, getResolvedOrThrowException, getSpanningSymbol, getUnknownSymbols, isExportingSymbols, isOrdered, isPresentAstNode, isPresentName, isPresentSpanningSymbol, isProperSubScopeOf, isShadowing, isSubScopeOf, remove, setAstNode, setAstNodeAbsent, setExportingSymbols, setName, setNameAbsent, setOrdered, setShadowing, setSpanningSymbol, setSpanningSymbolAbsent
-
-
-
-
Method Detail
-
resolveProdImported
default java.util.Optional<ProdSymbol> resolveProdImported(java.lang.String name, de.monticore.symboltable.modifiers.AccessModifier modifier)
-
resolveProdMany
default java.util.List<ProdSymbol> resolveProdMany(boolean foundSymbols, java.lang.String name, de.monticore.symboltable.modifiers.AccessModifier modifier, java.util.function.Predicate<ProdSymbol> predicate)
- Specified by:
resolveProdManyin interfaceIGrammarScopeTOP
-
resolveInSuperGrammars
default java.util.Optional<ProdSymbol> resolveInSuperGrammars(java.lang.String name, de.monticore.symboltable.modifiers.AccessModifier modifier)
-
resolveInSuperGrammar
default java.util.Optional<ProdSymbol> resolveInSuperGrammar(java.lang.String name, MCGrammarSymbol superGrammar)
-
isQualified
default boolean isQualified(MCGrammarSymbolSurrogate grammarRef)
-
isQualified
default boolean isQualified(java.lang.String name)
-
getAstAttributeList
default java.util.List<AdditionalAttributeSymbol> getAstAttributeList()
-
getSymbolAttributeList
default java.util.List<AdditionalAttributeSymbol> getSymbolAttributeList()
-
-