Class Brakeman::BaseProcessor
In: lib/brakeman/processors/base_processor.rb
Parent: Brakeman::SexpProcessor

Base processor for most processors.

Methods

Included Modules

Brakeman::ProcessorHelper Brakeman::SafeCallHelper Brakeman::Util

Constants

IGNORE = Sexp.new :ignore

Public Class methods

Public Instance methods

Determines the type of a call to render.

Possible types are: :action, :default, :file, :inline, :js, :json, :nothing, :partial, :template, :text, :update, :xml

And also :layout for inside templates

Generates :render node from call to render.

Convenience method for `make_render exp, true`

Processes the values in an argument list

Processes an attribute assignment, which can be either x.y = 1 or x[:y] = 1

Processes a block. Changes Sexp node type to :rlist

Default processing.

String with interpolation.

Processes the inside of an interpolated String.

Processes a hash

process_iasgn(exp)

Alias for process_lasgn

Processes an instance variable assignment

Process an if statement.

Processes calls with blocks.

s(:iter, CALL, {:lasgn|:masgn}, BLOCK)

Processes a local assignment

Process a new scope. Removes expressions that are set to nil.

[Validate]