Interface ICardinalityScope
-
- All Superinterfaces:
IMCBasicsScope,IMCCommonLiteralsScope,IMCLiteralsBasisScope,de.monticore.symboltable.IScope
- All Known Subinterfaces:
ICardinalityArtifactScope,ICardinalityGlobalScope,IMCCommonArtifactScope,IMCCommonGlobalScope,IMCCommonScope
- All Known Implementing Classes:
CardinalityArtifactScope,CardinalityGlobalScope,CardinalityScope,MCCommonArtifactScope,MCCommonGlobalScope,MCCommonScope
public interface ICardinalityScope extends IMCBasicsScope, IMCCommonLiteralsScope
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description voidaccept(CardinalityTraverser visitor)voidaccept(MCCommonLiteralsTraverser visitor)voidaccept(MCLiteralsBasisTraverser visitor)voidaccept(MCBasicsTraverser visitor)voidaccept(de.monticore.visitor.ITraverser visitor)default voidaddSubScope(ICardinalityScope subScope)ICardinalityScopegetEnclosingScope()java.util.List<? extends ICardinalityScope>getSubScopes()default intgetSymbolsSize()default voidremoveSubScope(ICardinalityScope subScope)voidsetEnclosingScope(ICardinalityScope enclosingScope)-
Methods inherited from interface de.monticore.mcbasics._symboltable.IMCBasicsScope
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.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
-
getSubScopes
java.util.List<? extends ICardinalityScope> getSubScopes()
- Specified by:
getSubScopesin interfaceIMCBasicsScope- Specified by:
getSubScopesin interfaceIMCCommonLiteralsScope- Specified by:
getSubScopesin interfaceIMCLiteralsBasisScope
-
addSubScope
default void addSubScope(ICardinalityScope subScope)
-
removeSubScope
default void removeSubScope(ICardinalityScope subScope)
-
getEnclosingScope
ICardinalityScope getEnclosingScope()
- Specified by:
getEnclosingScopein interfaceIMCBasicsScope- Specified by:
getEnclosingScopein interfaceIMCCommonLiteralsScope- Specified by:
getEnclosingScopein interfaceIMCLiteralsBasisScope- Specified by:
getEnclosingScopein interfacede.monticore.symboltable.IScope
-
setEnclosingScope
void setEnclosingScope(ICardinalityScope enclosingScope)
-
accept
void accept(CardinalityTraverser visitor)
-
getSymbolsSize
default int getSymbolsSize()
- Specified by:
getSymbolsSizein interfaceIMCBasicsScope- Specified by:
getSymbolsSizein interfaceIMCCommonLiteralsScope- Specified by:
getSymbolsSizein interfaceIMCLiteralsBasisScope- Specified by:
getSymbolsSizein interfacede.monticore.symboltable.IScope
-
accept
void accept(MCBasicsTraverser visitor)
- Specified by:
acceptin interfaceIMCBasicsScope- Specified by:
acceptin interfaceIMCCommonLiteralsScope
-
accept
void accept(MCCommonLiteralsTraverser visitor)
- Specified by:
acceptin interfaceIMCCommonLiteralsScope
-
accept
void accept(MCLiteralsBasisTraverser visitor)
- Specified by:
acceptin interfaceIMCCommonLiteralsScope- Specified by:
acceptin interfaceIMCLiteralsBasisScope
-
accept
void accept(de.monticore.visitor.ITraverser visitor)
- Specified by:
acceptin interfaceIMCBasicsScope- Specified by:
acceptin interfaceIMCCommonLiteralsScope- Specified by:
acceptin interfaceIMCLiteralsBasisScope- Specified by:
acceptin interfacede.monticore.symboltable.IScope
-
-