Class MCCommonArtifactScope
- java.lang.Object
-
- de.monticore.mccommon._symboltable.MCCommonScope
-
- de.monticore.mccommon._symboltable.MCCommonArtifactScope
-
- All Implemented Interfaces:
ICardinalityArtifactScope,ICardinalityScope,ICompletenessArtifactScope,ICompletenessScope,IExpressionsBasisArtifactScope,IExpressionsBasisScope,IMCCommonLiteralsArtifactScope,IMCCommonLiteralsScope,IMCLiteralsBasisArtifactScope,IMCLiteralsBasisScope,IMCBasicsArtifactScope,IMCBasicsScope,IMCCommonArtifactScope,IMCCommonScope,de.monticore.symboltable.IArtifactScope,de.monticore.symboltable.IScope,IUMLModifierArtifactScope,IUMLModifierScope,IUMLStereotypeArtifactScope,IUMLStereotypeScope
public class MCCommonArtifactScope extends MCCommonScope implements IMCCommonArtifactScope
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<de.monticore.symboltable.ImportStatement>importsprotected java.lang.StringpackageName-
Fields inherited from class de.monticore.mccommon._symboltable.MCCommonScope
astNode, enclosingScope, exportingSymbols, name, ordered, shadowing, spanningSymbol, subScopes, unknownSymbols, unknownSymbolsAlreadyResolved
-
-
Constructor Summary
Constructors Constructor Description MCCommonArtifactScope()MCCommonArtifactScope(java.lang.String packageName, java.util.List<de.monticore.symboltable.ImportStatement> imports)MCCommonArtifactScope(java.util.Optional<IMCCommonScope> enclosingScope, java.lang.String packageName, java.util.List<de.monticore.symboltable.ImportStatement> imports)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(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)java.util.List<de.monticore.symboltable.ImportStatement>getImportsList()java.lang.StringgetName()java.lang.StringgetPackageName()booleanisPresentName()voidsetEnclosingScope(IMCCommonScope enclosingScope)voidsetImportsList(java.util.List<de.monticore.symboltable.ImportStatement> imports)voidsetPackageName(java.lang.String packageName)-
Methods inherited from class de.monticore.mccommon._symboltable.MCCommonScope
add, addSubScope, addSubScope, addSubScope, addSubScope, addSubScope, addSubScope, addSubScope, addSubScope, addSubScope, getAstNode, getEnclosingScope, getSpanningSymbol, getSubScopes, getUnknownSymbols, isExportingSymbols, isOrdered, isPresentAstNode, isPresentSpanningSymbol, isShadowing, isUnknownSymbolsAlreadyResolved, remove, removeSubScope, removeSubScope, removeSubScope, removeSubScope, removeSubScope, removeSubScope, removeSubScope, removeSubScope, removeSubScope, setAstNode, setAstNodeAbsent, setEnclosingScope, setEnclosingScope, setEnclosingScope, setEnclosingScope, setEnclosingScope, setEnclosingScope, setEnclosingScope, setEnclosingScope, setExportingSymbols, setName, setNameAbsent, setOrdered, setShadowing, setSpanningSymbol, setSpanningSymbolAbsent, setSubScopes, setUnknownSymbolsAlreadyResolved
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.monticore.cardinality._symboltable.ICardinalityScope
addSubScope, removeSubScope, setEnclosingScope
-
Methods inherited from interface de.monticore.completeness._symboltable.ICompletenessScope
addSubScope, getEnclosingScope, getSubScopes, getSymbolsSize, removeSubScope, setEnclosingScope
-
Methods inherited from interface de.monticore.expressions.expressionsbasis._symboltable.IExpressionsBasisScope
addSubScope, removeSubScope, setEnclosingScope
-
Methods inherited from interface de.monticore.mcbasics._symboltable.IMCBasicsScope
addSubScope, removeSubScope, setEnclosingScope
-
Methods inherited from interface de.monticore.mccommon._symboltable.IMCCommonArtifactScope
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, toArrayImports
-
Methods inherited from interface de.monticore.literals.mccommonliterals._symboltable.IMCCommonLiteralsScope
addSubScope, removeSubScope, setEnclosingScope
-
Methods inherited from interface de.monticore.mccommon._symboltable.IMCCommonScope
addSubScope, getEnclosingScope, getSubScopes, getSymbolsSize, removeSubScope
-
Methods inherited from interface de.monticore.literals.mcliteralsbasis._symboltable.IMCLiteralsBasisScope
addSubScope, getEnclosingScope, getSubScopes, getSymbolsSize, removeSubScope, setEnclosingScope
-
Methods 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
-
Methods inherited from interface de.monticore.umlmodifier._symboltable.IUMLModifierScope
addSubScope, getEnclosingScope, getSubScopes, getSymbolsSize, removeSubScope, setEnclosingScope
-
Methods inherited from interface de.monticore.umlstereotype._symboltable.IUMLStereotypeScope
addSubScope, removeSubScope, setEnclosingScope
-
-
-
-
Constructor Detail
-
MCCommonArtifactScope
public MCCommonArtifactScope(java.lang.String packageName, java.util.List<de.monticore.symboltable.ImportStatement> imports)
-
MCCommonArtifactScope
public MCCommonArtifactScope(java.util.Optional<IMCCommonScope> enclosingScope, java.lang.String packageName, java.util.List<de.monticore.symboltable.ImportStatement> imports)
-
MCCommonArtifactScope
public MCCommonArtifactScope()
-
-
Method Detail
-
getPackageName
public java.lang.String getPackageName()
- Specified by:
getPackageNamein interfacede.monticore.symboltable.IArtifactScope
-
setPackageName
public void setPackageName(java.lang.String packageName)
- Specified by:
setPackageNamein interfacede.monticore.symboltable.IArtifactScope
-
getImportsList
public java.util.List<de.monticore.symboltable.ImportStatement> getImportsList()
- Specified by:
getImportsListin interfaceICardinalityArtifactScope- Specified by:
getImportsListin interfaceICompletenessArtifactScope- Specified by:
getImportsListin interfaceIExpressionsBasisArtifactScope- Specified by:
getImportsListin interfaceIMCBasicsArtifactScope- Specified by:
getImportsListin interfaceIMCCommonArtifactScope- Specified by:
getImportsListin interfaceIMCCommonLiteralsArtifactScope- Specified by:
getImportsListin interfaceIMCLiteralsBasisArtifactScope- Specified by:
getImportsListin interfaceIUMLModifierArtifactScope- Specified by:
getImportsListin interfaceIUMLStereotypeArtifactScope
-
setImportsList
public void setImportsList(java.util.List<de.monticore.symboltable.ImportStatement> imports)
- Specified by:
setImportsListin interfaceICardinalityArtifactScope- Specified by:
setImportsListin interfaceICompletenessArtifactScope- Specified by:
setImportsListin interfaceIExpressionsBasisArtifactScope- Specified by:
setImportsListin interfaceIMCBasicsArtifactScope- Specified by:
setImportsListin interfaceIMCCommonArtifactScope- Specified by:
setImportsListin interfaceIMCCommonLiteralsArtifactScope- Specified by:
setImportsListin interfaceIMCLiteralsBasisArtifactScope- Specified by:
setImportsListin interfaceIUMLModifierArtifactScope- Specified by:
setImportsListin interfaceIUMLStereotypeArtifactScope
-
isPresentName
public boolean isPresentName()
- Specified by:
isPresentNamein interfacede.monticore.symboltable.IScope- Overrides:
isPresentNamein classMCCommonScope
-
getName
public java.lang.String getName()
- Specified by:
getNamein interfacede.monticore.symboltable.IScope- Overrides:
getNamein classMCCommonScope
-
setEnclosingScope
public void setEnclosingScope(IMCCommonScope enclosingScope)
- Specified by:
setEnclosingScopein interfaceIMCCommonScope- Overrides:
setEnclosingScopein classMCCommonScope
-
accept
public void accept(MCCommonTraverser visitor)
- Specified by:
acceptin interfaceIMCCommonArtifactScope- Specified by:
acceptin interfaceIMCCommonScope- Overrides:
acceptin classMCCommonScope
-
accept
public void accept(CardinalityTraverser visitor)
- Specified by:
acceptin interfaceICardinalityArtifactScope- Specified by:
acceptin interfaceICardinalityScope- Specified by:
acceptin interfaceIMCCommonArtifactScope- Specified by:
acceptin interfaceIMCCommonScope- Overrides:
acceptin classMCCommonScope
-
accept
public void accept(CompletenessTraverser visitor)
- Specified by:
acceptin interfaceICompletenessArtifactScope- Specified by:
acceptin interfaceICompletenessScope- Specified by:
acceptin interfaceIMCCommonArtifactScope- Specified by:
acceptin interfaceIMCCommonScope- Overrides:
acceptin classMCCommonScope
-
accept
public void accept(UMLModifierTraverser visitor)
- Specified by:
acceptin interfaceIMCCommonArtifactScope- Specified by:
acceptin interfaceIMCCommonScope- Specified by:
acceptin interfaceIUMLModifierArtifactScope- Specified by:
acceptin interfaceIUMLModifierScope- Overrides:
acceptin classMCCommonScope
-
accept
public void accept(UMLStereotypeTraverser visitor)
- Specified by:
acceptin interfaceIMCCommonArtifactScope- Specified by:
acceptin interfaceIMCCommonScope- Specified by:
acceptin interfaceIUMLModifierArtifactScope- Specified by:
acceptin interfaceIUMLModifierScope- Specified by:
acceptin interfaceIUMLStereotypeArtifactScope- Specified by:
acceptin interfaceIUMLStereotypeScope- Overrides:
acceptin classMCCommonScope
-
accept
public void accept(MCBasicsTraverser visitor)
- Specified by:
acceptin interfaceICardinalityArtifactScope- Specified by:
acceptin interfaceICardinalityScope- Specified by:
acceptin interfaceIExpressionsBasisArtifactScope- Specified by:
acceptin interfaceIExpressionsBasisScope- Specified by:
acceptin interfaceIMCBasicsArtifactScope- Specified by:
acceptin interfaceIMCBasicsScope- Specified by:
acceptin interfaceIMCCommonArtifactScope- Specified by:
acceptin interfaceIMCCommonLiteralsArtifactScope- Specified by:
acceptin interfaceIMCCommonLiteralsScope- Specified by:
acceptin interfaceIMCCommonScope- Specified by:
acceptin interfaceIUMLModifierArtifactScope- Specified by:
acceptin interfaceIUMLModifierScope- Specified by:
acceptin interfaceIUMLStereotypeArtifactScope- Specified by:
acceptin interfaceIUMLStereotypeScope- Overrides:
acceptin classMCCommonScope
-
accept
public void accept(MCCommonLiteralsTraverser visitor)
- Specified by:
acceptin interfaceICardinalityArtifactScope- Specified by:
acceptin interfaceICardinalityScope- Specified by:
acceptin interfaceIMCCommonArtifactScope- Specified by:
acceptin interfaceIMCCommonLiteralsArtifactScope- Specified by:
acceptin interfaceIMCCommonLiteralsScope- Specified by:
acceptin interfaceIMCCommonScope- Specified by:
acceptin interfaceIUMLModifierArtifactScope- Specified by:
acceptin interfaceIUMLModifierScope- Specified by:
acceptin interfaceIUMLStereotypeArtifactScope- Specified by:
acceptin interfaceIUMLStereotypeScope- Overrides:
acceptin classMCCommonScope
-
accept
public void accept(MCLiteralsBasisTraverser visitor)
- Specified by:
acceptin interfaceICardinalityArtifactScope- Specified by:
acceptin interfaceICardinalityScope- Specified by:
acceptin interfaceIExpressionsBasisArtifactScope- Specified by:
acceptin interfaceIExpressionsBasisScope- Specified by:
acceptin interfaceIMCCommonArtifactScope- Specified by:
acceptin interfaceIMCCommonLiteralsArtifactScope- Specified by:
acceptin interfaceIMCCommonLiteralsScope- Specified by:
acceptin interfaceIMCCommonScope- Specified by:
acceptin interfaceIMCLiteralsBasisArtifactScope- Specified by:
acceptin interfaceIMCLiteralsBasisScope- Specified by:
acceptin interfaceIUMLModifierArtifactScope- Specified by:
acceptin interfaceIUMLModifierScope- Specified by:
acceptin interfaceIUMLStereotypeArtifactScope- Specified by:
acceptin interfaceIUMLStereotypeScope- Overrides:
acceptin classMCCommonScope
-
accept
public void accept(ExpressionsBasisTraverser visitor)
- Specified by:
acceptin interfaceIExpressionsBasisArtifactScope- Specified by:
acceptin interfaceIExpressionsBasisScope- Specified by:
acceptin interfaceIMCCommonArtifactScope- Specified by:
acceptin interfaceIMCCommonScope- Specified by:
acceptin interfaceIUMLModifierArtifactScope- Specified by:
acceptin interfaceIUMLModifierScope- Specified by:
acceptin interfaceIUMLStereotypeArtifactScope- Specified by:
acceptin interfaceIUMLStereotypeScope- Overrides:
acceptin classMCCommonScope
-
accept
public void accept(de.monticore.visitor.ITraverser visitor)
- Specified by:
acceptin interfaceICardinalityArtifactScope- Specified by:
acceptin interfaceICardinalityScope- Specified by:
acceptin interfaceICompletenessArtifactScope- Specified by:
acceptin interfaceICompletenessScope- Specified by:
acceptin interfaceIExpressionsBasisArtifactScope- Specified by:
acceptin interfaceIExpressionsBasisScope- Specified by:
acceptin interfaceIMCBasicsArtifactScope- Specified by:
acceptin interfaceIMCBasicsScope- Specified by:
acceptin interfaceIMCCommonArtifactScope- Specified by:
acceptin interfaceIMCCommonLiteralsArtifactScope- Specified by:
acceptin interfaceIMCCommonLiteralsScope- Specified by:
acceptin interfaceIMCCommonScope- Specified by:
acceptin interfaceIMCLiteralsBasisArtifactScope- Specified by:
acceptin interfaceIMCLiteralsBasisScope- Specified by:
acceptin interfacede.monticore.symboltable.IScope- Specified by:
acceptin interfaceIUMLModifierArtifactScope- Specified by:
acceptin interfaceIUMLModifierScope- Specified by:
acceptin interfaceIUMLStereotypeArtifactScope- Specified by:
acceptin interfaceIUMLStereotypeScope- Overrides:
acceptin classMCCommonScope
-
-