Crate laps_macros
source ·Expand description
Macros for crate laps
,
including derive macros and other helper macros.
Macros
- Generates ASTs for tokens, also generates a macro for referencing AST types.
Attribute Macros
Derive Macros
- Generates the
Parse
trait implementation. - Generates the
Spanned
trait implementation. - Generates the
Tokenize
trait implementation for token kinds. This macro can only be applied toenum
s.