Crate barkml

Source

Structs§

Location
Metadata
Stores the metadata associated with a value or statement currently supports a !label and a # Comment
Parser
Scope
Scope is used to resolve a parent statement (should be a module) to replace all macros with their appropriate values
StandardLoader
This is the standard barkml loader. It supports multiple methodologies of reading and combining barkml files.
Statement
Represents top-level statements and groupings
Value
Represents an individual value

Enums§

Data
Stores the actual in-memory data for a value
Error
HashableFloat
Integer
Stores the integer with precision retained
StatementData
Contains the actual set of data for a statement
StatementType
Represents the type of a statement
Token
Represents the allowed tokens in a barkml file
ValueType
Defines the type of a given value
Walk
Implements a statement walker for easily fetching data out of barkml statements and values. It is recommended to use this after you have used a standard loader as it is far easier to get data and gives users flexibility in how to define the contents of a barkml file.

Traits§

Loader
LoaderInterface defines the shared interface for structs that can read and load barkml files.

Functions§

from_str
Load a simple inline string as the main module and return the statement