solang-parser 0.2.1

Solang Solidity Parser
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
==== Source: A ====
contract A {
	function g(uint256 x) public view returns(uint256) { return x + 1; }
}
==== Source: B ====
import "A";
contract B is A {
	function f(uint256 x) public view returns(uint256) { return x; }
}
// ====
// compileToEwasm: also
// compileViaYul: also
// ----
// f(uint256): 1337 -> 1337
// g(uint256): 1337 -> 1338