Trait syn::visit::Visit [−][src]
Syntax tree traversal to walk a shared borrow of a syntax tree.
See the module documentation for details.
This trait is available only if Syn is built with the "visit"
feature.
Provided methods
fn visit_abi(&mut self, i: &'ast Abi)
[src]
fn visit_angle_bracketed_generic_arguments(
&mut self,
i: &'ast AngleBracketedGenericArguments
)
[src]
&mut self,
i: &'ast AngleBracketedGenericArguments
)
fn visit_arm(&mut self, i: &'ast Arm)
[src]
fn visit_attr_style(&mut self, i: &'ast AttrStyle)
[src]
fn visit_attribute(&mut self, i: &'ast Attribute)
[src]
fn visit_bare_fn_arg(&mut self, i: &'ast BareFnArg)
[src]
fn visit_bin_op(&mut self, i: &'ast BinOp)
[src]
fn visit_binding(&mut self, i: &'ast Binding)
[src]
fn visit_block(&mut self, i: &'ast Block)
[src]
fn visit_bound_lifetimes(&mut self, i: &'ast BoundLifetimes)
[src]
fn visit_const_param(&mut self, i: &'ast ConstParam)
[src]
fn visit_constraint(&mut self, i: &'ast Constraint)
[src]
fn visit_data(&mut self, i: &'ast Data)
[src]
fn visit_data_enum(&mut self, i: &'ast DataEnum)
[src]
fn visit_data_struct(&mut self, i: &'ast DataStruct)
[src]
fn visit_data_union(&mut self, i: &'ast DataUnion)
[src]
fn visit_derive_input(&mut self, i: &'ast DeriveInput)
[src]
fn visit_expr(&mut self, i: &'ast Expr)
[src]
fn visit_expr_array(&mut self, i: &'ast ExprArray)
[src]
fn visit_expr_assign(&mut self, i: &'ast ExprAssign)
[src]
fn visit_expr_assign_op(&mut self, i: &'ast ExprAssignOp)
[src]
fn visit_expr_async(&mut self, i: &'ast ExprAsync)
[src]
fn visit_expr_await(&mut self, i: &'ast ExprAwait)
[src]
fn visit_expr_binary(&mut self, i: &'ast ExprBinary)
[src]
fn visit_expr_block(&mut self, i: &'ast ExprBlock)
[src]
fn visit_expr_box(&mut self, i: &'ast ExprBox)
[src]
fn visit_expr_break(&mut self, i: &'ast ExprBreak)
[src]
fn visit_expr_call(&mut self, i: &'ast ExprCall)
[src]
fn visit_expr_cast(&mut self, i: &'ast ExprCast)
[src]
fn visit_expr_closure(&mut self, i: &'ast ExprClosure)
[src]
fn visit_expr_continue(&mut self, i: &'ast ExprContinue)
[src]
fn visit_expr_field(&mut self, i: &'ast ExprField)
[src]
fn visit_expr_for_loop(&mut self, i: &'ast ExprForLoop)
[src]
fn visit_expr_group(&mut self, i: &'ast ExprGroup)
[src]
fn visit_expr_if(&mut self, i: &'ast ExprIf)
[src]
fn visit_expr_index(&mut self, i: &'ast ExprIndex)
[src]
fn visit_expr_let(&mut self, i: &'ast ExprLet)
[src]
fn visit_expr_lit(&mut self, i: &'ast ExprLit)
[src]
fn visit_expr_loop(&mut self, i: &'ast ExprLoop)
[src]
fn visit_expr_macro(&mut self, i: &'ast ExprMacro)
[src]
fn visit_expr_match(&mut self, i: &'ast ExprMatch)
[src]
fn visit_expr_method_call(&mut self, i: &'ast ExprMethodCall)
[src]
fn visit_expr_paren(&mut self, i: &'ast ExprParen)
[src]
fn visit_expr_path(&mut self, i: &'ast ExprPath)
[src]
fn visit_expr_range(&mut self, i: &'ast ExprRange)
[src]
fn visit_expr_reference(&mut self, i: &'ast ExprReference)
[src]
fn visit_expr_repeat(&mut self, i: &'ast ExprRepeat)
[src]
fn visit_expr_return(&mut self, i: &'ast ExprReturn)
[src]
fn visit_expr_struct(&mut self, i: &'ast ExprStruct)
[src]
fn visit_expr_try(&mut self, i: &'ast ExprTry)
[src]
fn visit_expr_try_block(&mut self, i: &'ast ExprTryBlock)
[src]
fn visit_expr_tuple(&mut self, i: &'ast ExprTuple)
[src]
fn visit_expr_type(&mut self, i: &'ast ExprType)
[src]
fn visit_expr_unary(&mut self, i: &'ast ExprUnary)
[src]
fn visit_expr_unsafe(&mut self, i: &'ast ExprUnsafe)
[src]
fn visit_expr_while(&mut self, i: &'ast ExprWhile)
[src]
fn visit_expr_yield(&mut self, i: &'ast ExprYield)
[src]
fn visit_field(&mut self, i: &'ast Field)
[src]
fn visit_field_pat(&mut self, i: &'ast FieldPat)
[src]
fn visit_field_value(&mut self, i: &'ast FieldValue)
[src]
fn visit_fields(&mut self, i: &'ast Fields)
[src]
fn visit_fields_named(&mut self, i: &'ast FieldsNamed)
[src]
fn visit_fields_unnamed(&mut self, i: &'ast FieldsUnnamed)
[src]
fn visit_file(&mut self, i: &'ast File)
[src]
fn visit_fn_arg(&mut self, i: &'ast FnArg)
[src]
fn visit_foreign_item(&mut self, i: &'ast ForeignItem)
[src]
fn visit_foreign_item_fn(&mut self, i: &'ast ForeignItemFn)
[src]
fn visit_foreign_item_macro(&mut self, i: &'ast ForeignItemMacro)
[src]
fn visit_foreign_item_static(&mut self, i: &'ast ForeignItemStatic)
[src]
fn visit_foreign_item_type(&mut self, i: &'ast ForeignItemType)
[src]
fn visit_generic_argument(&mut self, i: &'ast GenericArgument)
[src]
fn visit_generic_method_argument(&mut self, i: &'ast GenericMethodArgument)
[src]
fn visit_generic_param(&mut self, i: &'ast GenericParam)
[src]
fn visit_generics(&mut self, i: &'ast Generics)
[src]
fn visit_ident(&mut self, i: &'ast Ident)
[src]
fn visit_impl_item(&mut self, i: &'ast ImplItem)
[src]
fn visit_impl_item_const(&mut self, i: &'ast ImplItemConst)
[src]
fn visit_impl_item_macro(&mut self, i: &'ast ImplItemMacro)
[src]
fn visit_impl_item_method(&mut self, i: &'ast ImplItemMethod)
[src]
fn visit_impl_item_type(&mut self, i: &'ast ImplItemType)
[src]
fn visit_index(&mut self, i: &'ast Index)
[src]
fn visit_item(&mut self, i: &'ast Item)
[src]
fn visit_item_const(&mut self, i: &'ast ItemConst)
[src]
fn visit_item_enum(&mut self, i: &'ast ItemEnum)
[src]
fn visit_item_extern_crate(&mut self, i: &'ast ItemExternCrate)
[src]
fn visit_item_fn(&mut self, i: &'ast ItemFn)
[src]
fn visit_item_foreign_mod(&mut self, i: &'ast ItemForeignMod)
[src]
fn visit_item_impl(&mut self, i: &'ast ItemImpl)
[src]
fn visit_item_macro(&mut self, i: &'ast ItemMacro)
[src]
fn visit_item_macro2(&mut self, i: &'ast ItemMacro2)
[src]
fn visit_item_mod(&mut self, i: &'ast ItemMod)
[src]
fn visit_item_static(&mut self, i: &'ast ItemStatic)
[src]
fn visit_item_struct(&mut self, i: &'ast ItemStruct)
[src]
fn visit_item_trait(&mut self, i: &'ast ItemTrait)
[src]
fn visit_item_trait_alias(&mut self, i: &'ast ItemTraitAlias)
[src]
fn visit_item_type(&mut self, i: &'ast ItemType)
[src]
fn visit_item_union(&mut self, i: &'ast ItemUnion)
[src]
fn visit_item_use(&mut self, i: &'ast ItemUse)
[src]
fn visit_label(&mut self, i: &'ast Label)
[src]
fn visit_lifetime(&mut self, i: &'ast Lifetime)
[src]
fn visit_lifetime_def(&mut self, i: &'ast LifetimeDef)
[src]
fn visit_lit(&mut self, i: &'ast Lit)
[src]
fn visit_lit_bool(&mut self, i: &'ast LitBool)
[src]
fn visit_lit_byte(&mut self, i: &'ast LitByte)
[src]
fn visit_lit_byte_str(&mut self, i: &'ast LitByteStr)
[src]
fn visit_lit_char(&mut self, i: &'ast LitChar)
[src]
fn visit_lit_float(&mut self, i: &'ast LitFloat)
[src]
fn visit_lit_int(&mut self, i: &'ast LitInt)
[src]
fn visit_lit_str(&mut self, i: &'ast LitStr)
[src]
fn visit_local(&mut self, i: &'ast Local)
[src]
fn visit_macro(&mut self, i: &'ast Macro)
[src]
fn visit_macro_delimiter(&mut self, i: &'ast MacroDelimiter)
[src]
fn visit_member(&mut self, i: &'ast Member)
[src]
fn visit_meta(&mut self, i: &'ast Meta)
[src]
fn visit_meta_list(&mut self, i: &'ast MetaList)
[src]
fn visit_meta_name_value(&mut self, i: &'ast MetaNameValue)
[src]
fn visit_method_turbofish(&mut self, i: &'ast MethodTurbofish)
[src]
fn visit_nested_meta(&mut self, i: &'ast NestedMeta)
[src]
fn visit_parenthesized_generic_arguments(
&mut self,
i: &'ast ParenthesizedGenericArguments
)
[src]
&mut self,
i: &'ast ParenthesizedGenericArguments
)