-
Notifications
You must be signed in to change notification settings - Fork 0
/
snippets.json
79 lines (79 loc) · 2.41 KB
/
snippets.json
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
{
"whylson-equality": {
"prefix": "whylson-eq",
"body": [
"[@comment: \"${1|int,nat,mutez,string,address|} = ${0:value}\"]"
],
"description": "Ligo attribute for equality annotation for next \"let\" expression"
},
"whylson-inequality": {
"prefix": "whylson-ineq",
"body": [
"[@comment: \"${1|int,nat,mutez,string,address|} <> ${0:value}\"]"
],
"description": "Ligo attribute for inequality annotation for next \"let\" expression"
},
"whylson-greater-than": {
"prefix": "whylson-gt",
"body": [
"[@comment: \"${1|int,nat,mutez|} > ${0:value}\"]"
],
"description": "Ligo attribute for \"greater than\" annotation for next \"let\" expression"
},
"whylson-greater-equals": {
"prefix": "whylson-ge",
"body": [
"[@comment: \"${1|int,nat,mutez|} >= ${0:value}\"]"
],
"description": "Ligo attribute for \"greater equals\" annotation for next \"let\" expression"
},
"whylson-lesser-than": {
"prefix": "whylson-lt",
"body": [
"[@comment: \"${1|int,nat,mutez|} < ${0:value}\"]"
],
"description": "Ligo attribute for \"lesser than\" annotation for next \"let\" expression"
},
"whylson-lesser-equals": {
"prefix": "whylson-le",
"body": [
"[@comment: \"${1|int,nat,mutez|} <= ${0:value}\"]"
],
"description": "Ligo attribute for \"lesser Equals\" annotation for next \"let\" expression"
},
"whylson-bound": {
"prefix": "whylson-bound",
"body": [
"[@comment: \"${2:low} ${3|<=,<|} ${1|int,nat,mutez|} ${5|<=,<|} ${4:high}\"]"
],
"description": "Ligo attribute for \"within bounds\" annotation for next \"let\" expression"
},
"whylson-variant": {
"prefix": "whylson-variant",
"body": [
"[@comment: \"variant{$1}\"]"
],
"description": "Ligo attribute for WhylSons variant specification"
},
"whylson-invariant": {
"prefix": "whylson-invariant",
"body": [
"[@comment: \"invariant{$1}\"]"
],
"description": "Ligo attribute for WhylSons invariant specification"
},
"whylson-requires": {
"prefix": "whylson-requires",
"body": [
"[@comment: \"requires{$1}\"]"
],
"description": "Ligo attribute for WhylSons pre-condition specification"
},
"whylson-ensures": {
"prefix": "whylson-ensures",
"body": [
"[@comment: \"ensures{$1}\"]"
],
"description": "Ligo attribute for WhylSons post-condition specification"
}
}