Ruby
1.9.3p551(2014-11-13revision48407)
|
#include <psych.h>
Go to the source code of this file.
Variables | |
VALUE | cPsychEmitter |
static ID | id_write |
static ID | id_line_width |
static ID | id_indentation |
static ID | id_canonical |
Definition at line 405 of file emitter.c.
References Check_Type, Data_Get_Struct, emit(), NIL_P, NULL, rb_str_export_to_enc(), rb_utf8_encoding(), StringValuePtr, and T_STRING.
Definition at line 32 of file emitter.c.
References Data_Wrap_Struct(), dealloc(), and xmalloc.
Referenced by Init_psych_emitter().
Definition at line 446 of file emitter.c.
References Data_Get_Struct, Qfalse, and Qtrue.
Referenced by Init_psych_emitter(), and initialize().
|
static |
Definition at line 9 of file emitter.c.
References rb_eRuntimeError, and rb_raise().
Referenced by alias(), end_document(), end_mapping(), end_sequence(), end_stream(), scalar(), start_document(), start_mapping(), start_sequence(), and start_stream().
Definition at line 197 of file emitter.c.
References Data_Get_Struct, and emit().
Referenced by Init_psych_emitter().
Definition at line 386 of file emitter.c.
References Data_Get_Struct, and emit().
Referenced by Init_psych_emitter().
Definition at line 319 of file emitter.c.
References Data_Get_Struct, and emit().
Referenced by Init_psych_emitter().
Definition at line 100 of file emitter.c.
References Data_Get_Struct, and emit().
Referenced by Init_psych_emitter().
Definition at line 473 of file emitter.c.
References Data_Get_Struct, and INT2NUM().
Referenced by Init_psych_emitter().
void Init_psych_emitter | ( | ) |
Definition at line 507 of file emitter.c.
References alias, allocate(), canonical(), cPsychEmitter, end_document(), end_mapping(), end_sequence(), end_stream(), id_canonical, id_indentation, id_line_width, id_write, indentation(), initialize(), line_width(), rb_cObject, rb_define_alloc_func(), rb_define_class_under(), rb_define_method(), rb_define_module(), rb_intern, scalar(), set_canonical(), set_indentation(), set_line_width(), start_document(), start_mapping(), start_sequence(), and start_stream().
Referenced by Init_psych().
Definition at line 49 of file emitter.c.
References canonical(), Data_Get_Struct, id_canonical, id_indentation, id_line_width, io, line_width(), NUM2INT, Qtrue, rb_funcall(), rb_scan_args(), and writer().
Referenced by Init_psych_emitter().
Definition at line 485 of file emitter.c.
References Data_Get_Struct, and INT2NUM().
Referenced by Init_psych_emitter(), and initialize().
|
static |
Definition at line 217 of file emitter.c.
References Check_Type, Data_Get_Struct, emit(), NIL_P, NULL, NUM2INT, rb_str_export_to_enc(), rb_utf8_encoding(), RSTRING_LEN, StringValuePtr, and T_STRING.
Referenced by Init_psych_emitter(), and syck_out_scalar().
Definition at line 432 of file emitter.c.
References Data_Get_Struct, and Qtrue.
Referenced by Init_psych_emitter().
Definition at line 459 of file emitter.c.
References Data_Get_Struct, level, and NUM2INT.
Referenced by Init_psych_emitter().
Definition at line 497 of file emitter.c.
References Data_Get_Struct, and NUM2INT.
Referenced by Init_psych_emitter().
Definition at line 120 of file emitter.c.
References Check_Type, Data_Get_Struct, emit(), i, major, minor, name, NULL, NUM2INT, RARRAY_LEN, RARRAY_PTR(), rb_ary_entry(), rb_eRuntimeError, rb_raise(), rb_str_export_to_enc(), rb_utf8_encoding(), RTEST, StringValuePtr, T_ARRAY, value, xcalloc, and xfree.
Referenced by Init_psych_emitter().
|
static |
Definition at line 339 of file emitter.c.
References Check_Type, Data_Get_Struct, emit(), NIL_P, NULL, NUM2INT, rb_str_export_to_enc(), rb_utf8_encoding(), StringValuePtr, and T_STRING.
Referenced by Init_psych_emitter().
|
static |
Definition at line 274 of file emitter.c.
References Check_Type, Data_Get_Struct, emit(), NIL_P, NULL, NUM2INT, rb_str_export_to_enc(), rb_utf8_encoding(), StringValuePtr, and T_STRING.
Referenced by Init_psych_emitter().
Definition at line 80 of file emitter.c.
References Check_Type, Data_Get_Struct, emit(), NUM2INT, and T_FIXNUM.
Referenced by Init_psych_emitter().
Definition at line 15 of file emitter.c.
References id_write, io, NUM2INT, rb_funcall(), rb_str_new(), and str.
Referenced by initialize().
VALUE cPsychEmitter |
Definition at line 3 of file emitter.c.
Referenced by Init_psych_emitter().
|
static |
Definition at line 7 of file emitter.c.
Referenced by Init_psych_emitter(), and initialize().
|
static |
Definition at line 6 of file emitter.c.
Referenced by Init_psych_emitter(), and initialize().
|
static |
Definition at line 5 of file emitter.c.
Referenced by Init_psych_emitter(), and initialize().
|
static |
Definition at line 4 of file emitter.c.
Referenced by Init_psych_emitter(), and writer().