Class SIUnitTypes4MathScopesGenitor
java.lang.Object
de.monticore.siunit.siunittypes4math._symboltable.SIUnitTypes4MathScopesGenitor
- All Implemented Interfaces:
SIUnitTypes4MathHandler,SIUnitTypes4MathVisitor2,de.monticore.visitor.IHandler,de.monticore.visitor.IVisitor
public class SIUnitTypes4MathScopesGenitor
extends Object
implements SIUnitTypes4MathVisitor2, SIUnitTypes4MathHandler
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ISIUnitTypes4MathScopeprotected Deque<ISIUnitTypes4MathScope> protected SIUnitTypes4MathTraverser -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcreateFromAST(ASTSIUnitType rootNode) createScope(boolean shadowing) final Optional<ISIUnitTypes4MathScope> protected voidprotected voidprotected voidprotected voidvoidputOnStack(ISIUnitTypes4MathScope scope) final Optional<ISIUnitTypes4MathScope> voidsetScopeStack(Deque<? extends ISIUnitTypes4MathScope> scopeStack) voidsetTraverser(SIUnitTypes4MathTraverser traverser) voidvisit(ASTSIUnitType 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
-
SIUnitTypes4MathScopesGenitor
public SIUnitTypes4MathScopesGenitor()
-
-
Method Details
-
getTraverser
- Specified by:
getTraverserin interfacede.monticore.visitor.IHandler- Specified by:
getTraverserin interfaceSIUnitTypes4MathHandler
-
setTraverser
- Specified by:
setTraverserin interfaceSIUnitTypes4MathHandler
-
getFirstCreatedScope
-
createFromAST
-
putOnStack
-
getCurrentScope
-
removeCurrentScope
-
setScopeStack
-
createScope
-
visit
- Specified by:
visitin interfaceSIUnitTypes4MathVisitor2
-
initScopeHP1
-
initScopeHP2
-
initArtifactScopeHP1
-
initArtifactScopeHP2
-
addToScopeStack
-