| 1 |
|
| 2 |
(ident) @variable |
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
(comment) @comment |
| 7 |
|
| 8 |
|
| 9 |
(proof) @comment.unused |
| 10 |
(def) @comment.unused |
| 11 |
|
| 12 |
|
| 13 |
(type_def |
| 14 |
name: (ident) @type) |
| 15 |
|
| 16 |
(typeid) @type |
| 17 |
(typeid |
| 18 |
(ident) @type) |
| 19 |
|
| 20 |
(decl_table |
| 21 |
name: (ident) @type) |
| 22 |
|
| 23 |
|
| 24 |
|
| 25 |
(function_def |
| 26 |
name: (ident) @function) |
| 27 |
|
| 28 |
(function_macro_def |
| 29 |
name: (ident) @function.macro) |
| 30 |
|
| 31 |
(decl_pred |
| 32 |
name: (ident) @function) |
| 33 |
|
| 34 |
(decl_event |
| 35 |
name: (ident) @function) |
| 36 |
|
| 37 |
|
| 38 |
|
| 39 |
(term_function_call |
| 40 |
name: (ident) @function) |
| 41 |
(term_function_call |
| 42 |
(term (ident) @variable.parameter)) |
| 43 |
|
| 44 |
(pterm_function_call |
| 45 |
name: (ident) @function) |
| 46 |
(pterm_function_call |
| 47 |
(pterm (ident) @variable.parameter)) |
| 48 |
|
| 49 |
(decl_process_macro |
| 50 |
name: (ident) @function) |
| 51 |
(decl_process_macro |
| 52 |
(typedecl (ident) @variable.parameter)) |
| 53 |
|
| 54 |
(gterm_function_call |
| 55 |
name: (ident) @function) |
| 56 |
(gterm_function_call |
| 57 |
(gterm (ident) @variable.parameter)) |
| 58 |
|
| 59 |
(gformat_function_call |
| 60 |
name: (ident) @function) |
| 61 |
(gformat_function_call |
| 62 |
(gformat (ident) @variable.parameter)) |
| 63 |
|
| 64 |
(process_function_call |
| 65 |
name: (ident) @function) |
| 66 |
(process_function_call |
| 67 |
(pterm (ident) @variable.parameter)) |
| 68 |
|
| 69 |
(process_input "in" @function.builtin) |
| 70 |
(process_input |
| 71 |
(pterm (ident) @variable.parameter)) |
| 72 |
(process_input |
| 73 |
(pattern (ident) @variable.parameter)) |
| 74 |
(process_input |
| 75 |
(pattern (pattern (ident) @variable.parameter))) |
| 76 |
|
| 77 |
(process_output "out" @function.builtin) |
| 78 |
(process_output |
| 79 |
(pterm (ident) @variable.parameter)) |
| 80 |
(process_output |
| 81 |
(pterm (pterm (ident) @variable.parameter))) |
| 82 |
|
| 83 |
|
| 84 |
|
| 85 |
(nat) @constant.numeric |
| 86 |
(int) @constant.numeric |
| 87 |
(string) @string |
| 88 |
|
| 89 |
[ |
| 90 |
"true" |
| 91 |
"false" |
| 92 |
] @constant.builtin.boolean |
| 93 |
|
| 94 |
"fail" @constant.builtin |
| 95 |
|
| 96 |
(process_final_item |
| 97 |
"0" @constant.builtin) |
| 98 |
|
| 99 |
|
| 100 |
|
| 101 |
[ |
| 102 |
"among" |
| 103 |
"axiom" |
| 104 |
"choice" |
| 105 |
"clauses" |
| 106 |
"const" |
| 107 |
"def" |
| 108 |
"elimtrue" |
| 109 |
"else" |
| 110 |
"equation" |
| 111 |
"equivalence" |
| 112 |
"event" |
| 113 |
"expand" |
| 114 |
"fail" |
| 115 |
"forall" |
| 116 |
"foreach" |
| 117 |
"free" |
| 118 |
"fun" |
| 119 |
"get" |
| 120 |
"if" |
| 121 |
"inj-event" |
| 122 |
"insert" |
| 123 |
"lemma" |
| 124 |
"let" |
| 125 |
"letfun" |
| 126 |
"letproba" |
| 127 |
"new" |
| 128 |
"noninterf" |
| 129 |
"noselect" |
| 130 |
"not" |
| 131 |
"nounif" |
| 132 |
"otherwise" |
| 133 |
"param" |
| 134 |
"phase" |
| 135 |
"pred" |
| 136 |
"proba" |
| 137 |
"process" |
| 138 |
"proof" |
| 139 |
"public_vars" |
| 140 |
"putbegin" |
| 141 |
"query" |
| 142 |
"reduc" |
| 143 |
"restriction" |
| 144 |
"secret" |
| 145 |
"select" |
| 146 |
"set" |
| 147 |
"suchthat" |
| 148 |
"sync" |
| 149 |
"table" |
| 150 |
"then" |
| 151 |
"type" |
| 152 |
"weaksecret" |
| 153 |
"yield" |
| 154 |
] @keyword |
| 155 |
|
| 156 |
(decl_channel "channel" @keyword) |
| 157 |
(process_let "in" @keyword) |
| 158 |
|
| 159 |
|
| 160 |
|
| 161 |
[ |
| 162 |
"=" |
| 163 |
"<>" |
| 164 |
"<=" |
| 165 |
">=" |
| 166 |
"<" |
| 167 |
">" |
| 168 |
"+" |
| 169 |
"-" |
| 170 |
"==>" |
| 171 |
"<-" |
| 172 |
"<-R" |
| 173 |
"->" |
| 174 |
"<->" |
| 175 |
"<=>" |
| 176 |
"||" |
| 177 |
"&&" |
| 178 |
"|" |
| 179 |
"!" |
| 180 |
] @keyword.operator |
| 181 |
|
| 182 |
|
| 183 |
|
| 184 |
[ |
| 185 |
"." |
| 186 |
"," |
| 187 |
";" |
| 188 |
":" |
| 189 |
] @punctuation.delimiter |
| 190 |
|
| 191 |
[ |
| 192 |
"(" |
| 193 |
")" |
| 194 |
"[" |
| 195 |
"]" |
| 196 |
"{" |
| 197 |
"}" |
| 198 |
] @punctuation.bracket |
| 199 |
|
| 200 |
|
| 201 |
|
| 202 |
(option) @attribute |
| 203 |
(nounifoption) @attribute |