Crate laps_macros

Source
Expand description

Macros for crate laps, including derive macros and other helper macros.

Macros§

token_ast
Generates ASTs for tokens, also generates a macro for referencing AST types.

Attribute Macros§

token_kind
Implements From, TryFrom and Display trait for token kind enums.

Derive Macros§

Parse
Generates the Parse trait implementation.
Spanned
Generates the Spanned trait implementation.
Tokenize
Generates the Tokenize trait implementation for token kinds. This macro can only be applied to enums.