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§

  • Helper to filter [ParameterList] to omit empty parameters
  • to_num 🔒
    Helper to convert a string number into a comparable one
  • 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