Class MCAssertStatementsScopesGenitor
java.lang.Object
de.monticore.statements.mcassertstatements._symboltable.MCAssertStatementsScopesGenitor
- All Implemented Interfaces:
MCAssertStatementsHandler,MCAssertStatementsVisitor2,de.monticore.visitor.IHandler,de.monticore.visitor.IVisitor
public class MCAssertStatementsScopesGenitor
extends Object
implements MCAssertStatementsVisitor2, MCAssertStatementsHandler
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected IMCAssertStatementsScopeprotected Deque<IMCAssertStatementsScope> protected MCAssertStatementsTraverser -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcreateFromAST(ASTAssertStatement rootNode) createScope(boolean shadowing) final Optional<IMCAssertStatementsScope> protected voidprotected voidprotected voidprotected voidvoidfinal Optional<IMCAssertStatementsScope> voidsetScopeStack(Deque<? extends IMCAssertStatementsScope> scopeStack) voidsetTraverser(MCAssertStatementsTraverser traverser) voidvisit(ASTAssertStatement 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
-
MCAssertStatementsScopesGenitor
public MCAssertStatementsScopesGenitor()
-
-
Method Details
-
getTraverser
- Specified by:
getTraverserin interfacede.monticore.visitor.IHandler- Specified by:
getTraverserin interfaceMCAssertStatementsHandler
-
setTraverser
- Specified by:
setTraverserin interfaceMCAssertStatementsHandler
-
getFirstCreatedScope
-
createFromAST
-
putOnStack
-
getCurrentScope
-
removeCurrentScope
-
setScopeStack
-
createScope
-
visit
- Specified by:
visitin interfaceMCAssertStatementsVisitor2
-
initScopeHP1
-
initScopeHP2
-
initArtifactScopeHP1
-
initArtifactScopeHP2
-
addToScopeStack
-