Crate ladfile

Source
Expand description

Parsing definitions for the LAD (Language Agnostic Decleration) file format.

Structs§

LadArgument
An argument definition used in a LAD file.
LadBMSPrimitiveType
A BMS primitive definition
LadField
A field definition used in a LAD file.
LadFile
A Language Agnostic Declaration (LAD) file.
LadFileBuilder
A builder for constructing LAD files. This should be your preferred way of constructing LAD files.
LadFunction
A function definition used in a LAD file.
LadFunctionId
A unique identifier for a function in a LAD file. Only unique within the LAD file.
LadGeneric
A generic type definition used in a LAD file.
LadInstance
A LAD global instance
LadNamedField
A named field definition used in a LAD file.
LadType
A type definition used in a LAD file.
LadTypeId
A unique identifier for a type in a LAD file.

Enums§

LadArgumentKind
The kind of an argument in a LAD file.
LadBMSPrimitiveKind
A primitive type kind in the LAD file format.
LadFunctionNamespace
A function namespace used in a LAD file.
LadTypeLayout
Description of a type layout in a LAD file.
LadVariant
A variant definition used in a LAD file.

Functions§

parse_lad_file
Parses a toml string into a LAD file.
serialize_lad_file
Serializes a LAD file into a toml file.