public abstract class AbstractGoloIrVisitor extends java.lang.Object implements GoloIrVisitor
This visitor walk the IR tree, but do nothing. It can be used to implement specific IR visitors by overriding only the specific methods, like for example the ones used in the compilation check and transformation step.
Constructor and Description |
---|
AbstractGoloIrVisitor() |
public AbstractGoloIrVisitor()
public void visitModule(GoloModule module)
visitModule
in interface GoloIrVisitor
public void visitModuleImport(ModuleImport moduleImport)
visitModuleImport
in interface GoloIrVisitor
public void visitStruct(Struct struct)
visitStruct
in interface GoloIrVisitor
public void visitUnion(Union union)
visitUnion
in interface GoloIrVisitor
public void visitUnionValue(UnionValue value)
visitUnionValue
in interface GoloIrVisitor
public void visitAugmentation(Augmentation augment)
visitAugmentation
in interface GoloIrVisitor
public void visitNamedAugmentation(NamedAugmentation augment)
visitNamedAugmentation
in interface GoloIrVisitor
public void visitFunction(GoloFunction function)
visitFunction
in interface GoloIrVisitor
public void visitDecorator(Decorator decorator)
visitDecorator
in interface GoloIrVisitor
public void visitBlock(Block block)
visitBlock
in interface GoloIrVisitor
public void visitConstantStatement(ConstantStatement constantStatement)
visitConstantStatement
in interface GoloIrVisitor
public void visitReturnStatement(ReturnStatement returnStatement)
visitReturnStatement
in interface GoloIrVisitor
public void visitFunctionInvocation(FunctionInvocation functionInvocation)
visitFunctionInvocation
in interface GoloIrVisitor
public void visitMethodInvocation(MethodInvocation methodInvocation)
visitMethodInvocation
in interface GoloIrVisitor
public void visitAssignmentStatement(AssignmentStatement assignmentStatement)
visitAssignmentStatement
in interface GoloIrVisitor
public void visitDestructuringAssignment(DestructuringAssignment assignment)
visitDestructuringAssignment
in interface GoloIrVisitor
public void visitReferenceLookup(ReferenceLookup referenceLookup)
visitReferenceLookup
in interface GoloIrVisitor
public void visitConditionalBranching(ConditionalBranching conditionalBranching)
visitConditionalBranching
in interface GoloIrVisitor
public void visitBinaryOperation(BinaryOperation binaryOperation)
visitBinaryOperation
in interface GoloIrVisitor
public void visitUnaryOperation(UnaryOperation unaryOperation)
visitUnaryOperation
in interface GoloIrVisitor
public void visitLoopStatement(LoopStatement loopStatement)
visitLoopStatement
in interface GoloIrVisitor
public void visitForEachLoopStatement(ForEachLoopStatement foreachStatement)
visitForEachLoopStatement
in interface GoloIrVisitor
public void visitCaseStatement(CaseStatement caseStatement)
visitCaseStatement
in interface GoloIrVisitor
public void visitMatchExpression(MatchExpression matchExpression)
visitMatchExpression
in interface GoloIrVisitor
public void visitWhenClause(WhenClause<?> whenClause)
visitWhenClause
in interface GoloIrVisitor
public void visitThrowStatement(ThrowStatement throwStatement)
visitThrowStatement
in interface GoloIrVisitor
public void visitTryCatchFinally(TryCatchFinally tryCatchFinally)
visitTryCatchFinally
in interface GoloIrVisitor
public void visitClosureReference(ClosureReference closureReference)
visitClosureReference
in interface GoloIrVisitor
public void visitLoopBreakFlowStatement(LoopBreakFlowStatement loopBreakFlowStatement)
visitLoopBreakFlowStatement
in interface GoloIrVisitor
public void visitCollectionLiteral(CollectionLiteral collectionLiteral)
visitCollectionLiteral
in interface GoloIrVisitor
public void visitCollectionComprehension(CollectionComprehension collectionComprehension)
visitCollectionComprehension
in interface GoloIrVisitor
public void visitNamedArgument(NamedArgument namedArgument)
visitNamedArgument
in interface GoloIrVisitor
public void visitLocalReference(LocalReference localRef)
visitLocalReference
in interface GoloIrVisitor
public void visitMember(Member member)
visitMember
in interface GoloIrVisitor
public void visitMacroInvocation(MacroInvocation macroInvocation)
visitMacroInvocation
in interface GoloIrVisitor
public void visitNoop(Noop noop)
visitNoop
in interface GoloIrVisitor
public void visitToplevelElements(ToplevelElements toplevel)
visitToplevelElements
in interface GoloIrVisitor