solidity_parser.ast.hierarchy

Functions

build_hierarchy(→ None)

Annotates the top level units with their direct subtypes, e.g. if A extends B, then A._subtypes = [B]

Module Contents

solidity_parser.ast.hierarchy.build_hierarchy(top_level_units: list[solidity_parser.ast.solnodes2.TopLevelUnit]) None

Annotates the top level units with their direct subtypes, e.g. if A extends B, then A._subtypes = [B]