Class MCLiteralsBasisScopesGenitor
java.lang.Object
de.monticore.literals.mcliteralsbasis._symboltable.MCLiteralsBasisScopesGenitor
- All Implemented Interfaces:
MCLiteralsBasisHandler,MCLiteralsBasisVisitor2,de.monticore.visitor.IHandler,de.monticore.visitor.IVisitor
public class MCLiteralsBasisScopesGenitor
extends Object
implements MCLiteralsBasisVisitor2, MCLiteralsBasisHandler
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected IMCLiteralsBasisScopeprotected Deque<IMCLiteralsBasisScope> protected MCLiteralsBasisTraverser -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcreateFromAST(ASTLiteral rootNode) createScope(boolean shadowing) final Optional<IMCLiteralsBasisScope> protected voidprotected voidprotected voidprotected voidvoidputOnStack(IMCLiteralsBasisScope scope) final Optional<IMCLiteralsBasisScope> voidsetScopeStack(Deque<? extends IMCLiteralsBasisScope> scopeStack) voidsetTraverser(MCLiteralsBasisTraverser traverser) 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
-
MCLiteralsBasisScopesGenitor
public MCLiteralsBasisScopesGenitor()
-
-
Method Details
-
getTraverser
- Specified by:
getTraverserin interfacede.monticore.visitor.IHandler- Specified by:
getTraverserin interfaceMCLiteralsBasisHandler
-
setTraverser
- Specified by:
setTraverserin interfaceMCLiteralsBasisHandler
-
getFirstCreatedScope
-
createFromAST
-
putOnStack
-
getCurrentScope
-
removeCurrentScope
-
setScopeStack
-
createScope
-
initScopeHP1
-
initScopeHP2
-
initArtifactScopeHP1
-
initArtifactScopeHP2
-
addToScopeStack
-