[][src]Module frame_support_procedural_tools::syn_ext

Extension to syn types, mainly for parsing

Structs

Braces
Brackets
Meta

Note that syn Meta is almost fine for use case (lacks only ToToken)

NoTrailing
OuterAttributes
Parens
PunctuatedInner
StopParse

stop parsing here getting remaining token as content Warn duplicate stream (part of)

Trailing

Functions

expr_contains_ident

Check if a Expr contains the given Ident.

extract_type_option
type_contains_ident

Check if a Type contains the given Ident.

Type Definitions

Punctuated
PunctuatedTrailing