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
|
built_in built-in 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
|
prompt interpreter prompt (>>> or ...)
|
30
|
|
31
|
Ruby ("ruby"):
|
32
|
|
33
|
keyword keyword
|
34
|
string string
|
35
|
subst in-string substitution (#{...})
|
36
|
comment comment
|
37
|
yardoctag YARD tag
|
38
|
function function header "def some_name(...):"
|
39
|
class class header "class SomeName(...):"
|
40
|
title name of a function or a class inside a header
|
41
|
parent name of a parent class
|
42
|
symbol symbol
|
43
|
|
44
|
Haml ("haml"):
|
45
|
|
46
|
tag any tag starting with "%"
|
47
|
title tag's name
|
48
|
attribute tag's attribute
|
49
|
keyword tag's attribute that is a keyword
|
50
|
string attribute's value that is a string
|
51
|
value attribute's value, shorthand id or class for tag
|
52
|
comment comment
|
53
|
doctype !!! declaration
|
54
|
bullet line defined by variable
|
55
|
|
56
|
Perl ("perl"):
|
57
|
|
58
|
keyword keyword
|
59
|
comment comment
|
60
|
number number
|
61
|
string string
|
62
|
regexp regular expression
|
63
|
sub subroutine header (from "sub" till "{")
|
64
|
variable variable starting with "$", "%", "@"
|
65
|
operator operator
|
66
|
pod plain old doc
|
67
|
|
68
|
PHP ("php"):
|
69
|
|
70
|
keyword keyword
|
71
|
number number
|
72
|
string string (of any type)
|
73
|
comment comment
|
74
|
phpdoc phpdoc params in comments
|
75
|
variable variable starting with "$"
|
76
|
preprocessor preprocessor marks: "<?php" and "?>"
|
77
|
|
78
|
Scala ("scala"):
|
79
|
|
80
|
keyword keyword
|
81
|
number number
|
82
|
string string
|
83
|
comment comment
|
84
|
annotation annotation
|
85
|
javadoc javadoc comment
|
86
|
javadoctag @-tag in javadoc
|
87
|
class class header
|
88
|
title class name inside a header
|
89
|
params everything in parentheses inside a class header
|
90
|
inheritance keywords "extends" and "with" inside class header
|
91
|
|
92
|
Go ("go"):
|
93
|
|
94
|
comment comment
|
95
|
string string constant
|
96
|
number number
|
97
|
keyword language keywords
|
98
|
constant true false nil iota
|
99
|
typename built-in plain types (int, string etc.)
|
100
|
built_in built-in functions
|
101
|
|
102
|
HTML, XML ("xml"):
|
103
|
|
104
|
tag any tag from "<" till ">"
|
105
|
attribute tag's attribute with or without value
|
106
|
value attribute's value
|
107
|
comment comment
|
108
|
pi processing instruction (<? ... ?>)
|
109
|
doctype <!DOCTYPE ... > declaration
|
110
|
cdata CDATA section
|
111
|
|
112
|
Lasso ("lasso"):
|
113
|
|
114
|
preprocessor delimiters and interpreter flags
|
115
|
shebang Lasso 9 shell script header
|
116
|
comment single- or multi-line comment
|
117
|
javadoc doc comment
|
118
|
keyword keyword
|
119
|
literal keyword representing a value
|
120
|
built_in built-in types and variables
|
121
|
number number
|
122
|
string string
|
123
|
variable variable reference starting with "#" or "$"
|
124
|
tag tag literal
|
125
|
attribute named or rest parameter in method signature
|
126
|
class type, trait, or method header
|
127
|
title name following "define" inside a header
|
128
|
|
129
|
CSS ("css"):
|
130
|
|
131
|
tag tag in selectors
|
132
|
id #some_name in selectors
|
133
|
class .some_name in selectors
|
134
|
at_rule @-rule till first "{" or ";"
|
135
|
attr_selector attribute selector (square brackets in a[href^=http://])
|
136
|
pseudo pseudo classes and elemens (:after, ::after etc.)
|
137
|
comment comment
|
138
|
rules everything from "{" till "}"
|
139
|
attribute property name inside a rule
|
140
|
value property value inside a rule, from ":" till ";" or
|
141
|
till the end of rule block
|
142
|
number number within a value
|
143
|
string string within a value
|
144
|
hexcolor hex color (#FFFFFF) within a value
|
145
|
function CSS function within a value
|
146
|
important "!important" symbol
|
147
|
|
148
|
SCSS ("scss"):
|
149
|
|
150
|
tag tag in selectors
|
151
|
id #some_name in selectors
|
152
|
class .some_name in selectors
|
153
|
at_rule @-rule till first "{" or ";"
|
154
|
attr_selector attribute selector (square brackets in a[href^=http://])
|
155
|
pseudo pseudo classes and elemens (:after, ::after etc.)
|
156
|
comment comment
|
157
|
rules everything from "{" till "}"
|
158
|
attribute property name inside a rule
|
159
|
value property value inside a rule, from ":" till ";" or
|
160
|
till the end of rule block
|
161
|
number number within a value
|
162
|
string string within a value
|
163
|
hexcolor hex color (#FFFFFF) within a value
|
164
|
function CSS function within a value
|
165
|
important "!important" symbol
|
166
|
variable variable starting with "$"
|
167
|
preprocessor keywords after @
|
168
|
|
169
|
Markdown ("markdown"):
|
170
|
|
171
|
header header
|
172
|
bullet list bullet
|
173
|
emphasis emphasis
|
174
|
strong strong emphasis
|
175
|
blockquote blockquote
|
176
|
code code
|
177
|
horizontal_rule horizontal rule
|
178
|
link_label link label
|
179
|
link_url link url
|
180
|
|
181
|
AsciiDoc ("asciidoc"):
|
182
|
|
183
|
header heading
|
184
|
bullet list or labeled bullet
|
185
|
emphasis emphasis
|
186
|
strong strong emphasis
|
187
|
blockquote blockquote
|
188
|
code inline or block code
|
189
|
horizontal_rule horizontal rule
|
190
|
link_label link or image label
|
191
|
link_url link or image url
|
192
|
comment comment
|
193
|
attribute document attribute, block attributes
|
194
|
label admonition label
|
195
|
|
196
|
Django ("django"):
|
197
|
|
198
|
keyword HTML tag in HTML, default tags and default filters in templates
|
199
|
tag any tag from "<" till ">"
|
200
|
comment comment
|
201
|
doctype <!DOCTYPE ... > declaration
|
202
|
attribute tag's attribute with or withou value
|
203
|
value attribute's value
|
204
|
template_tag template tag {% .. %}
|
205
|
variable template variable {{ .. }}
|
206
|
template_comment template comment, both {# .. #} and {% comment %}
|
207
|
filter filter from "|" till the next filter or the end of tag
|
208
|
argument filter argument
|
209
|
|
210
|
Handlebars ("handlebars"):
|
211
|
|
212
|
expression expression to be evaluated
|
213
|
variable variable
|
214
|
begin-block the beginning of a block
|
215
|
end-block the ending of a block
|
216
|
string string
|
217
|
|
218
|
JSON ("json"):
|
219
|
|
220
|
number number
|
221
|
literal "true", "false" and "null"
|
222
|
string string value
|
223
|
attribute name of an object property
|
224
|
value value of an object property
|
225
|
|
226
|
JavaScript ("javascript"):
|
227
|
|
228
|
keyword keyword
|
229
|
comment comment
|
230
|
number number
|
231
|
literal special literal: "true", "false" and "null"
|
232
|
string string
|
233
|
regexp regular expression
|
234
|
function header of a function
|
235
|
title name of a function inside a header
|
236
|
params parentheses and everything inside them in a function's header
|
237
|
|
238
|
CoffeeScript ("coffeescript"):
|
239
|
|
240
|
keyword keyword
|
241
|
comment comment
|
242
|
number number
|
243
|
literal special literal: "true", "false" and "null"
|
244
|
built_in built-in objects and functions ("window", "console", "require", etc...)
|
245
|
string string
|
246
|
subst #{ ... } interpolation in double-quoted strings
|
247
|
regexp regular expression
|
248
|
function header of a function
|
249
|
class header of a class
|
250
|
title name of a function variable inside a header
|
251
|
params parentheses and everything inside them in a function's header
|
252
|
property @-property within class and functions
|
253
|
|
254
|
ActionScript ("actionscript"):
|
255
|
|
256
|
comment comment
|
257
|
string string
|
258
|
number number
|
259
|
keyword keywords
|
260
|
literal literal
|
261
|
reserved reserved keyword
|
262
|
title name of declaration (package, class or function)
|
263
|
preprocessor preprocessor directive (import, include)
|
264
|
type type of returned value (for functions)
|
265
|
package package (named or not)
|
266
|
class class/interface
|
267
|
function function
|
268
|
param params of function
|
269
|
rest_arg rest argument of function
|
270
|
|
271
|
VBScript ("vbscript"):
|
272
|
|
273
|
keyword keyword
|
274
|
number number
|
275
|
string string
|
276
|
comment comment
|
277
|
built_in built-in function
|
278
|
|
279
|
VB.Net ("vbnet"):
|
280
|
|
281
|
keyword keyword
|
282
|
built_in built-in types
|
283
|
literal "true", "false" and "nothing"
|
284
|
string string
|
285
|
comment comment
|
286
|
xmlDocTag xmldoc tag ("'''", "<!--", "-->", "<..>")
|
287
|
preprocessor preprocessor directive
|
288
|
|
289
|
HTTP ("http"):
|
290
|
|
291
|
request first line of a request
|
292
|
status first line of a response
|
293
|
attribute header name
|
294
|
string header value or query string in a request line
|
295
|
number status code
|
296
|
|
297
|
Lua ("lua"):
|
298
|
|
299
|
keyword keyword
|
300
|
number number
|
301
|
string string
|
302
|
comment comment
|
303
|
built_in built-in operator
|
304
|
function header of a function
|
305
|
title name of a function inside a header
|
306
|
params everything inside parentheses in a function's header
|
307
|
long_brackets multiline string in [=[ .. ]=]
|
308
|
|
309
|
Delphi ("delphi"):
|
310
|
|
311
|
keyword keyword
|
312
|
comment comment (of any type)
|
313
|
number number
|
314
|
string string
|
315
|
function header of a function, procedure, constructor and destructor
|
316
|
title name of a function, procedure, constructor or destructor
|
317
|
inside a header
|
318
|
params everything inside parentheses in a function's header
|
319
|
class class' body from "= class" till "end;"
|
320
|
|
321
|
Java ("java"):
|
322
|
|
323
|
keyword keyword
|
324
|
number number
|
325
|
string string
|
326
|
comment commment
|
327
|
annotaion annotation
|
328
|
javadoc javadoc comment
|
329
|
class class header from "class" till "{"
|
330
|
title class name inside a header
|
331
|
params everything in parentheses inside a class header
|
332
|
inheritance keywords "extends" and "implements" inside class header
|
333
|
|
334
|
C++ ("cpp"):
|
335
|
|
336
|
keyword keyword
|
337
|
number number
|
338
|
string string and character
|
339
|
comment comment
|
340
|
preprocessor preprocessor directive
|
341
|
stl_container instantiation of STL containers ("vector<...>")
|
342
|
|
343
|
Objective C ("objectivec"):
|
344
|
|
345
|
keyword keyword
|
346
|
built_in Cocoa/Cocoa Touch constants and classes
|
347
|
number number
|
348
|
string string
|
349
|
comment comment
|
350
|
preprocessor preprocessor directive
|
351
|
class interface/implementation, protocol and forward class declaration
|
352
|
variable properties and struct accesors
|
353
|
|
354
|
Vala ("vala"):
|
355
|
|
356
|
keyword keyword
|
357
|
number number
|
358
|
string string
|
359
|
comment comment
|
360
|
class class definitions
|
361
|
title in class definition
|
362
|
constant ALL_UPPER_CASE
|
363
|
|
364
|
C# ("cs"):
|
365
|
|
366
|
keyword keyword
|
367
|
number number
|
368
|
string string
|
369
|
comment commment
|
370
|
xmlDocTag xmldoc tag ("///", "<!--", "-->", "<..>")
|
371
|
|
372
|
F# ("fsharp"):
|
373
|
|
374
|
keywords keyword
|
375
|
number number
|
376
|
string string
|
377
|
commment comment
|
378
|
class any custom F# type
|
379
|
title the name of a custom F# type
|
380
|
annotation any attribute
|
381
|
|
382
|
OCaml ("ocaml"):
|
383
|
keywords keyword
|
384
|
number number
|
385
|
string string
|
386
|
commment comment
|
387
|
class any custom OCaml type
|
388
|
title the name of a custom OCaml type
|
389
|
annotation any attribute
|
390
|
|
391
|
D ("d"):
|
392
|
|
393
|
comment comment
|
394
|
string string constant
|
395
|
number number
|
396
|
keyword language keywords (including @attributes)
|
397
|
constant true false null
|
398
|
built_in built-in plain types (int, string etc.)
|
399
|
|
400
|
RenderMan RSL ("rsl"):
|
401
|
|
402
|
keyword keyword
|
403
|
number number
|
404
|
string string (including @"..")
|
405
|
comment comment
|
406
|
preprocessor preprocessor directive
|
407
|
shader sahder keywords
|
408
|
shading shading keywords
|
409
|
built_in built-in function
|
410
|
|
411
|
RenderMan RIB ("rib"):
|
412
|
|
413
|
keyword keyword
|
414
|
number number
|
415
|
string string
|
416
|
comment comment
|
417
|
commands command
|
418
|
|
419
|
Maya Embedded Language ("mel"):
|
420
|
|
421
|
keyword keyword
|
422
|
number number
|
423
|
string string
|
424
|
comment comment
|
425
|
variable variable
|
426
|
|
427
|
SQL ("sql"):
|
428
|
|
429
|
keyword keyword (mostly SQL'92 and SQL'99)
|
430
|
number number
|
431
|
string string (of any type: "..", '..', `..`)
|
432
|
comment comment
|
433
|
aggregate aggregate function
|
434
|
|
435
|
Smalltalk ("smalltalk"):
|
436
|
|
437
|
keyword keyword
|
438
|
number number
|
439
|
string string
|
440
|
comment commment
|
441
|
symbol symbol
|
442
|
array array
|
443
|
class name of a class
|
444
|
char char
|
445
|
localvars block of local variables
|
446
|
|
447
|
Lisp ("lisp"):
|
448
|
|
449
|
keyword keyword
|
450
|
number number
|
451
|
string string
|
452
|
comment commment
|
453
|
variable variable
|
454
|
literal b, t and nil
|
455
|
list non-quoted list
|
456
|
title first symbol in a non-quoted list
|
457
|
body remainder of the non-quoted list
|
458
|
quoted quoted list, both "(quote .. )" and "'(..)"
|
459
|
|
460
|
Clojure ("clojure"):
|
461
|
|
462
|
comment comments and hints
|
463
|
string string
|
464
|
number number
|
465
|
collection collections
|
466
|
attribute :keyword
|
467
|
title function name (built-in or user defined)
|
468
|
built_in built-in function name
|
469
|
|
470
|
Ini ("ini"):
|
471
|
|
472
|
title title of a section
|
473
|
value value of a setting of any type
|
474
|
string string
|
475
|
number number
|
476
|
keyword boolean value keyword
|
477
|
|
478
|
Apache ("apache"):
|
479
|
|
480
|
keyword keyword
|
481
|
number number
|
482
|
comment commment
|
483
|
literal On and Off
|
484
|
sqbracket variables in rewrites "%{..}"
|
485
|
cbracket options in rewrites "[..]"
|
486
|
tag begin and end of a configuration section
|
487
|
|
488
|
Nginx ("nginx"):
|
489
|
|
490
|
title directive title
|
491
|
string string
|
492
|
number number
|
493
|
comment comment
|
494
|
built_in built-in constant
|
495
|
variable $-variable
|
496
|
regexp regexp
|
497
|
|
498
|
Diff ("diff"):
|
499
|
|
500
|
header file header
|
501
|
chunk chunk header within a file
|
502
|
addition added lines
|
503
|
deletion deleted lines
|
504
|
change changed lines
|
505
|
|
506
|
DOS ("dos"):
|
507
|
|
508
|
keyword keyword
|
509
|
flow batch control keyword
|
510
|
stream DOS special files ("con", "prn", ...)
|
511
|
winutils some commands (see dos.js specifically)
|
512
|
envvar environment variables
|
513
|
|
514
|
Bash ("bash"):
|
515
|
|
516
|
keyword keyword
|
517
|
string string
|
518
|
number number
|
519
|
comment comment
|
520
|
literal special literal: "true" и "false"
|
521
|
variable variable
|
522
|
shebang script interpreter header
|
523
|
|
524
|
Makefile ("makefile"):
|
525
|
|
526
|
keyword keyword ".PHONY" within the phony line
|
527
|
string string
|
528
|
comment comment
|
529
|
variable $(..) variable
|
530
|
title target title
|
531
|
constant constant within the initial definition
|
532
|
|
533
|
CMake ("cmake"):
|
534
|
|
535
|
keyword keyword
|
536
|
number number
|
537
|
string string
|
538
|
comment commment
|
539
|
envvar $-variable
|
540
|
operator operator (LESS, STREQUAL, MATCHES, etc)
|
541
|
|
542
|
Axapta ("axapta"):
|
543
|
|
544
|
keyword keyword
|
545
|
number number
|
546
|
string string
|
547
|
comment commment
|
548
|
class class header from "class" till "{"
|
549
|
title class name inside a header
|
550
|
params everything in parentheses inside a class header
|
551
|
inheritance keywords "extends" and "implements" inside class header
|
552
|
preprocessor preprocessor directive
|
553
|
|
554
|
Oracle Rules Language ("ruleslanguage"):
|
555
|
|
556
|
comment comment
|
557
|
string string constant
|
558
|
number number
|
559
|
keyword language keywords
|
560
|
built_in built-in functions
|
561
|
array array stem
|
562
|
|
563
|
1C ("1c"):
|
564
|
|
565
|
keyword keyword
|
566
|
number number
|
567
|
date date
|
568
|
string string
|
569
|
comment commment
|
570
|
function header of function or procudure
|
571
|
title function name inside a header
|
572
|
params everything in parentheses inside a function header
|
573
|
preprocessor preprocessor directive
|
574
|
|
575
|
AVR assembler ("avrasm"):
|
576
|
|
577
|
keyword keyword
|
578
|
built_in pre-defined register
|
579
|
number number
|
580
|
string string
|
581
|
comment commment
|
582
|
label label
|
583
|
preprocessor preprocessor directive
|
584
|
localvars substitution in .macro
|
585
|
|
586
|
VHDL ("vhdl"):
|
587
|
|
588
|
keyword keyword
|
589
|
number number
|
590
|
string string
|
591
|
comment commment
|
592
|
literal signal logical value
|
593
|
typename typename
|
594
|
attribute signal attribute
|
595
|
|
596
|
Parser3 ("parser3"):
|
597
|
|
598
|
keyword keyword
|
599
|
number number
|
600
|
comment commment
|
601
|
variable variable starting with "$"
|
602
|
preprocessor preprocessor directive
|
603
|
title user-defined name starting with "@"
|
604
|
|
605
|
LiveCode Server ("livecodeserver"):
|
606
|
|
607
|
variable variable starting with "g", "t", "p", "s", "$_"
|
608
|
string string
|
609
|
comment comment
|
610
|
number number
|
611
|
title name of a command or a function
|
612
|
keyword keyword
|
613
|
constant constant
|
614
|
operator operator
|
615
|
built_in built_in functions and commands
|
616
|
function header of a function
|
617
|
command header of a command
|
618
|
preprocessor preprocessor marks: "<?", "<?rev", "<?lc", "<?livecode" and "?>"
|
619
|
|
620
|
TeX ("tex"):
|
621
|
|
622
|
comment comment
|
623
|
number number
|
624
|
command command
|
625
|
parameter parameter
|
626
|
formula formula
|
627
|
special special symbol
|
628
|
|
629
|
Haskell ("haskell"):
|
630
|
|
631
|
comment comment
|
632
|
pragma GHC pragma
|
633
|
preprocessor CPP preprocessor directive
|
634
|
keyword keyword
|
635
|
number number
|
636
|
string string
|
637
|
title function or variable name
|
638
|
type value, type or type class constructor name (i.e. capitalized)
|
639
|
container (..., ...) or {...; ...} list in declaration or record
|
640
|
module module declaration
|
641
|
import import declaration
|
642
|
class type class or instance declaration
|
643
|
typedef type declaration (type, newtype, data)
|
644
|
default default declaration
|
645
|
infix infix declaration
|
646
|
foreign FFI declaration
|
647
|
shebang shebang line
|
648
|
|
649
|
Erlang ("erlang"):
|
650
|
|
651
|
comment comment
|
652
|
string string
|
653
|
number number
|
654
|
keyword keyword
|
655
|
record_name record access (#record_name)
|
656
|
title name of declaration function
|
657
|
variable variable (starts with capital letter or with _)
|
658
|
pp.keywords module's attribute (-attribute)
|
659
|
function_name atom or atom:atom in case of function call
|
660
|
|
661
|
Rust ("rust"):
|
662
|
|
663
|
comment comment
|
664
|
string string
|
665
|
number number
|
666
|
keyword keyword
|
667
|
title name of declaration
|
668
|
preprocessor preprocessor directive
|
669
|
|
670
|
Matlab ("matlab"):
|
671
|
|
672
|
comment comment
|
673
|
string string
|
674
|
number number
|
675
|
keyword keyword
|
676
|
title function name
|
677
|
function function
|
678
|
param params of function
|
679
|
matrix matrix in [ .. ]
|
680
|
cell cell in { .. }
|
681
|
|
682
|
Scilab ("scilab"):
|
683
|
|
684
|
comment comment
|
685
|
string string
|
686
|
number number
|
687
|
keyword keyword
|
688
|
title function name
|
689
|
function function
|
690
|
param params of function
|
691
|
matrix matrix in [ .. ]
|
692
|
|
693
|
R ("r"):
|
694
|
|
695
|
comment comment
|
696
|
string string constant
|
697
|
number number
|
698
|
keyword language keywords (function, if) plus "structural"
|
699
|
functions (attach, require, setClass)
|
700
|
literal special literal: TRUE, FALSE, NULL, NA, etc.
|
701
|
|
702
|
OpenGL Shading Language ("glsl"):
|
703
|
|
704
|
comment comment
|
705
|
number number
|
706
|
preprocessor preprocessor directive
|
707
|
keyword keyword
|
708
|
built_in GLSL built-in functions and variables
|
709
|
literal true false
|
710
|
|
711
|
AppleScript ("applescript"):
|
712
|
|
713
|
keyword keyword
|
714
|
command core AppleScript command
|
715
|
constant AppleScript built in constant
|
716
|
type AppleScript variable type (integer, etc.)
|
717
|
property Applescript built in property (length, etc.)
|
718
|
number number
|
719
|
string string
|
720
|
comment comment
|
721
|
title name of a handler
|
722
|
|
723
|
Brainfuck ("brainfuck"):
|
724
|
|
725
|
title Brainfuck while loop command
|
726
|
literal Brainfuck inc and dec commands
|
727
|
comment comment
|
728
|
string Brainfuck input and output commands
|
729
|
|
730
|
Mizar ("mizar"):
|
731
|
|
732
|
keyword keyword
|
733
|
comment comment
|