Class MCFunctionTypesScopesGenitor
java.lang.Object
de.monticore.types.mcfunctiontypes._symboltable.MCFunctionTypesScopesGenitor
- All Implemented Interfaces:
MCFunctionTypesHandler,MCFunctionTypesVisitor2,de.monticore.visitor.IHandler,de.monticore.visitor.IVisitor
public class MCFunctionTypesScopesGenitor
extends Object
implements MCFunctionTypesVisitor2, MCFunctionTypesHandler
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected IMCFunctionTypesScopeprotected Deque<IMCFunctionTypesScope> protected MCFunctionTypesTraverser -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcreateFromAST(ASTMCFunctionParTypes rootNode) createScope(boolean shadowing) final Optional<IMCFunctionTypesScope> protected voidprotected voidprotected voidprotected voidvoidputOnStack(IMCFunctionTypesScope scope) final Optional<IMCFunctionTypesScope> voidsetScopeStack(Deque<? extends IMCFunctionTypesScope> scopeStack) voidsetTraverser(MCFunctionTypesTraverser traverser) voidvisit(ASTMCFunctionParTypes node) voidvisit(ASTMCFunctionType node) voidvisit(ASTMCUnaryFunctionType 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
-
MCFunctionTypesScopesGenitor
public MCFunctionTypesScopesGenitor()
-
-
Method Details
-
getTraverser
- Specified by:
getTraverserin interfacede.monticore.visitor.IHandler- Specified by:
getTraverserin interfaceMCFunctionTypesHandler
-
setTraverser
- Specified by:
setTraverserin interfaceMCFunctionTypesHandler
-
getFirstCreatedScope
-
createFromAST
-
putOnStack
-
getCurrentScope
-
removeCurrentScope
-
setScopeStack
-
createScope
-
visit
- Specified by:
visitin interfaceMCFunctionTypesVisitor2
-
visit
- Specified by:
visitin interfaceMCFunctionTypesVisitor2
-
visit
- Specified by:
visitin interfaceMCFunctionTypesVisitor2
-
initScopeHP1
-
initScopeHP2
-
initArtifactScopeHP1
-
initArtifactScopeHP2
-
addToScopeStack
-