solidity/test/libsolidity/ASTJSON/documentation.sol

21 lines
406 B
Solidity
Raw Normal View History

==== Source: a ====
2018-08-03 17:41:35 +00:00
/**This contract is empty*/ contract C {}
==== Source: b ====
2018-08-03 17:41:35 +00:00
/**This contract is empty
and has a line-breaking comment.*/
contract C {}
==== Source: c ====
2018-08-03 17:41:35 +00:00
contract C {
/** Some comment on state var.*/ uint public state;
2018-08-03 17:41:35 +00:00
/** Some comment on Evt.*/ event Evt();
/** Some comment on mod.*/ modifier mod() { _; }
/** Some comment on fn.*/ function fn() public {}
}
// ----