Class Ripper::Filter
In: lib/ripper/filter.rb
Parent: Object

This class handles only scanner events, and they are dispatched in the `right’ order (same with input).

Methods

column   filename   lineno   new   parse  

Public Class methods

Public Instance methods

The column number of the current token. This value starts from 0. This method is valid only in event handlers.

The file name of the input.

The line number of the current token. This value starts from 1. This method is valid only in event handlers.

Starts parsing. init is a data accumulator. It is passed to the next event handler (as of Enumerable#inject).

[Validate]