Crate sizzle_parser

Source
Expand description

Pythonic SSZ definition parser.

Modules§

tysys
Core type system expressions.

Structs§

AliasDef
Type alias definition.
ClassDef
Class definition.
ClassFieldDef
Class field definition.
ConstName
A const name.
FieldName
A field name.
Identifier
Identifiers are generic blobs of textual-ish that are not keywords.
LineColPos
Describes a line and column position in some source string.
PosTbl
A table of line and column positions for a source string.
SrcPos
A source position.
SrcSpan
A source span.
SszSchema
High level SSZ schema.
TypeName
A type name.

Enums§

SszError
Represents an error from any of the phases of parsing a raw schema.
TaggedToken
Token with a tag.
TaggedToktr
Token tree with a tag.

Functions§

parse_str_schema
High-level parse function.

Type Aliases§

Token
Token without an empty tag value.
Toktr
Token tree with an empty tag value.