Class CodeAnalyzer::CheckingVisitor::Default
In: lib/code_analyzer/checking_visitor/default.rb
Parent: Base

This is the default checking visitor to check ruby sexp nodes.

Methods

after_check   check   check_node   new   parse  

Public Class methods

Public Instance methods

trigger all after_check callbacks defined in all checkers.

check the ruby sexp nodes for the ruby file.

@param [String] filename is the filename of ruby code. @param [String] content is the content of ruby file.

recursively check ruby sexp node.

  1. it triggers the interesting checkers’ start callbacks.
  2. recursively check the sexp children.
  3. it triggers the interesting checkers’ end callbacks.

parse ruby code.

@param [String] filename is the filename of ruby code. @param [String] content is the content of ruby file.

[Validate]