Lines Matching refs:Syn
9 Syn is a parsing library for parsing a stream of Rust tokens into a syntax tree
15 - **Data structures** — Syn provides a complete syntax tree that can represent
26 - **Parsing** — Parsing in Syn is built around [parser functions] with the
28 Syn is individually parsable and may be used as a building block for custom
32 - **Location information** — Every token parsed by Syn is associated with a
49 *Version requirement: Syn supports rustc 1.31 and up.*
60 into the Syn documentation as you work through each project.
68 The canonical derive macro using Syn looks like this. We write an ordinary Rust
150 macro as shown in the `heapsize` example, token-based macros in Syn are able to
167 Syn's parsing API.
229 Syn puts a lot of functionality behind optional features in order to optimize
255 Syn operates on the token representation provided by the [proc-macro2] crate
257 directly. This enables code using Syn to execute outside of the context of a