Created
February 13, 2014 06:16
-
-
Save kestred/8970671 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>fileTypes</key> | |
| <array> | |
| <string>dc</string> | |
| <string>dcf</string> | |
| </array> | |
| <key>foldingStartMarker</key> | |
| <string>\{</string> | |
| <key>foldingStopMarker</key> | |
| <string>\{</string> | |
| <key>name</key> | |
| <string>DC File</string> | |
| <key>patterns</key> | |
| <array> | |
| <dict> | |
| <key>include</key> | |
| <string>#comments</string> | |
| </dict> | |
| <dict> | |
| <key>begin</key> | |
| <string>\b(from)\b</string> | |
| <key>beginCaptures</key> | |
| <dict> | |
| <key>1</key> | |
| <dict> | |
| <key>name</key> | |
| <string>keyword.control.from.dcfile</string> | |
| </dict> | |
| </dict> | |
| <key>end</key> | |
| <string>\n</string> | |
| <key>name</key> | |
| <string>meta.import.from.dcfile</string> | |
| <key>patterns</key> | |
| <array> | |
| <dict> | |
| <key>match</key> | |
| <string>import</string> | |
| <key>name</key> | |
| <string>keyword.control.import.dcfile</string> | |
| </dict> | |
| </array> | |
| </dict> | |
| <dict> | |
| <key>begin</key> | |
| <string>\bimport\b</string> | |
| <key>beginCaptures</key> | |
| <dict> | |
| <key>1</key> | |
| <dict> | |
| <key>name</key> | |
| <string>keyword.control.import.dcfile</string> | |
| </dict> | |
| </dict> | |
| <key>end</key> | |
| <string>\n</string> | |
| <key>name</key> | |
| <string>meta.import.dcfile</string> | |
| </dict> | |
| <dict> | |
| <key>match</key> | |
| <string><[0-9A-Fa-f]+></string> | |
| <key>name</key> | |
| <string>constant.numeric.hexnum.dcfile</string> | |
| </dict> | |
| <dict> | |
| <key>begin</key> | |
| <string>^\s*(typedef)\s+</string> | |
| <key>beginCaptures</key> | |
| <dict> | |
| <key>1</key> | |
| <dict> | |
| <key>name</key> | |
| <string>storage.type.defintion.dcfile</string> | |
| </dict> | |
| </dict> | |
| <key>end</key> | |
| <string>;</string> | |
| <key>name</key> | |
| <string>meta.typedef.dcfile</string> | |
| <key>patterns</key> | |
| <array> | |
| <dict> | |
| <key>include</key> | |
| <string>#builtinType</string> | |
| </dict> | |
| </array> | |
| </dict> | |
| <dict> | |
| <key>begin</key> | |
| <string>^\s*(dclass|struct)\s+([A-Za-z_][A-Za-z0-9_]*)[\s]*(\n|\{)</string> | |
| <key>beginCaptures</key> | |
| <dict> | |
| <key>1</key> | |
| <dict> | |
| <key>name</key> | |
| <string>storage.type.class.dcfile</string> | |
| </dict> | |
| </dict> | |
| <key>end</key> | |
| <string>\};</string> | |
| <key>name</key> | |
| <string>meta.class.dcfile</string> | |
| <key>patterns</key> | |
| <array> | |
| <dict> | |
| <key>include</key> | |
| <string>#comments</string> | |
| </dict> | |
| <dict> | |
| <key>include</key> | |
| <string>#field</string> | |
| </dict> | |
| <dict> | |
| <key>include</key> | |
| <string>#method</string> | |
| </dict> | |
| </array> | |
| </dict> | |
| <dict> | |
| <key>begin</key> | |
| <string>^\s*(dclass|struct)\s+([A-Za-z_][A-Za-z0-9_]*)\s*:\s*([A-Za-z_][A-Za-z0-9_]*)(\s*,\s*([A-Za-z_][A-Za-z0-9_]*))*\s*(\n|\{)</string> | |
| <key>beginCaptures</key> | |
| <dict> | |
| <key>1</key> | |
| <dict> | |
| <key>name</key> | |
| <string>storage.type.class.dcfile</string> | |
| </dict> | |
| <key>3</key> | |
| <dict> | |
| <key>name</key> | |
| <string>entity.other.inherited-class</string> | |
| </dict> | |
| <key>5</key> | |
| <dict> | |
| <key>name</key> | |
| <string>entity.other.inherited-class</string> | |
| </dict> | |
| </dict> | |
| <key>end</key> | |
| <string>\};</string> | |
| <key>name</key> | |
| <string>meta.class.dcfile</string> | |
| <key>patterns</key> | |
| <array> | |
| <dict> | |
| <key>include</key> | |
| <string>#comments</string> | |
| </dict> | |
| <dict> | |
| <key>include</key> | |
| <string>#field</string> | |
| </dict> | |
| <dict> | |
| <key>include</key> | |
| <string>#method</string> | |
| </dict> | |
| </array> | |
| </dict> | |
| <dict> | |
| <key>match</key> | |
| <string>\b([A-Za-z_][A-Za-z0-9_]*)\b</string> | |
| <key>name</key> | |
| <string>invalid.keyword.dcfile</string> | |
| </dict> | |
| </array> | |
| <key>repository</key> | |
| <dict> | |
| <key>atomic</key> | |
| <dict> | |
| <key>begin</key> | |
| <string>\(</string> | |
| <key>end</key> | |
| <string>\)</string> | |
| <key>name</key> | |
| <string>meta.atomic.dcfile</string> | |
| <key>patterns</key> | |
| <array> | |
| <dict> | |
| <key>captures</key> | |
| <dict> | |
| <key>1</key> | |
| <dict> | |
| <key>name</key> | |
| <string>storage.type.parameter.dcfile</string> | |
| </dict> | |
| <key>3</key> | |
| <dict> | |
| <key>name</key> | |
| <string>constant.numeric.range.min.dcfile</string> | |
| </dict> | |
| <key>4</key> | |
| <dict> | |
| <key>name</key> | |
| <string>constant.numeric.range.max.dcfile</string> | |
| </dict> | |
| <key>6</key> | |
| <dict> | |
| <key>name</key> | |
| <string>constant.numeric.modulus.dcfile</string> | |
| </dict> | |
| <key>8</key> | |
| <dict> | |
| <key>name</key> | |
| <string>constant.numeric.divisor.dcfile</string> | |
| </dict> | |
| <key>9</key> | |
| <dict> | |
| <key>name</key> | |
| <string>variable.parameter.name.dcfile</string> | |
| </dict> | |
| </dict> | |
| <key>match</key> | |
| <string>\b([A-Za-z_][A-Za-z0-9_]*)\b(\(([0-9]+)\s*-\s*([0-9]+)\))?(%([0-9]*))?(/([0-9]*))?(\s+([A-Za-z_][A-Za-z0-9_]*))?(\[([0-9]*)\])?\s*,?</string> | |
| <key>name</key> | |
| <string>meta.parameter.named.dcfile</string> | |
| </dict> | |
| </array> | |
| </dict> | |
| <key>builtinType</key> | |
| <dict> | |
| <key>match</key> | |
| <string>\b(u?int(8|16|32|64)|float(32|64)|string|blob|char)\b</string> | |
| <key>name</key> | |
| <string>storage.type.builtin.dcfile</string> | |
| </dict> | |
| <key>comments</key> | |
| <dict> | |
| <key>patterns</key> | |
| <array> | |
| <dict> | |
| <key>match</key> | |
| <string>//.*$\n?</string> | |
| <key>name</key> | |
| <string>comment.line.dcfile</string> | |
| </dict> | |
| <dict> | |
| <key>begin</key> | |
| <string>/\*</string> | |
| <key>end</key> | |
| <string>\*/</string> | |
| <key>name</key> | |
| <string>comment.block.dcfile</string> | |
| </dict> | |
| </array> | |
| </dict> | |
| <key>field</key> | |
| <dict> | |
| <key>begin</key> | |
| <string>^\s*([A-Za-z_][A-Za-z0-9_]*)(/([0-9]*))?\s+([A-Za-z_][A-Za-z0-9_]*)\s*</string> | |
| <key>beginCaptures</key> | |
| <dict> | |
| <key>1</key> | |
| <dict> | |
| <key>name</key> | |
| <string>storage.type.field.dcfile</string> | |
| </dict> | |
| <key>3</key> | |
| <dict> | |
| <key>name</key> | |
| <string>constant.numeric.divisor.dcfile</string> | |
| </dict> | |
| </dict> | |
| <key>end</key> | |
| <string>;</string> | |
| <key>name</key> | |
| <string>meta.field.dcfile</string> | |
| <key>patterns</key> | |
| <array> | |
| <dict> | |
| <key>include</key> | |
| <string>#keyword</string> | |
| </dict> | |
| </array> | |
| </dict> | |
| <key>keyword</key> | |
| <dict> | |
| <key>match</key> | |
| <string>\b([A-Za-z_][A-Za-z0-9_]*)\b</string> | |
| <key>name</key> | |
| <string>constant.other.keyword.dcfile</string> | |
| </dict> | |
| <key>method</key> | |
| <dict> | |
| <key>begin</key> | |
| <string>^\s*([A-Za-z_][A-Za-z0-9_]*)\s*</string> | |
| <key>beginCaptures</key> | |
| <dict> | |
| <key>1</key> | |
| <dict> | |
| <key>name</key> | |
| <string>entity.name.function.dcfile</string> | |
| </dict> | |
| </dict> | |
| <key>end</key> | |
| <string>;</string> | |
| <key>name</key> | |
| <string>meta.method.dcfile</string> | |
| <key>patterns</key> | |
| <array> | |
| <dict> | |
| <key>include</key> | |
| <string>#atomic</string> | |
| </dict> | |
| <dict> | |
| <key>include</key> | |
| <string>#molecular</string> | |
| </dict> | |
| <dict> | |
| <key>include</key> | |
| <string>#keyword</string> | |
| </dict> | |
| </array> | |
| </dict> | |
| <key>molecular</key> | |
| <dict> | |
| <key>match</key> | |
| <string>:[^;]*</string> | |
| <key>name</key> | |
| <string>meta.molecular.dcfile</string> | |
| </dict> | |
| </dict> | |
| <key>scopeName</key> | |
| <string>source.dcfile</string> | |
| <key>uuid</key> | |
| <string>43bb3bb2-4a23-4b91-9e46-c934cb20ed60</string> | |
| </dict> | |
| </plist> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment