Class ParseState
In: lib/saikuro.rb
Parent: Object

Main class and structure used to compute the cyclomatic complexity of Ruby programs.

Methods

Included Modules

RubyToken

Attributes

children  [RW] 
complexity  [RW] 
lines  [RW] 
name  [RW] 
parent  [RW] 

Public Class methods

Public Instance methods

Count the tokens parsed if true else ignore them.

Ruby-Lexer can go into a loop if the file does not end with a newline.

[Validate]