Docs.rs
teleparse-macros-0.0.5
teleparse-macros 0.0.5
Permalink
Docs.rs crate page
MIT
Links
Repository
crates.io
Source
Owners
Pistonight
Dependencies
proc-macro-crate ^3.2.0
normal
proc-macro2 ^1.0.92
normal
quote ^1.0.38
normal
regex ^1.11.1
normal
syn ^2.0.92
normal
Versions
100%
of the crate is documented
Platform
x86_64-unknown-linux-gnu
Feature flags
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
teleparse_
macros
0.0.5
All Items
Sections
teleparse-macros
Crate Items
Attribute Macros
Derive Macros
Crate
teleparse_macros
Copy item path
Source
Expand description
§
teleparse-macros
These are for use with the
teleparse
crate and not meant to be used standalone.
Attribute Macros
§
derive_
lexicon
Transform an enum into a token type (a lexicon)
derive_
syntax
Transform an enum or struct into a parse tree node, as well as deriving the production rule (the AST nodes)
Derive Macros
§
Node
Derive common traits for AST helper nodes (stores a Node as its first thing)
ToSpan
Derive ToSpan from a type that stores a ToSpan as its first thing