Class RegExTypeScope
java.lang.Object
de.monticore.regex.regextype._symboltable.RegExTypeScope
- All Implemented Interfaces:
IMCCommonLiteralsScope,IMCLiteralsBasisScope,IMCBasicsScope,IRegExTypeScope,IRegularExpressionsScope,de.monticore.symboltable.IScope,IMCBasicTypesScope
- Direct Known Subclasses:
RegExTypeArtifactScope,RegExTypeGlobalScope
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Optional<de.monticore.ast.ASTNode> protected IRegExTypeScopeprotected booleanprotected com.google.common.collect.LinkedListMultimap<String, NamedCapturingGroupSymbol> protected booleanprotected booleanprotected booleanprotected Optional<de.monticore.symboltable.IScopeSpanningSymbol> protected List<IRegExTypeScope> protected com.google.common.collect.LinkedListMultimap<String, de.monticore.symboltable.SymbolWithScopeOfUnknownKind> protected boolean -
Constructor Summary
ConstructorsConstructorDescriptionRegExTypeScope(boolean shadowing) RegExTypeScope(IRegExTypeScope enclosingScope) RegExTypeScope(IRegExTypeScope enclosingScope, boolean shadowing) -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(MCCommonLiteralsTraverser visitor) voidaccept(MCLiteralsBasisTraverser visitor) voidaccept(MCBasicsTraverser visitor) voidaccept(RegExTypeTraverser visitor) voidaccept(RegularExpressionsTraverser visitor) voidaccept(MCBasicTypesTraverser visitor) voidaccept(de.monticore.visitor.ITraverser visitor) voidadd(NamedCapturingGroupSymbol symbol) voidadd(de.monticore.symboltable.SymbolWithScopeOfUnknownKind symbol) voidaddSubScope(IMCCommonLiteralsScope subScope) voidaddSubScope(IMCLiteralsBasisScope subScope) voidaddSubScope(IMCBasicsScope subScope) voidaddSubScope(IRegExTypeScope subScope) voidaddSubScope(IRegularExpressionsScope subScope) voidaddSubScope(IMCBasicTypesScope subScope) de.monticore.ast.ASTNodegetName()com.google.common.collect.LinkedListMultimap<String, NamedCapturingGroupSymbol> com.google.common.collect.LinkedListMultimap<String, NamedCapturingGroupSymbol> de.monticore.symboltable.IScopeSpanningSymbolcom.google.common.collect.LinkedListMultimap<String, de.monticore.symboltable.SymbolWithScopeOfUnknownKind> com.google.common.collect.LinkedListMultimap<String, de.monticore.symboltable.SymbolWithScopeOfUnknownKind> booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanvoidremove(NamedCapturingGroupSymbol symbol) voidremove(de.monticore.symboltable.SymbolWithScopeOfUnknownKind symbol) voidremoveSubScope(IMCCommonLiteralsScope subScope) voidremoveSubScope(IMCLiteralsBasisScope subScope) voidremoveSubScope(IMCBasicsScope subScope) voidremoveSubScope(IRegExTypeScope subScope) voidremoveSubScope(IRegularExpressionsScope subScope) voidremoveSubScope(IMCBasicTypesScope subScope) resolveNamedCapturingGroupSubKinds(boolean foundSymbols, String name, de.monticore.symboltable.modifiers.AccessModifier modifier, Predicate<NamedCapturingGroupSymbol> predicate) voidsetAstNode(de.monticore.ast.ASTNode astNode) voidvoidsetEnclosingScope(IMCCommonLiteralsScope newEnclosingScope) voidsetEnclosingScope(IMCLiteralsBasisScope newEnclosingScope) voidsetEnclosingScope(IMCBasicsScope newEnclosingScope) voidsetEnclosingScope(IRegExTypeScope enclosingScope) voidsetEnclosingScope(IRegularExpressionsScope newEnclosingScope) voidsetEnclosingScope(IMCBasicTypesScope newEnclosingScope) voidsetExportingSymbols(boolean exportingSymbols) voidvoidvoidsetNamedCapturingGroupSymbolsAlreadyResolved(boolean namedCapturingGroupSymbolsAlreadyResolved) voidsetOrdered(boolean ordered) voidsetShadowing(boolean shadowing) voidsetSpanningSymbol(de.monticore.symboltable.IScopeSpanningSymbol spanningSymbol) voidvoidsetSubScopes(List<IRegExTypeScope> subScopes) voidsetUnknownSymbolsAlreadyResolved(boolean unknownSymbolsAlreadyResolved) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.monticore.regex.regextype._symboltable.IRegExTypeScope
getSymbolsSizeMethods inherited from interface de.monticore.regex.regularexpressions._symboltable.IRegularExpressionsScope
continueAsNamedCapturingGroupSubScope, continueNamedCapturingGroupWithEnclosingScope, filterNamedCapturingGroup, getLocalNamedCapturingGroupSymbols, resolveAdaptedNamedCapturingGroupLocallyMany, resolveNamedCapturingGroup, resolveNamedCapturingGroup, resolveNamedCapturingGroup, resolveNamedCapturingGroup, resolveNamedCapturingGroupDown, resolveNamedCapturingGroupDown, resolveNamedCapturingGroupDown, resolveNamedCapturingGroupDownMany, resolveNamedCapturingGroupDownMany, resolveNamedCapturingGroupDownMany, resolveNamedCapturingGroupDownMany, resolveNamedCapturingGroupLocally, resolveNamedCapturingGroupLocallyMany, resolveNamedCapturingGroupMany, resolveNamedCapturingGroupMany, resolveNamedCapturingGroupMany, resolveNamedCapturingGroupMany, resolveNamedCapturingGroupMany, resolveNamedCapturingGroupManyMethods inherited from interface de.monticore.symboltable.IScope
checkIfContinueAsSubScope, checkIfContinueWithEnclosingScope, filterSymbolsByAccessModifier, getLocalUnknownSymbols, getNameParts, getRemainingNameForResolveDown, getResolvedOrThrowException, isProperSubScopeOf, isSubScopeOf
-
Field Details
-
unknownSymbols
protected com.google.common.collect.LinkedListMultimap<String,de.monticore.symboltable.SymbolWithScopeOfUnknownKind> unknownSymbols -
namedCapturingGroupSymbols
protected com.google.common.collect.LinkedListMultimap<String,NamedCapturingGroupSymbol> namedCapturingGroupSymbols -
unknownSymbolsAlreadyResolved
protected boolean unknownSymbolsAlreadyResolved -
namedCapturingGroupSymbolsAlreadyResolved
protected boolean namedCapturingGroupSymbolsAlreadyResolved -
enclosingScope
-
spanningSymbol
-
shadowing
protected boolean shadowing -
exportingSymbols
protected boolean exportingSymbols -
ordered
protected boolean ordered -
name
-
astNode
-
subScopes
-
-
Constructor Details
-
RegExTypeScope
public RegExTypeScope() -
RegExTypeScope
public RegExTypeScope(boolean shadowing) -
RegExTypeScope
-
RegExTypeScope
-
-
Method Details
-
add
public void add(de.monticore.symboltable.SymbolWithScopeOfUnknownKind symbol) - Specified by:
addin interfacede.monticore.symboltable.IScope
-
remove
public void remove(de.monticore.symboltable.SymbolWithScopeOfUnknownKind symbol) - Specified by:
removein interfacede.monticore.symboltable.IScope
-
getUnknownSymbols
public com.google.common.collect.LinkedListMultimap<String,de.monticore.symboltable.SymbolWithScopeOfUnknownKind> getUnknownSymbols()- Specified by:
getUnknownSymbolsin interfacede.monticore.symboltable.IScope
-
getUnknownSymbolsWithSubKinds
public com.google.common.collect.LinkedListMultimap<String,de.monticore.symboltable.SymbolWithScopeOfUnknownKind> getUnknownSymbolsWithSubKinds() -
add
- Specified by:
addin interfaceIRegularExpressionsScope
-
remove
- Specified by:
removein interfaceIRegularExpressionsScope
-
getNamedCapturingGroupSymbols
public com.google.common.collect.LinkedListMultimap<String,NamedCapturingGroupSymbol> getNamedCapturingGroupSymbols()- Specified by:
getNamedCapturingGroupSymbolsin interfaceIRegularExpressionsScope
-
getNamedCapturingGroupSymbolsWithSubKinds
public com.google.common.collect.LinkedListMultimap<String,NamedCapturingGroupSymbol> getNamedCapturingGroupSymbolsWithSubKinds()- Specified by:
getNamedCapturingGroupSymbolsWithSubKindsin interfaceIRegularExpressionsScope
-
isUnknownSymbolsAlreadyResolved
public boolean isUnknownSymbolsAlreadyResolved() -
setUnknownSymbolsAlreadyResolved
public void setUnknownSymbolsAlreadyResolved(boolean unknownSymbolsAlreadyResolved) -
isNamedCapturingGroupSymbolsAlreadyResolved
public boolean isNamedCapturingGroupSymbolsAlreadyResolved()- Specified by:
isNamedCapturingGroupSymbolsAlreadyResolvedin interfaceIRegularExpressionsScope
-
setNamedCapturingGroupSymbolsAlreadyResolved
public void setNamedCapturingGroupSymbolsAlreadyResolved(boolean namedCapturingGroupSymbolsAlreadyResolved) - Specified by:
setNamedCapturingGroupSymbolsAlreadyResolvedin interfaceIRegularExpressionsScope
-
getEnclosingScope
- Specified by:
getEnclosingScopein interfaceIMCBasicsScope- Specified by:
getEnclosingScopein interfaceIMCBasicTypesScope- Specified by:
getEnclosingScopein interfaceIMCCommonLiteralsScope- Specified by:
getEnclosingScopein interfaceIMCLiteralsBasisScope- Specified by:
getEnclosingScopein interfaceIRegExTypeScope- Specified by:
getEnclosingScopein interfaceIRegularExpressionsScope- Specified by:
getEnclosingScopein interfacede.monticore.symboltable.IScope
-
setEnclosingScope
- Specified by:
setEnclosingScopein interfaceIRegExTypeScope
-
getSpanningSymbol
public de.monticore.symboltable.IScopeSpanningSymbol getSpanningSymbol()- Specified by:
getSpanningSymbolin interfacede.monticore.symboltable.IScope
-
isPresentSpanningSymbol
public boolean isPresentSpanningSymbol()- Specified by:
isPresentSpanningSymbolin interfacede.monticore.symboltable.IScope
-
setSpanningSymbol
public void setSpanningSymbol(de.monticore.symboltable.IScopeSpanningSymbol spanningSymbol) - Specified by:
setSpanningSymbolin interfacede.monticore.symboltable.IScope
-
setSpanningSymbolAbsent
public void setSpanningSymbolAbsent()- Specified by:
setSpanningSymbolAbsentin interfacede.monticore.symboltable.IScope
-
isShadowing
public boolean isShadowing()- Specified by:
isShadowingin interfacede.monticore.symboltable.IScope
-
setShadowing
public void setShadowing(boolean shadowing) - Specified by:
setShadowingin interfacede.monticore.symboltable.IScope
-
isExportingSymbols
public boolean isExportingSymbols()- Specified by:
isExportingSymbolsin interfacede.monticore.symboltable.IScope
-
setExportingSymbols
public void setExportingSymbols(boolean exportingSymbols) - Specified by:
setExportingSymbolsin interfacede.monticore.symboltable.IScope
-
isOrdered
public boolean isOrdered()- Specified by:
isOrderedin interfacede.monticore.symboltable.IScope
-
setOrdered
public void setOrdered(boolean ordered) - Specified by:
setOrderedin interfacede.monticore.symboltable.IScope
-
getName
- Specified by:
getNamein interfacede.monticore.symboltable.IScope
-
isPresentName
public boolean isPresentName()- Specified by:
isPresentNamein interfacede.monticore.symboltable.IScope
-
setName
- Specified by:
setNamein interfacede.monticore.symboltable.IScope
-
setNameAbsent
public void setNameAbsent()- Specified by:
setNameAbsentin interfacede.monticore.symboltable.IScope
-
getAstNode
public de.monticore.ast.ASTNode getAstNode()- Specified by:
getAstNodein interfacede.monticore.symboltable.IScope
-
isPresentAstNode
public boolean isPresentAstNode()- Specified by:
isPresentAstNodein interfacede.monticore.symboltable.IScope
-
setAstNode
public void setAstNode(de.monticore.ast.ASTNode astNode) - Specified by:
setAstNodein interfacede.monticore.symboltable.IScope
-
setAstNodeAbsent
public void setAstNodeAbsent()- Specified by:
setAstNodeAbsentin interfacede.monticore.symboltable.IScope
-
addSubScope
- Specified by:
addSubScopein interfaceIRegExTypeScope
-
removeSubScope
- Specified by:
removeSubScopein interfaceIRegExTypeScope
-
getSubScopes
- Specified by:
getSubScopesin interfaceIMCBasicsScope- Specified by:
getSubScopesin interfaceIMCBasicTypesScope- Specified by:
getSubScopesin interfaceIMCCommonLiteralsScope- Specified by:
getSubScopesin interfaceIMCLiteralsBasisScope- Specified by:
getSubScopesin interfaceIRegExTypeScope- Specified by:
getSubScopesin interfaceIRegularExpressionsScope
-
setSubScopes
-
addSubScope
- Specified by:
addSubScopein interfaceIRegularExpressionsScope
-
removeSubScope
- Specified by:
removeSubScopein interfaceIRegularExpressionsScope
-
setEnclosingScope
- Specified by:
setEnclosingScopein interfaceIRegularExpressionsScope
-
addSubScope
- Specified by:
addSubScopein interfaceIMCBasicTypesScope
-
removeSubScope
- Specified by:
removeSubScopein interfaceIMCBasicTypesScope
-
setEnclosingScope
- Specified by:
setEnclosingScopein interfaceIMCBasicTypesScope
-
addSubScope
- Specified by:
addSubScopein interfaceIMCCommonLiteralsScope
-
removeSubScope
- Specified by:
removeSubScopein interfaceIMCCommonLiteralsScope
-
setEnclosingScope
- Specified by:
setEnclosingScopein interfaceIMCCommonLiteralsScope
-
addSubScope
- Specified by:
addSubScopein interfaceIMCBasicsScope
-
removeSubScope
- Specified by:
removeSubScopein interfaceIMCBasicsScope
-
setEnclosingScope
- Specified by:
setEnclosingScopein interfaceIMCBasicsScope
-
addSubScope
- Specified by:
addSubScopein interfaceIMCLiteralsBasisScope
-
removeSubScope
- Specified by:
removeSubScopein interfaceIMCLiteralsBasisScope
-
setEnclosingScope
- Specified by:
setEnclosingScopein interfaceIMCLiteralsBasisScope
-
resolveNamedCapturingGroupSubKinds
public List<NamedCapturingGroupSymbol> resolveNamedCapturingGroupSubKinds(boolean foundSymbols, String name, de.monticore.symboltable.modifiers.AccessModifier modifier, Predicate<NamedCapturingGroupSymbol> predicate) - Specified by:
resolveNamedCapturingGroupSubKindsin interfaceIRegularExpressionsScope
-
accept
- Specified by:
acceptin interfaceIRegExTypeScope
-
accept
- Specified by:
acceptin interfaceIRegExTypeScope- Specified by:
acceptin interfaceIRegularExpressionsScope
-
accept
- Specified by:
acceptin interfaceIMCBasicTypesScope- Specified by:
acceptin interfaceIRegExTypeScope
-
accept
- Specified by:
acceptin interfaceIMCCommonLiteralsScope- Specified by:
acceptin interfaceIRegExTypeScope- Specified by:
acceptin interfaceIRegularExpressionsScope
-
accept
- Specified by:
acceptin interfaceIMCBasicsScope- Specified by:
acceptin interfaceIMCBasicTypesScope- Specified by:
acceptin interfaceIMCCommonLiteralsScope- Specified by:
acceptin interfaceIRegExTypeScope- Specified by:
acceptin interfaceIRegularExpressionsScope
-
accept
- Specified by:
acceptin interfaceIMCCommonLiteralsScope- Specified by:
acceptin interfaceIMCLiteralsBasisScope- Specified by:
acceptin interfaceIRegExTypeScope- Specified by:
acceptin interfaceIRegularExpressionsScope
-
accept
public void accept(de.monticore.visitor.ITraverser visitor) - Specified by:
acceptin interfaceIMCBasicsScope- Specified by:
acceptin interfaceIMCBasicTypesScope- Specified by:
acceptin interfaceIMCCommonLiteralsScope- Specified by:
acceptin interfaceIMCLiteralsBasisScope- Specified by:
acceptin interfaceIRegExTypeScope- Specified by:
acceptin interfaceIRegularExpressionsScope- Specified by:
acceptin interfacede.monticore.symboltable.IScope
-