108
|
1 This is a full list of available classes corresponding to languages'
|
|
2 syntactic structures. The parentheses after language name contain identifiers
|
|
3 used as class names in `<code>` element.
|
|
4
|
|
5 Python ("python"):
|
|
6
|
|
7 keyword keyword
|
|
8 built_in built-in objects (None, False, True and Ellipsis)
|
|
9 number number
|
|
10 string string (of any type)
|
|
11 comment comment
|
|
12 decorator @-decorator for functions
|
|
13 function function header "def some_name(...):"
|
|
14 class class header "class SomeName(...):"
|
|
15 title name of a function or a class inside a header
|
|
16 params everything inside parentheses in a function's or class' header
|
|
17
|
|
18 Python profiler results ("profile"):
|
|
19
|
|
20 number number
|
|
21 string string
|
|
22 builtin builtin function entry
|
|
23 filename filename in an entry
|
|
24 summary profiling summary
|
|
25 header header of table of results
|
|
26 keyword column header
|
|
27 function function name in an entry (including parentheses)
|
|
28 title actual name of a function in an entry (excluding parentheses)
|
|
29
|
|
30 Ruby ("ruby"):
|
|
31
|
|
32 keyword keyword
|
|
33 string string
|
|
34 subst in-string substitution (#{...})
|
|
35 comment comment
|
|
36 yardoctag YARD tag
|
|
37 function function header "def some_name(...):"
|
|
38 class class header "class SomeName(...):"
|
|
39 title name of a function or a class inside a header
|
|
40 parent name of a parent class
|
|
41 symbol symbol
|
|
42 instancevar instance variable
|
|
43
|
|
44 Perl ("perl"):
|
|
45
|
|
46 keyword keyword
|
|
47 comment comment
|
|
48 number number
|
|
49 string string
|
|
50 regexp regular expression
|
|
51 sub subroutine header (from "sub" till "{")
|
|
52 variable variable starting with "$", "%", "@"
|
|
53 operator operator
|
|
54 pod plain old doc
|
|
55
|
|
56 PHP ("php"):
|
|
57
|
|
58 keyword keyword
|
|
59 number number
|
|
60 string string (of any type)
|
|
61 comment comment
|
|
62 phpdoc phpdoc params in comments
|
|
63 variable variable starting with "$"
|
|
64 preprocessor preprocessor marks: "<?php" and "?>"
|
|
65
|
|
66 Scala ("scala"):
|
|
67
|
|
68 keyword keyword
|
|
69 number number
|
|
70 string string
|
|
71 comment comment
|
|
72 annotaion annotation
|
|
73 javadoc javadoc comment
|
|
74 javadoctag @-tag in javadoc
|
|
75 class class header
|
|
76 title class name inside a header
|
|
77 params everything in parentheses inside a class header
|
|
78 inheritance keywords "extends" and "with" inside class header
|
|
79
|
|
80 Go language ("go"):
|
|
81 comment comment
|
|
82 string string constant
|
|
83 number number
|
|
84 keyword language keywords
|
|
85 constant true false nil iota
|
|
86 typename built-in plain types (int, string etc.)
|
|
87 built_in built-in functions
|
|
88
|
|
89 XML ("xml"):
|
|
90
|
|
91 tag any tag from "<" till ">"
|
|
92 comment comment
|
|
93 pi processing instruction (<? ... ?>)
|
|
94 cdata CDATA section
|
|
95 attribute attribute
|
|
96 value attribute's value
|
|
97
|
|
98 HTML ("html"):
|
|
99
|
|
100 keyword HTML tag
|
|
101 tag any tag from "<" till ">"
|
|
102 comment comment
|
|
103 doctype <!DOCTYPE ... > declaration
|
|
104 attribute tag's attribute with or without value
|
|
105 value attribute's value
|
|
106
|
|
107 CSS ("css"):
|
|
108
|
|
109 tag HTML tag in selectors
|
|
110 id #some_name in selectors
|
|
111 class .some_name in selectors
|
|
112 at_rule @-rule till first "{" or ";"
|
|
113 attr_selector attribute selector (square brackets in a[href^=http://])
|
|
114 pseudo pseudo classes and elemens (:after, ::after etc.)
|
|
115 comment comment
|
|
116 rules everything from "{" till "}"
|
|
117 property property name inside a rule
|
|
118 value property value inside a rule, from ":" till ";" or
|
|
119 till the end of rule block
|
|
120 number number within a value
|
|
121 string string within a value
|
|
122 hexcolor hex color (#FFFFFF) within a value
|
|
123 function CSS function within a value
|
|
124 params everything between "(" and ")" within a function
|
|
125 important "!important" symbol
|
|
126
|
|
127 Markdown ("markdown"):
|
|
128
|
|
129 header header
|
|
130 bullet list bullet
|
|
131 emphasis emphasis
|
|
132 strong strong emphasis
|
|
133 blockquote blockquote
|
|
134 code code
|
|
135 horizontal_rule horizontal rule
|
|
136 link_label link label
|
|
137 link_url link url
|
|
138
|
|
139 Django ("django"):
|
|
140
|
|
141 keyword HTML tag in HTML, default tags and default filters in templates
|
|
142 tag any tag from "<" till ">"
|
|
143 comment comment
|
|
144 doctype <!DOCTYPE ... > declaration
|
|
145 attribute tag's attribute with or withou value
|
|
146 value attribute's value
|
|
147 template_tag template tag {% .. %}
|
|
148 variable template variable {{ .. }}
|
|
149 template_comment template comment, both {# .. #} and {% comment %}
|
|
150 filter filter from "|" till the next filter or the end of tag
|
|
151 argument filter argument
|
|
152
|
|
153 JSON ("json"):
|
|
154
|
|
155 number number
|
|
156 literal "true", "false" and "null"
|
|
157 string string value
|
|
158 attribute name of an object property
|
|
159 value value of an object property
|
|
160
|
|
161 JavaScript ("javascript"):
|
|
162
|
|
163 keyword keyword
|
|
164 comment comment
|
|
165 number number
|
|
166 literal special literal: "true", "false" and "null"
|
|
167 string string
|
|
168 regexp regular expression
|
|
169 function header of a function
|
|
170 title name of a function inside a header
|
|
171 params parentheses and everything inside them in a function's header
|
|
172
|
|
173 CoffeeScript ("coffeescript"):
|
|
174
|
|
175 keyword keyword
|
|
176 comment comment
|
|
177 number number
|
|
178 literal special literal: "true", "false" and "null"
|
|
179 string string
|
|
180 regexp regular expression
|
|
181 function header of a function
|
|
182 title name of a function variable inside a header
|
|
183 params parentheses and everything inside them in a function's header
|
|
184
|
|
185 ActionScript ("actionscript"):
|
|
186
|
|
187 comment comment
|
|
188 string string
|
|
189 number number
|
|
190 keyword keywords
|
|
191 literal literal
|
|
192 reserved reserved keyword
|
|
193 title name of declaration (package, class or function)
|
|
194 preprocessor preprocessor directive (import, include)
|
|
195 type type of returned value (for functions)
|
|
196 package package (named or not)
|
|
197 class class/interface
|
|
198 function function
|
|
199 param params of function
|
|
200 rest_arg rest argument of function
|
|
201
|
|
202 VBScript ("vbscript"):
|
|
203
|
|
204 keyword keyword
|
|
205 number number
|
|
206 string string
|
|
207 comment comment
|
|
208 built_in built-in function
|
|
209
|
|
210 HTTP ("http"):
|
|
211
|
|
212 request first line of a request
|
|
213 status first line of a response
|
|
214 attribute header name
|
|
215 string header value or query string in a request line
|
|
216 number status code
|
|
217
|
|
218 Lua ("lua"):
|
|
219
|
|
220 keyword keyword
|
|
221 number number
|
|
222 string string
|
|
223 comment comment
|
|
224 built_in built-in operator
|
|
225 function header of a function
|
|
226 title name of a function inside a header
|
|
227 params everything inside parentheses in a function's header
|
|
228 long_brackets multiline string in [=[ .. ]=]
|
|
229
|
|
230 Delphi ("delphi"):
|
|
231
|
|
232 keyword keyword
|
|
233 comment comment (of any type)
|
|
234 number number
|
|
235 string string
|
|
236 function header of a function, procedure, constructor and destructor
|
|
237 title name of a function, procedure, constructor or destructor
|
|
238 inside a header
|
|
239 params everything inside parentheses in a function's header
|
|
240 class class' body from "= class" till "end;"
|
|
241
|
|
242 Java ("java"):
|
|
243
|
|
244 keyword keyword
|
|
245 number number
|
|
246 string string
|
|
247 comment commment
|
|
248 annotaion annotation
|
|
249 javadoc javadoc comment
|
|
250 class class header from "class" till "{"
|
|
251 title class name inside a header
|
|
252 params everything in parentheses inside a class header
|
|
253 inheritance keywords "extends" and "implements" inside class header
|
|
254
|
|
255 C++ ("cpp"):
|
|
256
|
|
257 keyword keyword
|
|
258 number number
|
|
259 string string and character
|
|
260 comment comment
|
|
261 preprocessor preprocessor directive
|
|
262 stl_container instantiation of STL containers ("vector<...>")
|
|
263
|
|
264 Objective C ("objectivec"):
|
|
265 keyword keyword
|
|
266 built_in Cocoa/Cocoa Touch constants and classes
|
|
267 number number
|
|
268 string string
|
|
269 comment comment
|
|
270 preprocessor preprocessor directive
|
|
271 class interface/implementation, protocol and forward class declaration
|
|
272 variable properties and struct accesors
|
|
273
|
|
274 Vala ("vala"):
|
|
275
|
|
276 keyword keyword
|
|
277 number number
|
|
278 string string
|
|
279 comment comment
|
|
280 class class definitions
|
|
281 title in class definition
|
|
282 constant ALL_UPPER_CASE
|
|
283
|
|
284 C# ("cs"):
|
|
285
|
|
286 keyword keyword
|
|
287 number number
|
|
288 string string
|
|
289 comment commment
|
|
290 xmlDocTag xmldoc tag ("///", "<!--", "-->", "<..>")
|
|
291
|
|
292 D language ("d"):
|
|
293
|
|
294 comment comment
|
|
295 string string constant
|
|
296 number number
|
|
297 keyword language keywords (including @attributes)
|
|
298 constant true false null
|
|
299 built_in built-in plain types (int, string etc.)
|
|
300
|
|
301 RenderMan RSL ("rsl"):
|
|
302
|
|
303 keyword keyword
|
|
304 number number
|
|
305 string string (including @"..")
|
|
306 comment comment
|
|
307 preprocessor preprocessor directive
|
|
308 shader sahder keywords
|
|
309 shading shading keywords
|
|
310 built_in built-in function
|
|
311
|
|
312 RenderMan RIB ("rib"):
|
|
313
|
|
314 keyword keyword
|
|
315 number number
|
|
316 string string
|
|
317 comment comment
|
|
318 commands command
|
|
319
|
|
320 Maya Embedded Language ("mel"):
|
|
321
|
|
322 keyword keyword
|
|
323 number number
|
|
324 string string
|
|
325 comment comment
|
|
326 variable variable
|
|
327
|
|
328 SQL ("sql"):
|
|
329
|
|
330 keyword keyword (mostly SQL'92 and SQL'99)
|
|
331 number number
|
|
332 string string (of any type: "..", '..', `..`)
|
|
333 comment comment
|
|
334 aggregate aggregate function
|
|
335
|
|
336 Smalltalk ("smalltalk"):
|
|
337
|
|
338 keyword keyword
|
|
339 number number
|
|
340 string string
|
|
341 comment commment
|
|
342 symbol symbol
|
|
343 array array
|
|
344 class name of a class
|
|
345 char char
|
|
346 localvars block of local variables
|
|
347
|
|
348 Lisp ("lisp"):
|
|
349
|
|
350 keyword keyword
|
|
351 number number
|
|
352 string string
|
|
353 comment commment
|
|
354 variable variable
|
|
355 literal b, t and nil
|
|
356 list non-quoted list
|
|
357 title first symbol in a non-quoted list
|
|
358 body remainder of the non-quoted list
|
|
359 quoted quoted list, both "(quote .. )" and "'(..)"
|
|
360
|
|
361 Ini ("ini"):
|
|
362
|
|
363 title title of a section
|
|
364 value value of a setting of any type
|
|
365 string string
|
|
366 number number
|
|
367 keyword boolean value keyword
|
|
368
|
|
369 Apache ("apache"):
|
|
370
|
|
371 keyword keyword
|
|
372 number number
|
|
373 comment commment
|
|
374 literal On and Off
|
|
375 sqbracket variables in rewrites "%{..}"
|
|
376 cbracket options in rewrites "[..]"
|
|
377 tag begin and end of a configuration section
|
|
378
|
|
379 Nginx ("nginx"):
|
|
380
|
|
381 title directive title
|
|
382 string string
|
|
383 number number
|
|
384 comment comment
|
|
385 built_in built-in constant
|
|
386 variable $-variable
|
|
387 regexp regexp
|
|
388
|
|
389 Diff ("diff"):
|
|
390
|
|
391 header file header
|
|
392 chunk chunk header within a file
|
|
393 addition added lines
|
|
394 deletion deleted lines
|
|
395 change changed lines
|
|
396
|
|
397 DOS ("dos"):
|
|
398
|
|
399 keyword keyword
|
|
400 flow batch control keyword
|
|
401 stream DOS special files ("con", "prn", ...)
|
|
402 winutils some commands (see dos.js specifically)
|
|
403 envvar environment variables
|
|
404
|
|
405 Bash ("bash"):
|
|
406
|
|
407 keyword keyword
|
|
408 string string
|
|
409 number number
|
|
410 comment comment
|
|
411 literal special literal: "true" и "false"
|
|
412 variable variable
|
|
413 shebang script interpreter header
|
|
414
|
|
415 CMake ("cmake")
|
|
416
|
|
417 keyword keyword
|
|
418 number number
|
|
419 string string
|
|
420 comment commment
|
|
421 envvar $-variable
|
|
422
|
|
423 Axapta ("axapta"):
|
|
424
|
|
425 keyword keyword
|
|
426 number number
|
|
427 string string
|
|
428 comment commment
|
|
429 class class header from "class" till "{"
|
|
430 title class name inside a header
|
|
431 params everything in parentheses inside a class header
|
|
432 inheritance keywords "extends" and "implements" inside class header
|
|
433 preprocessor preprocessor directive
|
|
434
|
|
435 1C ("1c"):
|
|
436
|
|
437 keyword keyword
|
|
438 number number
|
|
439 date date
|
|
440 string string
|
|
441 comment commment
|
|
442 function header of function or procudure
|
|
443 title function name inside a header
|
|
444 params everything in parentheses inside a function header
|
|
445 preprocessor preprocessor directive
|
|
446
|
|
447 AVR assembler ("avrasm"):
|
|
448
|
|
449 keyword keyword
|
|
450 built_in pre-defined register
|
|
451 number number
|
|
452 string string
|
|
453 comment commment
|
|
454 label label
|
|
455 preprocessor preprocessor directive
|
|
456 localvars substitution in .macro
|
|
457
|
|
458 VHDL ("vhdl")
|
|
459
|
|
460 keyword keyword
|
|
461 number number
|
|
462 string string
|
|
463 comment commment
|
|
464 literal signal logical value
|
|
465 typename typename
|
|
466 attribute signal attribute
|
|
467
|
|
468 Parser3 ("parser3"):
|
|
469
|
|
470 keyword keyword
|
|
471 number number
|
|
472 comment commment
|
|
473 variable variable starting with "$"
|
|
474 preprocessor preprocessor directive
|
|
475 title user-defined name starting with "@"
|
|
476
|
|
477 TeX ("tex"):
|
|
478
|
|
479 comment comment
|
|
480 number number
|
|
481 command command
|
|
482 parameter parameter
|
|
483 formula formula
|
|
484 special special symbol
|
|
485
|
|
486 Haskell ("haskell"):
|
|
487
|
|
488 keyword keyword
|
|
489 number number
|
|
490 string string
|
|
491 comment comment
|
|
492 class type classes and other data types
|
|
493 title function name
|
|
494 type type class name
|
|
495 typedef definition of types (type, newtype, data)
|
|
496
|
|
497 Erlang ("erlang"):
|
|
498
|
|
499 comment comment
|
|
500 string string
|
|
501 number number
|
|
502 keyword keyword
|
|
503 record_name record access (#record_name)
|
|
504 title name of declaration function
|
|
505 variable variable (starts with capital letter or with _)
|
|
506 pp.keywords module's attribute (-attribute)
|
|
507 function_name atom or atom:atom in case of function call
|
|
508
|
|
509 Rust ("rust"):
|
|
510
|
|
511 comment comment
|
|
512 string string
|
|
513 number number
|
|
514 keyword keyword
|
|
515 title name of declaration
|
|
516 preprocessor preprocessor directive
|
|
517
|
|
518 Matlab ("matlab"):
|
|
519
|
|
520 comment comment
|
|
521 string string
|
|
522 number number
|
|
523 keyword keyword
|
|
524 title function name
|
|
525 function function
|
|
526 param params of function
|
|
527
|
|
528 R ("r"):
|
|
529
|
|
530 comment comment
|
|
531 string string constant
|
|
532 number number
|
|
533 keyword language keywords (function, if) plus "structural"
|
|
534 functions (attach, require, setClass)
|
|
535 literal special literal: TRUE, FALSE, NULL, NA, etc.
|
|
536
|
|
537 OpenGL Shading Language ("glsl"):
|
|
538
|
|
539 comment comment
|
|
540 number number
|
|
541 preprocessor preprocessor directive
|
|
542 keyword keyword
|
|
543 built_in GLSL built-in functions and variables
|
|
544 literal true false
|