Crate sise[−][src]
Expand description
SISE (Simple S-expression) is a file format based on S-expressions.
Minimum Rust version
The minimum Rust version required by this crate is 1.42.
Macros
Macro to define trees of nodes with a lighter syntax.
Structs
Utility to read atom nodes.
Position of a byte in the source file.
Writer that writes everything into a single line string.
Read util list
Parser that decodes a SISE file from memory.
Items produced by readers that implement Reader
.
Writer that writes everything into a multi-line string.
Reader that allows reading from a tree of Node
.
A writer that creates a tree of Node
.
Enums
A SISE node.
Utility to read nodes from a Reader
.
Represents a parse error.
Traits
Trait to represent multi-line write options, that may
be honored or ignored depending on the writer. Types used for
Writer::AtomOptions
, Writer::BeginListOptions
,
Writer::EndListOptions
and Writer::FinishOptions
shall
implement this trait and ignore unsupported options.
A trait to allow reading SISE nodes from a generic source.
A trait to allow writing SISE nodes into a generic destination.
Functions
Checks whether atom
is a valid atom (i.e. matches the regular
expression documented at Node::Atom
).
Returns whether chr
is a valid atom character outside a
string (i.e. one of :atomchar:
documented at Node::Atom
).
Returns whether chr
is a valid atom character inside a
string, excluding "
and \
(i.e. one of :stringchar:
documented at Node::Atom
).
Reads from reader
and builds a tree of Node
.
Write the tree of nodes root_node
into writer
.