Class MCReturnStatementsScope
java.lang.Object
de.monticore.statements.mcreturnstatements._symboltable.MCReturnStatementsScope
- All Implemented Interfaces:
IExpressionsBasisScope,IMCLiteralsBasisScope,IMCBasicsScope,IMCReturnStatementsScope,IMCStatementsBasisScope,de.monticore.symboltable.IScope
- Direct Known Subclasses:
MCReturnStatementsArtifactScope,MCReturnStatementsGlobalScope
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Optional<de.monticore.ast.ASTNode> protected IMCReturnStatementsScopeprotected booleanprotected booleanprotected booleanprotected Optional<de.monticore.symboltable.IScopeSpanningSymbol> protected List<IMCReturnStatementsScope> protected com.google.common.collect.LinkedListMultimap<String, de.monticore.symboltable.SymbolWithScopeOfUnknownKind> protected boolean -
Constructor Summary
ConstructorsConstructorDescriptionMCReturnStatementsScope(boolean shadowing) MCReturnStatementsScope(IMCReturnStatementsScope enclosingScope) MCReturnStatementsScope(IMCReturnStatementsScope enclosingScope, boolean shadowing) -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(ExpressionsBasisTraverser visitor) voidaccept(MCLiteralsBasisTraverser visitor) voidaccept(MCBasicsTraverser visitor) voidaccept(MCReturnStatementsTraverser visitor) voidaccept(MCStatementsBasisTraverser visitor) voidaccept(de.monticore.visitor.ITraverser visitor) voidadd(de.monticore.symboltable.SymbolWithScopeOfUnknownKind symbol) voidaddSubScope(IExpressionsBasisScope subScope) voidaddSubScope(IMCLiteralsBasisScope subScope) voidaddSubScope(IMCBasicsScope subScope) voidaddSubScope(IMCReturnStatementsScope subScope) voidaddSubScope(IMCStatementsBasisScope subScope) de.monticore.ast.ASTNodegetName()de.monticore.symboltable.IScopeSpanningSymbolcom.google.common.collect.LinkedListMultimap<String, de.monticore.symboltable.SymbolWithScopeOfUnknownKind> booleanbooleanbooleanbooleanbooleanbooleanbooleanvoidremove(de.monticore.symboltable.SymbolWithScopeOfUnknownKind symbol) voidremoveSubScope(IExpressionsBasisScope subScope) voidremoveSubScope(IMCLiteralsBasisScope subScope) voidremoveSubScope(IMCBasicsScope subScope) voidremoveSubScope(IMCReturnStatementsScope subScope) voidremoveSubScope(IMCStatementsBasisScope subScope) voidsetAstNode(de.monticore.ast.ASTNode astNode) voidvoidsetEnclosingScope(IExpressionsBasisScope newEnclosingScope) voidsetEnclosingScope(IMCLiteralsBasisScope newEnclosingScope) voidsetEnclosingScope(IMCBasicsScope newEnclosingScope) voidsetEnclosingScope(IMCReturnStatementsScope enclosingScope) voidsetEnclosingScope(IMCStatementsBasisScope newEnclosingScope) voidsetExportingSymbols(boolean exportingSymbols) voidvoidvoidsetOrdered(boolean ordered) voidsetShadowing(boolean shadowing) voidsetSpanningSymbol(de.monticore.symboltable.IScopeSpanningSymbol spanningSymbol) voidvoidsetSubScopes(List<IMCReturnStatementsScope> subScopes) voidsetUnknownSymbolsAlreadyResolved(boolean unknownSymbolsAlreadyResolved) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.monticore.statements.mcreturnstatements._symboltable.IMCReturnStatementsScope
getSymbolsSizeMethods inherited from interface de.monticore.symboltable.IScope
checkIfContinueAsSubScope, checkIfContinueWithEnclosingScope, filterSymbolsByAccessModifier, getLocalUnknownSymbols, getNameParts, getRemainingNameForResolveDown, getResolvedOrThrowException, isProperSubScopeOf, isSubScopeOf
-
Field Details
-
unknownSymbols
protected com.google.common.collect.LinkedListMultimap<String,de.monticore.symboltable.SymbolWithScopeOfUnknownKind> unknownSymbols -
unknownSymbolsAlreadyResolved
protected boolean unknownSymbolsAlreadyResolved -
enclosingScope
-
spanningSymbol
-
shadowing
protected boolean shadowing -
exportingSymbols
protected boolean exportingSymbols -
ordered
protected boolean ordered -
name
-
astNode
-
subScopes
-
-
Constructor Details
-
MCReturnStatementsScope
public MCReturnStatementsScope() -
MCReturnStatementsScope
public MCReturnStatementsScope(boolean shadowing) -
MCReturnStatementsScope
-
MCReturnStatementsScope
-
-
Method Details
-
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<String,de.monticore.symboltable.SymbolWithScopeOfUnknownKind> getUnknownSymbols()- Specified by:
getUnknownSymbolsin interfacede.monticore.symboltable.IScope
-
isUnknownSymbolsAlreadyResolved
public boolean isUnknownSymbolsAlreadyResolved() -
setUnknownSymbolsAlreadyResolved
public void setUnknownSymbolsAlreadyResolved(boolean unknownSymbolsAlreadyResolved) -
getEnclosingScope
- Specified by:
getEnclosingScopein interfaceIExpressionsBasisScope- Specified by:
getEnclosingScopein interfaceIMCBasicsScope- Specified by:
getEnclosingScopein interfaceIMCLiteralsBasisScope- Specified by:
getEnclosingScopein interfaceIMCReturnStatementsScope- Specified by:
getEnclosingScopein interfaceIMCStatementsBasisScope- Specified by:
getEnclosingScopein interfacede.monticore.symboltable.IScope
-
setEnclosingScope
- Specified by:
setEnclosingScopein interfaceIMCReturnStatementsScope
-
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
- Specified by:
getNamein interfacede.monticore.symboltable.IScope
-
isPresentName
public boolean isPresentName()- Specified by:
isPresentNamein interfacede.monticore.symboltable.IScope
-
setName
- 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
- Specified by:
addSubScopein interfaceIMCReturnStatementsScope
-
removeSubScope
- Specified by:
removeSubScopein interfaceIMCReturnStatementsScope
-
getSubScopes
- Specified by:
getSubScopesin interfaceIExpressionsBasisScope- Specified by:
getSubScopesin interfaceIMCBasicsScope- Specified by:
getSubScopesin interfaceIMCLiteralsBasisScope- Specified by:
getSubScopesin interfaceIMCReturnStatementsScope- Specified by:
getSubScopesin interfaceIMCStatementsBasisScope
-
setSubScopes
-
addSubScope
- Specified by:
addSubScopein interfaceIMCStatementsBasisScope
-
removeSubScope
- Specified by:
removeSubScopein interfaceIMCStatementsBasisScope
-
setEnclosingScope
- Specified by:
setEnclosingScopein interfaceIMCStatementsBasisScope
-
addSubScope
- Specified by:
addSubScopein interfaceIExpressionsBasisScope
-
removeSubScope
- Specified by:
removeSubScopein interfaceIExpressionsBasisScope
-
setEnclosingScope
- Specified by:
setEnclosingScopein interfaceIExpressionsBasisScope
-
addSubScope
- Specified by:
addSubScopein interfaceIMCBasicsScope
-
removeSubScope
- Specified by:
removeSubScopein interfaceIMCBasicsScope
-
setEnclosingScope
- Specified by:
setEnclosingScopein interfaceIMCBasicsScope
-
addSubScope
- Specified by:
addSubScopein interfaceIMCLiteralsBasisScope
-
removeSubScope
- Specified by:
removeSubScopein interfaceIMCLiteralsBasisScope
-
setEnclosingScope
- Specified by:
setEnclosingScopein interfaceIMCLiteralsBasisScope
-
accept
- Specified by:
acceptin interfaceIMCReturnStatementsScope
-
accept
- Specified by:
acceptin interfaceIMCReturnStatementsScope- Specified by:
acceptin interfaceIMCStatementsBasisScope
-
accept
- Specified by:
acceptin interfaceIExpressionsBasisScope- Specified by:
acceptin interfaceIMCReturnStatementsScope
-
accept
- Specified by:
acceptin interfaceIExpressionsBasisScope- Specified by:
acceptin interfaceIMCBasicsScope- Specified by:
acceptin interfaceIMCReturnStatementsScope
-
accept
- Specified by:
acceptin interfaceIExpressionsBasisScope- Specified by:
acceptin interfaceIMCLiteralsBasisScope- Specified by:
acceptin interfaceIMCReturnStatementsScope
-
accept
public void accept(de.monticore.visitor.ITraverser visitor) - Specified by:
acceptin interfaceIExpressionsBasisScope- Specified by:
acceptin interfaceIMCBasicsScope- Specified by:
acceptin interfaceIMCLiteralsBasisScope- Specified by:
acceptin interfaceIMCReturnStatementsScope- Specified by:
acceptin interfaceIMCStatementsBasisScope- Specified by:
acceptin interfacede.monticore.symboltable.IScope
-