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
17
18
contract C {
  uint x;
  modifier m() {
    uint t;
    assembly {
      function f() -> x { x := 8 }
      t := f()
    }
    x = t;
    _;
  }
  function f() m m public returns (uint r) {
    assembly { function f() -> x { x := 1 } r := f() }
  }
  function g() m m public returns (uint r) {
    assembly { function f() -> x { x := 2 } r := f() }
  }
}