Expand description
This library parses Cyphal data structure definition language (DSDL) files.
Re-exports§
pub extern crate num_bigint;pub extern crate num_rational;
Structs§
- Array
Type - An array type, with an element type and length
- Definition
- The top-level abstract syntax tree of a DSDL file
- Error
- A parse error
- Expression
- An expression and its associated span
- Identifier
- An identifier
- Literal
- A literal value
- Span
- A range of characters in the input text
- Type
Version - The version of a versioned type
- Versioned
Type - A composite type with a name and version
Enums§
- Array
Length - A range of allowed array lengths
- Cast
Mode - Cast modes for numeric values
- Expression
Atom - An atom (single value in an expression)
- Expression
Type - An expression
- Literal
Type - A literal value
- Primitive
Type - A primitive type
- Scalar
Type - Scalar types (single values)
- Statement
- A statement in a DSDL file
- Type
- A type
Functions§
- make_
error - Convenience function to make an error value with a custom message
- parse
- Attempts to parse the text of a DSDL file into an abstract syntax tree