Class CardinalityArtifactScope
java.lang.Object
de.monticore.cardinality._symboltable.CardinalityScope
de.monticore.cardinality._symboltable.CardinalityArtifactScope
- All Implemented Interfaces:
ICardinalityArtifactScope,ICardinalityScope,IMCCommonLiteralsArtifactScope,IMCCommonLiteralsScope,IMCLiteralsBasisArtifactScope,IMCLiteralsBasisScope,IMCBasicsArtifactScope,IMCBasicsScope,de.monticore.symboltable.IArtifactScope,de.monticore.symboltable.IScope
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<de.monticore.symboltable.ImportStatement> protected StringFields inherited from class de.monticore.cardinality._symboltable.CardinalityScope
astNode, enclosingScope, exportingSymbols, name, ordered, shadowing, spanningSymbol, subScopes, unknownSymbols, unknownSymbolsAlreadyResolved -
Constructor Summary
ConstructorsConstructorDescriptionCardinalityArtifactScope(String packageName, List<de.monticore.symboltable.ImportStatement> imports) CardinalityArtifactScope(Optional<ICardinalityScope> enclosingScope, String packageName, List<de.monticore.symboltable.ImportStatement> imports) -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(CardinalityTraverser visitor) voidaccept(MCCommonLiteralsTraverser visitor) voidaccept(MCLiteralsBasisTraverser visitor) voidaccept(MCBasicsTraverser visitor) voidaccept(de.monticore.visitor.ITraverser visitor) List<de.monticore.symboltable.ImportStatement> getName()booleanvoidsetEnclosingScope(ICardinalityScope enclosingScope) voidsetImportsList(List<de.monticore.symboltable.ImportStatement> imports) voidsetPackageName(String packageName) Methods inherited from class de.monticore.cardinality._symboltable.CardinalityScope
add, addSubScope, addSubScope, addSubScope, addSubScope, getAstNode, getEnclosingScope, getSpanningSymbol, getSubScopes, getUnknownSymbols, isExportingSymbols, isOrdered, isPresentAstNode, isPresentSpanningSymbol, isShadowing, isUnknownSymbolsAlreadyResolved, remove, removeSubScope, removeSubScope, removeSubScope, removeSubScope, setAstNode, setAstNodeAbsent, setEnclosingScope, setEnclosingScope, setEnclosingScope, setExportingSymbols, setName, setNameAbsent, setOrdered, setShadowing, setSpanningSymbol, setSpanningSymbolAbsent, setSubScopes, setUnknownSymbolsAlreadyResolvedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.monticore.symboltable.IArtifactScope
calculateQualifiedNamesMethods inherited from interface de.monticore.cardinality._symboltable.ICardinalityArtifactScope
addAllImports, addAllImports, addImports, addImports, checkIfContinueAsSubScope, clearImports, containsAllImports, containsImports, equalsImports, forEachImports, getFullName, getImports, getRemainingNameForResolveDown, getTopLevelSymbol, hashCodeImports, indexOfImports, isEmptyImports, iteratorImports, lastIndexOfImports, listIteratorImports, listIteratorImports, parallelStreamImports, removeAllImports, removeIfImports, removeImports, removeImports, replaceAllImports, retainAllImports, setImports, sizeImports, sortImports, spliteratorImports, streamImports, subListImports, toArrayImports, toArrayImportsMethods inherited from interface de.monticore.cardinality._symboltable.ICardinalityScope
addSubScope, getEnclosingScope, getSubScopes, getSymbolsSize, removeSubScopeMethods inherited from interface de.monticore.mcbasics._symboltable.IMCBasicsScope
addSubScope, removeSubScope, setEnclosingScopeMethods inherited from interface de.monticore.literals.mccommonliterals._symboltable.IMCCommonLiteralsScope
addSubScope, removeSubScope, setEnclosingScopeMethods inherited from interface de.monticore.literals.mcliteralsbasis._symboltable.IMCLiteralsBasisScope
addSubScope, getEnclosingScope, getSubScopes, getSymbolsSize, removeSubScope, setEnclosingScopeMethods inherited from interface de.monticore.symboltable.IScope
add, checkIfContinueWithEnclosingScope, filterSymbolsByAccessModifier, getAstNode, getLocalUnknownSymbols, getNameParts, getResolvedOrThrowException, getSpanningSymbol, getUnknownSymbols, isExportingSymbols, isOrdered, isPresentAstNode, isPresentSpanningSymbol, isProperSubScopeOf, isShadowing, isSubScopeOf, remove, setAstNode, setAstNodeAbsent, setExportingSymbols, setName, setNameAbsent, setOrdered, setShadowing, setSpanningSymbol, setSpanningSymbolAbsent
-
Field Details
-
packageName
-
imports
-
-
Constructor Details
-
CardinalityArtifactScope
-
CardinalityArtifactScope
public CardinalityArtifactScope(Optional<ICardinalityScope> enclosingScope, String packageName, List<de.monticore.symboltable.ImportStatement> imports) -
CardinalityArtifactScope
public CardinalityArtifactScope()
-
-
Method Details
-
getPackageName
- Specified by:
getPackageNamein interfacede.monticore.symboltable.IArtifactScope
-
setPackageName
- Specified by:
setPackageNamein interfacede.monticore.symboltable.IArtifactScope
-
getImportsList
- Specified by:
getImportsListin interfaceICardinalityArtifactScope- Specified by:
getImportsListin interfaceIMCBasicsArtifactScope- Specified by:
getImportsListin interfaceIMCCommonLiteralsArtifactScope- Specified by:
getImportsListin interfaceIMCLiteralsBasisArtifactScope
-
setImportsList
- Specified by:
setImportsListin interfaceICardinalityArtifactScope- Specified by:
setImportsListin interfaceIMCBasicsArtifactScope- Specified by:
setImportsListin interfaceIMCCommonLiteralsArtifactScope- Specified by:
setImportsListin interfaceIMCLiteralsBasisArtifactScope
-
isPresentName
public boolean isPresentName()- Specified by:
isPresentNamein interfacede.monticore.symboltable.IScope- Overrides:
isPresentNamein classCardinalityScope
-
getName
- Specified by:
getNamein interfacede.monticore.symboltable.IScope- Overrides:
getNamein classCardinalityScope
-
setEnclosingScope
- Specified by:
setEnclosingScopein interfaceICardinalityScope- Overrides:
setEnclosingScopein classCardinalityScope
-
accept
- Specified by:
acceptin interfaceICardinalityArtifactScope- Specified by:
acceptin interfaceICardinalityScope- Overrides:
acceptin classCardinalityScope
-
accept
- Specified by:
acceptin interfaceICardinalityArtifactScope- Specified by:
acceptin interfaceICardinalityScope- Specified by:
acceptin interfaceIMCBasicsArtifactScope- Specified by:
acceptin interfaceIMCBasicsScope- Specified by:
acceptin interfaceIMCCommonLiteralsArtifactScope- Specified by:
acceptin interfaceIMCCommonLiteralsScope- Overrides:
acceptin classCardinalityScope
-
accept
- Specified by:
acceptin interfaceICardinalityArtifactScope- Specified by:
acceptin interfaceICardinalityScope- Specified by:
acceptin interfaceIMCCommonLiteralsArtifactScope- Specified by:
acceptin interfaceIMCCommonLiteralsScope- Overrides:
acceptin classCardinalityScope
-
accept
- Specified by:
acceptin interfaceICardinalityArtifactScope- Specified by:
acceptin interfaceICardinalityScope- Specified by:
acceptin interfaceIMCCommonLiteralsArtifactScope- Specified by:
acceptin interfaceIMCCommonLiteralsScope- Specified by:
acceptin interfaceIMCLiteralsBasisArtifactScope- Specified by:
acceptin interfaceIMCLiteralsBasisScope- Overrides:
acceptin classCardinalityScope
-
accept
public void accept(de.monticore.visitor.ITraverser visitor) - Specified by:
acceptin interfaceICardinalityArtifactScope- Specified by:
acceptin interfaceICardinalityScope- Specified by:
acceptin interfaceIMCBasicsArtifactScope- Specified by:
acceptin interfaceIMCBasicsScope- Specified by:
acceptin interfaceIMCCommonLiteralsArtifactScope- Specified by:
acceptin interfaceIMCCommonLiteralsScope- Specified by:
acceptin interfaceIMCLiteralsBasisArtifactScope- Specified by:
acceptin interfaceIMCLiteralsBasisScope- Specified by:
acceptin interfacede.monticore.symboltable.IScope- Overrides:
acceptin classCardinalityScope
-