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
contract test {
    function a() public returns(uint n) { return 0; }
    function b() public returns(uint n) { return 1; }
    function c() public returns(uint n) { return 2; }
    function f() public returns(uint n) { return 3; }
}
// ====
// allowNonExistingFunctions: true
// compileToEwasm: also
// compileViaYul: also
// ----
// a() -> 0
// b() -> 1
// c() -> 2
// f() -> 3
// i_am_not_there() -> FAILURE