Ruby 2.0.0p247(2013-06-27revision41674)

- Main Page
- Modules
- Data Structures
- Files

- Data Structures
- Data Structure Index
- Data Fields

Data Fields
parser_params Struct Reference

## Data Fields
int | is_ripper
NODE * | heap
YYSTYPE * | parser_yylval
VALUE | eofp
NODE * | parser_lex_strterm
enum lex_state_e | parser_lex_state
stack_type | parser_cond_stack
stack_type | parser_cmdarg_stack
int | parser_class_nest
int | parser_paren_nest
int | parser_lpar_beg
int | parser_in_single
int | parser_in_def
int | parser_brace_nest
int | parser_compile_for_eval
VALUE | parser_cur_mid
int | parser_in_defined
char * | parser_tokenbuf
int | parser_tokidx
int | parser_toksiz
int | parser_tokline
VALUE | parser_lex_input
VALUE | parser_lex_lastline
VALUE | parser_lex_nextline
const char * | parser_lex_pbeg
const char * | parser_lex_p
const char * | parser_lex_pend
int | parser_heredoc_end
int | parser_command_start
NODE * | parser_deferred_nodes
long | parser_lex_gets_ptr
VALUE(* | parser_lex_gets )(struct parser_params *, VALUE)
struct local_vars * | parser_lvtbl
int | parser_ruby__end__seen
int | line_count
int | has_shebang
char * | parser_ruby_sourcefile
int | parser_ruby_sourceline
rb_encoding * | enc
int | parser_yydebug
NODE * | parser_eval_tree_begin
NODE * | parser_eval_tree
VALUE | debug_lines
VALUE | coverage
int | nerr
int | parser_token_info_enabled
token_info * | parser_token_info

## Detailed Description

Definition at line 521 of file ripper.c.

## Field Documentation

VALUE parser_params::coverage

Definition at line 571 of file ripper.c.

VALUE parser_params::debug_lines

Definition at line 570 of file ripper.c.

Referenced by parser_mark().

rb_encoding * parser_params::enc

Definition at line 562 of file ripper.c.

Referenced by lex_get_str(), must_be_ascii_compatible(), parser_here_document(), parser_initialize(), parser_parse_string(), parser_prepare(), parser_set_encode(), parser_tokadd_string(), and reg_named_capture_assign_iter().

VALUE parser_params::eofp

Definition at line 526 of file ripper.c.

Referenced by parser_here_document(), parser_initialize(), parser_nextc(), parser_parse_string(), and parser_yylex().

int parser_params::has_shebang

Definition at line 559 of file ripper.c.

Referenced by comment_at_top(), and parser_prepare().

NODE * parser_params::heap

Definition at line 523 of file ripper.c.

Referenced by parser_initialize(), parser_mark(), rb_parser_free(), and rb_parser_realloc().

int parser_params::is_ripper

Definition at line 522 of file ripper.c.

Referenced by parser_initialize().

int parser_params::line_count

Definition at line 558 of file ripper.c.

Referenced by comment_at_top(), and parser_nextc().

int parser_params::nerr

Definition at line 572 of file ripper.c.

Referenced by yycompile0().

int parser_params::parser_brace_nest

Definition at line 537 of file ripper.c.

Referenced by parser_initialize().

int parser_params::parser_class_nest

Definition at line 532 of file ripper.c.

Referenced by parser_initialize().

stack_type parser_params::parser_cmdarg_stack

Definition at line 531 of file ripper.c.

Referenced by parser_initialize().

int parser_params::parser_command_start

Definition at line 552 of file ripper.c.

Referenced by parser_initialize().

int parser_params::parser_compile_for_eval

Definition at line 538 of file ripper.c.

Referenced by parser_initialize().

stack_type parser_params::parser_cond_stack

Definition at line 530 of file ripper.c.

Referenced by parser_initialize().

VALUE parser_params::parser_cur_mid

Definition at line 539 of file ripper.c.

Referenced by parser_initialize().

NODE * parser_params::parser_deferred_nodes

Definition at line 553 of file ripper.c.

Referenced by parser_initialize(), and parser_mark().

NODE * parser_params::parser_eval_tree

Definition at line 569 of file ripper.c.

Referenced by parser_initialize(), and parser_mark().

NODE * parser_params::parser_eval_tree_begin

Definition at line 568 of file ripper.c.

Referenced by parser_initialize(), and parser_mark().

int parser_params::parser_heredoc_end

Definition at line 551 of file ripper.c.

Referenced by parser_initialize().

int parser_params::parser_in_def

Definition at line 536 of file ripper.c.

Referenced by parser_initialize().

int parser_params::parser_in_defined

Definition at line 540 of file ripper.c.

Referenced by parser_initialize().

int parser_params::parser_in_single

Definition at line 535 of file ripper.c.

Referenced by parser_initialize().

VALUE(* parser_params::parser_lex_gets)(struct parser_params *, VALUE)

Definition at line 555 of file ripper.c.

Referenced by lex_getline().

long parser_params::parser_lex_gets_ptr

Definition at line 554 of file ripper.c.

VALUE parser_params::parser_lex_input

Definition at line 545 of file ripper.c.

Referenced by lex_getline(), and parser_mark().

VALUE parser_params::parser_lex_lastline

Definition at line 546 of file ripper.c.

Referenced by parser_mark().

VALUE parser_params::parser_lex_nextline

Definition at line 547 of file ripper.c.

Referenced by parser_mark().

const char * parser_params::parser_lex_p

Definition at line 549 of file ripper.c.

Referenced by parser_initialize().

const char * parser_params::parser_lex_pbeg

Definition at line 548 of file ripper.c.

Referenced by parser_initialize().

const char * parser_params::parser_lex_pend

Definition at line 550 of file ripper.c.

Referenced by parser_initialize().

enum lex_state_e parser_params::parser_lex_state

Definition at line 529 of file ripper.c.

NODE * parser_params::parser_lex_strterm

Definition at line 528 of file ripper.c.

Referenced by parser_initialize(), and parser_mark().

int parser_params::parser_lpar_beg

Definition at line 534 of file ripper.c.

Referenced by parser_initialize().

struct local_vars * parser_params::parser_lvtbl

Definition at line 556 of file ripper.c.

Referenced by parser_free(), parser_initialize(), and parser_memsize().

int parser_params::parser_paren_nest

Definition at line 533 of file ripper.c.

Referenced by parser_initialize().

int parser_params::parser_ruby__end__seen

Definition at line 557 of file ripper.c.

Referenced by parser_initialize().

char * parser_params::parser_ruby_sourcefile

Definition at line 560 of file ripper.c.

Referenced by parser_free(), parser_initialize(), parser_memsize(), and yycompile0().

int parser_params::parser_ruby_sourceline

Definition at line 561 of file ripper.c.

Referenced by yycompile0().

token_info * parser_params::parser_token_info

Definition at line 575 of file ripper.c.

Referenced by token_info_pop(), and token_info_push().

int parser_params::parser_token_info_enabled

Definition at line 574 of file ripper.c.

Referenced by parser_set_token_info(), token_info_pop(), token_info_push(), and yycompile0().

char * parser_params::parser_tokenbuf

Definition at line 541 of file ripper.c.

Referenced by parser_free(), and parser_initialize().

int parser_params::parser_tokidx

Definition at line 542 of file ripper.c.

Referenced by parser_initialize().

int parser_params::parser_tokline

Definition at line 544 of file ripper.c.

int parser_params::parser_toksiz

Definition at line 543 of file ripper.c.

Referenced by parser_initialize(), and parser_memsize().

int parser_params::parser_yydebug

Definition at line 564 of file ripper.c.

YYSTYPE * parser_params::parser_yylval

Definition at line 525 of file ripper.c.

Referenced by yylex().

The documentation for this struct was generated from the following files:

- ext/ripper/ripper.c
- ext/ripper/ripper.y
- parse.c
- parse.y