forge_fmt::solang_ext

Module ast_eq

Source

Macrosยง

Traitsยง

  • Check if two ParseTrees are equal ignoring location information or ordering if ordering does not matter

Functionsยง

  • filter_params ๐Ÿ”’
    Helper to filter [ParameterList] to omit empty parameters
  • to_num ๐Ÿ”’
    Helper to convert a string number into a comparable one
  • to_num_reversed ๐Ÿ”’
    Helper to convert the fractional part of a number into a comparable one. This will reverse the number so that 0โ€™s can be ignored