| Modifier and Type | Interface and Description |
|---|---|
| public interface | Emitable
Define a way to serialize an event to output stream |
| pack-priv interface | EmitterState
Python's methods are first class object. |
| Modifier and Type | Class and Description |
|---|---|
| public class | Emitter
Emitter expects events obeying the following grammar: stream ::= STREAM-START document* STREAM-END document ::= DOCUMENT-START node DOCUMENT-END node ::= SCALAR | sequence | mapping sequence ::= SEQUENCE-START node* SEQUENCE-END mapping ::= MAPPING-START (node node)* MAPPING-END |
| public class | EmitterException
For emitter |
| public class | ScalarAnalysis
Accumulate information to choose the scalar style |