solang-parser 0.2.1

Solang Solidity Parser
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
==== Source: A ====
library L {
    function id(uint x) pure internal returns (uint) {
        return x;
    }
}

==== Source: B ====
import {L as M} from "A";

contract C {
    using M for uint;
	function f(uint x) public pure returns (uint) {
        return x.id();
    }
}