Class StreamExpressionsScope
- java.lang.Object
-
- de.monticore.expressions.streamexpressions._symboltable.StreamExpressionsScope
-
- All Implemented Interfaces:
ICommonExpressionsScope,IExpressionsBasisScope,IStreamExpressionsScope,IMCLiteralsBasisScope,IMCBasicsScope,de.monticore.symboltable.IScope,IMCBasicTypesScope,IMCCollectionTypesScope
- Direct Known Subclasses:
StreamExpressionsArtifactScope,StreamExpressionsGlobalScope
public class StreamExpressionsScope extends java.lang.Object implements IStreamExpressionsScope
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.Optional<de.monticore.ast.ASTNode>astNodeprotected IStreamExpressionsScopeenclosingScopeprotected booleanexportingSymbolsprotected java.util.Optional<java.lang.String>nameprotected booleanorderedprotected booleanshadowingprotected java.util.Optional<de.monticore.symboltable.IScopeSpanningSymbol>spanningSymbolprotected java.util.List<IStreamExpressionsScope>subScopesprotected com.google.common.collect.LinkedListMultimap<java.lang.String,de.monticore.symboltable.SymbolWithScopeOfUnknownKind>unknownSymbolsprotected booleanunknownSymbolsAlreadyResolved
-
Constructor Summary
Constructors Constructor Description StreamExpressionsScope()StreamExpressionsScope(boolean shadowing)StreamExpressionsScope(IStreamExpressionsScope enclosingScope)StreamExpressionsScope(IStreamExpressionsScope enclosingScope, boolean shadowing)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(CommonExpressionsTraverser visitor)voidaccept(ExpressionsBasisTraverser visitor)voidaccept(StreamExpressionsTraverser visitor)voidaccept(MCLiteralsBasisTraverser visitor)voidaccept(MCBasicsTraverser visitor)voidaccept(MCBasicTypesTraverser visitor)voidaccept(MCCollectionTypesTraverser visitor)voidaccept(de.monticore.visitor.ITraverser visitor)voidadd(de.monticore.symboltable.SymbolWithScopeOfUnknownKind symbol)voidaddSubScope(ICommonExpressionsScope subScope)voidaddSubScope(IExpressionsBasisScope subScope)voidaddSubScope(IStreamExpressionsScope subScope)voidaddSubScope(IMCLiteralsBasisScope subScope)voidaddSubScope(IMCBasicsScope subScope)voidaddSubScope(IMCBasicTypesScope subScope)voidaddSubScope(IMCCollectionTypesScope subScope)de.monticore.ast.ASTNodegetAstNode()IStreamExpressionsScopegetEnclosingScope()java.lang.StringgetName()de.monticore.symboltable.IScopeSpanningSymbolgetSpanningSymbol()java.util.List<IStreamExpressionsScope>getSubScopes()com.google.common.collect.LinkedListMultimap<java.lang.String,de.monticore.symboltable.SymbolWithScopeOfUnknownKind>getUnknownSymbols()booleanisExportingSymbols()booleanisOrdered()booleanisPresentAstNode()booleanisPresentName()booleanisPresentSpanningSymbol()booleanisShadowing()booleanisUnknownSymbolsAlreadyResolved()voidremove(de.monticore.symboltable.SymbolWithScopeOfUnknownKind symbol)voidremoveSubScope(ICommonExpressionsScope subScope)voidremoveSubScope(IExpressionsBasisScope subScope)voidremoveSubScope(IStreamExpressionsScope subScope)voidremoveSubScope(IMCLiteralsBasisScope subScope)voidremoveSubScope(IMCBasicsScope subScope)voidremoveSubScope(IMCBasicTypesScope subScope)voidremoveSubScope(IMCCollectionTypesScope subScope)voidsetAstNode(de.monticore.ast.ASTNode astNode)voidsetAstNodeAbsent()voidsetEnclosingScope(ICommonExpressionsScope newEnclosingScope)voidsetEnclosingScope(IExpressionsBasisScope newEnclosingScope)voidsetEnclosingScope(IStreamExpressionsScope enclosingScope)voidsetEnclosingScope(IMCLiteralsBasisScope newEnclosingScope)voidsetEnclosingScope(IMCBasicsScope newEnclosingScope)voidsetEnclosingScope(IMCBasicTypesScope newEnclosingScope)voidsetEnclosingScope(IMCCollectionTypesScope newEnclosingScope)voidsetExportingSymbols(boolean exportingSymbols)voidsetName(java.lang.String name)voidsetNameAbsent()voidsetOrdered(boolean ordered)voidsetShadowing(boolean shadowing)voidsetSpanningSymbol(de.monticore.symboltable.IScopeSpanningSymbol spanningSymbol)voidsetSpanningSymbolAbsent()voidsetSubScopes(java.util.List<IStreamExpressionsScope> subScopes)voidsetUnknownSymbolsAlreadyResolved(boolean unknownSymbolsAlreadyResolved)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.monticore.symboltable.IScope
checkIfContinueAsSubScope, checkIfContinueWithEnclosingScope, filterSymbolsByAccessModifier, getLocalUnknownSymbols, getNameParts, getRemainingNameForResolveDown, getResolvedOrThrowException, isProperSubScopeOf, isSubScopeOf
-
Methods inherited from interface de.monticore.expressions.streamexpressions._symboltable.IStreamExpressionsScope
getSymbolsSize
-
-
-
-
Field Detail
-
unknownSymbols
protected com.google.common.collect.LinkedListMultimap<java.lang.String,de.monticore.symboltable.SymbolWithScopeOfUnknownKind> unknownSymbols
-
unknownSymbolsAlreadyResolved
protected boolean unknownSymbolsAlreadyResolved
-
enclosingScope
protected IStreamExpressionsScope enclosingScope
-
spanningSymbol
protected java.util.Optional<de.monticore.symboltable.IScopeSpanningSymbol> spanningSymbol
-
shadowing
protected boolean shadowing
-
exportingSymbols
protected boolean exportingSymbols
-
ordered
protected boolean ordered
-
name
protected java.util.Optional<java.lang.String> name
-
astNode
protected java.util.Optional<de.monticore.ast.ASTNode> astNode
-
subScopes
protected java.util.List<IStreamExpressionsScope> subScopes
-
-
Constructor Detail
-
StreamExpressionsScope
public StreamExpressionsScope()
-
StreamExpressionsScope
public StreamExpressionsScope(boolean shadowing)
-
StreamExpressionsScope
public StreamExpressionsScope(IStreamExpressionsScope enclosingScope)
-
StreamExpressionsScope
public StreamExpressionsScope(IStreamExpressionsScope enclosingScope, boolean shadowing)
-
-
Method Detail
-
add
public void add(de.monticore.symboltable.SymbolWithScopeOfUnknownKind symbol)
- Specified by:
addin interfacede.monticore.symboltable.IScope
-
remove
public void remove(de.monticore.symboltable.SymbolWithScopeOfUnknownKind symbol)
- Specified by:
removein interfacede.monticore.symboltable.IScope
-
getUnknownSymbols
public com.google.common.collect.LinkedListMultimap<java.lang.String,de.monticore.symboltable.SymbolWithScopeOfUnknownKind> getUnknownSymbols()
- Specified by:
getUnknownSymbolsin interfacede.monticore.symboltable.IScope
-
isUnknownSymbolsAlreadyResolved
public boolean isUnknownSymbolsAlreadyResolved()
-
setUnknownSymbolsAlreadyResolved
public void setUnknownSymbolsAlreadyResolved(boolean unknownSymbolsAlreadyResolved)
-
getEnclosingScope
public IStreamExpressionsScope getEnclosingScope()
- Specified by:
getEnclosingScopein interfaceICommonExpressionsScope- Specified by:
getEnclosingScopein interfaceIExpressionsBasisScope- Specified by:
getEnclosingScopein interfaceIMCBasicsScope- Specified by:
getEnclosingScopein interfaceIMCBasicTypesScope- Specified by:
getEnclosingScopein interfaceIMCCollectionTypesScope- Specified by:
getEnclosingScopein interfaceIMCLiteralsBasisScope- Specified by:
getEnclosingScopein interfacede.monticore.symboltable.IScope- Specified by:
getEnclosingScopein interfaceIStreamExpressionsScope
-
setEnclosingScope
public void setEnclosingScope(IStreamExpressionsScope enclosingScope)
- Specified by:
setEnclosingScopein interfaceIStreamExpressionsScope
-
getSpanningSymbol
public de.monticore.symboltable.IScopeSpanningSymbol getSpanningSymbol()
- Specified by:
getSpanningSymbolin interfacede.monticore.symboltable.IScope
-
isPresentSpanningSymbol
public boolean isPresentSpanningSymbol()
- Specified by:
isPresentSpanningSymbolin interfacede.monticore.symboltable.IScope
-
setSpanningSymbol
public void setSpanningSymbol(de.monticore.symboltable.IScopeSpanningSymbol spanningSymbol)
- Specified by:
setSpanningSymbolin interfacede.monticore.symboltable.IScope
-
setSpanningSymbolAbsent
public void setSpanningSymbolAbsent()
- Specified by:
setSpanningSymbolAbsentin interfacede.monticore.symboltable.IScope
-
isShadowing
public boolean isShadowing()
- Specified by:
isShadowingin interfacede.monticore.symboltable.IScope
-
setShadowing
public void setShadowing(boolean shadowing)
- Specified by:
setShadowingin interfacede.monticore.symboltable.IScope
-
isExportingSymbols
public boolean isExportingSymbols()
- Specified by:
isExportingSymbolsin interfacede.monticore.symboltable.IScope
-
setExportingSymbols
public void setExportingSymbols(boolean exportingSymbols)
- Specified by:
setExportingSymbolsin interfacede.monticore.symboltable.IScope
-
isOrdered
public boolean isOrdered()
- Specified by:
isOrderedin interfacede.monticore.symboltable.IScope
-
setOrdered
public void setOrdered(boolean ordered)
- Specified by:
setOrderedin interfacede.monticore.symboltable.IScope
-
getName
public java.lang.String getName()
- Specified by:
getNamein interfacede.monticore.symboltable.IScope
-
isPresentName
public boolean isPresentName()
- Specified by:
isPresentNamein interfacede.monticore.symboltable.IScope
-
setName
public void setName(java.lang.String name)
- Specified by:
setNamein interfacede.monticore.symboltable.IScope
-
setNameAbsent
public void setNameAbsent()
- Specified by:
setNameAbsentin interfacede.monticore.symboltable.IScope
-
getAstNode
public de.monticore.ast.ASTNode getAstNode()
- Specified by:
getAstNodein interfacede.monticore.symboltable.IScope
-
isPresentAstNode
public boolean isPresentAstNode()
- Specified by:
isPresentAstNodein interfacede.monticore.symboltable.IScope
-
setAstNode
public void setAstNode(de.monticore.ast.ASTNode astNode)
- Specified by:
setAstNodein interfacede.monticore.symboltable.IScope
-
setAstNodeAbsent
public void setAstNodeAbsent()
- Specified by:
setAstNodeAbsentin interfacede.monticore.symboltable.IScope
-
addSubScope
public void addSubScope(IStreamExpressionsScope subScope)
- Specified by:
addSubScopein interfaceIStreamExpressionsScope
-
removeSubScope
public void removeSubScope(IStreamExpressionsScope subScope)
- Specified by:
removeSubScopein interfaceIStreamExpressionsScope
-
getSubScopes
public java.util.List<IStreamExpressionsScope> getSubScopes()
- Specified by:
getSubScopesin interfaceICommonExpressionsScope- Specified by:
getSubScopesin interfaceIExpressionsBasisScope- Specified by:
getSubScopesin interfaceIMCBasicsScope- Specified by:
getSubScopesin interfaceIMCBasicTypesScope- Specified by:
getSubScopesin interfaceIMCCollectionTypesScope- Specified by:
getSubScopesin interfaceIMCLiteralsBasisScope- Specified by:
getSubScopesin interfaceIStreamExpressionsScope
-
setSubScopes
public void setSubScopes(java.util.List<IStreamExpressionsScope> subScopes)
-
addSubScope
public void addSubScope(ICommonExpressionsScope subScope)
- Specified by:
addSubScopein interfaceICommonExpressionsScope
-
removeSubScope
public void removeSubScope(ICommonExpressionsScope subScope)
- Specified by:
removeSubScopein interfaceICommonExpressionsScope
-
setEnclosingScope
public void setEnclosingScope(ICommonExpressionsScope newEnclosingScope)
- Specified by:
setEnclosingScopein interfaceICommonExpressionsScope
-
addSubScope
public void addSubScope(IMCCollectionTypesScope subScope)
- Specified by:
addSubScopein interfaceIMCCollectionTypesScope
-
removeSubScope
public void removeSubScope(IMCCollectionTypesScope subScope)
- Specified by:
removeSubScopein interfaceIMCCollectionTypesScope
-
setEnclosingScope
public void setEnclosingScope(IMCCollectionTypesScope newEnclosingScope)
- Specified by:
setEnclosingScopein interfaceIMCCollectionTypesScope
-
addSubScope
public void addSubScope(IExpressionsBasisScope subScope)
- Specified by:
addSubScopein interfaceIExpressionsBasisScope
-
removeSubScope
public void removeSubScope(IExpressionsBasisScope subScope)
- Specified by:
removeSubScopein interfaceIExpressionsBasisScope
-
setEnclosingScope
public void setEnclosingScope(IExpressionsBasisScope newEnclosingScope)
- Specified by:
setEnclosingScopein interfaceIExpressionsBasisScope
-
addSubScope
public void addSubScope(IMCBasicsScope subScope)
- Specified by:
addSubScopein interfaceIMCBasicsScope
-
removeSubScope
public void removeSubScope(IMCBasicsScope subScope)
- Specified by:
removeSubScopein interfaceIMCBasicsScope
-
setEnclosingScope
public void setEnclosingScope(IMCBasicsScope newEnclosingScope)
- Specified by:
setEnclosingScopein interfaceIMCBasicsScope
-
addSubScope
public void addSubScope(IMCLiteralsBasisScope subScope)
- Specified by:
addSubScopein interfaceIMCLiteralsBasisScope
-
removeSubScope
public void removeSubScope(IMCLiteralsBasisScope subScope)
- Specified by:
removeSubScopein interfaceIMCLiteralsBasisScope
-
setEnclosingScope
public void setEnclosingScope(IMCLiteralsBasisScope newEnclosingScope)
- Specified by:
setEnclosingScopein interfaceIMCLiteralsBasisScope
-
addSubScope
public void addSubScope(IMCBasicTypesScope subScope)
- Specified by:
addSubScopein interfaceIMCBasicTypesScope
-
removeSubScope
public void removeSubScope(IMCBasicTypesScope subScope)
- Specified by:
removeSubScopein interfaceIMCBasicTypesScope
-
setEnclosingScope
public void setEnclosingScope(IMCBasicTypesScope newEnclosingScope)
- Specified by:
setEnclosingScopein interfaceIMCBasicTypesScope
-
accept
public void accept(StreamExpressionsTraverser visitor)
- Specified by:
acceptin interfaceIStreamExpressionsScope
-
accept
public void accept(CommonExpressionsTraverser visitor)
- Specified by:
acceptin interfaceICommonExpressionsScope- Specified by:
acceptin interfaceIStreamExpressionsScope
-
accept
public void accept(MCCollectionTypesTraverser visitor)
- Specified by:
acceptin interfaceIMCCollectionTypesScope- Specified by:
acceptin interfaceIStreamExpressionsScope
-
accept
public void accept(ExpressionsBasisTraverser visitor)
- Specified by:
acceptin interfaceICommonExpressionsScope- Specified by:
acceptin interfaceIExpressionsBasisScope- Specified by:
acceptin interfaceIStreamExpressionsScope
-
accept
public void accept(MCBasicsTraverser visitor)
- Specified by:
acceptin interfaceICommonExpressionsScope- Specified by:
acceptin interfaceIExpressionsBasisScope- Specified by:
acceptin interfaceIMCBasicsScope- Specified by:
acceptin interfaceIMCBasicTypesScope- Specified by:
acceptin interfaceIMCCollectionTypesScope- Specified by:
acceptin interfaceIStreamExpressionsScope
-
accept
public void accept(MCLiteralsBasisTraverser visitor)
- Specified by:
acceptin interfaceICommonExpressionsScope- Specified by:
acceptin interfaceIExpressionsBasisScope- Specified by:
acceptin interfaceIMCLiteralsBasisScope- Specified by:
acceptin interfaceIStreamExpressionsScope
-
accept
public void accept(MCBasicTypesTraverser visitor)
- Specified by:
acceptin interfaceIMCBasicTypesScope- Specified by:
acceptin interfaceIMCCollectionTypesScope- Specified by:
acceptin interfaceIStreamExpressionsScope
-
accept
public void accept(de.monticore.visitor.ITraverser visitor)
- Specified by:
acceptin interfaceICommonExpressionsScope- Specified by:
acceptin interfaceIExpressionsBasisScope- Specified by:
acceptin interfaceIMCBasicsScope- Specified by:
acceptin interfaceIMCBasicTypesScope- Specified by:
acceptin interfaceIMCCollectionTypesScope- Specified by:
acceptin interfaceIMCLiteralsBasisScope- Specified by:
acceptin interfacede.monticore.symboltable.IScope- Specified by:
acceptin interfaceIStreamExpressionsScope
-
-