Handbook
Glossary
node_data
Vocabulary
yaml
.
ffi
Definition
USING:
classes.struct
;
IN:
yaml.ffi
UNION-STRUCT:
node_data
{
scalar
scalar_node_data
initial:
S{
scalar_node_data
{
value
f
}
{
length 0
}
{
style
YAML_ANY_SCALAR_STYLE
}
}
}
{
sequence
sequence_node_data
initial:
S{
sequence_node_data
{
items
S{
sequence_node_data_items
{
start
f
}
{
end
f
}
{
top
f
}
}
}
{
style
YAML_ANY_SEQUENCE_STYLE
}
}
}
{
mapping
mapping_node_data
initial:
S{
mapping_node_data
{
pairs
S{
mapping_node_data_pairs
{
start
f
}
{
end
f
}
{
top
f
}
}
}
{
style
YAML_ANY_MAPPING_STYLE
}
}
}
;
Methods
USING:
classes.struct
classes.struct.private
kernel
yaml.ffi
;
M:
node_data
clone
clone-underlying
\
node_data
memory>struct
;
inline
USING:
accessors
classes.struct
combinators.smart
yaml.ffi
;
M:
node_data
struct-slot-values
{
[
scalar>>
]
[
sequence>>
]
[
mapping>>
]
}
cleave>array
;
inline