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 void
accept(CardinalityTraverser visitor)
void
accept(MCCommonLiteralsTraverser visitor)
void
accept(MCLiteralsBasisTraverser visitor)
void
accept(MCBasicsTraverser visitor)
void
accept(de.monticore.visitor.ITraverser visitor)
default void
addSubScope(ICardinalityScope subScope)
ICardinalityScope
getEnclosingScope()
java.util.List<? extends ICardinalityScope>
getSubScopes()
default int
getSymbolsSize()
default void
removeSubScope(ICardinalityScope subScope)
void
setEnclosingScope(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:
getSubScopes
in interfaceIMCBasicsScope
- Specified by:
getSubScopes
in interfaceIMCCommonLiteralsScope
- Specified by:
getSubScopes
in interfaceIMCLiteralsBasisScope
-
addSubScope
default void addSubScope(ICardinalityScope subScope)
-
removeSubScope
default void removeSubScope(ICardinalityScope subScope)
-
getEnclosingScope
ICardinalityScope getEnclosingScope()
- Specified by:
getEnclosingScope
in interfaceIMCBasicsScope
- Specified by:
getEnclosingScope
in interfaceIMCCommonLiteralsScope
- Specified by:
getEnclosingScope
in interfaceIMCLiteralsBasisScope
- Specified by:
getEnclosingScope
in interfacede.monticore.symboltable.IScope
-
setEnclosingScope
void setEnclosingScope(ICardinalityScope enclosingScope)
-
accept
void accept(CardinalityTraverser visitor)
-
getSymbolsSize
default int getSymbolsSize()
- Specified by:
getSymbolsSize
in interfaceIMCBasicsScope
- Specified by:
getSymbolsSize
in interfaceIMCCommonLiteralsScope
- Specified by:
getSymbolsSize
in interfaceIMCLiteralsBasisScope
- Specified by:
getSymbolsSize
in interfacede.monticore.symboltable.IScope
-
accept
void accept(MCBasicsTraverser visitor)
- Specified by:
accept
in interfaceIMCBasicsScope
- Specified by:
accept
in interfaceIMCCommonLiteralsScope
-
accept
void accept(MCCommonLiteralsTraverser visitor)
- Specified by:
accept
in interfaceIMCCommonLiteralsScope
-
accept
void accept(MCLiteralsBasisTraverser visitor)
- Specified by:
accept
in interfaceIMCCommonLiteralsScope
- Specified by:
accept
in interfaceIMCLiteralsBasisScope
-
accept
void accept(de.monticore.visitor.ITraverser visitor)
- Specified by:
accept
in interfaceIMCBasicsScope
- Specified by:
accept
in interfaceIMCCommonLiteralsScope
- Specified by:
accept
in interfaceIMCLiteralsBasisScope
- Specified by:
accept
in interfacede.monticore.symboltable.IScope
-
-