Handbook
Glossary
yaml_emitter_t
Vocabulary
yaml
.
ffi
Definition
USING:
alien.c-types
classes.struct
;
IN:
yaml.ffi
STRUCT:
yaml_emitter_t
{
error
yaml_error_type_t
}
{
problem
c-string
}
{
write_handler yaml_write_handler_t*
}
{
write_handler_data void*
}
{
output
yaml_emitter_output
initial:
S{
yaml_emitter_output
{
string
S{
yaml_emitter_output_string
{
buffer
f
}
{
size 0
}
{
size_written
f
}
}
}
{
file
f
}
}
}
{
buffer
yaml_emitter_buffer
initial:
S{
yaml_emitter_buffer
{
start
f
}
{
end
f
}
{
pointer
f
}
{
last
f
}
}
}
{
raw_buffer
yaml_emitter_raw_buffer
initial:
S{
yaml_emitter_raw_buffer
{
start
f
}
{
end
f
}
{
pointer
f
}
{
last
f
}
}
}
{
encoding
yaml_encoding_t
}
{
canonical
int
initial:
0
}
{
best_indent
int
initial:
0
}
{
best_width
int
initial:
0
}
{
unicode
int
initial:
0
}
{
line_break
yaml_break_t
}
{
states
yaml_emitter_states
initial:
S{
yaml_emitter_states
{
start
f
}
{
end
f
}
{
top
f
}
}
}
{
state
yaml_emitter_state_t
}
{
events
yaml_emitter_events
initial:
S{
yaml_emitter_events
{
start
f
}
{
end
f
}
{
head
f
}
{
tail
f
}
}
}
{
indents
yaml_emitter_indents
initial:
S{
yaml_emitter_indents
{
start
f
}
{
end
f
}
{
top
f
}
}
}
{
tag_directives
yaml_emitter_tag_directives
initial:
S{
yaml_emitter_tag_directives
{
start
f
}
{
end
f
}
{
top
f
}
}
}
{
indent
int
initial:
0
}
{
flow_level
int
initial:
0
}
{
root_context
int
initial:
0
}
{
sequence_context
int
initial:
0
}
{
mapping_context
int
initial:
0
}
{
simple_key_context
int
initial:
0
}
{
line
int
initial:
0
}
{
column
int
initial:
0
}
{
whitespace
int
initial:
0
}
{
indention
int
initial:
0
}
{
open_ended
int
initial:
0
}
{
anchor_data
yaml_emitter_anchor_data
initial:
S{
yaml_emitter_anchor_data
{
anchor
f
}
{
anchor_length 0
}
{
alias 0
}
}
}
{
tag_data
yaml_emitter_tag_data
initial:
S{
yaml_emitter_tag_data
{
handle
f
}
{
handle_length 0
}
{
suffix
f
}
{
suffix_length 0
}
}
}
{
scalar_data
yaml_emitter_scalar_data
initial:
S{
yaml_emitter_scalar_data
{
value
f
}
{
length 0
}
{
multiline 0
}
{
flow_plain_allowed 0
}
{
block_plain_allowed 0
}
{
single_quoted_allowed 0
}
{
block_allowed 0
}
{
style
YAML_ANY_SCALAR_STYLE
}
}
}
{
opened
int
initial:
0
}
{
closed
int
initial:
0
}
{
anchors yaml_emitter_anchors*
}
{
last_anchor_id
int
initial:
0
}
{
document yaml_document_t*
}
;
Methods
USING:
classes.struct
classes.struct.private
kernel
yaml.ffi
;
M:
yaml_emitter_t
clone
clone-underlying
\
yaml_emitter_t
memory>struct
;
inline
USING:
accessors
classes.struct
combinators.smart
yaml.ffi
;
M:
yaml_emitter_t
struct-slot-values
{
[
error>>
]
[
problem>>
]
[
write_handler>>
]
[
write_handler_data>>
]
[
output>>
]
[
buffer>>
]
[
raw_buffer>>
]
[
encoding>>
]
[
canonical>>
]
[
best_indent>>
]
[
best_width>>
]
[
unicode>>
]
[
line_break>>
]
[
states>>
]
[
state>>
]
[
events>>
]
[
indents>>
]
[
tag_directives>>
]
[
indent>>
]
[
flow_level>>
]
[
root_context>>
]
[
sequence_context>>
]
[
mapping_context>>
]
[
simple_key_context>>
]
[
line>>
]
[
column>>
]
[
whitespace>>
]
[
indention>>
]
[
open_ended>>
]
[
anchor_data>>
]
[
tag_data>>
]
[
scalar_data>>
]
[
opened>>
]
[
closed>>
]
[
anchors>>
]
[
last_anchor_id>>
]
[
document>>
]
}
cleave>array
;
inline