solang-parser 0.2.1

Solang Solidity Parser
Documentation
1
2
3
4
5
6
7
interface I {
  function f() external m pure returns (uint);
  modifier m() { _; }
}
// ----
// SyntaxError 5842: (16-60): Functions in interfaces cannot have modifiers.
// TypeError 6408: (63-82): Modifiers cannot be defined or declared in interfaces.