Handbook
Glossary
yaml_node_t
Vocabulary
yaml
.
ffi
Definition
USING:
alien.c-types
classes.struct
;
IN:
yaml.ffi
STRUCT:
yaml_node_t
{
type
yaml_node_type_t
}
{
tag
c-string
}
{
data
node_data
initial:
S{
node_data
{
scalar
S{
scalar_node_data
{
value
f
}
{
length 0
}
{
style
YAML_ANY_SCALAR_STYLE
}
}
}
{
sequence
S{
sequence_node_data
{
items
S{
sequence_node_data_items
{
start
f
}
{
end
f
}
{
top
f
}
}
}
{
style
YAML_ANY_SEQUENCE_STYLE
}
}
}
{
mapping
S{
mapping_node_data
{
pairs
S{
mapping_node_data_pairs
{
start
f
}
{
end
f
}
{
top
f
}
}
}
{
style
YAML_ANY_MAPPING_STYLE
}
}
}
}
}
{
start_mark
yaml_mark_t
initial:
S{
yaml_mark_t
{
index 0
}
{
line 0
}
{
column 0
}
}
}
{
end_mark
yaml_mark_t
initial:
S{
yaml_mark_t
{
index 0
}
{
line 0
}
{
column 0
}
}
}
;
Methods
USING:
classes.struct
classes.struct.private
kernel
yaml.ffi
;
M:
yaml_node_t
clone
clone-underlying
\
yaml_node_t
memory>struct
;
inline
USING:
accessors
classes.struct
combinators.smart
yaml.ffi
;
M:
yaml_node_t
struct-slot-values
{
[
type>>
]
[
tag>>
]
[
data>>
]
[
start_mark>>
]
[
end_mark>>
]
}
cleave>array
;
inline