Main Page | Modules | Alphabetical List | Data Structures | File List | Data Fields | Globals

Parse
[Ruby]


Functions

int ruby_yyparse (void)
ID rb_id_attrset (ID)
void rb_parser_append_print (void)
void rb_parser_while_loop (int, int)
int ruby_parser_stack_on_heap (void)
void rb_gc_mark_parser (void)
int rb_is_const_id (ID)
int rb_is_instance_id (ID)
int rb_is_class_id (ID)
int rb_is_local_id (ID)
int rb_is_junk_id (ID)
VALUE rb_backref_get (void)
void rb_backref_set (VALUE)
VALUE rb_lastline_get (void)
void rb_lastline_set (VALUE)
VALUE rb_sym_all_symbols (void)

Variables

RUBY_EXTERN int ruby_sourceline
RUBY_EXTERN char * ruby_sourcefile


Function Documentation

VALUE rb_backref_get void   ) 
 

Definition at line 10192 of file parse.c.

References Qnil, rb_svar(), and VALUE.

Referenced by last_match_getter(), last_paren_match_getter(), match_getter(), postmatch_getter(), prematch_getter(), rb_f_global_variables(), rb_reg_match_m(), rb_reg_s_last_match(), rb_reg_search(), rb_str_scan(), rb_str_split_m(), rb_str_sub_bang(), rb_str_subpat(), rb_str_subpat_set(), rb_thread_restore_context(), rb_thread_save_context(), scan_once(), and str_gsub().

void rb_backref_set VALUE   ) 
 

Definition at line 10202 of file parse.c.

References rb_svar(), special_local_set(), and VALUE.

Referenced by match_setter(), rb_reg_eqq(), rb_reg_match(), rb_reg_match2(), rb_reg_search(), rb_str_index_m(), rb_str_rindex_m(), rb_str_scan(), rb_str_sub_bang(), rb_thread_restore_context(), rb_thread_save_context(), and str_gsub().

void rb_gc_mark_parser void   ) 
 

Definition at line 9780 of file parse.c.

References lex_input, lex_lastline, lex_strterm, parser_heap, rb_gc_mark(), rb_gc_mark_locations(), rb_gc_mark_maybe(), ruby_debug_lines, ruby_in_compile, VALUE, and yylval.

Referenced by garbage_collect().

ID rb_id_attrset ID   ) 
 

Definition at line 8931 of file parse.c.

References ID, ID_ATTRSET, and ID_SCOPE_MASK.

Referenced by attrset(), make_struct(), rb_attr(), rb_intern(), and rb_struct_set().

int rb_is_class_id ID   ) 
 

Definition at line 10147 of file parse.c.

References ID, is_class_id, Qfalse, and Qtrue.

Referenced by cv_i(), rb_cv_get(), rb_cv_set(), rb_define_class_variable(), rb_mod_cvar_get(), rb_mod_cvar_set(), and rb_mod_remove_cvar().

int rb_is_const_id ID   ) 
 

Definition at line 10139 of file parse.c.

References ID, is_const_id, Qfalse, and Qtrue.

Referenced by fc_i(), inspect_struct(), make_struct(), rb_attr(), rb_autoload(), rb_define_const(), rb_eval(), rb_mod_const_defined(), rb_mod_const_get(), rb_mod_const_set(), rb_mod_remove_const(), and sv_i().

int rb_is_instance_id ID   ) 
 

Definition at line 10155 of file parse.c.

References ID, is_instance_id, Qfalse, and Qtrue.

Referenced by inspect_i(), ivar_i(), rb_obj_ivar_get(), rb_obj_ivar_set(), and rb_obj_remove_instance_variable().

int rb_is_junk_id ID   ) 
 

Definition at line 10171 of file parse.c.

References ID, is_junk_id, Qfalse, and Qtrue.

int rb_is_local_id ID   ) 
 

Definition at line 10163 of file parse.c.

References ID, is_local_id, Qfalse, and Qtrue.

Referenced by inspect_struct(), make_struct(), rb_attr(), rb_f_local_variables(), and rb_thread_yield().

VALUE rb_lastline_get void   ) 
 

Definition at line 10215 of file parse.c.

References Qnil, rb_svar(), and VALUE.

Referenced by Init_IO(), rb_io_print(), rb_reg_match2(), rb_thread_restore_context(), rb_thread_save_context(), and uscore_get().

void rb_lastline_set VALUE   ) 
 

Definition at line 10225 of file parse.c.

References rb_svar(), special_local_set(), and VALUE.

Referenced by Init_IO(), rb_f_chomp(), rb_f_chop(), rb_f_gets(), rb_f_gsub(), rb_f_sub(), rb_gets(), rb_io_gets_m(), rb_thread_restore_context(), and rb_thread_save_context().

void rb_parser_append_print void   ) 
 

Definition at line 9798 of file parse.c.

References block_append(), NEW_ARRAY, NEW_FCALL, NEW_GVAR, rb_intern(), and ruby_eval_tree.

Referenced by ruby_process_options().

void rb_parser_while_loop int  ,
int 
 

Definition at line 9807 of file parse.c.

References block_append(), NEW_CALL, NEW_GASGN, NEW_GVAR, NEW_OPT_N, rb_intern(), and ruby_eval_tree.

Referenced by ruby_process_options().

VALUE rb_sym_all_symbols void   ) 
 

Definition at line 10130 of file parse.c.

References st_table::num_entries, rb_ary_new2(), st_foreach(), sym_tbl, symbols_i(), and VALUE.

Referenced by Init_Object().

int ruby_parser_stack_on_heap void   ) 
 

Definition at line 9770 of file parse.c.

References Qfalse, and Qtrue.

Referenced by gc_sweep(), and load_file().

int ruby_yyparse void   ) 
 


Variable Documentation

RUBY_EXTERN char* ruby_sourcefile
 

Definition at line 361 of file intern.h.

Referenced by backtrace(), call_trace_func(), e_option_supplied(), err_position(), error_pos(), error_print(), eval(), gc_sweep(), gettable(), load_file(), pipe_open(), proc_options(), rb_eval_string(), rb_load(), rb_longjmp(), rb_newobj(), rb_node_newnode(), rb_require_safe(), ruby_prog_init(), ruby_script(), ruby_set_current_source(), and yycompile().

RUBY_EXTERN int ruby_sourceline
 

Definition at line 360 of file intern.h.

Referenced by backtrace(), call_trace_func(), err_position(), error_pos(), error_print(), eval(), gettable(), heredoc_restore(), load_file(), nextc(), parse_string(), parser_warn(), parser_warning(), pipe_open(), rb_compile_file(), rb_compile_string(), rb_longjmp(), rb_newobj(), rb_node_newnode(), rb_require_safe(), ruby_set_current_source(), void_expr0(), and yyparse().


Generated on Wed Jan 18 23:32:13 2006 for Ruby by doxygen 1.3.5