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