Module solang_ext

Module solang_ext 

Source
Expand description

Extension traits and modules to the [solang_parser] crate.

Modulesยง

ast_eq ๐Ÿ”’
loc ๐Ÿ”’
pt
Same as [solang_parser::pt], but with the patched CodeLocation.
safe_unwrap ๐Ÿ”’

Traitsยง

AstEq
Check if two ParseTrees are equal ignoring location information or ordering if ordering does not matter
CodeLocationExt
Returns the code location.
SafeUnwrap
Trait implemented to unwrap optional parse tree items initially introduced in hyperledger/solang#1068.