Flowdock

Lexical analyzer for Ruby source

Constants

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

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

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

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

DEINDENT_CLAUSE = ["end"

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

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

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

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

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

DEINDENT_CLAUSE = ["end"

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

Attributes

[R] indent
[RW] exception_on_syntax_error
[RW] read_auto_clean_up
[RW] skip_space
[R] lex_state
[R] continue
[R] indent
[R] line_no
[R] char_no
[R] seek
[RW] exception_on_syntax_error
[RW] readed_auto_clean_up
[RW] skip_space
[RW] debug_level
Show files where this class is defined (2 files)
Register or log in to add new notes.