Zellic / solidity-parser

Solp is a Python library used for reading, parsing and analysis of Solidity source projects and contracts without a dependency on the solc compiler.
https://solp.zellic.io
GNU Affero General Public License v3.0
51 stars 2 forks source link

Using directive 'global' support #14

Closed t81lal closed 10 months ago

t81lal commented 10 months ago

At file level, the directive affects all the free functions, contracts and libraries defined within that file. It does not affect other files that import the file containing it, unless it is marked as global. global extends its effect to all files. The use of global is possible only with UDVTs, structs, and enums that are defined in its source unit.

t81lal commented 10 months ago

Fixed in #10