Expand description
Extension traits and modules to the [solang_parser
] crate.
Modulesยง
- ast_eq ๐
- loc ๐
- pt
- Same as [
solang_parser::pt
], but with the patchedCodeLocation
. - safe_
unwrap ๐ - visit ๐
- Visitor helpers to traverse the solang Solidity Parse Tree.
Traitsยง
- AstEq
- Check if two ParseTrees are equal ignoring location information or ordering if ordering does not matter
- Code
Location Ext - Returns the code location.
- Safe
Unwrap - Trait implemented to unwrap optional parse tree items initially introduced in hyperledger/solang#1068.
- Visitable
- Visitable trait for [
solang_parser::pt
] types. - Visitor
- A trait that is invoked while traversing the Solidity Parse Tree. Each method of the Visitor trait is a hook that can be potentially overridden.