Class CodeAnalyzer::Checker
In: lib/code_analyzer/checker.rb
Parent: Object

A checker class that takes charge of checking the sexp.

Methods

Public Class methods

Public Instance methods

add an warning.

@param [String] message, is the warning message @param [String] filename, is the filename of source code @param [Integer] line_number, is the line number of the source code which is reviewing

interesting files that the check will parse.

interesting nodes that the check will parse.

delegate to end_### according to the sexp_type, like

    end_call
    end_def

@param [Sexp] node

delegate to start_### according to the sexp_type, like

    start_call
    start_def

@param [Sexp] node

check if the checker will parse the node file.

@param [String] the file name of node. @return [Boolean] true if the checker will parse the file.

[Validate]