solidity-ast
Advanced tools
Changelog
0.3.0 (2020-06-04)
solidity-ast/predicates
with type guards for type-safe filtering.import { isContractDefinition } from "solidity-ast/predicates";
const contractDefs = sourceUnit.nodes.filter(isContractDefinition);
// : ContractDefinition[]
ParameterTypes
, which was a duplicate of ParameterList
. The latter should be used instead.ParameterTypeName
, which wasn't referenced anywhere.