Expand description
LCM type definition file parser
Structs§
Enums§
Functions§
- block_
comment - Match a C-style comment
- const_
decl - Parse a const declaration, inside a struct. (doesn’t handle the semicolon or preceding whitespace)
- const_
value - Parse a const value of the given type.
- field_
decl - Parse a field declaration, inside a struct, including array dimensions. (doesn’t handle the semicolon or preceding whitespace)
- field_
type - Parse the type part of a field decl.
- ident
- Names that can be used for structs, packages, or fields
- line_
comment - Match a C++-style comment
- package_
decl - Parse a package line, not including the semicolon.
- primitive_
type - Parse an LCM primitive type
- schema
- Parse an entire schema file
- spaced_
comma - Match a comma, optionally surrounded by spaces
- struct_
decl - Parse a whole struct declaration.
- struct_
member - ws
- Whitespace parser. This includes regular spaces, newlines, and comments.