1 | /L12"Cobra" COBRA_LANG |
---|
2 | /Line Comment = # |
---|
3 | /Block Comment On = /# |
---|
4 | /Block Comment Off = #/ |
---|
5 | /Escape Char = \ |
---|
6 | /File Extensions = COBRA |
---|
7 | /Regexp Type = Perl |
---|
8 | /Delimiters = ~!@%^&*()-+=|\/{}[]:;"'<> , .? |
---|
9 | /Function String = "^[ \t]*(class|def|get|pro|set|sig|var)(.*)$" |
---|
10 | /Indent Strings = "{" "branch" "else" "if" "on" |
---|
11 | /Open Fold Strings = "{" "def" "enum" |
---|
12 | /Close Fold Strings = "}" "def" "class" "override" "var" "pro" "get" "set" "sig" |
---|
13 | /C1"Keywords" STYLE_KEYWORD |
---|
14 | adds all and any as assert |
---|
15 | base body branch break |
---|
16 | callable catch class const continue cue |
---|
17 | def do dynamiceach |
---|
18 | else end ensure enum event every except expect extend |
---|
19 | finally for from |
---|
20 | get |
---|
21 | has |
---|
22 | if ignore implements implies import in inherits inlined inout interface invariant is |
---|
23 | listen lock |
---|
24 | mixin must |
---|
25 | namespace not |
---|
26 | objc of old on or out |
---|
27 | pass passthrough post print pro |
---|
28 | raise ref require return |
---|
29 | same set sig stop struct success |
---|
30 | test this throw to trace try |
---|
31 | use using |
---|
32 | var vari |
---|
33 | where while |
---|
34 | yield |
---|
35 | /C2"Special Keywords" STYLE_ATTRIBUTE |
---|
36 | abstract |
---|
37 | fake |
---|
38 | internal |
---|
39 | new nonvirtual |
---|
40 | override |
---|
41 | partial private protected public |
---|
42 | shared |
---|
43 | vari virtual |
---|
44 | /C3"Operators" STYLE_OPERATOR |
---|
45 | ! |
---|
46 | % |
---|
47 | & |
---|
48 | * |
---|
49 | + |
---|
50 | - |
---|
51 | // / |
---|
52 | < |
---|
53 | = |
---|
54 | > |
---|
55 | ^ |
---|
56 | and as |
---|
57 | in is |
---|
58 | not |
---|
59 | or |
---|
60 | | |
---|
61 | ~ |
---|
62 | /C4"Types" STYLE_ELEMENT |
---|
63 | Array |
---|
64 | bool |
---|
65 | char Color |
---|
66 | decimal dynamic DateTime Dictionary |
---|
67 | Exception |
---|
68 | float float32 float64 |
---|
69 | int int8 int16 int32 int64 ICloneable IComparable IDictionary IEnumerable IList |
---|
70 | List |
---|
71 | number |
---|
72 | Object |
---|
73 | Queue |
---|
74 | Set Stack StreamReader StreamWriter String StringBuilder StringReader StringWriter |
---|
75 | TextReader TextWriter |
---|
76 | uint uint8 uint16 uint32 uint64 |
---|
77 | /C5"Others" STYLE_IDENTIFIER |
---|
78 | base |
---|
79 | false |
---|
80 | nil |
---|
81 | this true |
---|