Debian Codegraph @

runtime/queries/basic/highlights.scm

raw symbols SCIP
1 ; Keywords
2 [
3 "PRINT"
4 "LET"
5 "IF"
6 "THEN"
7 "GOTO"
8 "GOSUB"
9 "RETURN"
10 "FOR"
11 "TO"
12 "STEP"
13 "NEXT"
14 "INPUT"
15 "END"
16 "REM"
17 "DATA"
18 "READ"
19 "DIM"
20 ] @keyword
21
22 ; Logical operators
23 [
24 "AND"
25 "and"
26 "OR"
27 "or"
28 "NOT"
29 ] @keyword.operator
30
31 ; Comments
32 (comment) @comment
33 (rem_statement) @comment
34
35 ; Function calls
36 (function_call) @function
37
38 ; Numbers
39 (line_number) @constant.numeric
40 (number) @constant.numeric
41
42 ; Strings
43 (string) @string
44
45 ; Operators
46 [
47 "="
48 "<>"
49 "<"
50 ">"
51 "<="
52 ">="
53 "+"
54 "-"
55 "*"
56 "/"
57 "^"
58 ] @operator
59
60 ; Punctuation
61 [
62 "("
63 ")"
64 ] @punctuation.bracket
65
66 [
67 ","
68 ";"
69 ] @punctuation.delimiter
70
71 ; Variables
72 (identifier) @variable