Module syntax::ext::quote::rt [−][src]
Quasiquoting works via token trees.
This is registered as a set of expression syntax extension called quote!
that lifts its argument token-tree to an AST representing the
construction of the same token tree, with token::SubstNt
interpreted
as antiquotes (splices).
Re-exports
pub use parse::new_parser_from_tts; |
pub use codemap::dummy_spanned; |
Structs
BytePos |
A byte offset. Keep this small (currently 32-bits), as AST contains a lot of them. |
Span |
A compressed span.
Contains either fields of |
Enums
FileName |
Differentiates between real files and common virtual files |
Constants
DUMMY_SP |
Dummy span, both position and length are zero, syntax context is zero as well. This span is kept inline and encoded with format 0. |
Traits
ExtParseUtils | |
ToTokens |