7 - identifier: "\\b[A-Z][0-9a-z_]{2,}\\b"
9 - statement: "\\b(let|val|method|in|and|rec|private|virtual|constraint)\\b"
11 - type: "\\b(type|open|class|module|exception|external)\\b"
13 - statement: "\\b(fun|function|functor|match|try|with)\\b"
15 - statement: "\\b(as|when|of)\\b"
17 - statement: "\\b(if|then|else)\\b"
19 - type: "\\b(begin|end|object|struct|sig|for|while|do|done|to|downto)\\b"
21 - constant.bool: "\\b(true|false)\\b"
23 - special: "\\b(include|inherit|initializer)\\b"
25 - special: "\\b(new|ref|mutable|lazy|assert|raise)\\b"
26 #keywords which don't exist in ocaml
27 - type: "\\b(base|delegate|downcast|extern|finally|fixed|global|inline|interface|internal|let!|member|namespace|null|override|private|public)\\b"
28 - type: "\\b(return|return!|select|static|upcast|use|use!|void|yield|yield!)\\b"
34 - constant.specialChar: "%."
35 - constant.specialChar: "\\\\[abfnrtv'\\\"\\\\]"
36 - constant.specialChar: "\\\\([0-7]{3}|x[A-Fa-f0-9]{2}|u[A-Fa-f0-9]{4}|U[A-Fa-f0-9]{8})"
42 - constant.specialChar: "%."
43 - constant.specialChar: "\\\\[abfnrtv'\\\"\\\\]"
44 - constant.specialChar: "\\\\([0-7]{3}|x[A-Fa-f0-9]{2}|u[A-Fa-f0-9]{4}|U[A-Fa-f0-9]{8})"