class Savi::Compiler::Classify::Visitor
- Savi::Compiler::Classify::Visitor
- Savi::AST::Visitor
- Reference
- Object
Defined in:
savi/compiler/classify.crConstructors
Instance Method Summary
- #analysis : Analysis
- #refer_type : ReferType::Analysis
-
#touch(ctx, op : AST::Operator)
An Operator can never have a value, so its value should never be needed.
- #touch(ctx, prefix : AST::Prefix)
- #touch(ctx, group : AST::Group)
- #touch(ctx, qualify : AST::Qualify)
- #touch(ctx, relate : AST::Relate)
- #touch(ctx, call : AST::Call)
- #touch(ctx, node : AST::Node)
- #type_expr_visit(ctx, node)
-
#visit(ctx, node)
This visitor never replaces nodes, it just touches them and returns them.
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::Classify::Analysis, refer_type : Savi::Compiler::ReferType::Analysis)
#
Instance Method Detail
def touch(ctx, op : AST::Operator)
#
An Operator can never have a value, so its value should never be needed.