forked from ethereum/solidity
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcustom.sol
43 lines (42 loc) · 781 Bytes
/
custom.sol
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
/// @custom:x one two three
/// @custom:y line
/// break
/// @custom:t one
/// @custom:t two
contract A {
/// @custom:note statevar
uint x;
/// @custom:since 2014
function g(int x) public pure virtual returns (int, int) { return (1, 2); }
}
// ----
// ----
// :A devdoc
// {
// "custom:t": "onetwo",
// "custom:x": "one two three",
// "custom:y": "line break",
// "kind": "dev",
// "methods":
// {
// "g(int256)":
// {
// "custom:since": "2014"
// }
// },
// "stateVariables":
// {
// "x":
// {
// "custom:note": "statevar"
// }
// },
// "version": 1
// }
//
// :A userdoc
// {
// "kind": "user",
// "methods": {},
// "version": 1
// }