Class CommonExpressionsArtifactScope
java.lang.Object
de.monticore.expressions.commonexpressions._symboltable.CommonExpressionsScope
de.monticore.expressions.commonexpressions._symboltable.CommonExpressionsArtifactScope
- All Implemented Interfaces:
ICommonExpressionsArtifactScope,ICommonExpressionsScope,IExpressionsBasisArtifactScope,IExpressionsBasisScope,IMCLiteralsBasisArtifactScope,IMCLiteralsBasisScope,IMCBasicsArtifactScope,IMCBasicsScope,de.monticore.symboltable.IArtifactScope,de.monticore.symboltable.IScope
public class CommonExpressionsArtifactScope
extends CommonExpressionsScope
implements ICommonExpressionsArtifactScope
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<de.monticore.symboltable.ImportStatement> protected StringFields inherited from class de.monticore.expressions.commonexpressions._symboltable.CommonExpressionsScope
astNode, enclosingScope, exportingSymbols, name, ordered, shadowing, spanningSymbol, subScopes, unknownSymbols, unknownSymbolsAlreadyResolved -
Constructor Summary
ConstructorsConstructorDescriptionCommonExpressionsArtifactScope(String packageName, List<de.monticore.symboltable.ImportStatement> imports) CommonExpressionsArtifactScope(Optional<ICommonExpressionsScope> enclosingScope, String packageName, List<de.monticore.symboltable.ImportStatement> imports) -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(CommonExpressionsTraverser visitor) voidaccept(ExpressionsBasisTraverser visitor) voidaccept(MCLiteralsBasisTraverser visitor) voidaccept(MCBasicsTraverser visitor) voidaccept(de.monticore.visitor.ITraverser visitor) List<de.monticore.symboltable.ImportStatement> getName()booleanvoidsetEnclosingScope(ICommonExpressionsScope enclosingScope) voidsetImportsList(List<de.monticore.symboltable.ImportStatement> imports) voidsetPackageName(String packageName) Methods inherited from class de.monticore.expressions.commonexpressions._symboltable.CommonExpressionsScope
add, addSubScope, addSubScope, addSubScope, addSubScope, getAstNode, getEnclosingScope, getSpanningSymbol, getSubScopes, getUnknownSymbols, getUnknownSymbolsWithSubKinds, 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.expressions.commonexpressions._symboltable.ICommonExpressionsArtifactScope
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.expressions.commonexpressions._symboltable.ICommonExpressionsScope
addSubScope, getEnclosingScope, getSubScopes, getSymbolsSize, removeSubScopeMethods inherited from interface de.monticore.expressions.expressionsbasis._symboltable.IExpressionsBasisScope
addSubScope, removeSubScope, setEnclosingScopeMethods inherited from interface de.monticore.mcbasics._symboltable.IMCBasicsScope
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
-
CommonExpressionsArtifactScope
-
CommonExpressionsArtifactScope
public CommonExpressionsArtifactScope(Optional<ICommonExpressionsScope> enclosingScope, String packageName, List<de.monticore.symboltable.ImportStatement> imports) -
CommonExpressionsArtifactScope
public CommonExpressionsArtifactScope()
-
-
Method Details
-
getPackageName
- Specified by:
getPackageNamein interfacede.monticore.symboltable.IArtifactScope
-
setPackageName
- Specified by:
setPackageNamein interfacede.monticore.symboltable.IArtifactScope
-
getImportsList
- Specified by:
getImportsListin interfaceICommonExpressionsArtifactScope- Specified by:
getImportsListin interfaceIExpressionsBasisArtifactScope- Specified by:
getImportsListin interfaceIMCBasicsArtifactScope- Specified by:
getImportsListin interfaceIMCLiteralsBasisArtifactScope
-
setImportsList
- Specified by:
setImportsListin interfaceICommonExpressionsArtifactScope- Specified by:
setImportsListin interfaceIExpressionsBasisArtifactScope- Specified by:
setImportsListin interfaceIMCBasicsArtifactScope- Specified by:
setImportsListin interfaceIMCLiteralsBasisArtifactScope
-
isPresentName
public boolean isPresentName()- Specified by:
isPresentNamein interfacede.monticore.symboltable.IScope- Overrides:
isPresentNamein classCommonExpressionsScope
-
getName
- Specified by:
getNamein interfacede.monticore.symboltable.IScope- Overrides:
getNamein classCommonExpressionsScope
-
setEnclosingScope
- Specified by:
setEnclosingScopein interfaceICommonExpressionsScope- Overrides:
setEnclosingScopein classCommonExpressionsScope
-
accept
- Specified by:
acceptin interfaceICommonExpressionsArtifactScope- Specified by:
acceptin interfaceICommonExpressionsScope- Overrides:
acceptin classCommonExpressionsScope
-
accept
- Specified by:
acceptin interfaceICommonExpressionsArtifactScope- Specified by:
acceptin interfaceICommonExpressionsScope- Specified by:
acceptin interfaceIExpressionsBasisArtifactScope- Specified by:
acceptin interfaceIExpressionsBasisScope- Overrides:
acceptin classCommonExpressionsScope
-
accept
- Specified by:
acceptin interfaceICommonExpressionsArtifactScope- Specified by:
acceptin interfaceICommonExpressionsScope- Specified by:
acceptin interfaceIExpressionsBasisArtifactScope- Specified by:
acceptin interfaceIExpressionsBasisScope- Specified by:
acceptin interfaceIMCBasicsArtifactScope- Specified by:
acceptin interfaceIMCBasicsScope- Overrides:
acceptin classCommonExpressionsScope
-
accept
- Specified by:
acceptin interfaceICommonExpressionsArtifactScope- Specified by:
acceptin interfaceICommonExpressionsScope- Specified by:
acceptin interfaceIExpressionsBasisArtifactScope- Specified by:
acceptin interfaceIExpressionsBasisScope- Specified by:
acceptin interfaceIMCLiteralsBasisArtifactScope- Specified by:
acceptin interfaceIMCLiteralsBasisScope- Overrides:
acceptin classCommonExpressionsScope
-
accept
public void accept(de.monticore.visitor.ITraverser visitor) - Specified by:
acceptin interfaceICommonExpressionsArtifactScope- Specified by:
acceptin interfaceICommonExpressionsScope- Specified by:
acceptin interfaceIExpressionsBasisArtifactScope- Specified by:
acceptin interfaceIExpressionsBasisScope- Specified by:
acceptin interfaceIMCBasicsArtifactScope- Specified by:
acceptin interfaceIMCBasicsScope- Specified by:
acceptin interfaceIMCLiteralsBasisArtifactScope- Specified by:
acceptin interfaceIMCLiteralsBasisScope- Specified by:
acceptin interfacede.monticore.symboltable.IScope- Overrides:
acceptin classCommonExpressionsScope
-