| 1 |
|
| 2 |
[ |
| 3 |
"CHIP" |
| 4 |
"IN" |
| 5 |
"OUT" |
| 6 |
"PARTS" |
| 7 |
"BUILTIN" |
| 8 |
"CLOCKED" |
| 9 |
] @keyword |
| 10 |
|
| 11 |
(identifier) @variable |
| 12 |
|
| 13 |
(chip_definition |
| 14 |
name: (identifier) @function) |
| 15 |
|
| 16 |
(in_section |
| 17 |
input_pin_name: (identifier) @variable.parameter) |
| 18 |
|
| 19 |
(out_section |
| 20 |
output_pin_name: (identifier) @variable.parameter) |
| 21 |
|
| 22 |
(builtin_body |
| 23 |
chip_name: (identifier) @function) |
| 24 |
|
| 25 |
(clocked_body |
| 26 |
(identifier) @variable.parameter) |
| 27 |
|
| 28 |
(part |
| 29 |
chip_name: (identifier) @function) |
| 30 |
|
| 31 |
(connection |
| 32 |
part_pin: (identifier) @variable.other.member |
| 33 |
chip_pin: [ |
| 34 |
(identifier) @variable.parameter |
| 35 |
(bus_identifier |
| 36 |
(identifier) @variable.parameter |
| 37 |
(number) @constant.numeric) |
| 38 |
]) |
| 39 |
|
| 40 |
(bus_identifier |
| 41 |
(number) @constant.numeric) |
| 42 |
|
| 43 |
|
| 44 |
(comment) @comment |