Flowdock
class
Importance_1

Lexical analyzer for Ruby source

Constants

ENINDENT_CLAUSE = [ "case", "class", "def", "do", "for", "if", "module", "unless", "until", "while", "begin" #, "when" ]

DEINDENT_CLAUSE = ["end" #, "when" ]

PERCENT_LTYPE = { "q" => "\'", "Q" => "\"", "x" => "\`", "r" => "/", "w" => "]" }

PERCENT_PAREN = { "{" => "}", "[" => "]", "<" => ">", "(" => ")" }

Ltype2Token = { "\'" => TkSTRING, "\"" => TkSTRING, "\`" => TkXSTRING, "/" => TkREGEXP, "]" => TkDSTRING }

DLtype2Token = { "\"" => TkDSTRING, "\`" => TkDXSTRING, "/" => TkDREGEXP, }

Attributes

[R] continue
[R] lex_state
[RW] skip_space
[RW] read_auto_clean_up
[RW] exception_on_syntax_error
[R] indent
Show files where this class is defined (1 file)
Register or log in to add new notes.