Class MCCommonScope
java.lang.Object
de.monticore.mccommon._symboltable.MCCommonScope
- All Implemented Interfaces:
ICardinalityScope,ICompletenessScope,IExpressionsBasisScope,IMCCommonLiteralsScope,IMCLiteralsBasisScope,IMCBasicsScope,IMCCommonScope,de.monticore.symboltable.IScope,IUMLModifierScope,IUMLStereotypeScope
- Direct Known Subclasses:
MCCommonArtifactScope,MCCommonGlobalScope
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Optional<de.monticore.ast.ASTNode> protected IMCCommonScopeprotected booleanprotected booleanprotected booleanprotected Optional<de.monticore.symboltable.IScopeSpanningSymbol> protected List<IMCCommonScope> protected com.google.common.collect.LinkedListMultimap<String, de.monticore.symboltable.SymbolWithScopeOfUnknownKind> protected boolean -
Constructor Summary
ConstructorsConstructorDescriptionMCCommonScope(boolean shadowing) MCCommonScope(IMCCommonScope enclosingScope) MCCommonScope(IMCCommonScope enclosingScope, boolean shadowing) -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(CardinalityTraverser visitor) voidaccept(CompletenessTraverser visitor) voidaccept(ExpressionsBasisTraverser visitor) voidaccept(MCCommonLiteralsTraverser visitor) voidaccept(MCLiteralsBasisTraverser visitor) voidaccept(MCBasicsTraverser visitor) voidaccept(MCCommonTraverser visitor) voidaccept(UMLModifierTraverser visitor) voidaccept(UMLStereotypeTraverser visitor) voidaccept(de.monticore.visitor.ITraverser visitor) voidadd(de.monticore.symboltable.SymbolWithScopeOfUnknownKind symbol) voidaddSubScope(ICardinalityScope subScope) voidaddSubScope(ICompletenessScope subScope) voidaddSubScope(IExpressionsBasisScope subScope) voidaddSubScope(IMCCommonLiteralsScope subScope) voidaddSubScope(IMCLiteralsBasisScope subScope) voidaddSubScope(IMCBasicsScope subScope) voidaddSubScope(IMCCommonScope subScope) voidaddSubScope(IUMLModifierScope subScope) voidaddSubScope(IUMLStereotypeScope subScope) de.monticore.ast.ASTNodegetName()de.monticore.symboltable.IScopeSpanningSymbolcom.google.common.collect.LinkedListMultimap<String, de.monticore.symboltable.SymbolWithScopeOfUnknownKind> com.google.common.collect.LinkedListMultimap<String, de.monticore.symboltable.SymbolWithScopeOfUnknownKind> booleanbooleanbooleanbooleanbooleanbooleanbooleanvoidremove(de.monticore.symboltable.SymbolWithScopeOfUnknownKind symbol) voidremoveSubScope(ICardinalityScope subScope) voidremoveSubScope(ICompletenessScope subScope) voidremoveSubScope(IExpressionsBasisScope subScope) voidremoveSubScope(IMCCommonLiteralsScope subScope) voidremoveSubScope(IMCLiteralsBasisScope subScope) voidremoveSubScope(IMCBasicsScope subScope) voidremoveSubScope(IMCCommonScope subScope) voidremoveSubScope(IUMLModifierScope subScope) voidremoveSubScope(IUMLStereotypeScope subScope) voidsetAstNode(de.monticore.ast.ASTNode astNode) voidvoidsetEnclosingScope(ICardinalityScope newEnclosingScope) voidsetEnclosingScope(ICompletenessScope newEnclosingScope) voidsetEnclosingScope(IExpressionsBasisScope newEnclosingScope) voidsetEnclosingScope(IMCCommonLiteralsScope newEnclosingScope) voidsetEnclosingScope(IMCLiteralsBasisScope newEnclosingScope) voidsetEnclosingScope(IMCBasicsScope newEnclosingScope) voidsetEnclosingScope(IMCCommonScope enclosingScope) voidsetEnclosingScope(IUMLModifierScope newEnclosingScope) voidsetEnclosingScope(IUMLStereotypeScope newEnclosingScope) voidsetExportingSymbols(boolean exportingSymbols) voidvoidvoidsetOrdered(boolean ordered) voidsetShadowing(boolean shadowing) voidsetSpanningSymbol(de.monticore.symboltable.IScopeSpanningSymbol spanningSymbol) voidvoidsetSubScopes(List<IMCCommonScope> 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.mccommon._symboltable.IMCCommonScope
getSymbolsSizeMethods 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 -
unknownSymbolsAlreadyResolved
protected boolean unknownSymbolsAlreadyResolved -
enclosingScope
-
spanningSymbol
-
shadowing
protected boolean shadowing -
exportingSymbols
protected boolean exportingSymbols -
ordered
protected boolean ordered -
name
-
astNode
-
subScopes
-
-
Constructor Details
-
MCCommonScope
public MCCommonScope() -
MCCommonScope
public MCCommonScope(boolean shadowing) -
MCCommonScope
-
MCCommonScope
-
-
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() -
isUnknownSymbolsAlreadyResolved
public boolean isUnknownSymbolsAlreadyResolved() -
setUnknownSymbolsAlreadyResolved
public void setUnknownSymbolsAlreadyResolved(boolean unknownSymbolsAlreadyResolved) -
getEnclosingScope
- Specified by:
getEnclosingScopein interfaceICardinalityScope- Specified by:
getEnclosingScopein interfaceICompletenessScope- Specified by:
getEnclosingScopein interfaceIExpressionsBasisScope- Specified by:
getEnclosingScopein interfaceIMCBasicsScope- Specified by:
getEnclosingScopein interfaceIMCCommonLiteralsScope- Specified by:
getEnclosingScopein interfaceIMCCommonScope- Specified by:
getEnclosingScopein interfaceIMCLiteralsBasisScope- Specified by:
getEnclosingScopein interfacede.monticore.symboltable.IScope- Specified by:
getEnclosingScopein interfaceIUMLModifierScope- Specified by:
getEnclosingScopein interfaceIUMLStereotypeScope
-
setEnclosingScope
- Specified by:
setEnclosingScopein interfaceIMCCommonScope
-
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 interfaceIMCCommonScope
-
removeSubScope
- Specified by:
removeSubScopein interfaceIMCCommonScope
-
getSubScopes
- Specified by:
getSubScopesin interfaceICardinalityScope- Specified by:
getSubScopesin interfaceICompletenessScope- Specified by:
getSubScopesin interfaceIExpressionsBasisScope- Specified by:
getSubScopesin interfaceIMCBasicsScope- Specified by:
getSubScopesin interfaceIMCCommonLiteralsScope- Specified by:
getSubScopesin interfaceIMCCommonScope- Specified by:
getSubScopesin interfaceIMCLiteralsBasisScope- Specified by:
getSubScopesin interfaceIUMLModifierScope- Specified by:
getSubScopesin interfaceIUMLStereotypeScope
-
setSubScopes
-
addSubScope
- Specified by:
addSubScopein interfaceICardinalityScope
-
removeSubScope
- Specified by:
removeSubScopein interfaceICardinalityScope
-
setEnclosingScope
- Specified by:
setEnclosingScopein interfaceICardinalityScope
-
addSubScope
- Specified by:
addSubScopein interfaceICompletenessScope
-
removeSubScope
- Specified by:
removeSubScopein interfaceICompletenessScope
-
setEnclosingScope
- Specified by:
setEnclosingScopein interfaceICompletenessScope
-
addSubScope
- Specified by:
addSubScopein interfaceIUMLModifierScope
-
removeSubScope
- Specified by:
removeSubScopein interfaceIUMLModifierScope
-
setEnclosingScope
- Specified by:
setEnclosingScopein interfaceIUMLModifierScope
-
addSubScope
- Specified by:
addSubScopein interfaceIUMLStereotypeScope
-
removeSubScope
- Specified by:
removeSubScopein interfaceIUMLStereotypeScope
-
setEnclosingScope
- Specified by:
setEnclosingScopein interfaceIUMLStereotypeScope
-
addSubScope
- Specified by:
addSubScopein interfaceIMCBasicsScope
-
removeSubScope
- Specified by:
removeSubScopein interfaceIMCBasicsScope
-
setEnclosingScope
- Specified by:
setEnclosingScopein interfaceIMCBasicsScope
-
addSubScope
- Specified by:
addSubScopein interfaceIMCCommonLiteralsScope
-
removeSubScope
- Specified by:
removeSubScopein interfaceIMCCommonLiteralsScope
-
setEnclosingScope
- Specified by:
setEnclosingScopein interfaceIMCCommonLiteralsScope
-
addSubScope
- Specified by:
addSubScopein interfaceIMCLiteralsBasisScope
-
removeSubScope
- Specified by:
removeSubScopein interfaceIMCLiteralsBasisScope
-
setEnclosingScope
- Specified by:
setEnclosingScopein interfaceIMCLiteralsBasisScope
-
addSubScope
- Specified by:
addSubScopein interfaceIExpressionsBasisScope
-
removeSubScope
- Specified by:
removeSubScopein interfaceIExpressionsBasisScope
-
setEnclosingScope
- Specified by:
setEnclosingScopein interfaceIExpressionsBasisScope
-
accept
- Specified by:
acceptin interfaceIMCCommonScope
-
accept
- Specified by:
acceptin interfaceICardinalityScope- Specified by:
acceptin interfaceIMCCommonScope
-
accept
- Specified by:
acceptin interfaceICompletenessScope- Specified by:
acceptin interfaceIMCCommonScope
-
accept
- Specified by:
acceptin interfaceIMCCommonScope- Specified by:
acceptin interfaceIUMLModifierScope
-
accept
- Specified by:
acceptin interfaceIMCCommonScope- Specified by:
acceptin interfaceIUMLModifierScope- Specified by:
acceptin interfaceIUMLStereotypeScope
-
accept
- Specified by:
acceptin interfaceICardinalityScope- Specified by:
acceptin interfaceIExpressionsBasisScope- Specified by:
acceptin interfaceIMCBasicsScope- Specified by:
acceptin interfaceIMCCommonLiteralsScope- Specified by:
acceptin interfaceIMCCommonScope- Specified by:
acceptin interfaceIUMLModifierScope- Specified by:
acceptin interfaceIUMLStereotypeScope
-
accept
- Specified by:
acceptin interfaceICardinalityScope- Specified by:
acceptin interfaceIMCCommonLiteralsScope- Specified by:
acceptin interfaceIMCCommonScope- Specified by:
acceptin interfaceIUMLModifierScope- Specified by:
acceptin interfaceIUMLStereotypeScope
-
accept
- Specified by:
acceptin interfaceICardinalityScope- Specified by:
acceptin interfaceIExpressionsBasisScope- Specified by:
acceptin interfaceIMCCommonLiteralsScope- Specified by:
acceptin interfaceIMCCommonScope- Specified by:
acceptin interfaceIMCLiteralsBasisScope- Specified by:
acceptin interfaceIUMLModifierScope- Specified by:
acceptin interfaceIUMLStereotypeScope
-
accept
- Specified by:
acceptin interfaceIExpressionsBasisScope- Specified by:
acceptin interfaceIMCCommonScope- Specified by:
acceptin interfaceIUMLModifierScope- Specified by:
acceptin interfaceIUMLStereotypeScope
-
accept
public void accept(de.monticore.visitor.ITraverser visitor) - Specified by:
acceptin interfaceICardinalityScope- Specified by:
acceptin interfaceICompletenessScope- Specified by:
acceptin interfaceIExpressionsBasisScope- Specified by:
acceptin interfaceIMCBasicsScope- Specified by:
acceptin interfaceIMCCommonLiteralsScope- Specified by:
acceptin interfaceIMCCommonScope- Specified by:
acceptin interfaceIMCLiteralsBasisScope- Specified by:
acceptin interfacede.monticore.symboltable.IScope- Specified by:
acceptin interfaceIUMLModifierScope- Specified by:
acceptin interfaceIUMLStereotypeScope
-