Class MCStructuralTypesScopesGenitor
java.lang.Object
de.monticore.types.mcstructuraltypes._symboltable.MCStructuralTypesScopesGenitor
- All Implemented Interfaces:
MCStructuralTypesHandler,MCStructuralTypesVisitor2,de.monticore.visitor.IHandler,de.monticore.visitor.IVisitor
public class MCStructuralTypesScopesGenitor
extends Object
implements MCStructuralTypesVisitor2, MCStructuralTypesHandler
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected IMCStructuralTypesScopeprotected Deque<IMCStructuralTypesScope> protected MCStructuralTypesTraverser -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcreateFromAST(ASTMCUnionType rootNode) createScope(boolean shadowing) final Optional<IMCStructuralTypesScope> protected voidprotected voidprotected voidprotected voidvoidfinal Optional<IMCStructuralTypesScope> voidsetScopeStack(Deque<? extends IMCStructuralTypesScope> scopeStack) voidsetTraverser(MCStructuralTypesTraverser traverser) voidvisit(ASTMCBracketType node) voidvisit(ASTMCIntersectionType node) voidvisit(ASTMCTupleType node) voidvisit(ASTMCUnionType node) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.monticore.visitor.IHandler
handle, handle, handle, handle, handle, traverse, traverseMethods inherited from interface de.monticore.visitor.IVisitor
endVisit, endVisit, endVisit, endVisit, visit, visit, visit, visit
-
Field Details
-
scopeStack
-
traverser
-
firstCreatedScope
-
-
Constructor Details
-
MCStructuralTypesScopesGenitor
public MCStructuralTypesScopesGenitor()
-
-
Method Details
-
getTraverser
- Specified by:
getTraverserin interfacede.monticore.visitor.IHandler- Specified by:
getTraverserin interfaceMCStructuralTypesHandler
-
setTraverser
- Specified by:
setTraverserin interfaceMCStructuralTypesHandler
-
getFirstCreatedScope
-
createFromAST
-
putOnStack
-
getCurrentScope
-
removeCurrentScope
-
setScopeStack
-
createScope
-
visit
- Specified by:
visitin interfaceMCStructuralTypesVisitor2
-
visit
- Specified by:
visitin interfaceMCStructuralTypesVisitor2
-
visit
- Specified by:
visitin interfaceMCStructuralTypesVisitor2
-
visit
- Specified by:
visitin interfaceMCStructuralTypesVisitor2
-
initScopeHP1
-
initScopeHP2
-
initArtifactScopeHP1
-
initArtifactScopeHP2
-
addToScopeStack
-