Ruby  2.1.3p242(2014-09-19revision47630)
Data Fields
yaml_node_s Struct Reference

The node structure. More...

#include <yaml.h>

Data Fields

yaml_node_type_t type
 The node type.
 
yaml_char_t * tag
 The node tag.
 
union {
   struct {
      yaml_char_t *   value
 The scalar value.
 
      size_t   length
 The length of the scalar value.
 
      yaml_scalar_style_t   style
 The scalar style.
 
   }   scalar
 
   struct {
      struct {
         yaml_node_item_t *   start
 The beginning of the stack.
 
         yaml_node_item_t *   end
 The end of the stack.
 
         yaml_node_item_t *   top
 The top of the stack.
 
      }   items
 
      yaml_sequence_style_t   style
 The sequence style.
 
   }   sequence
 
   struct {
      struct {
         yaml_node_pair_t *   start
 The beginning of the stack.
 
         yaml_node_pair_t *   end
 The end of the stack.
 
         yaml_node_pair_t *   top
 The top of the stack.
 
      }   pairs
 
      yaml_mapping_style_t   style
 The mapping style.
 
   }   mapping
 
} data
 
yaml_mark_t start_mark
 The beginning of the node.
 
yaml_mark_t end_mark
 The end of the node.
 

Detailed Description

The node structure.

Definition at line 717 of file yaml.h.

Field Documentation

union { ... } yaml_node_s::data
yaml_node_item_t* yaml_node_s::end

The end of the stack.

Definition at line 745 of file yaml.h.

yaml_node_pair_t* yaml_node_s::end

The end of the stack.

Definition at line 760 of file yaml.h.

yaml_mark_t yaml_node_s::end_mark

The end of the node.

Definition at line 773 of file yaml.h.

Referenced by yaml_parser_load_mapping(), and yaml_parser_load_sequence().

struct { ... } yaml_node_s::items
size_t yaml_node_s::length

The length of the scalar value.

Definition at line 733 of file yaml.h.

struct { ... } yaml_node_s::mapping
struct { ... } yaml_node_s::pairs
struct { ... } yaml_node_s::scalar
struct { ... } yaml_node_s::sequence
yaml_node_item_t* yaml_node_s::start

The beginning of the stack.

Definition at line 743 of file yaml.h.

Referenced by yaml_document_add_mapping(), yaml_document_add_sequence(), yaml_parser_load_mapping(), and yaml_parser_load_sequence().

yaml_node_pair_t* yaml_node_s::start

The beginning of the stack.

Definition at line 758 of file yaml.h.

yaml_mark_t yaml_node_s::start_mark

The beginning of the node.

Definition at line 771 of file yaml.h.

Referenced by yaml_parser_register_anchor().

yaml_scalar_style_t yaml_node_s::style

The scalar style.

Definition at line 735 of file yaml.h.

yaml_sequence_style_t yaml_node_s::style

The sequence style.

Definition at line 750 of file yaml.h.

yaml_mapping_style_t yaml_node_s::style

The mapping style.

Definition at line 765 of file yaml.h.

yaml_char_t* yaml_node_s::tag
yaml_node_item_t* yaml_node_s::top

The top of the stack.

Definition at line 747 of file yaml.h.

yaml_node_pair_t* yaml_node_s::top

The top of the stack.

Definition at line 762 of file yaml.h.

yaml_node_type_t yaml_node_s::type
yaml_char_t* yaml_node_s::value

The scalar value.

Definition at line 731 of file yaml.h.


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