Debian Codegraph @

runtime/queries/mermaid/highlights.scm

raw symbols SCIP
1 [
2 "sequenceDiagram"
3 "classDiagram"
4 "classDiagram-v2"
5 "stateDiagram"
6 "stateDiagram-v2"
7 "gantt"
8 "pie"
9 "flowchart"
10 "erdiagram"
11
12 "participant"
13 "as"
14 "activate"
15 "deactivate"
16 "note "
17 "over"
18 "link"
19 "links"
20 ; "left of"
21 ; "right of"
22 "properties"
23 "details"
24 "title"
25 "loop"
26 "rect"
27 "opt"
28 "alt"
29 "else"
30 "par"
31 "and"
32 "end"
33 (sequence_stmt_autonumber)
34 (note_placement_left)
35 (note_placement_right)
36
37 "class"
38
39 "state "
40
41 "dateformat"
42 "inclusiveenddates"
43 "topaxis"
44 "axisformat"
45 "includes"
46 "excludes"
47 "todaymarker"
48 "title"
49 "section"
50
51 "direction"
52 "subgraph"
53
54 ] @keyword
55
56 [
57 (comment)
58 ] @comment
59
60 (flow_vertex_id) @type
61 (flow_arrow_text) @label
62 (flow_text_literal) @string
63
64 [
65 ":"
66 (sequence_signal_plus_sign)
67 (sequence_signal_minus_sign)
68
69 (class_visibility_public)
70 (class_visibility_private)
71 (class_visibility_protected)
72 (class_visibility_internal)
73
74 (state_division)
75 ] @punctuation.delimiter
76
77 [
78 "("
79 ")"
80 "{"
81 "}"
82 ] @punctuation.bracket
83
84 [
85 "-->"
86 (solid_arrow)
87 (dotted_arrow)
88 (solid_open_arrow)
89 (dotted_open_arrow)
90 (solid_cross)
91 (dotted_cross)
92 (solid_point)
93 (dotted_point)
94 ] @operator
95
96 [
97 (class_reltype_aggregation)
98 (class_reltype_extension)
99 (class_reltype_composition)
100 (class_reltype_dependency)
101 (class_linetype_solid)
102 (class_linetype_dotted)
103 "&"
104 ] @operator
105
106 (sequence_actor) @variable
107 (sequence_text) @string
108
109 (class_name) @type
110 (class_label) @string
111 (class_method_line) @function.method
112
113 (state_name) @variable
114
115 (gantt_section) @markup.heading
116 (gantt_task_text) @variable.builtin
117 (gantt_task_data) @string
118
119 [
120 (class_annotation_line)
121 (class_stmt_annotation)
122 (class_generics)
123
124 (state_annotation_fork)
125 (state_annotation_join)
126 (state_annotation_choice)
127 ] @type
128
129 (directive) @keyword.directive
130
131 (pie_label) @string
132 (pie_value) @constant.numeric
133
134 [
135 (flowchart_direction_lr)
136 (flowchart_direction_rl)
137 (flowchart_direction_tb)
138 (flowchart_direction_bt)
139 ] @constant
140
141 (flow_vertex_id) @variable
142
143 [
144 (flow_link_arrow)
145 (flow_link_arrow_start)
146 ] @operator
147
148 (flow_link_arrowtext "|" @punctuation.bracket)
149
150 (flow_vertex_square [ "[" "]" ] @punctuation.bracket )
151 (flow_vertex_circle ["((" "))"] @punctuation.bracket )
152 (flow_vertex_ellipse ["(-" "-)"] @punctuation.bracket )
153 (flow_vertex_stadium ["([" "])"] @punctuation.bracket )
154 (flow_vertex_subroutine ["[[" "]]"] @punctuation.bracket )
155 (flow_vertex_rect ["[|" "|]"] @punctuation.bracket )
156 (flow_vertex_cylinder ["[(" ")]"] @punctuation.bracket )
157 (flow_vertex_round ["(" ")"] @punctuation.bracket )
158 (flow_vertex_diamond ["{" "}"] @punctuation.bracket )
159 (flow_vertex_hexagon ["{{" "}}"] @punctuation.bracket )
160 (flow_vertex_odd [">" "]"] @punctuation.bracket )
161 (flow_vertex_trapezoid ["[/" "\\]"] @punctuation.bracket )
162 (flow_vertex_inv_trapezoid ["[\\" "/]"] @punctuation.bracket )
163 (flow_vertex_leanright ["[/" "/]"] @punctuation.bracket )
164 (flow_vertex_leanleft ["[\\" "\\]"] @punctuation.bracket )
165
166 (flow_stmt_subgraph ["[" "]"] @punctuation.bracket )
167
168 [
169 (er_cardinarity_zero_or_one)
170 (er_cardinarity_zero_or_more)
171 (er_cardinarity_one_or_more)
172 (er_cardinarity_only_one)
173 (er_reltype_non_identifying)
174 (er_reltype_identifying)
175 ] @operator
176
177 (er_entity_name) @variable
178
179 (er_attribute_type) @type
180 (er_attribute_name) @variable
181
182 [
183 (er_attribute_key_type_pk)
184 (er_attribute_key_type_fk)
185 ] @keyword
186
187 (er_attribute_comment) @string