Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unify AST Visitors with a macro like MIR Visitors #128974

Open
wants to merge 145 commits into
base: master
Choose a base branch
from

Commits on Oct 11, 2024

  1. Configuration menu
    Copy the full SHA
    d49eac4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    20f1876 View commit details
    Browse the repository at this point in the history
  3. Unify visit_block

    maxcabrajac committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    a38ec03 View commit details
    Browse the repository at this point in the history
  4. Unify visit_fn_decl

    maxcabrajac committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    bf6140e View commit details
    Browse the repository at this point in the history
  5. Unify fn_ret_ty

    maxcabrajac committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    c247001 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    d0954b9 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    60596fd View commit details
    Browse the repository at this point in the history
  8. Unify visit_foreign_mod

    maxcabrajac committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    d5f5c44 View commit details
    Browse the repository at this point in the history
  9. Unify visit_mt

    maxcabrajac committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    7249d29 View commit details
    Browse the repository at this point in the history
  10. Unify visit_where_clause

    maxcabrajac committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    e720f1b View commit details
    Browse the repository at this point in the history
  11. Unify visit_enum_def

    maxcabrajac committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    fee5fae View commit details
    Browse the repository at this point in the history
  12. Formatting

    maxcabrajac committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    6281efc View commit details
    Browse the repository at this point in the history
  13. Unify visit_qself

    maxcabrajac committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    1525bd1 View commit details
    Browse the repository at this point in the history
  14. Unify visit_variant_discr

    maxcabrajac committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    3017639 View commit details
    Browse the repository at this point in the history
  15. Unify visit_arm

    maxcabrajac committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    54097ec View commit details
    Browse the repository at this point in the history
  16. Unifi visit_expr_field

    maxcabrajac committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    efc7f67 View commit details
    Browse the repository at this point in the history
  17. Unify visit_field_def

    maxcabrajac committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    4ac6831 View commit details
    Browse the repository at this point in the history
  18. Unify visit_generic_param

    maxcabrajac committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    26f4d53 View commit details
    Browse the repository at this point in the history
  19. Unify visit_param

    maxcabrajac committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    12cf84a View commit details
    Browse the repository at this point in the history
  20. Unify visit_pat_field

    maxcabrajac committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    04ac298 View commit details
    Browse the repository at this point in the history
  21. Unify visit_variant

    maxcabrajac committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    c0cd416 View commit details
    Browse the repository at this point in the history
  22. Formatting

    maxcabrajac committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    6fffde7 View commit details
    Browse the repository at this point in the history
  23. Unify walk_ident

    maxcabrajac committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    d933120 View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    160673a View commit details
    Browse the repository at this point in the history
  25. Unify walk_label

    maxcabrajac committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    921038d View commit details
    Browse the repository at this point in the history
  26. Unify walk_lifetime

    maxcabrajac committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    526ba59 View commit details
    Browse the repository at this point in the history
  27. Add try_visit! calls

    maxcabrajac committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    16a05de View commit details
    Browse the repository at this point in the history
  28. Unify walk_generic_args

    maxcabrajac committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    b2a11b4 View commit details
    Browse the repository at this point in the history
  29. Unify walk_fn_ret_ty

    maxcabrajac committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    113723b View commit details
    Browse the repository at this point in the history
  30. Unify walk_anon_const

    maxcabrajac committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    8659fad View commit details
    Browse the repository at this point in the history
  31. Unify walk_format_args

    maxcabrajac committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    ca90371 View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    70fb8e3 View commit details
    Browse the repository at this point in the history
  33. Unify walk_mt

    maxcabrajac committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    2bc8cb4 View commit details
    Browse the repository at this point in the history
  34. Add make_visit!

    maxcabrajac committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    30c4041 View commit details
    Browse the repository at this point in the history
  35. Configuration menu
    Copy the full SHA
    f24bb38 View commit details
    Browse the repository at this point in the history
  36. Add make_walk_flat_map!

    maxcabrajac committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    b540ef4 View commit details
    Browse the repository at this point in the history
  37. Unify walk_closure_binder

    maxcabrajac committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    0ffbb70 View commit details
    Browse the repository at this point in the history
  38. Unify walk_fn_decl

    maxcabrajac committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    e69500d View commit details
    Browse the repository at this point in the history
  39. Unify walk_poly_trait_ref

    maxcabrajac committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    106db21 View commit details
    Browse the repository at this point in the history
  40. Unify walk_generics

    maxcabrajac committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    098f690 View commit details
    Browse the repository at this point in the history
  41. Unify walk_capture_by

    maxcabrajac committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    3483eb3 View commit details
    Browse the repository at this point in the history
  42. Unify walk_enum_def

    maxcabrajac committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    8823ea0 View commit details
    Browse the repository at this point in the history
  43. Unify walk_crate

    maxcabrajac committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    ee8c9fc View commit details
    Browse the repository at this point in the history
  44. Unify walk_pat_field

    maxcabrajac committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    d6e3fda View commit details
    Browse the repository at this point in the history
  45. Configuration menu
    Copy the full SHA
    3d14cc3 View commit details
    Browse the repository at this point in the history
  46. Unify walk_param

    maxcabrajac committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    5ff1353 View commit details
    Browse the repository at this point in the history
  47. Unify walk_where_clause

    maxcabrajac committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    e58b459 View commit details
    Browse the repository at this point in the history
  48. Unify walk_variant_data

    maxcabrajac committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    705f01c View commit details
    Browse the repository at this point in the history
  49. Unify walk_expr_field

    maxcabrajac committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    1395db7 View commit details
    Browse the repository at this point in the history
  50. Unify walk_arm

    maxcabrajac committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    0c41195 View commit details
    Browse the repository at this point in the history
  51. Unify walk_variant

    maxcabrajac committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    d2ce0bc View commit details
    Browse the repository at this point in the history
  52. Unify walk_path_segment

    maxcabrajac committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    26301b1 View commit details
    Browse the repository at this point in the history
  53. Unify walk_qself

    maxcabrajac committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    8162d65 View commit details
    Browse the repository at this point in the history
  54. Unify walk_field_def

    maxcabrajac committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    2edb07a View commit details
    Browse the repository at this point in the history
  55. Unify walk_inline_asm

    maxcabrajac committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    abb498b View commit details
    Browse the repository at this point in the history
  56. Unify visit_fn

    maxcabrajac committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    2adcc22 View commit details
    Browse the repository at this point in the history
  57. Configuration menu
    Copy the full SHA
    7097188 View commit details
    Browse the repository at this point in the history
  58. Configuration menu
    Copy the full SHA
    f806f0b View commit details
    Browse the repository at this point in the history
  59. Unify walk_local

    maxcabrajac committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    ddde610 View commit details
    Browse the repository at this point in the history
  60. Unify visit_walk_use_tree

    maxcabrajac committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    187db31 View commit details
    Browse the repository at this point in the history
  61. Unify visit_path

    maxcabrajac committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    5a4ee93 View commit details
    Browse the repository at this point in the history
  62. Unify walk_use_tree

    maxcabrajac committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    541d524 View commit details
    Browse the repository at this point in the history
  63. Unify walk_path

    maxcabrajac committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    d98ba31 View commit details
    Browse the repository at this point in the history
  64. Remove flat_map_ty

    maxcabrajac committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    4101ec4 View commit details
    Browse the repository at this point in the history
  65. Unify visit_lifetime

    maxcabrajac committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    308a57f View commit details
    Browse the repository at this point in the history
  66. Unify walk_generic_arg

    maxcabrajac committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    2150490 View commit details
    Browse the repository at this point in the history
  67. Unify walk_param_bound

    maxcabrajac committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    474b025 View commit details
    Browse the repository at this point in the history
  68. Configuration menu
    Copy the full SHA
    52af77d View commit details
    Browse the repository at this point in the history
  69. Unify walk_trait_ref

    maxcabrajac committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    1163d89 View commit details
    Browse the repository at this point in the history
  70. Unify walk_block

    maxcabrajac committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    b0720cf View commit details
    Browse the repository at this point in the history
  71. Unify walk_pat

    maxcabrajac committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    63e973a View commit details
    Browse the repository at this point in the history
  72. Unify walk_inline_asm_sym

    maxcabrajac committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    6eac54c View commit details
    Browse the repository at this point in the history
  73. Unify walk_vis

    maxcabrajac committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    4798ee4 View commit details
    Browse the repository at this point in the history
  74. Configuration menu
    Copy the full SHA
    c49cb32 View commit details
    Browse the repository at this point in the history
  75. Configuration menu
    Copy the full SHA
    18ccf65 View commit details
    Browse the repository at this point in the history
  76. Configuration menu
    Copy the full SHA
    89b089a View commit details
    Browse the repository at this point in the history
  77. Configuration menu
    Copy the full SHA
    99bf9fc View commit details
    Browse the repository at this point in the history
  78. Configuration menu
    Copy the full SHA
    7d8353c View commit details
    Browse the repository at this point in the history
  79. Configuration menu
    Copy the full SHA
    a940fba View commit details
    Browse the repository at this point in the history
  80. Unify FnKind

    maxcabrajac committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    1acf2ea View commit details
    Browse the repository at this point in the history
  81. Unify walk_coroutine_kind

    maxcabrajac committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    e764903 View commit details
    Browse the repository at this point in the history
  82. Configuration menu
    Copy the full SHA
    0914194 View commit details
    Browse the repository at this point in the history
  83. Unify walk_fn

    maxcabrajac committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    b936da5 View commit details
    Browse the repository at this point in the history
  84. Configuration menu
    Copy the full SHA
    0dd528a View commit details
    Browse the repository at this point in the history
  85. Unify walk_ty

    maxcabrajac committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    93f11af View commit details
    Browse the repository at this point in the history
  86. Unify WalkItemKind

    maxcabrajac committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    5bbd52f View commit details
    Browse the repository at this point in the history
  87. Configuration menu
    Copy the full SHA
    97ead82 View commit details
    Browse the repository at this point in the history
  88. Configuration menu
    Copy the full SHA
    6c9d183 View commit details
    Browse the repository at this point in the history
  89. Unify walk_generic_param

    maxcabrajac committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    27e5caf View commit details
    Browse the repository at this point in the history
  90. Configuration menu
    Copy the full SHA
    8b3204a View commit details
    Browse the repository at this point in the history
  91. Configuration menu
    Copy the full SHA
    1cbc438 View commit details
    Browse the repository at this point in the history
  92. Unify walk_assoc_item

    maxcabrajac committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    5bec317 View commit details
    Browse the repository at this point in the history
  93. Configuration menu
    Copy the full SHA
    9fd4fb2 View commit details
    Browse the repository at this point in the history
  94. Unify walk_foreign_mod

    maxcabrajac committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    2da2e65 View commit details
    Browse the repository at this point in the history
  95. Unify walk_attribute

    maxcabrajac committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    e13e539 View commit details
    Browse the repository at this point in the history
  96. Unify walk_item

    maxcabrajac committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    ab2cd94 View commit details
    Browse the repository at this point in the history
  97. Unify visit_item

    maxcabrajac committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    dbd3146 View commit details
    Browse the repository at this point in the history
  98. Unify visit_foreign_item

    maxcabrajac committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    ec029bf View commit details
    Browse the repository at this point in the history
  99. Configuration menu
    Copy the full SHA
    8b7d0bb View commit details
    Browse the repository at this point in the history
  100. Unify visit_assoc_item

    maxcabrajac committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    73dee5f View commit details
    Browse the repository at this point in the history
  101. Unify walk_mac

    maxcabrajac committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    28c2748 View commit details
    Browse the repository at this point in the history
  102. Configuration menu
    Copy the full SHA
    8806ec7 View commit details
    Browse the repository at this point in the history
  103. Remove visit_expr_post

    maxcabrajac committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    03c57e8 View commit details
    Browse the repository at this point in the history
  104. Unify visit_fn_header

    maxcabrajac committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    310857e View commit details
    Browse the repository at this point in the history
  105. Configuration menu
    Copy the full SHA
    d57efea View commit details
    Browse the repository at this point in the history
  106. Unify walk_attr_args

    maxcabrajac committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    854a2a3 View commit details
    Browse the repository at this point in the history
  107. Unify walk_expr

    maxcabrajac committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    594b678 View commit details
    Browse the repository at this point in the history
  108. Configuration menu
    Copy the full SHA
    8abd7e9 View commit details
    Browse the repository at this point in the history
  109. Unify walk_macro_def

    maxcabrajac committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    789e8ce View commit details
    Browse the repository at this point in the history
  110. Unify visit_macro_def

    maxcabrajac committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    a24275d View commit details
    Browse the repository at this point in the history
  111. Configuration menu
    Copy the full SHA
    c5db6cb View commit details
    Browse the repository at this point in the history
  112. Remove visit_ident!

    maxcabrajac committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    d5b0e52 View commit details
    Browse the repository at this point in the history
  113. Add mut_only_visit!

    maxcabrajac committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    afc7463 View commit details
    Browse the repository at this point in the history
  114. Formatting

    maxcabrajac committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    532358b View commit details
    Browse the repository at this point in the history
  115. Configuration menu
    Copy the full SHA
    bb908ce View commit details
    Browse the repository at this point in the history
  116. Configuration menu
    Copy the full SHA
    6e5a91f View commit details
    Browse the repository at this point in the history
  117. Add simple skipped nodes

    maxcabrajac committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    97dfd20 View commit details
    Browse the repository at this point in the history
  118. Formatting

    maxcabrajac committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    fa3c581 View commit details
    Browse the repository at this point in the history
  119. Organize visitors.rs

    maxcabrajac committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    758076f View commit details
    Browse the repository at this point in the history
  120. Remove visit_exprs

    maxcabrajac committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    82bc8d6 View commit details
    Browse the repository at this point in the history
  121. Add visit_defaultness

    maxcabrajac committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    1fe71b8 View commit details
    Browse the repository at this point in the history
  122. Add visit_safety

    maxcabrajac committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    2919360 View commit details
    Browse the repository at this point in the history
  123. Add visit_polarity

    maxcabrajac committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    80e9870 View commit details
    Browse the repository at this point in the history
  124. Add visit_constness

    maxcabrajac committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    114fbaf View commit details
    Browse the repository at this point in the history
  125. Configuration menu
    Copy the full SHA
    98f161a View commit details
    Browse the repository at this point in the history
  126. Configuration menu
    Copy the full SHA
    4b2dc19 View commit details
    Browse the repository at this point in the history
  127. Configuration menu
    Copy the full SHA
    7cfe24c View commit details
    Browse the repository at this point in the history
  128. Configuration menu
    Copy the full SHA
    9c9bc51 View commit details
    Browse the repository at this point in the history
  129. Configuration menu
    Copy the full SHA
    47eb57b View commit details
    Browse the repository at this point in the history
  130. Configuration menu
    Copy the full SHA
    e7f366a View commit details
    Browse the repository at this point in the history
  131. Configuration menu
    Copy the full SHA
    200e645 View commit details
    Browse the repository at this point in the history
  132. Configuration menu
    Copy the full SHA
    1cbe986 View commit details
    Browse the repository at this point in the history
  133. Configuration menu
    Copy the full SHA
    bfd60e5 View commit details
    Browse the repository at this point in the history
  134. Formatting

    maxcabrajac committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    e4bcae4 View commit details
    Browse the repository at this point in the history
  135. Remove visit_attrs

    maxcabrajac committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    9112997 View commit details
    Browse the repository at this point in the history
  136. Add visit_attr_args

    maxcabrajac committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    5c94d26 View commit details
    Browse the repository at this point in the history
  137. Remove stray line

    maxcabrajac committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    80b8188 View commit details
    Browse the repository at this point in the history
  138. Configuration menu
    Copy the full SHA
    656f870 View commit details
    Browse the repository at this point in the history
  139. Configuration menu
    Copy the full SHA
    122bf64 View commit details
    Browse the repository at this point in the history
  140. Remove if_mut_expr!

    maxcabrajac committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    1874da7 View commit details
    Browse the repository at this point in the history
  141. Remove if_mut_ty!

    maxcabrajac committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    2d6e384 View commit details
    Browse the repository at this point in the history
  142. Remove if_mut_item!

    maxcabrajac committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    de951c8 View commit details
    Browse the repository at this point in the history
  143. Configuration menu
    Copy the full SHA
    5ca2d99 View commit details
    Browse the repository at this point in the history
  144. Configuration menu
    Copy the full SHA
    d667ab6 View commit details
    Browse the repository at this point in the history
  145. Configuration menu
    Copy the full SHA
    4fba12f View commit details
    Browse the repository at this point in the history