classref.txt 17 KB

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