Class ODRuleGenerationScope
java.lang.Object
de.monticore.tf.odrulegeneration._symboltable.ODRuleGenerationScope
- All Implemented Interfaces:
IMCBasicsScope,de.monticore.symboltable.IScope,IODRuleGenerationScope,IMCBasicTypesScope,IMCCollectionTypesScope,IMCFullGenericTypesScope,IMCSimpleGenericTypesScope
- Direct Known Subclasses:
ODRuleGenerationArtifactScope,ODRuleGenerationGlobalScope
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Optional<de.monticore.ast.ASTNode> protected IODRuleGenerationScopeprotected booleanprotected booleanprotected booleanprotected Optional<de.monticore.symboltable.IScopeSpanningSymbol> protected List<IODRuleGenerationScope> protected com.google.common.collect.LinkedListMultimap<String, de.monticore.symboltable.SymbolWithScopeOfUnknownKind> protected boolean -
Constructor Summary
ConstructorsConstructorDescriptionODRuleGenerationScope(boolean shadowing) ODRuleGenerationScope(IODRuleGenerationScope enclosingScope) ODRuleGenerationScope(IODRuleGenerationScope enclosingScope, boolean shadowing) -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(MCBasicsTraverser visitor) voidaccept(ODRuleGenerationTraverser visitor) voidaccept(MCBasicTypesTraverser visitor) voidaccept(MCCollectionTypesTraverser visitor) voidaccept(MCFullGenericTypesTraverser visitor) voidaccept(MCSimpleGenericTypesTraverser visitor) voidaccept(de.monticore.visitor.ITraverser visitor) voidadd(de.monticore.symboltable.SymbolWithScopeOfUnknownKind symbol) voidaddSubScope(IMCBasicsScope subScope) voidaddSubScope(IODRuleGenerationScope subScope) voidaddSubScope(IMCBasicTypesScope subScope) voidaddSubScope(IMCCollectionTypesScope subScope) voidaddSubScope(IMCFullGenericTypesScope subScope) voidaddSubScope(IMCSimpleGenericTypesScope subScope) de.monticore.ast.ASTNodegetName()de.monticore.symboltable.IScopeSpanningSymbolcom.google.common.collect.LinkedListMultimap<String, de.monticore.symboltable.SymbolWithScopeOfUnknownKind> com.google.common.collect.LinkedListMultimap<String, de.monticore.symboltable.SymbolWithScopeOfUnknownKind> booleanbooleanbooleanbooleanbooleanbooleanbooleanvoidremove(de.monticore.symboltable.SymbolWithScopeOfUnknownKind symbol) voidremoveSubScope(IMCBasicsScope subScope) voidremoveSubScope(IODRuleGenerationScope subScope) voidremoveSubScope(IMCBasicTypesScope subScope) voidremoveSubScope(IMCCollectionTypesScope subScope) voidremoveSubScope(IMCFullGenericTypesScope subScope) voidremoveSubScope(IMCSimpleGenericTypesScope subScope) voidsetAstNode(de.monticore.ast.ASTNode astNode) voidvoidsetEnclosingScope(IMCBasicsScope newEnclosingScope) voidsetEnclosingScope(IODRuleGenerationScope enclosingScope) voidsetEnclosingScope(IMCBasicTypesScope newEnclosingScope) voidsetEnclosingScope(IMCCollectionTypesScope newEnclosingScope) voidsetEnclosingScope(IMCFullGenericTypesScope newEnclosingScope) voidsetEnclosingScope(IMCSimpleGenericTypesScope newEnclosingScope) voidsetExportingSymbols(boolean exportingSymbols) voidvoidvoidsetOrdered(boolean ordered) voidsetShadowing(boolean shadowing) voidsetSpanningSymbol(de.monticore.symboltable.IScopeSpanningSymbol spanningSymbol) voidvoidsetSubScopes(List<IODRuleGenerationScope> 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.tf.odrulegeneration._symboltable.IODRuleGenerationScope
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
-
ODRuleGenerationScope
public ODRuleGenerationScope() -
ODRuleGenerationScope
public ODRuleGenerationScope(boolean shadowing) -
ODRuleGenerationScope
-
ODRuleGenerationScope
-
-
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
-
getUnknownSymbolsWithSubKinds
public com.google.common.collect.LinkedListMultimap<String,de.monticore.symboltable.SymbolWithScopeOfUnknownKind> getUnknownSymbolsWithSubKinds() -
isUnknownSymbolsAlreadyResolved
public boolean isUnknownSymbolsAlreadyResolved() -
setUnknownSymbolsAlreadyResolved
public void setUnknownSymbolsAlreadyResolved(boolean unknownSymbolsAlreadyResolved) -
getEnclosingScope
- Specified by:
getEnclosingScopein interfaceIMCBasicsScope- Specified by:
getEnclosingScopein interfaceIMCBasicTypesScope- Specified by:
getEnclosingScopein interfaceIMCCollectionTypesScope- Specified by:
getEnclosingScopein interfaceIMCFullGenericTypesScope- Specified by:
getEnclosingScopein interfaceIMCSimpleGenericTypesScope- Specified by:
getEnclosingScopein interfaceIODRuleGenerationScope- Specified by:
getEnclosingScopein interfacede.monticore.symboltable.IScope
-
setEnclosingScope
- Specified by:
setEnclosingScopein interfaceIODRuleGenerationScope
-
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 interfaceIODRuleGenerationScope
-
removeSubScope
- Specified by:
removeSubScopein interfaceIODRuleGenerationScope
-
getSubScopes
- Specified by:
getSubScopesin interfaceIMCBasicsScope- Specified by:
getSubScopesin interfaceIMCBasicTypesScope- Specified by:
getSubScopesin interfaceIMCCollectionTypesScope- Specified by:
getSubScopesin interfaceIMCFullGenericTypesScope- Specified by:
getSubScopesin interfaceIMCSimpleGenericTypesScope- Specified by:
getSubScopesin interfaceIODRuleGenerationScope
-
setSubScopes
-
addSubScope
- Specified by:
addSubScopein interfaceIMCFullGenericTypesScope
-
removeSubScope
- Specified by:
removeSubScopein interfaceIMCFullGenericTypesScope
-
setEnclosingScope
- Specified by:
setEnclosingScopein interfaceIMCFullGenericTypesScope
-
addSubScope
- Specified by:
addSubScopein interfaceIMCSimpleGenericTypesScope
-
removeSubScope
- Specified by:
removeSubScopein interfaceIMCSimpleGenericTypesScope
-
setEnclosingScope
- Specified by:
setEnclosingScopein interfaceIMCSimpleGenericTypesScope
-
addSubScope
- Specified by:
addSubScopein interfaceIMCCollectionTypesScope
-
removeSubScope
- Specified by:
removeSubScopein interfaceIMCCollectionTypesScope
-
setEnclosingScope
- Specified by:
setEnclosingScopein interfaceIMCCollectionTypesScope
-
addSubScope
- Specified by:
addSubScopein interfaceIMCBasicTypesScope
-
removeSubScope
- Specified by:
removeSubScopein interfaceIMCBasicTypesScope
-
setEnclosingScope
- Specified by:
setEnclosingScopein interfaceIMCBasicTypesScope
-
addSubScope
- Specified by:
addSubScopein interfaceIMCBasicsScope
-
removeSubScope
- Specified by:
removeSubScopein interfaceIMCBasicsScope
-
setEnclosingScope
- Specified by:
setEnclosingScopein interfaceIMCBasicsScope
-
accept
- Specified by:
acceptin interfaceIODRuleGenerationScope
-
accept
- Specified by:
acceptin interfaceIMCFullGenericTypesScope- Specified by:
acceptin interfaceIODRuleGenerationScope
-
accept
- Specified by:
acceptin interfaceIMCFullGenericTypesScope- Specified by:
acceptin interfaceIMCSimpleGenericTypesScope- Specified by:
acceptin interfaceIODRuleGenerationScope
-
accept
- Specified by:
acceptin interfaceIMCCollectionTypesScope- Specified by:
acceptin interfaceIMCFullGenericTypesScope- Specified by:
acceptin interfaceIMCSimpleGenericTypesScope- Specified by:
acceptin interfaceIODRuleGenerationScope
-
accept
- Specified by:
acceptin interfaceIMCBasicTypesScope- Specified by:
acceptin interfaceIMCCollectionTypesScope- Specified by:
acceptin interfaceIMCFullGenericTypesScope- Specified by:
acceptin interfaceIMCSimpleGenericTypesScope- Specified by:
acceptin interfaceIODRuleGenerationScope
-
accept
- Specified by:
acceptin interfaceIMCBasicsScope- Specified by:
acceptin interfaceIMCBasicTypesScope- Specified by:
acceptin interfaceIMCCollectionTypesScope- Specified by:
acceptin interfaceIMCFullGenericTypesScope- Specified by:
acceptin interfaceIMCSimpleGenericTypesScope- Specified by:
acceptin interfaceIODRuleGenerationScope
-
accept
public void accept(de.monticore.visitor.ITraverser visitor) - Specified by:
acceptin interfaceIMCBasicsScope- Specified by:
acceptin interfaceIMCBasicTypesScope- Specified by:
acceptin interfaceIMCCollectionTypesScope- Specified by:
acceptin interfaceIMCFullGenericTypesScope- Specified by:
acceptin interfaceIMCSimpleGenericTypesScope- Specified by:
acceptin interfaceIODRuleGenerationScope- Specified by:
acceptin interfacede.monticore.symboltable.IScope
-