Class MCSimpleGenericTypesArtifactScope
- java.lang.Object
-
- de.monticore.types.mcsimplegenerictypes._symboltable.MCSimpleGenericTypesScope
-
- de.monticore.types.mcsimplegenerictypes._symboltable.MCSimpleGenericTypesArtifactScope
-
- All Implemented Interfaces:
IMCBasicsArtifactScope,IMCBasicsScope,de.monticore.symboltable.IArtifactScope,de.monticore.symboltable.IScope,IMCBasicTypesArtifactScope,IMCBasicTypesScope,IMCCollectionTypesArtifactScope,IMCCollectionTypesScope,IMCSimpleGenericTypesArtifactScope,IMCSimpleGenericTypesScope
public class MCSimpleGenericTypesArtifactScope extends MCSimpleGenericTypesScope implements IMCSimpleGenericTypesArtifactScope
-
-
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.types.mcsimplegenerictypes._symboltable.MCSimpleGenericTypesScope
astNode, enclosingScope, exportingSymbols, name, ordered, shadowing, spanningSymbol, subScopes, unknownSymbols, unknownSymbolsAlreadyResolved
-
-
Constructor Summary
Constructors Constructor Description MCSimpleGenericTypesArtifactScope()MCSimpleGenericTypesArtifactScope(java.lang.String packageName, java.util.List<de.monticore.symboltable.ImportStatement> imports)MCSimpleGenericTypesArtifactScope(java.util.Optional<IMCSimpleGenericTypesScope> 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(MCBasicsTraverser visitor)voidaccept(MCBasicTypesTraverser visitor)voidaccept(MCCollectionTypesTraverser visitor)voidaccept(MCSimpleGenericTypesTraverser visitor)voidaccept(de.monticore.visitor.ITraverser visitor)java.util.List<de.monticore.symboltable.ImportStatement>getImportsList()java.lang.StringgetName()java.lang.StringgetPackageName()booleanisPresentName()voidsetEnclosingScope(IMCSimpleGenericTypesScope enclosingScope)voidsetImportsList(java.util.List<de.monticore.symboltable.ImportStatement> imports)voidsetPackageName(java.lang.String packageName)-
Methods inherited from class de.monticore.types.mcsimplegenerictypes._symboltable.MCSimpleGenericTypesScope
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, 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.mcbasics._symboltable.IMCBasicsScope
addSubScope, removeSubScope, setEnclosingScope
-
Methods inherited from interface de.monticore.types.mcbasictypes._symboltable.IMCBasicTypesScope
addSubScope, removeSubScope, setEnclosingScope
-
Methods inherited from interface de.monticore.types.mccollectiontypes._symboltable.IMCCollectionTypesScope
addSubScope, removeSubScope, setEnclosingScope
-
Methods inherited from interface de.monticore.types.mcsimplegenerictypes._symboltable.IMCSimpleGenericTypesArtifactScope
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.types.mcsimplegenerictypes._symboltable.IMCSimpleGenericTypesScope
addSubScope, getEnclosingScope, getSubScopes, getSymbolsSize, removeSubScope
-
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
-
-
-
-
Constructor Detail
-
MCSimpleGenericTypesArtifactScope
public MCSimpleGenericTypesArtifactScope(java.lang.String packageName, java.util.List<de.monticore.symboltable.ImportStatement> imports)
-
MCSimpleGenericTypesArtifactScope
public MCSimpleGenericTypesArtifactScope(java.util.Optional<IMCSimpleGenericTypesScope> enclosingScope, java.lang.String packageName, java.util.List<de.monticore.symboltable.ImportStatement> imports)
-
MCSimpleGenericTypesArtifactScope
public MCSimpleGenericTypesArtifactScope()
-
-
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 interfaceIMCBasicsArtifactScope- Specified by:
getImportsListin interfaceIMCBasicTypesArtifactScope- Specified by:
getImportsListin interfaceIMCCollectionTypesArtifactScope- Specified by:
getImportsListin interfaceIMCSimpleGenericTypesArtifactScope
-
setImportsList
public void setImportsList(java.util.List<de.monticore.symboltable.ImportStatement> imports)
- Specified by:
setImportsListin interfaceIMCBasicsArtifactScope- Specified by:
setImportsListin interfaceIMCBasicTypesArtifactScope- Specified by:
setImportsListin interfaceIMCCollectionTypesArtifactScope- Specified by:
setImportsListin interfaceIMCSimpleGenericTypesArtifactScope
-
isPresentName
public boolean isPresentName()
- Specified by:
isPresentNamein interfacede.monticore.symboltable.IScope- Overrides:
isPresentNamein classMCSimpleGenericTypesScope
-
getName
public java.lang.String getName()
- Specified by:
getNamein interfacede.monticore.symboltable.IScope- Overrides:
getNamein classMCSimpleGenericTypesScope
-
setEnclosingScope
public void setEnclosingScope(IMCSimpleGenericTypesScope enclosingScope)
- Specified by:
setEnclosingScopein interfaceIMCSimpleGenericTypesScope- Overrides:
setEnclosingScopein classMCSimpleGenericTypesScope
-
accept
public void accept(MCSimpleGenericTypesTraverser visitor)
- Specified by:
acceptin interfaceIMCSimpleGenericTypesArtifactScope- Specified by:
acceptin interfaceIMCSimpleGenericTypesScope- Overrides:
acceptin classMCSimpleGenericTypesScope
-
accept
public void accept(MCCollectionTypesTraverser visitor)
- Specified by:
acceptin interfaceIMCCollectionTypesArtifactScope- Specified by:
acceptin interfaceIMCCollectionTypesScope- Specified by:
acceptin interfaceIMCSimpleGenericTypesArtifactScope- Specified by:
acceptin interfaceIMCSimpleGenericTypesScope- Overrides:
acceptin classMCSimpleGenericTypesScope
-
accept
public void accept(MCBasicTypesTraverser visitor)
- Specified by:
acceptin interfaceIMCBasicTypesArtifactScope- Specified by:
acceptin interfaceIMCBasicTypesScope- Specified by:
acceptin interfaceIMCCollectionTypesArtifactScope- Specified by:
acceptin interfaceIMCCollectionTypesScope- Specified by:
acceptin interfaceIMCSimpleGenericTypesArtifactScope- Specified by:
acceptin interfaceIMCSimpleGenericTypesScope- Overrides:
acceptin classMCSimpleGenericTypesScope
-
accept
public void accept(MCBasicsTraverser visitor)
- Specified by:
acceptin interfaceIMCBasicsArtifactScope- Specified by:
acceptin interfaceIMCBasicsScope- Specified by:
acceptin interfaceIMCBasicTypesArtifactScope- Specified by:
acceptin interfaceIMCBasicTypesScope- Specified by:
acceptin interfaceIMCCollectionTypesArtifactScope- Specified by:
acceptin interfaceIMCCollectionTypesScope- Specified by:
acceptin interfaceIMCSimpleGenericTypesArtifactScope- Specified by:
acceptin interfaceIMCSimpleGenericTypesScope- Overrides:
acceptin classMCSimpleGenericTypesScope
-
accept
public void accept(de.monticore.visitor.ITraverser visitor)
- Specified by:
acceptin interfaceIMCBasicsArtifactScope- Specified by:
acceptin interfaceIMCBasicsScope- Specified by:
acceptin interfaceIMCBasicTypesArtifactScope- Specified by:
acceptin interfaceIMCBasicTypesScope- Specified by:
acceptin interfaceIMCCollectionTypesArtifactScope- Specified by:
acceptin interfaceIMCCollectionTypesScope- Specified by:
acceptin interfaceIMCSimpleGenericTypesArtifactScope- Specified by:
acceptin interfaceIMCSimpleGenericTypesScope- Specified by:
acceptin interfacede.monticore.symboltable.IScope- Overrides:
acceptin classMCSimpleGenericTypesScope
-
-