Lines Matching refs:node
630 #define NODE_INIT(node,node_type,node_tag,node_start_mark,node_end_mark) \ argument
631 (memset(&(node), 0, sizeof(yaml_node_t)), \
632 (node).type = (node_type), \
633 (node).tag = (node_tag), \
634 (node).start_mark = (node_start_mark), \
635 (node).end_mark = (node_end_mark))
637 #define SCALAR_NODE_INIT(node,node_tag,node_value,node_length, \ argument
639 (NODE_INIT((node),YAML_SCALAR_NODE,(node_tag),(start_mark),(end_mark)), \
640 (node).data.scalar.value = (node_value), \
641 (node).data.scalar.length = (node_length), \
642 (node).data.scalar.style = (node_style))
644 #define SEQUENCE_NODE_INIT(node,node_tag,node_items_start,node_items_end, \ argument
646 (NODE_INIT((node),YAML_SEQUENCE_NODE,(node_tag),(start_mark),(end_mark)), \
647 (node).data.sequence.items.start = (node_items_start), \
648 (node).data.sequence.items.end = (node_items_end), \
649 (node).data.sequence.items.top = (node_items_start), \
650 (node).data.sequence.style = (node_style))
652 #define MAPPING_NODE_INIT(node,node_tag,node_pairs_start,node_pairs_end, \ argument
654 (NODE_INIT((node),YAML_MAPPING_NODE,(node_tag),(start_mark),(end_mark)), \
655 (node).data.mapping.pairs.start = (node_pairs_start), \
656 (node).data.mapping.pairs.end = (node_pairs_end), \
657 (node).data.mapping.pairs.top = (node_pairs_start), \
658 (node).data.mapping.style = (node_style))