Class RegExTypeScopesGenitor
java.lang.Object
de.monticore.regex.regextype._symboltable.RegExTypeScopesGenitor
- All Implemented Interfaces:
RegExTypeHandler,RegExTypeVisitor2,de.monticore.visitor.IHandler,de.monticore.visitor.IVisitor
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected IRegExTypeScopeprotected Deque<IRegExTypeScope> protected RegExTypeTraverser -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddToScopeStack(IRegExTypeScope scope) createFromAST(ASTRegExType rootNode) createScope(boolean shadowing) final Optional<IRegExTypeScope> protected voidprotected voidprotected voidinitScopeHP1(IRegExTypeScope scope) protected voidinitScopeHP2(IRegExTypeScope scope) voidputOnStack(IRegExTypeScope scope) final Optional<IRegExTypeScope> voidsetScopeStack(Deque<? extends IRegExTypeScope> scopeStack) voidsetTraverser(RegExTypeTraverser traverser) voidvisit(ASTRegExType 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
-
RegExTypeScopesGenitor
public RegExTypeScopesGenitor()
-
-
Method Details
-
getTraverser
- Specified by:
getTraverserin interfacede.monticore.visitor.IHandler- Specified by:
getTraverserin interfaceRegExTypeHandler
-
setTraverser
- Specified by:
setTraverserin interfaceRegExTypeHandler
-
getFirstCreatedScope
-
createFromAST
-
putOnStack
-
getCurrentScope
-
removeCurrentScope
-
setScopeStack
-
createScope
-
visit
- Specified by:
visitin interfaceRegExTypeVisitor2
-
initScopeHP1
-
initScopeHP2
-
initArtifactScopeHP1
-
initArtifactScopeHP2
-
addToScopeStack
-