Skip to main content

Module specs

Module specs 

Source
Expand description

Shared spec types.

This crate hosts:

  • PackageSpecs: parsed YAML package specs (owned, merge-ready)
  • builtin records generated at compile time
  • active records assembled by the knowledge base at runtime

Structs§

ActiveCharacterRecord
ActiveCommandRecord
ActiveDelimiterRecord
ActiveEnvironmentRecord
ArgSpec
ArgSpecParseError
BuiltinCharacterAttributes
BuiltinCharacterRecord
BuiltinCommandRecord
BuiltinDelimiterRecord
BuiltinEnvironmentRecord
CharacterAttributes
CharacterSpec
CommandSpec
DelimiterSpec
EnvironmentSpec
OwnedArgSpec
Owned counterpart of ParsedArgSpec for runtime-loaded specs (e.g. YAML).
PackageSpecs
ParsedArgSpec
A parsed argspec: the structured argument list together with the source string it was parsed from. Produced by the argspec! compile-time macro.

Enums§

AllowedMode
ArgForm
CommandKind
ContentMode
Content mode: math or text
DelimiterToken
ValueKind

Functions§

load_package_specs_from_str
parse_arg_specs