class Savi::Compiler::Jumps::Visitor
- Savi::Compiler::Jumps::Visitor
- Savi::AST::Visitor
- Reference
- Object
Defined in:
savi/compiler/jumps.crConstructors
Instance Method Summary
- #analysis : Analysis
- #classify : Classify::Analysis
- #touch(node : AST::Identifier)
- #touch(node : AST::Jump)
- #touch(node : AST::Group)
- #touch(node : AST::Prefix)
- #touch(node : AST::Yield)
- #touch(node : AST::Qualify)
- #touch(node : AST::Relate)
- #touch(node : AST::Call)
- #touch(node : AST::Choice)
- #touch(node : AST::Loop)
- #touch(node : AST::Try)
- #touch(node)
-
#visit(ctx, node)
This visitor never replaces nodes, it just touches them and returns them.
-
#visit_children?(ctx, node)
We don't deal with type expressions at all.
- #visit_pre(ctx, node : AST::Loop | AST::Try)
- #visit_pre(ctx, node : AST::Call)
- #visit_pre(ctx, node : AST::Group)
Instance methods inherited from class Savi::AST::Visitor
visit(ctx : Compiler::Context, node : Node)
visit,
visit_any?(ctx : Compiler::Context, node : Node)
visit_any?,
visit_children?(ctx : Compiler::Context, node : Node)
visit_children?,
visit_pre(ctx : Compiler::Context, node : Node)
visit_pre
Constructor Detail
def self.new(analysis : Savi::Compiler::Jumps::Analysis, classify : Savi::Compiler::Classify::Analysis, function : AST::Function, ctx : Context)
#