solang-parser 0.2.1

Solang Solidity Parser
Documentation
1
2
3
4
5
6
7
8
9
// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.0;

contract C {
    function fun_x() public {}
    function fun_() public {}
    function f() public { true ? 1 : 3;}
    function() r = true ? fun_x : f;
}