class Ameba::AST::RedundantControlExpressionVisitor
  
  - Ameba::AST::RedundantControlExpressionVisitor
- Reference
- Object
Overview
A class that utilizes a logic to traverse AST nodes and
fire a source test callback if a redundant Crystal::ControlExpression
is reached.
Defined in:
ameba/ast/visitors/redundant_control_expression_visitor.crConstructors
Instance Method Summary
- 
        #node : Crystal::ASTNode
        
          A node to run traversal on. 
- 
        #rule : Rule::Base
        
          A corresponding rule that uses this visitor. 
- 
        #source : Source
        
          A source that needs to be traversed.