2015-11-06 00:14:57 +03:00
|
|
|
<?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">
|
2016-09-20 22:25:38 +03:00
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>TypeScript</string>
|
|
|
|
<key>scopeName</key>
|
|
|
|
<string>source.ts</string>
|
|
|
|
<key>fileTypes</key>
|
|
|
|
<array>
|
|
|
|
<string>ts</string>
|
|
|
|
</array>
|
|
|
|
<key>uuid</key>
|
|
|
|
<string>ef98eb90-bf9b-11e4-bb52-0800200c9a66</string>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#statements</string>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
<key>repository</key>
|
|
|
|
<dict>
|
|
|
|
<key>statements</key>
|
|
|
|
<dict>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#string</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#regex</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#template</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#comment</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#literal</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#declaration</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#switch-statement</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#for-loop</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#after-operator-block</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#decl-block</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#control-statement</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#expression</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#punctuation-semicolon</string>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
|
|
|
<key>var-expr</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>meta.var.expr.ts</string>
|
|
|
|
<key>begin</key>
|
|
|
|
<string>(?<!\.|\$)(?:(\bexport)\s+)?\b(var|let|const(?!\s+enum\b))\b(?!\$)</string>
|
|
|
|
<key>beginCaptures</key>
|
|
|
|
<dict>
|
|
|
|
<key>1</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>keyword.control.export.ts</string>
|
|
|
|
</dict>
|
|
|
|
<key>2</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>storage.type.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>end</key>
|
|
|
|
<string>(?=$|;|}|(\s+(of|in)\s+))</string>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#destructuring-variable</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#var-single-variable</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#comment</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#punctuation-comma</string>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
|
|
|
<key>var-single-variable</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>meta.var-single-variable.expr.ts</string>
|
|
|
|
<key>begin</key>
|
|
|
|
<string>([_$[:alpha:]][_$[:alnum:]]*)</string>
|
|
|
|
<key>beginCaptures</key>
|
|
|
|
<dict>
|
|
|
|
<key>1</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>variable.other.readwrite.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>end</key>
|
|
|
|
<string>(?=$|[;,}]|(\s+(of|in)\s+))</string>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#variable-initializer</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>begin</key>
|
|
|
|
<string>\G</string>
|
|
|
|
<key>end</key>
|
|
|
|
<string>(?!\G)(?=$|[;,=}]|(\s+(of|in)\s+))</string>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#type-annotation</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#string</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#comment</string>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
|
|
|
<key>destructuring-variable</key>
|
|
|
|
<dict>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>meta.object-binding-pattern-variable.ts</string>
|
|
|
|
<key>begin</key>
|
|
|
|
<string>(?<!=|:|of|in)\s*(\{)</string>
|
|
|
|
<key>beginCaptures</key>
|
|
|
|
<dict>
|
|
|
|
<key>1</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>punctuation.definition.binding-pattern.object.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>end</key>
|
|
|
|
<string>(?=$|[;,}]|(\s+(of|in)\s+))</string>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#variable-initializer</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>begin</key>
|
2016-09-29 00:51:17 +03:00
|
|
|
<string>(?<=\{)</string>
|
2016-09-20 22:25:38 +03:00
|
|
|
<key>end</key>
|
2016-09-29 00:51:17 +03:00
|
|
|
<string>(?=$|[;,=}]|(\s+(of|in)\s+))</string>
|
2016-09-20 22:25:38 +03:00
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>begin</key>
|
2016-09-29 00:51:17 +03:00
|
|
|
<string>(?<=\{)</string>
|
2016-09-20 22:25:38 +03:00
|
|
|
<key>end</key>
|
|
|
|
<string>\}</string>
|
|
|
|
<key>endCaptures</key>
|
|
|
|
<dict>
|
|
|
|
<key>0</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>punctuation.definition.binding-pattern.object.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#object-binding-element</string>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#type-annotation</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#comment</string>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>meta.array-binding-pattern-variable.ts</string>
|
|
|
|
<key>begin</key>
|
|
|
|
<string>(?<!=|:|of|in)\s*(\[)</string>
|
|
|
|
<key>beginCaptures</key>
|
|
|
|
<dict>
|
|
|
|
<key>1</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>punctuation.definition.binding-pattern.array.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>end</key>
|
|
|
|
<string>(?=$|[;,}]|(\s+(of|in)\s+))</string>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#variable-initializer</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>begin</key>
|
2016-09-29 00:51:17 +03:00
|
|
|
<string>(?<=\[)</string>
|
2016-09-20 22:25:38 +03:00
|
|
|
<key>end</key>
|
2016-09-29 00:51:17 +03:00
|
|
|
<string>(?=$|[;,=}]|(\s+(of|in)\s+))</string>
|
2016-09-20 22:25:38 +03:00
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>begin</key>
|
2016-09-29 00:51:17 +03:00
|
|
|
<string>(?<=\[)</string>
|
2016-09-20 22:25:38 +03:00
|
|
|
<key>end</key>
|
|
|
|
<string>\]</string>
|
|
|
|
<key>endCaptures</key>
|
|
|
|
<dict>
|
|
|
|
<key>0</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>punctuation.definition.binding-pattern.array.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#array-binding-element</string>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#type-annotation</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#comment</string>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
|
|
|
<key>object-binding-element</key>
|
|
|
|
<dict>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#comment</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>begin</key>
|
|
|
|
<string>([_$[:alpha:]][_$[:alnum:]]*)\s*(:)</string>
|
|
|
|
<key>beginCaptures</key>
|
|
|
|
<dict>
|
|
|
|
<key>1</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>variable.object.property.ts</string>
|
|
|
|
</dict>
|
|
|
|
<key>2</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>punctuation.destructuring.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>end</key>
|
|
|
|
<string>(?=,|\})</string>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#object-binding-pattern</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#array-binding-pattern</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>variable.other.readwrite.ts</string>
|
|
|
|
<key>match</key>
|
|
|
|
<string>([_$[:alpha:]][_$[:alnum:]]*)</string>
|
|
|
|
</dict>
|
2016-10-10 23:45:38 +03:00
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#variable-initializer</string>
|
|
|
|
</dict>
|
2016-09-20 22:25:38 +03:00
|
|
|
</array>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
2016-10-07 23:12:39 +03:00
|
|
|
<key>include</key>
|
|
|
|
<string>#object-binding-pattern</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#destructuring-variable-rest</string>
|
2016-09-20 22:25:38 +03:00
|
|
|
</dict>
|
2016-10-10 23:45:38 +03:00
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#variable-initializer</string>
|
|
|
|
</dict>
|
2016-09-20 22:25:38 +03:00
|
|
|
<dict>
|
2016-10-07 22:01:16 +03:00
|
|
|
<key>include</key>
|
|
|
|
<string>#punctuation-comma</string>
|
2016-09-20 22:25:38 +03:00
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
|
|
|
<key>array-binding-element</key>
|
|
|
|
<dict>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#comment</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#object-binding-pattern</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#array-binding-pattern</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
2016-10-07 23:12:39 +03:00
|
|
|
<key>include</key>
|
|
|
|
<string>#destructuring-variable-rest</string>
|
2016-09-20 22:25:38 +03:00
|
|
|
</dict>
|
2016-10-10 23:45:38 +03:00
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#variable-initializer</string>
|
|
|
|
</dict>
|
2016-09-20 22:25:38 +03:00
|
|
|
<dict>
|
2016-10-07 22:01:16 +03:00
|
|
|
<key>include</key>
|
|
|
|
<string>#punctuation-comma</string>
|
2016-09-20 22:25:38 +03:00
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
2016-10-07 23:12:39 +03:00
|
|
|
<key>destructuring-variable-rest</key>
|
|
|
|
<dict>
|
|
|
|
<key>match</key>
|
|
|
|
<string>(?:(\.\.\.)\s*)?([_$[:alpha:]][_$[:alnum:]]*)</string>
|
|
|
|
<key>captures</key>
|
|
|
|
<dict>
|
|
|
|
<key>1</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>keyword.operator.rest.ts</string>
|
|
|
|
</dict>
|
|
|
|
<key>2</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>variable.other.readwrite.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
2016-09-20 22:25:38 +03:00
|
|
|
<key>object-binding-pattern</key>
|
|
|
|
<dict>
|
|
|
|
<key>begin</key>
|
2016-10-07 23:12:39 +03:00
|
|
|
<string>(?:(\.\.\.)\s*)?(\{)</string>
|
2016-09-20 22:25:38 +03:00
|
|
|
<key>beginCaptures</key>
|
|
|
|
<dict>
|
2016-10-07 23:12:39 +03:00
|
|
|
<key>1</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>keyword.operator.rest.ts</string>
|
|
|
|
</dict>
|
|
|
|
<key>2</key>
|
2016-09-20 22:25:38 +03:00
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>punctuation.definition.binding-pattern.object.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>end</key>
|
|
|
|
<string>\}</string>
|
|
|
|
<key>endCaptures</key>
|
|
|
|
<dict>
|
|
|
|
<key>0</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>punctuation.definition.binding-pattern.object.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#object-binding-element</string>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
|
|
|
<key>array-binding-pattern</key>
|
|
|
|
<dict>
|
|
|
|
<key>begin</key>
|
2016-10-07 23:12:39 +03:00
|
|
|
<string>(?:(\.\.\.)\s*)?(\[)</string>
|
2016-09-20 22:25:38 +03:00
|
|
|
<key>beginCaptures</key>
|
|
|
|
<dict>
|
2016-10-07 23:12:39 +03:00
|
|
|
<key>1</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>keyword.operator.rest.ts</string>
|
|
|
|
</dict>
|
|
|
|
<key>2</key>
|
2016-09-20 22:25:38 +03:00
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>punctuation.definition.binding-pattern.array.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>end</key>
|
|
|
|
<string>\]</string>
|
|
|
|
<key>endCaptures</key>
|
|
|
|
<dict>
|
|
|
|
<key>0</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>punctuation.definition.binding-pattern.array.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#array-binding-element</string>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
|
|
|
<key>ternary-expression</key>
|
|
|
|
<dict>
|
|
|
|
<key>begin</key>
|
|
|
|
<string>(?=\?)</string>
|
|
|
|
<key>end</key>
|
|
|
|
<string>(?=$|[;,})\]])</string>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#ternary-operator</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#expression</string>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
|
|
|
<key>ternary-operator</key>
|
|
|
|
<dict>
|
|
|
|
<key>begin</key>
|
|
|
|
<string>(\?)</string>
|
|
|
|
<key>beginCaptures</key>
|
|
|
|
<dict>
|
|
|
|
<key>0</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>keyword.operator.ternary.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>end</key>
|
|
|
|
<string>(:)</string>
|
|
|
|
<key>endCaptures</key>
|
|
|
|
<dict>
|
|
|
|
<key>0</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>keyword.operator.ternary.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#expression</string>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
|
|
|
<key>expression</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>meta.expression.ts</string>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#string</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#regex</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#template</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#comment</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#literal</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#function-declaration</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#class-or-interface-declaration</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#arrow-function</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#cast</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#ternary-expression</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#new-expr</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#object-literal</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
2016-10-07 23:12:39 +03:00
|
|
|
<string>#expression-operators</string>
|
2016-09-20 22:25:38 +03:00
|
|
|
</dict>
|
2016-09-23 20:29:25 +03:00
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#support-objects</string>
|
|
|
|
</dict>
|
2016-09-20 22:25:38 +03:00
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#function-call</string>
|
|
|
|
</dict>
|
2016-09-23 20:29:25 +03:00
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#identifiers</string>
|
|
|
|
</dict>
|
2016-09-20 22:25:38 +03:00
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#paren-expression</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#punctuation-comma</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#punctuation-accessor</string>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
|
|
|
<key>control-statement</key>
|
|
|
|
<dict>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>keyword.control.trycatch.ts</string>
|
|
|
|
<key>match</key>
|
|
|
|
<string>(?<!\.|\$)\b(catch|finally|throw|try)\b(?!\$)</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>keyword.control.loop.ts</string>
|
|
|
|
<key>match</key>
|
|
|
|
<string>(?<!\.|\$)\b(break|continue|do|goto|while)\b(?!\$)</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>keyword.control.flow.ts</string>
|
|
|
|
<key>match</key>
|
2016-09-29 21:14:32 +03:00
|
|
|
<string>(?<!\.|\$)\b(return)\b(?!\$)</string>
|
2016-09-20 22:25:38 +03:00
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>match</key>
|
|
|
|
<string>(?<!\.|\$)\b(yield)\b(?!\$)(?:\s*(\*))?</string>
|
|
|
|
<key>captures</key>
|
|
|
|
<dict>
|
|
|
|
<key>1</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>keyword.control.flow.ts</string>
|
|
|
|
</dict>
|
|
|
|
<key>2</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>keyword.generator.asterisk.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>keyword.control.switch.ts</string>
|
|
|
|
<key>match</key>
|
|
|
|
<string>(?<!\.|\$)\b(case|default|switch)\b(?!\$)</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>keyword.control.conditional.ts</string>
|
|
|
|
<key>match</key>
|
|
|
|
<string>(?<!\.|\$)\b(else|if)\b(?!\$)</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>keyword.control.with.ts</string>
|
|
|
|
<key>match</key>
|
|
|
|
<string>(?<!\.|\$)\b(with)\b(?!\$)</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
2016-09-22 20:57:21 +03:00
|
|
|
<string>keyword.other.debugger.ts</string>
|
2016-09-20 22:25:38 +03:00
|
|
|
<key>match</key>
|
|
|
|
<string>(?<!\.|\$)\b(debugger)\b(?!\$)</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>storage.modifier.ts</string>
|
|
|
|
<key>match</key>
|
|
|
|
<string>(?<!\.|\$)\b(declare)\b(?!\$)</string>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
|
|
|
<key>declaration</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>meta.declaration.ts</string>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#decorator</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#var-expr</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#function-declaration</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#class-or-interface-declaration</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#type-declaration</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#enum-declaration</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#namespace-declaration</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#import-equals-declaration</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#import-declaration</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#export-declaration</string>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
|
|
|
<key>decorator</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>meta.decorator.ts</string>
|
|
|
|
<key>begin</key>
|
|
|
|
<string>(?<!\.|\$)\@</string>
|
|
|
|
<key>beginCaptures</key>
|
|
|
|
<dict>
|
|
|
|
<key>0</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>punctuation.decorator.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>end</key>
|
|
|
|
<string>(?=\s)</string>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#expression</string>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
|
|
|
<key>type-declaration</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>meta.type.declaration.ts</string>
|
|
|
|
<key>begin</key>
|
|
|
|
<string>(?<!\.|\$)(?:(\bexport)\s+)?\b(type)\b\s+([_$[:alpha:]][_$[:alnum:]]*)\s*</string>
|
|
|
|
<key>beginCaptures</key>
|
|
|
|
<dict>
|
|
|
|
<key>1</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>keyword.control.export.ts</string>
|
|
|
|
</dict>
|
|
|
|
<key>2</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>storage.type.type.ts</string>
|
|
|
|
</dict>
|
|
|
|
<key>3</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>entity.name.type.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>end</key>
|
2016-09-21 02:09:51 +03:00
|
|
|
<string>(?=[};]|\bvar\b|\blet\b|\bconst\b|\btype\b|\bfunction\b|\bclass\b|\binterface\b|\bnamespace\b|\bmodule\b|\bimport\b|\benum\b|\bdeclare\b|\bexport\b|\babstract\b|\basync\b)</string>
|
2016-09-20 22:25:38 +03:00
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#comment</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#type-parameters</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#type</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>match</key>
|
2016-09-21 02:09:51 +03:00
|
|
|
<string>(=)\s*</string>
|
|
|
|
<key>captures</key>
|
|
|
|
<dict>
|
|
|
|
<key>1</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>keyword.operator.assignment.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
2016-09-20 22:25:38 +03:00
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
|
|
|
<key>enum-declaration</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>meta.enum.declaration.ts</string>
|
|
|
|
<key>match</key>
|
|
|
|
<string>(?<!\.|\$)(?:(\bexport)\s+)?(?:\b(const)\s+)?\b(enum)\s+([_$[:alpha:]][_$[:alnum:]]*)</string>
|
|
|
|
<key>captures</key>
|
|
|
|
<dict>
|
|
|
|
<key>1</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>keyword.control.export.ts</string>
|
|
|
|
</dict>
|
|
|
|
<key>2</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>storage.modifier.ts</string>
|
|
|
|
</dict>
|
|
|
|
<key>3</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>storage.type.enum.ts</string>
|
|
|
|
</dict>
|
|
|
|
<key>4</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>entity.name.type.enum.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>namespace-declaration</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>meta.namespace.declaration.ts</string>
|
|
|
|
<key>begin</key>
|
|
|
|
<string>(?<!\.|\$)(?:(\bexport)\s+)?\b(namespace|module)\s+</string>
|
|
|
|
<key>beginCaptures</key>
|
|
|
|
<dict>
|
|
|
|
<key>1</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>keyword.control.export.ts</string>
|
|
|
|
</dict>
|
|
|
|
<key>2</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>storage.type.namespace.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>end</key>
|
|
|
|
<string>(?=$|\{)</string>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#comment</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#string</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>entity.name.type.module.ts</string>
|
|
|
|
<key>match</key>
|
|
|
|
<string>([_$[:alpha:]][_$[:alnum:]]*)</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>punctuation.accessor.ts</string>
|
|
|
|
<key>match</key>
|
|
|
|
<string>\.</string>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
|
|
|
<key>import-equals-declaration</key>
|
|
|
|
<dict>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>meta.import-equals.external.ts</string>
|
|
|
|
<key>begin</key>
|
|
|
|
<string>(?<!\.|\$)(?:(\bexport)\s+)?\b(import)\s+([_$[:alpha:]][_$[:alnum:]]*)\s*(=)\s*(require)\s*(\()</string>
|
|
|
|
<key>beginCaptures</key>
|
|
|
|
<dict>
|
|
|
|
<key>1</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>keyword.control.export.ts</string>
|
|
|
|
</dict>
|
|
|
|
<key>2</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>keyword.control.import.ts</string>
|
|
|
|
</dict>
|
|
|
|
<key>3</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>variable.other.readwrite.alias.ts</string>
|
|
|
|
</dict>
|
|
|
|
<key>4</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>keyword.operator.assignment.ts</string>
|
|
|
|
</dict>
|
|
|
|
<key>5</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>keyword.control.require.ts</string>
|
|
|
|
</dict>
|
|
|
|
<key>6</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>meta.brace.round.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>end</key>
|
|
|
|
<string>\)</string>
|
|
|
|
<key>endCaptures</key>
|
|
|
|
<dict>
|
|
|
|
<key>0</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>meta.brace.round.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#comment</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#string</string>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>meta.import-equals.internal.ts</string>
|
|
|
|
<key>begin</key>
|
|
|
|
<string>(?<!\.|\$)(?:(\bexport)\s+)?\b(import)\s+([_$[:alpha:]][_$[:alnum:]]*)\s*(=)\s*(?!require\b)</string>
|
|
|
|
<key>beginCaptures</key>
|
|
|
|
<dict>
|
|
|
|
<key>1</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>keyword.control.export.ts</string>
|
|
|
|
</dict>
|
|
|
|
<key>2</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>keyword.control.import.ts</string>
|
|
|
|
</dict>
|
|
|
|
<key>3</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>variable.other.readwrite.alias.ts</string>
|
|
|
|
</dict>
|
|
|
|
<key>4</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>keyword.operator.assignment.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>end</key>
|
|
|
|
<string>(?=;|$)</string>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#comment</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>match</key>
|
|
|
|
<string>([_$[:alpha:]][_$[:alnum:]]*)\s*(\.)</string>
|
|
|
|
<key>captures</key>
|
|
|
|
<dict>
|
|
|
|
<key>1</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>entity.name.type.module.ts</string>
|
|
|
|
</dict>
|
|
|
|
<key>2</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>punctuation.accessor.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>variable.other.readwrite.ts</string>
|
|
|
|
<key>match</key>
|
|
|
|
<string>([_$[:alpha:]][_$[:alnum:]]*)</string>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
|
|
|
<key>import-declaration</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>meta.import.ts</string>
|
|
|
|
<key>begin</key>
|
|
|
|
<string>(?<!\.|\$)(?:(\bexport)\s+)?\b(import)(?!(\s*:)|(\$))\b</string>
|
|
|
|
<key>beginCaptures</key>
|
|
|
|
<dict>
|
|
|
|
<key>1</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>keyword.control.export.ts</string>
|
|
|
|
</dict>
|
|
|
|
<key>2</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>keyword.control.import.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>end</key>
|
|
|
|
<string>(?=;|$)</string>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#import-export-declaration</string>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
|
|
|
<key>export-declaration</key>
|
|
|
|
<dict>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>match</key>
|
|
|
|
<string>(?<!\.|\$)\b(export)\s+(as)\s+(namespace)\s+([_$[:alpha:]][_$[:alnum:]]*)</string>
|
|
|
|
<key>captures</key>
|
|
|
|
<dict>
|
|
|
|
<key>1</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>keyword.control.export.ts</string>
|
|
|
|
</dict>
|
|
|
|
<key>2</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>keyword.control.as.ts</string>
|
|
|
|
</dict>
|
|
|
|
<key>3</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>storage.type.namespace.ts</string>
|
|
|
|
</dict>
|
|
|
|
<key>4</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>entity.name.type.module.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>meta.export.default.ts</string>
|
|
|
|
<key>begin</key>
|
2016-09-22 19:09:06 +03:00
|
|
|
<string>(?<!\.|\$)\b(export)(?:(?:\s*(=))|(?:\s+(default)(?=\s+)))</string>
|
2016-09-20 22:25:38 +03:00
|
|
|
<key>beginCaptures</key>
|
|
|
|
<dict>
|
|
|
|
<key>1</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>keyword.control.export.ts</string>
|
|
|
|
</dict>
|
|
|
|
<key>2</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>keyword.operator.assignment.ts</string>
|
|
|
|
</dict>
|
|
|
|
<key>3</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>keyword.control.default.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>end</key>
|
|
|
|
<string>(?=;|\bexport\b|\bfunction\b|\bclass\b|\binterface\b|\blet\b|\bvar\b|\bconst\b|\bimport\b|\benum\b|\bnamespace\b|\bmodule\b|\btype\b|\babstract\b|\bdeclare\b|\basync\b|$)</string>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#expression</string>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>meta.export.ts</string>
|
|
|
|
<key>begin</key>
|
|
|
|
<string>(?<!\.|\$)\b(export)(?!(\s*:)|(\$))\b</string>
|
|
|
|
<key>beginCaptures</key>
|
|
|
|
<dict>
|
|
|
|
<key>0</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>keyword.control.export.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>end</key>
|
|
|
|
<string>(?=;|\bexport\b|\bfunction\b|\bclass\b|\binterface\b|\blet\b|\bvar\b|\bconst\b|\bimport\b|\benum\b|\bnamespace\b|\bmodule\b|\btype\b|\babstract\b|\bdeclare\b|\basync\b|$)</string>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#import-export-declaration</string>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
|
|
|
<key>import-export-declaration</key>
|
|
|
|
<dict>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#comment</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#string</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#import-export-block</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>keyword.control.from.ts</string>
|
|
|
|
<key>match</key>
|
|
|
|
<string>\bfrom\b</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#import-export-clause</string>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
|
|
|
<key>import-export-block</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>meta.block.ts</string>
|
|
|
|
<key>begin</key>
|
|
|
|
<string>\{</string>
|
|
|
|
<key>beginCaptures</key>
|
|
|
|
<dict>
|
|
|
|
<key>0</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>punctuation.definition.block.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>end</key>
|
|
|
|
<string>\}</string>
|
|
|
|
<key>endCaptures</key>
|
|
|
|
<dict>
|
|
|
|
<key>0</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>punctuation.definition.block.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#import-export-clause</string>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
|
|
|
<key>import-export-clause</key>
|
|
|
|
<dict>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#comment</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>comment</key>
|
|
|
|
<string>(default|*|name) as alias</string>
|
|
|
|
<key>match</key>
|
|
|
|
<string>(?x) (?: \b(default)\b | (\*) | ([_$[:alpha:]][_$[:alnum:]]*)) \s+ (as) \s+ (?: (\b default \b | \*) | ([_$[:alpha:]][_$[:alnum:]]*))</string>
|
|
|
|
<key>captures</key>
|
|
|
|
<dict>
|
|
|
|
<key>1</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>keyword.control.default.ts</string>
|
|
|
|
</dict>
|
|
|
|
<key>2</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>constant.language.import-export-all.ts</string>
|
|
|
|
</dict>
|
|
|
|
<key>3</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>variable.other.readwrite.ts</string>
|
|
|
|
</dict>
|
|
|
|
<key>4</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>keyword.control.as.ts</string>
|
|
|
|
</dict>
|
|
|
|
<key>5</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>invalid.illegal.ts</string>
|
|
|
|
</dict>
|
|
|
|
<key>6</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>variable.other.readwrite.alias.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
2016-10-07 22:01:16 +03:00
|
|
|
<key>include</key>
|
|
|
|
<string>#punctuation-comma</string>
|
2016-09-20 22:25:38 +03:00
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>constant.language.import-export-all.ts</string>
|
|
|
|
<key>match</key>
|
|
|
|
<string>\*</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>keyword.control.default.ts</string>
|
|
|
|
<key>match</key>
|
|
|
|
<string>\b(default)\b</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>variable.other.readwrite.alias.ts</string>
|
|
|
|
<key>match</key>
|
|
|
|
<string>([_$[:alpha:]][_$[:alnum:]]*)</string>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
|
|
|
<key>class-or-interface-declaration</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>meta.class.ts</string>
|
|
|
|
<key>begin</key>
|
|
|
|
<string>(?<!\.|\$)\b(?:(export)\s+)?\b(?:(abstract)\s+)?\b(?:(class)|(interface))\b</string>
|
|
|
|
<key>beginCaptures</key>
|
|
|
|
<dict>
|
|
|
|
<key>1</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>keyword.control.export.ts</string>
|
|
|
|
</dict>
|
|
|
|
<key>2</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>storage.modifier.ts</string>
|
|
|
|
</dict>
|
|
|
|
<key>3</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>storage.type.class.ts</string>
|
|
|
|
</dict>
|
|
|
|
<key>4</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>storage.type.interface.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>end</key>
|
|
|
|
<string>(?<=\})</string>
|
|
|
|
<key>endCaptures</key>
|
|
|
|
<dict>
|
|
|
|
<key>1</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>punctuation.definition.block.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#comment</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#class-or-interface-heritage</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>match</key>
|
|
|
|
<string>[_$[:alpha:]][_$[:alnum:]]*</string>
|
|
|
|
<key>captures</key>
|
|
|
|
<dict>
|
|
|
|
<key>0</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>entity.name.class.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#type-parameters</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#class-or-interface-body</string>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
|
|
|
<key>class-or-interface-heritage</key>
|
|
|
|
<dict>
|
|
|
|
<key>begin</key>
|
|
|
|
<string>(?<!\.|\$)(?:\b(extends|implements)\b)(?!\$)</string>
|
|
|
|
<key>beginCaptures</key>
|
|
|
|
<dict>
|
|
|
|
<key>1</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>storage.modifier.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>end</key>
|
|
|
|
<string>(?=\{)</string>
|
|
|
|
<key>endCaptures</key>
|
|
|
|
<dict>
|
|
|
|
<key>1</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>punctuation.definition.block.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#comment</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#class-or-interface-heritage</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#type-parameters</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>match</key>
|
|
|
|
<string>([_$[:alpha:]][_$[:alnum:]]*)\s*(\.)</string>
|
|
|
|
<key>captures</key>
|
|
|
|
<dict>
|
|
|
|
<key>1</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>entity.name.type.module.ts</string>
|
|
|
|
</dict>
|
|
|
|
<key>2</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>punctuation.accessor.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>match</key>
|
|
|
|
<string>([_$[:alpha:]][_$[:alnum:]]*)</string>
|
|
|
|
<key>captures</key>
|
|
|
|
<dict>
|
|
|
|
<key>1</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>entity.other.inherited-class.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
|
|
|
<key>class-or-interface-body</key>
|
|
|
|
<dict>
|
|
|
|
<key>begin</key>
|
|
|
|
<string>\{</string>
|
|
|
|
<key>beginCaptures</key>
|
|
|
|
<dict>
|
|
|
|
<key>0</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>punctuation.definition.block.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>end</key>
|
|
|
|
<string>\}</string>
|
|
|
|
<key>endCaptures</key>
|
|
|
|
<dict>
|
|
|
|
<key>0</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>punctuation.definition.block.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#string</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#comment</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#decorator</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#field-declaration</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#method-declaration</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#indexer-declaration</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#type-annotation</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#variable-initializer</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#access-modifier</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#property-accessor</string>
|
|
|
|
</dict>
|
2016-09-27 00:24:54 +03:00
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#expression</string>
|
|
|
|
</dict>
|
2016-09-20 22:25:38 +03:00
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#punctuation-comma</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#punctuation-semicolon</string>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
|
|
|
<key>type-object</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>meta.object.type.ts</string>
|
|
|
|
<key>begin</key>
|
|
|
|
<string>\{</string>
|
|
|
|
<key>beginCaptures</key>
|
|
|
|
<dict>
|
|
|
|
<key>0</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>punctuation.definition.block.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>end</key>
|
|
|
|
<string>\}</string>
|
|
|
|
<key>endCaptures</key>
|
|
|
|
<dict>
|
|
|
|
<key>0</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>punctuation.definition.block.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#type-object-members</string>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
|
|
|
<key>type-object-members</key>
|
|
|
|
<dict>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#comment</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#field-declaration</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#method-declaration</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#indexer-declaration</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#type-annotation</string>
|
|
|
|
</dict>
|
2016-10-07 23:12:39 +03:00
|
|
|
<dict>
|
|
|
|
<key>begin</key>
|
|
|
|
<string>\.\.\.</string>
|
|
|
|
<key>beginCaptures</key>
|
|
|
|
<dict>
|
|
|
|
<key>0</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>keyword.operator.spread.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>end</key>
|
|
|
|
<string>(?=\}|;|,|$)|(?<=\})</string>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#type</string>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
2016-09-20 22:25:38 +03:00
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#punctuation-comma</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#punctuation-semicolon</string>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
|
|
|
<key>field-declaration</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>meta.field.declaration.ts</string>
|
|
|
|
<key>begin</key>
|
|
|
|
<string>(?<!\()(?:(?<!\.|\$)\b(readonly)\s+)?\s*((?:[_$[:alpha:]][_$[:alnum:]]*)|(?:\'[^']*\')|(?:\"[^"]*\"))\s*(\?\s*)?(?=(=|:))</string>
|
|
|
|
<key>beginCaptures</key>
|
|
|
|
<dict>
|
|
|
|
<key>1</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>storage.modifier.ts</string>
|
|
|
|
</dict>
|
|
|
|
<key>2</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>variable.object.property.ts</string>
|
|
|
|
</dict>
|
|
|
|
<key>3</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>keyword.operator.optional.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>end</key>
|
|
|
|
<string>(?=\}|;|,|$)|(?<=\})</string>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#variable-initializer</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>begin</key>
|
|
|
|
<string>\G</string>
|
|
|
|
<key>end</key>
|
|
|
|
<string>(?!\G)(?=[};,=]|$)|(?<=\})</string>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#type-annotation</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#string</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#comment</string>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
|
|
|
<key>method-declaration</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>meta.method.declaration.ts</string>
|
|
|
|
<key>begin</key>
|
2016-10-03 20:21:22 +03:00
|
|
|
<string>(?<!\.|\$)(?:\b(abstract)\s+)?(?:\b(public|private|protected)\s+)?(?:\b(async)\s+)?(?:\b(get|set)\s+)?(?:(?:\b(?:(new)|(constructor))\b(?!\$|:))|(?:(\*)\s*)?(?=((([_$[:alpha:]][_$[:alnum:]]*)|(\'[^']*\')|(\"[^"]*\")|(\[[^\]]*\]))\s*(\??))?\s*[\(\<]))</string>
|
2016-09-20 22:25:38 +03:00
|
|
|
<key>beginCaptures</key>
|
|
|
|
<dict>
|
|
|
|
<key>1</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>storage.modifier.ts</string>
|
|
|
|
</dict>
|
|
|
|
<key>2</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>storage.modifier.ts</string>
|
|
|
|
</dict>
|
|
|
|
<key>3</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>storage.modifier.async.ts</string>
|
|
|
|
</dict>
|
|
|
|
<key>4</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>storage.type.property.ts</string>
|
|
|
|
</dict>
|
2016-09-26 23:53:01 +03:00
|
|
|
<key>5</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>keyword.operator.new.ts</string>
|
|
|
|
</dict>
|
|
|
|
<key>6</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>storage.type.ts</string>
|
|
|
|
</dict>
|
|
|
|
<key>7</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>keyword.generator.asterisk.ts</string>
|
|
|
|
</dict>
|
2016-09-20 22:25:38 +03:00
|
|
|
</dict>
|
|
|
|
<key>end</key>
|
|
|
|
<string>(?=\}|;|,)|(?<=\})</string>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#method-declaration-name</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#comment</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#type-parameters</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#function-parameters</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#return-type</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#method-overload-declaration</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#decl-block</string>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
|
|
|
<key>method-overload-declaration</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>meta.method.overload.declaration.ts</string>
|
|
|
|
<key>begin</key>
|
2016-10-11 22:30:14 +03:00
|
|
|
<string>(?<!\.|\$)(?:\b(public|private|protected)\s+)?(?:\b(abstract)\s+)?(?:\b(async)\s+)?(?:\b(get|set)\s+)?(?:(?:\b(?:(new)|(constructor))\b(?!\$|:))|(?:(\*)\s*)?(?=((([_$[:alpha:]][_$[:alnum:]]*)|(\'[^']*\')|(\"[^"]*\")|(\[[^\]]*\]))\s*(\??))?\s*[\(\<]))</string>
|
2016-09-20 22:25:38 +03:00
|
|
|
<key>beginCaptures</key>
|
|
|
|
<dict>
|
|
|
|
<key>1</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>storage.modifier.ts</string>
|
|
|
|
</dict>
|
|
|
|
<key>2</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>storage.modifier.ts</string>
|
|
|
|
</dict>
|
|
|
|
<key>3</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
2016-09-26 23:53:01 +03:00
|
|
|
<string>storage.modifier.async.ts</string>
|
2016-09-20 22:25:38 +03:00
|
|
|
</dict>
|
|
|
|
<key>4</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>storage.type.property.ts</string>
|
|
|
|
</dict>
|
2016-09-26 23:53:01 +03:00
|
|
|
<key>5</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>keyword.operator.new.ts</string>
|
|
|
|
</dict>
|
|
|
|
<key>6</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>storage.type.ts</string>
|
|
|
|
</dict>
|
|
|
|
<key>7</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>keyword.generator.asterisk.ts</string>
|
|
|
|
</dict>
|
2016-09-20 22:25:38 +03:00
|
|
|
</dict>
|
|
|
|
<key>end</key>
|
|
|
|
<string>(?=\(|\<)</string>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#method-declaration-name</string>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
|
|
|
<key>method-declaration-name</key>
|
|
|
|
<dict>
|
|
|
|
<key>begin</key>
|
|
|
|
<string>\G(?!\(|\<)</string>
|
|
|
|
<key>end</key>
|
|
|
|
<string>(?=\(|\<)</string>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#string</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#array-literal</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>entity.name.function.ts</string>
|
|
|
|
<key>match</key>
|
|
|
|
<string>[_$[:alpha:]][_$[:alnum:]]*</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>keyword.operator.optional.ts</string>
|
|
|
|
<key>match</key>
|
|
|
|
<string>\?</string>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
|
|
|
<key>indexer-declaration</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>meta.indexer.declaration.ts</string>
|
|
|
|
<key>begin</key>
|
2016-09-27 02:16:11 +03:00
|
|
|
<string>(?:(?<!\.|\$)\b(readonly)\s*)?(\[)(?=\s*[_$[:alpha:]][_$[:alnum:]]*\s*[:\]])</string>
|
2016-09-20 22:25:38 +03:00
|
|
|
<key>beginCaptures</key>
|
|
|
|
<dict>
|
|
|
|
<key>1</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>storage.modifier.ts</string>
|
|
|
|
</dict>
|
|
|
|
<key>2</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>meta.brace.square.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>end</key>
|
|
|
|
<string>(\])\s*(\?\s*)?|$</string>
|
|
|
|
<key>endCaptures</key>
|
|
|
|
<dict>
|
|
|
|
<key>1</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>meta.brace.square.ts</string>
|
|
|
|
</dict>
|
|
|
|
<key>2</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>keyword.operator.optional.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#type-annotation</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#indexer-parameter</string>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
|
|
|
<key>indexer-parameter</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>meta.indexer.parameter.ts</string>
|
|
|
|
<key>match</key>
|
2016-09-27 02:16:11 +03:00
|
|
|
<string>([_$[:alpha:]][_$[:alnum:]]*)</string>
|
2016-09-20 22:25:38 +03:00
|
|
|
<key>captures</key>
|
|
|
|
<dict>
|
|
|
|
<key>1</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>variable.parameter.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>function-declaration</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>meta.function.ts</string>
|
|
|
|
<key>begin</key>
|
|
|
|
<string>(?<!\.|\$)\b(?:(export)\s+)?(?:(async)\s+)?(function\b)(?:\s*(\*))?(?:(?:\s+|(?<=\*))([_$[:alpha:]][_$[:alnum:]]*))?\s*</string>
|
|
|
|
<key>beginCaptures</key>
|
|
|
|
<dict>
|
|
|
|
<key>1</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>keyword.control.export.ts</string>
|
|
|
|
</dict>
|
|
|
|
<key>2</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>storage.modifier.async.ts</string>
|
|
|
|
</dict>
|
|
|
|
<key>3</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>storage.type.function.ts</string>
|
|
|
|
</dict>
|
|
|
|
<key>4</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>keyword.generator.asterisk.ts</string>
|
|
|
|
</dict>
|
|
|
|
<key>5</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>entity.name.function.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>end</key>
|
|
|
|
<string>(?=;|\})|(?<=\})</string>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#comment</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#type-parameters</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#function-parameters</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#return-type</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#function-overload-declaration</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#decl-block</string>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
|
|
|
<key>function-overload-declaration</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>meta.function.overload.ts</string>
|
|
|
|
<key>match</key>
|
|
|
|
<string>(?<!\.|\$)\b(?:(export)\s+)?(?:(async)\s+)?(function\b)(?:\s*(\*))?(?:(?:\s+|(?<=\*))([_$[:alpha:]][_$[:alnum:]]*))?\s*</string>
|
|
|
|
<key>captures</key>
|
|
|
|
<dict>
|
|
|
|
<key>1</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>keyword.control.export.ts</string>
|
|
|
|
</dict>
|
|
|
|
<key>2</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>storage.modifier.async.ts</string>
|
|
|
|
</dict>
|
|
|
|
<key>3</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>storage.type.function.ts</string>
|
|
|
|
</dict>
|
|
|
|
<key>4</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>keyword.generator.asterisk.ts</string>
|
|
|
|
</dict>
|
|
|
|
<key>5</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>entity.name.function.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>object-literal</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>meta.object-literal.ts</string>
|
|
|
|
<key>begin</key>
|
|
|
|
<string>\{</string>
|
|
|
|
<key>beginCaptures</key>
|
|
|
|
<dict>
|
|
|
|
<key>0</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>punctuation.definition.block.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>end</key>
|
|
|
|
<string>\}</string>
|
|
|
|
<key>endCaptures</key>
|
|
|
|
<dict>
|
|
|
|
<key>0</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>punctuation.definition.block.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#object-member</string>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
|
|
|
<key>decl-block</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>meta.block.ts</string>
|
|
|
|
<key>begin</key>
|
|
|
|
<string>\{</string>
|
|
|
|
<key>beginCaptures</key>
|
|
|
|
<dict>
|
|
|
|
<key>0</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>punctuation.definition.block.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>end</key>
|
|
|
|
<string>\}</string>
|
|
|
|
<key>endCaptures</key>
|
|
|
|
<dict>
|
|
|
|
<key>0</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>punctuation.definition.block.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#statements</string>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
|
|
|
<key>after-operator-block</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>meta.object-literal.ts</string>
|
|
|
|
<key>begin</key>
|
2016-10-08 01:27:03 +03:00
|
|
|
<string>(?<=[=(,\[?+!]|await|return|yield|throw|in|of|typeof|&&|\|\||\*)\s*(\{)</string>
|
2016-09-20 22:25:38 +03:00
|
|
|
<key>beginCaptures</key>
|
|
|
|
<dict>
|
|
|
|
<key>1</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>punctuation.definition.block.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>end</key>
|
|
|
|
<string>\}</string>
|
|
|
|
<key>endCaptures</key>
|
|
|
|
<dict>
|
|
|
|
<key>0</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>punctuation.definition.block.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#object-member</string>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
|
|
|
<key>parameter-name</key>
|
|
|
|
<dict>
|
|
|
|
<key>match</key>
|
2016-10-11 22:30:14 +03:00
|
|
|
<string>(?:\s*\b(readonly)\s+)?(?:\s*\b(public|private|protected)\s+)?(\.\.\.)?\s*(?<!=|:)([_$[:alpha:]][_$[:alnum:]]*)\s*(\??)</string>
|
2016-09-20 22:25:38 +03:00
|
|
|
<key>captures</key>
|
|
|
|
<dict>
|
|
|
|
<key>1</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>storage.modifier.ts</string>
|
|
|
|
</dict>
|
|
|
|
<key>2</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
2016-10-11 22:30:14 +03:00
|
|
|
<string>storage.modifier.ts</string>
|
2016-09-20 22:25:38 +03:00
|
|
|
</dict>
|
|
|
|
<key>3</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
2016-10-11 22:30:14 +03:00
|
|
|
<string>keyword.operator.rest.ts</string>
|
2016-09-20 22:25:38 +03:00
|
|
|
</dict>
|
|
|
|
<key>4</key>
|
2016-10-11 22:30:14 +03:00
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>variable.parameter.ts</string>
|
|
|
|
</dict>
|
|
|
|
<key>5</key>
|
2016-09-20 22:25:38 +03:00
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>keyword.operator.optional.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>destructuring-parameter</key>
|
|
|
|
<dict>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>meta.parameter.object-binding-pattern.ts</string>
|
|
|
|
<key>begin</key>
|
|
|
|
<string>(?<!=|:)\s*(\{)</string>
|
|
|
|
<key>beginCaptures</key>
|
|
|
|
<dict>
|
|
|
|
<key>1</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>punctuation.definition.binding-pattern.object.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>end</key>
|
|
|
|
<string>\}</string>
|
|
|
|
<key>endCaptures</key>
|
|
|
|
<dict>
|
|
|
|
<key>0</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>punctuation.definition.binding-pattern.object.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#parameter-object-binding-element</string>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>meta.paramter.array-binding-pattern.ts</string>
|
|
|
|
<key>begin</key>
|
|
|
|
<string>(?<!=|:)\s*(\[)</string>
|
|
|
|
<key>beginCaptures</key>
|
|
|
|
<dict>
|
|
|
|
<key>1</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>punctuation.definition.binding-pattern.array.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>end</key>
|
|
|
|
<string>\]</string>
|
|
|
|
<key>endCaptures</key>
|
|
|
|
<dict>
|
|
|
|
<key>0</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>punctuation.definition.binding-pattern.array.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#parameter-array-binding-element</string>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
|
|
|
<key>parameter-object-binding-element</key>
|
|
|
|
<dict>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#comment</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>begin</key>
|
|
|
|
<string>([_$[:alpha:]][_$[:alnum:]]*)\s*(:)</string>
|
|
|
|
<key>beginCaptures</key>
|
|
|
|
<dict>
|
|
|
|
<key>1</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>variable.object.property.ts</string>
|
|
|
|
</dict>
|
|
|
|
<key>2</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>punctuation.destructuring.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>end</key>
|
|
|
|
<string>(?=,|\})</string>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#parameter-object-binding-pattern</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#parameter-array-binding-pattern</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>variable.parameter.ts</string>
|
|
|
|
<key>match</key>
|
|
|
|
<string>([_$[:alpha:]][_$[:alnum:]]*)</string>
|
|
|
|
</dict>
|
2016-10-10 23:45:38 +03:00
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#variable-initializer</string>
|
|
|
|
</dict>
|
2016-09-20 22:25:38 +03:00
|
|
|
</array>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
2016-10-07 23:12:39 +03:00
|
|
|
<key>include</key>
|
|
|
|
<string>#parameter-object-binding-pattern</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#destructuring-parameter-rest</string>
|
2016-09-20 22:25:38 +03:00
|
|
|
</dict>
|
2016-10-10 23:45:38 +03:00
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#variable-initializer</string>
|
|
|
|
</dict>
|
2016-09-20 22:25:38 +03:00
|
|
|
<dict>
|
2016-10-07 22:01:16 +03:00
|
|
|
<key>include</key>
|
|
|
|
<string>#punctuation-comma</string>
|
2016-09-20 22:25:38 +03:00
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
|
|
|
<key>parameter-array-binding-element</key>
|
|
|
|
<dict>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#comment</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#parameter-object-binding-pattern</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#parameter-array-binding-pattern</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
2016-10-07 23:12:39 +03:00
|
|
|
<key>include</key>
|
|
|
|
<string>#destructuring-parameter-rest</string>
|
2016-09-20 22:25:38 +03:00
|
|
|
</dict>
|
2016-10-10 23:45:38 +03:00
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#variable-initializer</string>
|
|
|
|
</dict>
|
2016-09-20 22:25:38 +03:00
|
|
|
<dict>
|
2016-10-07 22:01:16 +03:00
|
|
|
<key>include</key>
|
|
|
|
<string>#punctuation-comma</string>
|
2016-09-20 22:25:38 +03:00
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
2016-10-07 23:12:39 +03:00
|
|
|
<key>destructuring-parameter-rest</key>
|
|
|
|
<dict>
|
|
|
|
<key>match</key>
|
|
|
|
<string>(?:(\.\.\.)\s*)?([_$[:alpha:]][_$[:alnum:]]*)</string>
|
|
|
|
<key>captures</key>
|
|
|
|
<dict>
|
|
|
|
<key>1</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>keyword.operator.rest.ts</string>
|
|
|
|
</dict>
|
|
|
|
<key>2</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>variable.parameter.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
2016-09-20 22:25:38 +03:00
|
|
|
<key>parameter-object-binding-pattern</key>
|
|
|
|
<dict>
|
|
|
|
<key>begin</key>
|
2016-10-07 23:12:39 +03:00
|
|
|
<string>(?:(\.\.\.)\s*)?(\{)</string>
|
2016-09-20 22:25:38 +03:00
|
|
|
<key>beginCaptures</key>
|
|
|
|
<dict>
|
2016-10-07 23:12:39 +03:00
|
|
|
<key>1</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>keyword.operator.rest.ts</string>
|
|
|
|
</dict>
|
|
|
|
<key>2</key>
|
2016-09-20 22:25:38 +03:00
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>punctuation.definition.binding-pattern.object.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>end</key>
|
|
|
|
<string>\}</string>
|
|
|
|
<key>endCaptures</key>
|
|
|
|
<dict>
|
|
|
|
<key>0</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>punctuation.definition.binding-pattern.object.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#parameter-object-binding-element</string>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
|
|
|
<key>parameter-array-binding-pattern</key>
|
|
|
|
<dict>
|
|
|
|
<key>begin</key>
|
2016-10-07 23:12:39 +03:00
|
|
|
<string>(?:(\.\.\.)\s*)?(\[)</string>
|
2016-09-20 22:25:38 +03:00
|
|
|
<key>beginCaptures</key>
|
|
|
|
<dict>
|
2016-10-07 23:12:39 +03:00
|
|
|
<key>1</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>keyword.operator.rest.ts</string>
|
|
|
|
</dict>
|
|
|
|
<key>2</key>
|
2016-09-20 22:25:38 +03:00
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>punctuation.definition.binding-pattern.array.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>end</key>
|
|
|
|
<string>\]</string>
|
|
|
|
<key>endCaptures</key>
|
|
|
|
<dict>
|
|
|
|
<key>0</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>punctuation.definition.binding-pattern.array.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#parameter-array-binding-element</string>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
|
|
|
<key>return-type</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>meta.return.type.ts</string>
|
|
|
|
<key>begin</key>
|
2016-09-21 02:09:51 +03:00
|
|
|
<string>(?<=\))\s*(:)</string>
|
|
|
|
<key>beginCaptures</key>
|
|
|
|
<dict>
|
|
|
|
<key>1</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>keyword.operator.type.annotation.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
2016-09-20 22:25:38 +03:00
|
|
|
<key>end</key>
|
2016-09-28 21:43:09 +03:00
|
|
|
<string>(?<!:)((?=$)|(?=\{|;|//|\}))</string>
|
2016-09-20 22:25:38 +03:00
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#comment</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>meta.object.type.ts</string>
|
|
|
|
<key>begin</key>
|
|
|
|
<string>(?<=:)\s*(\{)</string>
|
|
|
|
<key>beginCaptures</key>
|
|
|
|
<dict>
|
|
|
|
<key>1</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>punctuation.definition.block.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>end</key>
|
|
|
|
<string>\}</string>
|
|
|
|
<key>endCaptures</key>
|
|
|
|
<dict>
|
|
|
|
<key>0</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>punctuation.definition.block.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#type-object-members</string>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#type-predicate-operator</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#type</string>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
|
|
|
<key>type-predicate-operator</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>keyword.operator.is.ts</string>
|
|
|
|
<key>match</key>
|
|
|
|
<string>(?<!\.|\$)\bis\b(?!\$)</string>
|
|
|
|
</dict>
|
|
|
|
<key>type-annotation</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>meta.type.annotation.ts</string>
|
|
|
|
<key>begin</key>
|
|
|
|
<string>:</string>
|
2016-09-21 02:09:51 +03:00
|
|
|
<key>beginCaptures</key>
|
|
|
|
<dict>
|
|
|
|
<key>0</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>keyword.operator.type.annotation.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
2016-09-20 22:25:38 +03:00
|
|
|
<key>end</key>
|
|
|
|
<string>(?=$|[,);\}\]]|//)|(?==[^>])|(?<=[\}>\]\)]|[_$[:alpha:]])\s*(?=\{)</string>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#comment</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#type</string>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
|
|
|
<key>type</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>meta.type.ts</string>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#comment</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#string</string>
|
|
|
|
</dict>
|
2016-09-26 22:00:10 +03:00
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#numeric-literal</string>
|
|
|
|
</dict>
|
2016-09-20 22:25:38 +03:00
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#type-primitive</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#type-builtin-literals</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#type-parameters</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#type-tuple</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#type-object</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
2016-10-07 23:12:39 +03:00
|
|
|
<string>#type-operators</string>
|
2016-09-20 22:25:38 +03:00
|
|
|
</dict>
|
2016-09-21 02:09:51 +03:00
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#type-fn-type-parameters</string>
|
|
|
|
</dict>
|
2016-09-20 22:25:38 +03:00
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#type-paren-or-function-parameters</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#type-function-return-type</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#type-name</string>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
|
|
|
<key>function-parameters</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>meta.parameters.ts</string>
|
|
|
|
<key>begin</key>
|
|
|
|
<string>\(</string>
|
|
|
|
<key>beginCaptures</key>
|
|
|
|
<dict>
|
|
|
|
<key>0</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>punctuation.definition.parameters.begin.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>end</key>
|
|
|
|
<string>\)</string>
|
|
|
|
<key>endCaptures</key>
|
|
|
|
<dict>
|
|
|
|
<key>0</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>punctuation.definition.parameters.end.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#comment</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#decorator</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#destructuring-parameter</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#parameter-name</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#type-annotation</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#variable-initializer</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>punctuation.separator.parameter.ts</string>
|
|
|
|
<key>match</key>
|
|
|
|
<string>,</string>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
|
|
|
<key>type-primitive</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>support.type.primitive.ts</string>
|
|
|
|
<key>match</key>
|
|
|
|
<string>(?<!\.|\$)\b(string|number|boolean|symbol|any|void|never)\b(?!\$)</string>
|
|
|
|
</dict>
|
|
|
|
<key>type-builtin-literals</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>support.type.builtin.ts</string>
|
|
|
|
<key>match</key>
|
|
|
|
<string>(?<!\.|\$)\b(this|true|false|undefined|null)\b(?!\$)</string>
|
|
|
|
</dict>
|
|
|
|
<key>type-paren-or-function-parameters</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>meta.type.paren.cover.ts</string>
|
|
|
|
<key>begin</key>
|
2016-09-21 02:09:51 +03:00
|
|
|
<string>\s*(\()</string>
|
2016-09-20 22:25:38 +03:00
|
|
|
<key>beginCaptures</key>
|
|
|
|
<dict>
|
|
|
|
<key>1</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>meta.brace.round.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>end</key>
|
|
|
|
<string>\)</string>
|
|
|
|
<key>endCaptures</key>
|
|
|
|
<dict>
|
|
|
|
<key>0</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>meta.brace.round.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#type</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#function-parameters</string>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
2016-09-21 02:09:51 +03:00
|
|
|
<key>type-fn-type-parameters</key>
|
|
|
|
<dict>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>meta.type.constructor.ts</string>
|
|
|
|
<key>match</key>
|
|
|
|
<string>(?<!\.|\$)\b(new)\b(?=\s*\<)</string>
|
|
|
|
<key>captures</key>
|
|
|
|
<dict>
|
|
|
|
<key>1</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>keyword.control.new.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>meta.type.constructor.ts</string>
|
|
|
|
<key>begin</key>
|
|
|
|
<string>(?<!\.|\$)\b(new)\b\s*(?=\()</string>
|
|
|
|
<key>beginCaptures</key>
|
|
|
|
<dict>
|
|
|
|
<key>1</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>keyword.control.new.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>end</key>
|
|
|
|
<string>(?<=\))</string>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#function-parameters</string>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>meta.type.function.ts</string>
|
|
|
|
<key>begin</key>
|
|
|
|
<string>(?<=\>)\s*(?=\()</string>
|
|
|
|
<key>end</key>
|
|
|
|
<string>(?<=\))</string>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#function-parameters</string>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>meta.type.function.ts</string>
|
|
|
|
<key>begin</key>
|
|
|
|
<string>(?x)( \s* (?= [(]\s*( ([)]) | (\.\.\.) | ([_$[:alnum:]]+\s*( ([:,?=])| ([)]\s*=>) )) ) ) )</string>
|
|
|
|
<key>end</key>
|
|
|
|
<string>(?<=\))</string>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#function-parameters</string>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
2016-10-07 23:12:39 +03:00
|
|
|
<key>type-operators</key>
|
2016-09-20 22:25:38 +03:00
|
|
|
<dict>
|
2016-10-07 23:12:39 +03:00
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#typeof-operator</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>keyword.operator.type.ts</string>
|
|
|
|
<key>match</key>
|
|
|
|
<string>[&|]</string>
|
|
|
|
</dict>
|
|
|
|
</array>
|
2016-09-20 22:25:38 +03:00
|
|
|
</dict>
|
|
|
|
<key>type-function-return-type</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>meta.type.function.return.ts</string>
|
|
|
|
<key>begin</key>
|
|
|
|
<string>=></string>
|
|
|
|
<key>beginCaptures</key>
|
|
|
|
<dict>
|
|
|
|
<key>0</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>storage.type.function.arrow.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>end</key>
|
|
|
|
<string>(?<!=>)(?=[,\]\)\{\}=;>]|//|$)</string>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#comment</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>meta.object.type.ts</string>
|
|
|
|
<key>begin</key>
|
|
|
|
<string>(?<==>)\s*(\{)</string>
|
|
|
|
<key>beginCaptures</key>
|
|
|
|
<dict>
|
|
|
|
<key>1</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>punctuation.definition.block.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>end</key>
|
|
|
|
<string>\}</string>
|
|
|
|
<key>endCaptures</key>
|
|
|
|
<dict>
|
|
|
|
<key>0</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>punctuation.definition.block.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#type-object-members</string>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#type-predicate-operator</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#type</string>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
|
|
|
<key>type-tuple</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>meta.type.tuple.ts</string>
|
|
|
|
<key>begin</key>
|
|
|
|
<string>\[</string>
|
|
|
|
<key>beginCaptures</key>
|
|
|
|
<dict>
|
|
|
|
<key>0</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>meta.brace.square.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>end</key>
|
|
|
|
<string>\]</string>
|
|
|
|
<key>endCaptures</key>
|
|
|
|
<dict>
|
|
|
|
<key>0</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>meta.brace.square.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#type</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#punctuation-comma</string>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
|
|
|
<key>type-name</key>
|
|
|
|
<dict>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>match</key>
|
|
|
|
<string>([_$[:alpha:]][_$[:alnum:]]*)\s*(\.)</string>
|
|
|
|
<key>captures</key>
|
|
|
|
<dict>
|
|
|
|
<key>1</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>entity.name.type.module.ts</string>
|
|
|
|
</dict>
|
|
|
|
<key>2</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>punctuation.accessor.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>entity.name.type.ts</string>
|
|
|
|
<key>match</key>
|
|
|
|
<string>[_$[:alpha:]][_$[:alnum:]]*</string>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
|
|
|
<key>type-parameters</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>meta.type.parameters.ts</string>
|
|
|
|
<key>begin</key>
|
|
|
|
<string>(<)</string>
|
|
|
|
<key>beginCaptures</key>
|
|
|
|
<dict>
|
|
|
|
<key>1</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>punctuation.definition.typeparameters.begin.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>end</key>
|
|
|
|
<string>(?=$)|(>)</string>
|
|
|
|
<key>endCaptures</key>
|
|
|
|
<dict>
|
|
|
|
<key>1</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>punctuation.definition.typeparameters.end.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#comment</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>storage.modifier.ts</string>
|
|
|
|
<key>match</key>
|
|
|
|
<string>(?<!\.|\$)\b(extends)\b(?!\$)</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#type</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#punctuation-comma</string>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
|
|
|
<key>variable-initializer</key>
|
|
|
|
<dict>
|
|
|
|
<key>begin</key>
|
|
|
|
<string>(?<!=|!)(=)(?!=)</string>
|
|
|
|
<key>beginCaptures</key>
|
|
|
|
<dict>
|
|
|
|
<key>1</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>keyword.operator.assignment.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>end</key>
|
2016-10-10 23:45:38 +03:00
|
|
|
<string>(?=$|[,);}\]])</string>
|
2016-09-20 22:25:38 +03:00
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#expression</string>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
|
|
|
<key>for-loop</key>
|
|
|
|
<dict>
|
|
|
|
<key>begin</key>
|
|
|
|
<string>(?<!\.|\$)\b(for)\s*(\()</string>
|
|
|
|
<key>beginCaptures</key>
|
|
|
|
<dict>
|
|
|
|
<key>1</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>keyword.control.loop.ts</string>
|
|
|
|
</dict>
|
|
|
|
<key>2</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>meta.brace.round.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>end</key>
|
|
|
|
<string>\)</string>
|
|
|
|
<key>endCaptures</key>
|
|
|
|
<dict>
|
|
|
|
<key>0</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>meta.brace.round.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#var-expr</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#expression</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#punctuation-semicolon</string>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
|
|
|
<key>switch-expression</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>switch-expression.expr.ts</string>
|
|
|
|
<key>begin</key>
|
|
|
|
<string>(?<!\.|\$)\b(switch)\s*(\()</string>
|
|
|
|
<key>beginCaptures</key>
|
|
|
|
<dict>
|
|
|
|
<key>1</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>keyword.control.switch.ts</string>
|
|
|
|
</dict>
|
|
|
|
<key>2</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>meta.brace.round.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>end</key>
|
|
|
|
<string>\)</string>
|
|
|
|
<key>endCaptures</key>
|
|
|
|
<dict>
|
|
|
|
<key>0</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>meta.brace.round.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#expression</string>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
|
|
|
<key>switch-block</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>switch-block.expr.ts</string>
|
|
|
|
<key>begin</key>
|
|
|
|
<string>{</string>
|
|
|
|
<key>beginCaptures</key>
|
|
|
|
<dict>
|
|
|
|
<key>0</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>punctuation.definition.block.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>end</key>
|
|
|
|
<string>(?=\})</string>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#case-clause</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#statements</string>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
|
|
|
<key>case-clause</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>case-clause.expr.ts</string>
|
|
|
|
<key>begin</key>
|
|
|
|
<string>(?<!\.|\$)\b(case|default(?=:))\b(?!\$)</string>
|
|
|
|
<key>beginCaptures</key>
|
|
|
|
<dict>
|
|
|
|
<key>1</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>keyword.control.switch.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>end</key>
|
|
|
|
<string>:</string>
|
2016-10-08 01:29:18 +03:00
|
|
|
<key>endCaptures</key>
|
|
|
|
<dict>
|
|
|
|
<key>0</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>punctuation.definition.section.case-statement.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
2016-09-20 22:25:38 +03:00
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#expression</string>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
|
|
|
<key>switch-statement</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>switch-statement.expr.ts</string>
|
|
|
|
<key>begin</key>
|
|
|
|
<string>(?<!\.|\$)(?=\bswitch\s*\()</string>
|
|
|
|
<key>end</key>
|
|
|
|
<string>}</string>
|
|
|
|
<key>endCaptures</key>
|
|
|
|
<dict>
|
|
|
|
<key>0</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>punctuation.definition.block.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#switch-expression</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#switch-block</string>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
2016-09-23 20:29:25 +03:00
|
|
|
<key>support-objects</key>
|
|
|
|
<dict>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>variable.language.arguments.ts</string>
|
|
|
|
<key>match</key>
|
|
|
|
<string>(?<!\.|\$)\b(arguments)\b(?!\$)</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>support.class.builtin.ts</string>
|
|
|
|
<key>match</key>
|
|
|
|
<string>(?x)(?<!\.|\$)\b(Array|ArrayBuffer|Atomics|Boolean|DataView|Date|Float32Array|Float64Array|Function|Generator |GeneratorFunction|Int8Array|Int16Array|Int32Array|Intl|Map|Number|Object|Promise|Proxy |Reflect|RegExp|Set|SharedArrayBuffer|SIMD|String|Symbol|TypedArray |Uint8Array|Uint16Array|Uint32Array|Uint8ClampedArray|WeakMap|WeakSet)\b(?!\$)</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>support.class.error.ts</string>
|
|
|
|
<key>match</key>
|
|
|
|
<string>(?<!\.|\$)\b((Eval|Internal|Range|Reference|Syntax|Type|URI)?Error)\b(?!\$)</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>support.function.ts</string>
|
|
|
|
<key>match</key>
|
|
|
|
<string>(?x)(?<!\.|\$)\b(clear(Interval|Timeout)|decodeURI|decodeURIComponent|encodeURI|encodeURIComponent|escape|eval| isFinite|isNaN|parseFloat|parseInt|require|set(Interval|Timeout)|super|unescape|uneval)(?=\s*\()</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>match</key>
|
|
|
|
<string>(?x)(?<!\.|\$)\b(Math)(?:\s*(\.)\s*(?:
|
|
|
|
(abs|acos|acosh|asin|asinh|atan|atan2|atanh|cbrt|ceil|clz32|cos|cosh|exp|
|
|
|
|
expm1|floor|fround|hypot|imul|log|log10|log1p|log2|max|min|pow|random|
|
|
|
|
round|sign|sin|sinh|sqrt|tan|tanh|trunc)
|
|
|
|
|
|
|
|
|
(E|LN10|LN2|LOG10E|LOG2E|PI|SQRT1_2|SQRT2)))?\b(?!\$)</string>
|
|
|
|
<key>captures</key>
|
|
|
|
<dict>
|
|
|
|
<key>1</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>support.constant.math.ts</string>
|
|
|
|
</dict>
|
|
|
|
<key>2</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>punctuation.accessor.ts</string>
|
|
|
|
</dict>
|
|
|
|
<key>3</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>support.function.math.ts</string>
|
|
|
|
</dict>
|
|
|
|
<key>4</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>support.constant.property.math.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>match</key>
|
|
|
|
<string>(?x)(?<!\.|\$)\b(console)(?:\s*(\.)\s*(
|
|
|
|
assert|clear|count|debug|dir|error|group|groupCollapsed|groupEnd|info|log
|
|
|
|
|profile|profileEnd|table|time|timeEnd|timeStamp|trace|warn))?\b(?!\$)</string>
|
|
|
|
<key>captures</key>
|
|
|
|
<dict>
|
|
|
|
<key>1</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>support.class.console.ts</string>
|
|
|
|
</dict>
|
|
|
|
<key>2</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>punctuation.accessor.ts</string>
|
|
|
|
</dict>
|
|
|
|
<key>3</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>support.function.console.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>match</key>
|
|
|
|
<string>(?<!\.|\$)\b(JSON)(?:\s*(\.)\s*(parse|stringify))?\b(?!\$)</string>
|
|
|
|
<key>captures</key>
|
|
|
|
<dict>
|
|
|
|
<key>1</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>support.constant.json.ts</string>
|
|
|
|
</dict>
|
|
|
|
<key>2</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>punctuation.accessor.ts</string>
|
|
|
|
</dict>
|
|
|
|
<key>3</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>support.function.json.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>match</key>
|
|
|
|
<string>(?x) (\.) \s* (?:
|
|
|
|
(constructor|length|prototype|__proto__)
|
|
|
|
|
|
|
|
|
(EPSILON|MAX_SAFE_INTEGER|MAX_VALUE|MIN_SAFE_INTEGER|MIN_VALUE|NEGATIVE_INFINITY|POSITIVE_INFINITY))\b(?!\$)</string>
|
|
|
|
<key>captures</key>
|
|
|
|
<dict>
|
|
|
|
<key>1</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>punctuation.accessor.ts</string>
|
|
|
|
</dict>
|
|
|
|
<key>2</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>support.variable.property.ts</string>
|
|
|
|
</dict>
|
|
|
|
<key>3</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>support.constant.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>match</key>
|
|
|
|
<string>(?x) (?<!\.|\$) \b (?:
|
|
|
|
(document|event|navigator|performance|screen|window)
|
|
|
|
|
|
|
|
|
(AnalyserNode|ArrayBufferView|Attr|AudioBuffer|AudioBufferSourceNode|AudioContext|AudioDestinationNode|AudioListener
|
|
|
|
|AudioNode|AudioParam|BatteryManager|BeforeUnloadEvent|BiquadFilterNode|Blob|BufferSource|ByteString|CSS|CSSConditionRule
|
|
|
|
|CSSCounterStyleRule|CSSGroupingRule|CSSMatrix|CSSMediaRule|CSSPageRule|CSSPrimitiveValue|CSSRule|CSSRuleList|CSSStyleDeclaration
|
|
|
|
|CSSStyleRule|CSSStyleSheet|CSSSupportsRule|CSSValue|CSSValueList|CanvasGradient|CanvasImageSource|CanvasPattern
|
|
|
|
|CanvasRenderingContext2D|ChannelMergerNode|ChannelSplitterNode|CharacterData|ChromeWorker|CloseEvent|Comment|CompositionEvent
|
|
|
|
|Console|ConvolverNode|Coordinates|Credential|CredentialsContainer|Crypto|CryptoKey|CustomEvent|DOMError|DOMException
|
|
|
|
|DOMHighResTimeStamp|DOMImplementation|DOMString|DOMStringList|DOMStringMap|DOMTimeStamp|DOMTokenList|DataTransfer
|
|
|
|
|DataTransferItem|DataTransferItemList|DedicatedWorkerGlobalScope|DelayNode|DeviceProximityEvent|DirectoryEntry
|
|
|
|
|DirectoryEntrySync|DirectoryReader|DirectoryReaderSync|Document|DocumentFragment|DocumentTouch|DocumentType|DragEvent
|
|
|
|
|DynamicsCompressorNode|Element|Entry|EntrySync|ErrorEvent|Event|EventListener|EventSource|EventTarget|FederatedCredential
|
|
|
|
|FetchEvent|File|FileEntry|FileEntrySync|FileException|FileList|FileReader|FileReaderSync|FileSystem|FileSystemSync
|
|
|
|
|FontFace|FormData|GainNode|Gamepad|GamepadButton|GamepadEvent|Geolocation|GlobalEventHandlers|HTMLAnchorElement
|
|
|
|
|HTMLAreaElement|HTMLAudioElement|HTMLBRElement|HTMLBaseElement|HTMLBodyElement|HTMLButtonElement|HTMLCanvasElement
|
|
|
|
|HTMLCollection|HTMLContentElement|HTMLDListElement|HTMLDataElement|HTMLDataListElement|HTMLDialogElement|HTMLDivElement
|
|
|
|
|HTMLDocument|HTMLElement|HTMLEmbedElement|HTMLFieldSetElement|HTMLFontElement|HTMLFormControlsCollection|HTMLFormElement
|
|
|
|
|HTMLHRElement|HTMLHeadElement|HTMLHeadingElement|HTMLHtmlElement|HTMLIFrameElement|HTMLImageElement|HTMLInputElement
|
|
|
|
|HTMLKeygenElement|HTMLLIElement|HTMLLabelElement|HTMLLegendElement|HTMLLinkElement|HTMLMapElement|HTMLMediaElement
|
|
|
|
|HTMLMetaElement|HTMLMeterElement|HTMLModElement|HTMLOListElement|HTMLObjectElement|HTMLOptGroupElement|HTMLOptionElement
|
|
|
|
|HTMLOptionsCollection|HTMLOutputElement|HTMLParagraphElement|HTMLParamElement|HTMLPreElement|HTMLProgressElement
|
|
|
|
|HTMLQuoteElement|HTMLScriptElement|HTMLSelectElement|HTMLShadowElement|HTMLSourceElement|HTMLSpanElement|HTMLStyleElement
|
|
|
|
|HTMLTableCaptionElement|HTMLTableCellElement|HTMLTableColElement|HTMLTableDataCellElement|HTMLTableElement|HTMLTableHeaderCellElement
|
|
|
|
|HTMLTableRowElement|HTMLTableSectionElement|HTMLTextAreaElement|HTMLTimeElement|HTMLTitleElement|HTMLTrackElement
|
|
|
|
|HTMLUListElement|HTMLUnknownElement|HTMLVideoElement|HashChangeEvent|History|IDBCursor|IDBCursorWithValue|IDBDatabase
|
|
|
|
|IDBEnvironment|IDBFactory|IDBIndex|IDBKeyRange|IDBMutableFile|IDBObjectStore|IDBOpenDBRequest|IDBRequest|IDBTransaction
|
|
|
|
|IDBVersionChangeEvent|IIRFilterNode|IdentityManager|ImageBitmap|ImageBitmapFactories|ImageData|Index|InputDeviceCapabilities
|
|
|
|
|InputEvent|InstallEvent|InstallTrigger|KeyboardEvent|LinkStyle|LocalFileSystem|LocalFileSystemSync|Location|MIDIAccess
|
|
|
|
|MIDIConnectionEvent|MIDIInput|MIDIInputMap|MIDIOutputMap|MediaElementAudioSourceNode|MediaError|MediaKeyMessageEvent
|
|
|
|
|MediaKeySession|MediaKeyStatusMap|MediaKeySystemAccess|MediaKeySystemConfiguration|MediaKeys|MediaRecorder|MediaStream
|
|
|
|
|MediaStreamAudioDestinationNode|MediaStreamAudioSourceNode|MessageChannel|MessageEvent|MessagePort|MouseEvent
|
|
|
|
|MutationObserver|MutationRecord|NamedNodeMap|Navigator|NavigatorConcurrentHardware|NavigatorGeolocation|NavigatorID
|
|
|
|
|NavigatorLanguage|NavigatorOnLine|Node|NodeFilter|NodeIterator|NodeList|NonDocumentTypeChildNode|Notification
|
|
|
|
|OfflineAudioCompletionEvent|OfflineAudioContext|OscillatorNode|PageTransitionEvent|PannerNode|ParentNode|PasswordCredential
|
|
|
|
|Path2D|PaymentAddress|PaymentRequest|PaymentResponse|Performance|PerformanceEntry|PerformanceFrameTiming|PerformanceMark
|
|
|
|
|PerformanceMeasure|PerformanceNavigation|PerformanceNavigationTiming|PerformanceObserver|PerformanceObserverEntryList
|
|
|
|
|PerformanceResourceTiming|PerformanceTiming|PeriodicSyncEvent|PeriodicWave|Plugin|Point|PointerEvent|PopStateEvent
|
|
|
|
|PortCollection|Position|PositionError|PositionOptions|PresentationConnectionClosedEvent|PresentationConnectionList
|
|
|
|
|PresentationReceiver|ProcessingInstruction|ProgressEvent|PromiseRejectionEvent|PushEvent|PushRegistrationManager
|
|
|
|
|RTCCertificate|RTCConfiguration|RTCPeerConnection|RTCSessionDescriptionCallback|RTCStatsReport|RadioNodeList|RandomSource
|
|
|
|
|Range|ReadableByteStream|RenderingContext|SVGAElement|SVGAngle|SVGAnimateColorElement|SVGAnimateElement|SVGAnimateMotionElement
|
|
|
|
|SVGAnimateTransformElement|SVGAnimatedAngle|SVGAnimatedBoolean|SVGAnimatedEnumeration|SVGAnimatedInteger|SVGAnimatedLength
|
|
|
|
|SVGAnimatedLengthList|SVGAnimatedNumber|SVGAnimatedNumberList|SVGAnimatedPoints|SVGAnimatedPreserveAspectRatio
|
|
|
|
|SVGAnimatedRect|SVGAnimatedString|SVGAnimatedTransformList|SVGAnimationElement|SVGCircleElement|SVGClipPathElement
|
|
|
|
|SVGCursorElement|SVGDefsElement|SVGDescElement|SVGElement|SVGEllipseElement|SVGEvent|SVGFilterElement|SVGFontElement
|
|
|
|
|SVGFontFaceElement|SVGFontFaceFormatElement|SVGFontFaceNameElement|SVGFontFaceSrcElement|SVGFontFaceUriElement
|
|
|
|
|SVGForeignObjectElement|SVGGElement|SVGGlyphElement|SVGGradientElement|SVGHKernElement|SVGImageElement|SVGLength
|
|
|
|
|SVGLengthList|SVGLineElement|SVGLinearGradientElement|SVGMPathElement|SVGMaskElement|SVGMatrix|SVGMissingGlyphElement
|
|
|
|
|SVGNumber|SVGNumberList|SVGPathElement|SVGPatternElement|SVGPoint|SVGPolygonElement|SVGPolylineElement|SVGPreserveAspectRatio
|
|
|
|
|SVGRadialGradientElement|SVGRect|SVGRectElement|SVGSVGElement|SVGScriptElement|SVGSetElement|SVGStopElement|SVGStringList
|
|
|
|
|SVGStylable|SVGStyleElement|SVGSwitchElement|SVGSymbolElement|SVGTRefElement|SVGTSpanElement|SVGTests|SVGTextElement
|
|
|
|
|SVGTextPositioningElement|SVGTitleElement|SVGTransform|SVGTransformList|SVGTransformable|SVGUseElement|SVGVKernElement
|
|
|
|
|SVGViewElement|ServiceWorker|ServiceWorkerContainer|ServiceWorkerGlobalScope|ServiceWorkerRegistration|ServiceWorkerState
|
|
|
|
|ShadowRoot|SharedWorker|SharedWorkerGlobalScope|SourceBufferList|StereoPannerNode|Storage|StorageEvent|StyleSheet
|
|
|
|
|StyleSheetList|SubtleCrypto|SyncEvent|Text|TextMetrics|TimeEvent|TimeRanges|Touch|TouchEvent|TouchList|Transferable
|
|
|
|
|TreeWalker|UIEvent|USVString|VRDisplayCapabilities|ValidityState|WaveShaperNode|WebGL|WebGLActiveInfo|WebGLBuffer
|
|
|
|
|WebGLContextEvent|WebGLFramebuffer|WebGLProgram|WebGLRenderbuffer|WebGLRenderingContext|WebGLShader|WebGLShaderPrecisionFormat
|
|
|
|
|WebGLTexture|WebGLTimerQueryEXT|WebGLTransformFeedback|WebGLUniformLocation|WebGLVertexArrayObject|WebGLVertexArrayObjectOES
|
|
|
|
|WebSocket|WebSockets|WebVTT|WheelEvent|Window|WindowBase64|WindowEventHandlers|WindowTimers|Worker|WorkerGlobalScope
|
|
|
|
|WorkerLocation|WorkerNavigator|XMLHttpRequest|XMLHttpRequestEventTarget|XMLSerializer|XPathExpression|XPathResult
|
|
|
|
|XSLTProcessor))\b(?!\$)</string>
|
|
|
|
<key>captures</key>
|
|
|
|
<dict>
|
|
|
|
<key>1</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>support.variable.dom.ts</string>
|
|
|
|
</dict>
|
|
|
|
<key>2</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>support.class.dom.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>match</key>
|
|
|
|
<string>(?x) (\.) \s* (?:
|
|
|
|
(ATTRIBUTE_NODE|CDATA_SECTION_NODE|COMMENT_NODE|DOCUMENT_FRAGMENT_NODE|DOCUMENT_NODE|DOCUMENT_TYPE_NODE
|
|
|
|
|DOMSTRING_SIZE_ERR|ELEMENT_NODE|ENTITY_NODE|ENTITY_REFERENCE_NODE|HIERARCHY_REQUEST_ERR|INDEX_SIZE_ERR
|
|
|
|
|INUSE_ATTRIBUTE_ERR|INVALID_CHARACTER_ERR|NO_DATA_ALLOWED_ERR|NO_MODIFICATION_ALLOWED_ERR|NOT_FOUND_ERR
|
|
|
|
|NOT_SUPPORTED_ERR|NOTATION_NODE|PROCESSING_INSTRUCTION_NODE|TEXT_NODE|WRONG_DOCUMENT_ERR)
|
|
|
|
|
|
|
|
|
(_content|[xyz]|abbr|above|accept|acceptCharset|accessKey|action|align|[av]Link(?:color)?|all|alt|anchors|appCodeName
|
|
|
|
|appCore|applets|appMinorVersion|appName|appVersion|archive|areas|arguments|attributes|availHeight|availLeft|availTop
|
|
|
|
|availWidth|axis|background|backgroundColor|backgroundImage|below|bgColor|body|border|borderBottomWidth|borderColor
|
|
|
|
|borderLeftWidth|borderRightWidth|borderStyle|borderTopWidth|borderWidth|bottom|bufferDepth|callee|caller|caption
|
|
|
|
|cellPadding|cells|cellSpacing|ch|characterSet|charset|checked|childNodes|chOff|cite|classes|className|clear
|
|
|
|
|clientInformation|clip|clipBoardData|closed|code|codeBase|codeType|color|colorDepth|cols|colSpan|compact|complete
|
|
|
|
|components|content|controllers|cookie|cookieEnabled|cords|cpuClass|crypto|current|data|dateTime|declare|defaultCharset
|
|
|
|
|defaultChecked|defaultSelected|defaultStatus|defaultValue|defaultView|defer|description|dialogArguments|dialogHeight
|
|
|
|
|dialogLeft|dialogTop|dialogWidth|dir|directories|disabled|display|docmain|doctype|documentElement|elements|embeds
|
|
|
|
|enabledPlugin|encoding|enctype|entities|event|expando|external|face|fgColor|filename|firstChild|fontFamily|fontSize
|
|
|
|
|fontWeight|form|formName|forms|frame|frameBorder|frameElement|frames|hasFocus|hash|headers|height|history|host
|
|
|
|
|hostname|href|hreflang|hspace|htmlFor|httpEquiv|id|ids|ignoreCase|images|implementation|index|innerHeight|innerWidth
|
|
|
|
|input|isMap|label|lang|language|lastChild|lastIndex|lastMatch|lastModified|lastParen|layer[sXY]|left|leftContext
|
|
|
|
|lineHeight|link|linkColor|links|listStyleType|localName|location|locationbar|longDesc|lowsrc|lowSrc|marginBottom
|
|
|
|
|marginHeight|marginLeft|marginRight|marginTop|marginWidth|maxLength|media|menubar|method|mimeTypes|multiline|multiple
|
|
|
|
|name|nameProp|namespaces|namespaceURI|next|nextSibling|nodeName|nodeType|nodeValue|noHref|noResize|noShade|notationName
|
|
|
|
|notations|noWrap|object|offscreenBuffering|onLine|onreadystatechange|opener|opsProfile|options|oscpu|outerHeight
|
|
|
|
|outerWidth|ownerDocument|paddingBottom|paddingLeft|paddingRight|paddingTop|page[XY]|page[XY]Offset|parent|parentLayer
|
|
|
|
|parentNode|parentWindow|pathname|personalbar|pixelDepth|pkcs11|platform|plugins|port|prefix|previous|previousDibling
|
|
|
|
|product|productSub|profile|profileend|prompt|prompter|protocol|publicId|readOnly|readyState|referrer|rel|responseText
|
|
|
|
|responseXML|rev|right|rightContext|rowIndex|rows|rowSpan|rules|scheme|scope|screen[XY]|screenLeft|screenTop|scripts
|
|
|
|
|scrollbars|scrolling|sectionRowIndex|security|securityPolicy|selected|selectedIndex|selection|self|shape|siblingAbove
|
|
|
|
|siblingBelow|size|source|specified|standby|start|status|statusbar|statusText|style|styleSheets|suffixes|summary
|
|
|
|
|systemId|systemLanguage|tagName|tags|target|tBodies|text|textAlign|textDecoration|textIndent|textTransform|tFoot|tHead
|
|
|
|
|title|toolbar|top|type|undefined|uniqueID|updateInterval|URL|URLUnencoded|useMap|userAgent|userLanguage|userProfile
|
2016-09-23 20:29:25 +03:00
|
|
|
|vAlign|value|valueType|vendor|vendorSub|version|visibility|vspace|whiteSpace|width|X[MS]LDocument|zIndex))\b(?!\$|\s*(<([^<>]|\<[^<>]+\>)+>\s*)?\()</string>
|
2016-09-23 20:29:25 +03:00
|
|
|
<key>captures</key>
|
|
|
|
<dict>
|
|
|
|
<key>1</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>punctuation.accessor.ts</string>
|
|
|
|
</dict>
|
|
|
|
<key>2</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>support.constant.dom.ts</string>
|
|
|
|
</dict>
|
|
|
|
<key>3</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>support.variable.property.dom.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>support.class.node.ts</string>
|
|
|
|
<key>match</key>
|
|
|
|
<string>(?x)(?<!\.|\$)\b(Buffer|EventEmitter|Server|Pipe|Socket|REPLServer|ReadStream|WriteStream|Stream
|
|
|
|
|Inflate|Deflate|InflateRaw|DeflateRaw|GZip|GUnzip|Unzip|Zip)\b(?!\$)</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>support.module.node.ts</string>
|
|
|
|
<key>match</key>
|
|
|
|
<string>(?x)(?<!\.|\$)\b(assert|buffer|child_process|cluster|constants|crypto|dgram|dns|domain|events|fs|http|https|net
|
|
|
|
|os|path|punycode|querystring|readline|repl|stream|string_decoder|timers|tls|tty|url|util|vm|zlib)\b(?!\$)</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>match</key>
|
|
|
|
<string>(?x)(?<!\.|\$)\b(process)(?:(\.)(?:
|
|
|
|
(arch|argv|config|connected|env|execArgv|execPath|exitCode|mainModule|pid|platform|release|stderr|stdin|stdout|title|version|versions)
|
|
|
|
|
|
|
|
|
(abort|chdir|cwd|disconnect|exit|[sg]ete?[gu]id|send|[sg]etgroups|initgroups|kill|memoryUsage|nextTick|umask|uptime|hrtime)
|
|
|
|
))?\b(?!\$)</string>
|
|
|
|
<key>captures</key>
|
|
|
|
<dict>
|
|
|
|
<key>1</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>support.variable.object.process.ts</string>
|
|
|
|
</dict>
|
|
|
|
<key>2</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>punctuation.accessor.ts</string>
|
|
|
|
</dict>
|
|
|
|
<key>3</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>support.variable.property.process.ts</string>
|
|
|
|
</dict>
|
|
|
|
<key>4</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>support.function.process.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>match</key>
|
|
|
|
<string>(?<!\.|\$)\b(?:(exports)|(module)(?:(\.)(exports|id|filename|loaded|parent|children))?)\b(?!\$)</string>
|
|
|
|
<key>captures</key>
|
|
|
|
<dict>
|
|
|
|
<key>1</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>support.type.object.module.ts</string>
|
|
|
|
</dict>
|
|
|
|
<key>2</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>support.type.object.module.ts</string>
|
|
|
|
</dict>
|
|
|
|
<key>3</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>punctuation.accessor.ts</string>
|
|
|
|
</dict>
|
|
|
|
<key>4</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>support.type.object.module.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>support.variable.object.node.ts</string>
|
|
|
|
<key>match</key>
|
|
|
|
<string>(?<!\.|\$)\b(global|GLOBAL|root|__dirname|__filename)\b(?!\$)</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>match</key>
|
|
|
|
<string>(?x) (\.) \s*
|
|
|
|
(?:
|
|
|
|
(on(?:Rowsinserted|Rowsdelete|Rowenter|Rowexit|Resize|Resizestart|Resizeend|Reset|
|
|
|
|
Readystatechange|Mouseout|Mouseover|Mousedown|Mouseup|Mousemove|
|
|
|
|
Before(?:cut|deactivate|unload|update|paste|print|editfocus|activate)|
|
|
|
|
Blur|Scrolltop|Submit|Select|Selectstart|Selectionchange|Hover|Help|
|
|
|
|
Change|Contextmenu|Controlselect|Cut|Cellchange|Clock|Close|Deactivate|
|
|
|
|
Datasetchanged|Datasetcomplete|Dataavailable|Drop|Drag|Dragstart|Dragover|
|
|
|
|
Dragdrop|Dragenter|Dragend|Dragleave|Dblclick|Unload|Paste|Propertychange|Error|
|
|
|
|
Errorupdate|Keydown|Keyup|Keypress|Focus|Load|Activate|Afterupdate|Afterprint|Abort)
|
|
|
|
) |
|
|
|
|
(shift|showModelessDialog|showModalDialog|showHelp|scroll|scrollX|scrollByPages|
|
|
|
|
scrollByLines|scrollY|scrollTo|stop|strike|sizeToContent|sidebar|signText|sort|
|
|
|
|
sup|sub|substr|substring|splice|split|send|set(?:Milliseconds|Seconds|Minutes|Hours|
|
|
|
|
Month|Year|FullYear|Date|UTC(?:Milliseconds|Seconds|Minutes|Hours|Month|FullYear|Date)|
|
|
|
|
Time|Hotkeys|Cursor|ZOptions|Active|Resizable|RequestHeader)|search|slice|
|
|
|
|
savePreferences|small|home|handleEvent|navigate|char|charCodeAt|charAt|concat|
|
|
|
|
contextual|confirm|compile|clear|captureEvents|call|createStyleSheet|createPopup|
|
|
|
|
createEventObject|to(?:GMTString|UTCString|String|Source|UpperCase|LowerCase|LocaleString)|
|
|
|
|
test|taint|taintEnabled|indexOf|italics|disableExternalCapture|dump|detachEvent|unshift|
|
|
|
|
untaint|unwatch|updateCommands|join|javaEnabled|pop|push|plugins.refresh|paddings|parse|
|
|
|
|
print|prompt|preference|enableExternalCapture|exec|execScript|valueOf|UTC|find|file|
|
|
|
|
fileModifiedDate|fileSize|fileCreatedDate|fileUpdatedDate|fixed|fontsize|fontcolor|
|
|
|
|
forward|fromCharCode|watch|link|load|lastIndexOf|anchor|attachEvent|atob|apply|alert|
|
|
|
|
abort|routeEvents|resize|resizeBy|resizeTo|recalc|returnValue|replace|reverse|reload|
|
|
|
|
releaseCapture|releaseEvents|go|get(?:Milliseconds|Seconds|Minutes|Hours|Month|Day|Year|FullYear|
|
|
|
|
Time|Date|TimezoneOffset|UTC(?:Milliseconds|Seconds|Minutes|Hours|Day|Month|FullYear|Date)|
|
|
|
|
Attention|Selection|ResponseHeader|AllResponseHeaders)|moveBy|moveBelow|moveTo|
|
|
|
|
moveToAbsolute|moveAbove|mergeAttributes|match|margins|btoa|big|bold|borderWidths|blink|back
|
|
|
|
) |
|
|
|
|
(acceptNode|add|addEventListener|addTextTrack|adoptNode|after|animate|append|
|
|
|
|
appendChild|appendData|before|blur|canPlayType|captureStream|
|
|
|
|
caretPositionFromPoint|caretRangeFromPoint|checkValidity|clear|click|
|
|
|
|
cloneContents|cloneNode|cloneRange|close|closest|collapse|
|
|
|
|
compareBoundaryPoints|compareDocumentPosition|comparePoint|contains|
|
|
|
|
convertPointFromNode|convertQuadFromNode|convertRectFromNode|createAttribute|
|
|
|
|
createAttributeNS|createCaption|createCDATASection|createComment|
|
|
|
|
createContextualFragment|createDocument|createDocumentFragment|
|
|
|
|
createDocumentType|createElement|createElementNS|createEntityReference|
|
|
|
|
createEvent|createExpression|createHTMLDocument|createNodeIterator|
|
|
|
|
createNSResolver|createProcessingInstruction|createRange|createShadowRoot|
|
|
|
|
createTBody|createTextNode|createTFoot|createTHead|createTreeWalker|delete|
|
|
|
|
deleteCaption|deleteCell|deleteContents|deleteData|deleteRow|deleteTFoot|
|
|
|
|
deleteTHead|detach|disconnect|dispatchEvent|elementFromPoint|elementsFromPoint|
|
|
|
|
enableStyleSheetsForSet|entries|evaluate|execCommand|exitFullscreen|
|
|
|
|
exitPointerLock|expand|extractContents|fastSeek|firstChild|focus|forEach|get|
|
|
|
|
getAll|getAnimations|getAttribute|getAttributeNames|getAttributeNode|
|
|
|
|
getAttributeNodeNS|getAttributeNS|getBoundingClientRect|getBoxQuads|
|
|
|
|
getClientRects|getContext|getDestinationInsertionPoints|getElementById|
|
|
|
|
getElementsByClassName|getElementsByName|getElementsByTagName|
|
|
|
|
getElementsByTagNameNS|getItem|getNamedItem|getSelection|getStartDate|
|
|
|
|
getVideoPlaybackQuality|has|hasAttribute|hasAttributeNS|hasAttributes|
|
|
|
|
hasChildNodes|hasFeature|hasFocus|importNode|initEvent|insertAdjacentElement|
|
|
|
|
insertAdjacentHTML|insertAdjacentText|insertBefore|insertCell|insertData|
|
|
|
|
insertNode|insertRow|intersectsNode|isDefaultNamespace|isEqualNode|
|
|
|
|
isPointInRange|isSameNode|item|key|keys|lastChild|load|lookupNamespaceURI|
|
|
|
|
lookupPrefix|matches|move|moveAttribute|moveAttributeNode|moveChild|
|
|
|
|
moveNamedItem|namedItem|nextNode|nextSibling|normalize|observe|open|
|
|
|
|
parentNode|pause|play|postMessage|prepend|preventDefault|previousNode|
|
|
|
|
previousSibling|probablySupportsContext|queryCommandEnabled|
|
|
|
|
queryCommandIndeterm|queryCommandState|queryCommandSupported|queryCommandValue|
|
|
|
|
querySelector|querySelectorAll|registerContentHandler|registerElement|
|
|
|
|
registerProtocolHandler|releaseCapture|releaseEvents|remove|removeAttribute|
|
|
|
|
removeAttributeNode|removeAttributeNS|removeChild|removeEventListener|
|
|
|
|
removeItem|replace|replaceChild|replaceData|replaceWith|reportValidity|
|
|
|
|
requestFullscreen|requestPointerLock|reset|scroll|scrollBy|scrollIntoView|
|
|
|
|
scrollTo|seekToNextFrame|select|selectNode|selectNodeContents|set|setAttribute|
|
|
|
|
setAttributeNode|setAttributeNodeNS|setAttributeNS|setCapture|
|
|
|
|
setCustomValidity|setEnd|setEndAfter|setEndBefore|setItem|setNamedItem|
|
|
|
|
setRangeText|setSelectionRange|setSinkId|setStart|setStartAfter|setStartBefore|
|
|
|
|
slice|splitText|stepDown|stepUp|stopImmediatePropagation|stopPropagation|
|
|
|
|
submit|substringData|supports|surroundContents|takeRecords|terminate|toBlob|
|
|
|
|
toDataURL|toggle|toString|values|write|writeln
|
|
|
|
)
|
|
|
|
)(?=\s*\()</string>
|
|
|
|
<key>captures</key>
|
|
|
|
<dict>
|
|
|
|
<key>1</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>punctuation.accessor.ts</string>
|
|
|
|
</dict>
|
|
|
|
<key>2</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>support.function.event-handler.ts</string>
|
|
|
|
</dict>
|
|
|
|
<key>3</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>support.function.ts</string>
|
|
|
|
</dict>
|
|
|
|
<key>4</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>support.function.dom.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
2016-09-20 22:25:38 +03:00
|
|
|
<key>function-call</key>
|
|
|
|
<dict>
|
|
|
|
<key>begin</key>
|
2016-09-23 20:29:25 +03:00
|
|
|
<string>(?:(\.)\s*)?([_$[:alpha:]][_$[:alnum:]]*)\s*(?=(<([^<>]|\<[^<>]+\>)+>\s*)?\()</string>
|
2016-09-20 22:25:38 +03:00
|
|
|
<key>beginCaptures</key>
|
|
|
|
<dict>
|
|
|
|
<key>1</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
2016-09-23 20:29:25 +03:00
|
|
|
<string>punctuation.accessor.ts</string>
|
|
|
|
</dict>
|
|
|
|
<key>2</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>entity.name.function.ts</string>
|
2016-09-20 22:25:38 +03:00
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>end</key>
|
|
|
|
<string>(?=\()</string>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#comment</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>meta.type.parameters.ts</string>
|
|
|
|
<key>begin</key>
|
|
|
|
<string>\<</string>
|
|
|
|
<key>beginCaptures</key>
|
|
|
|
<dict>
|
|
|
|
<key>0</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>punctuation.definition.typeparameters.begin.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>end</key>
|
|
|
|
<string>\></string>
|
|
|
|
<key>endCaptures</key>
|
|
|
|
<dict>
|
|
|
|
<key>0</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>punctuation.definition.typeparameters.end.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#type</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#punctuation-comma</string>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
2016-09-23 20:29:25 +03:00
|
|
|
<key>identifiers</key>
|
|
|
|
<dict>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
2016-09-24 02:17:14 +03:00
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>support.class.ts</string>
|
|
|
|
<key>match</key>
|
|
|
|
<string>([_$[:alpha:]][_$[:alnum:]]*)(?=\s*\.\s*prototype\b(?!\$))</string>
|
|
|
|
</dict>
|
2016-09-23 20:29:25 +03:00
|
|
|
<dict>
|
|
|
|
<key>match</key>
|
|
|
|
<string>(?x)(\.)\s*(?:
|
|
|
|
([[:upper:]][_$[:digit:][:upper:]]*) |
|
|
|
|
([_$[:alpha:]][_$[:alnum:]]*)
|
|
|
|
)(?=\s*\.\s*[_$[:alpha:]][_$[:alnum:]]*)</string>
|
|
|
|
<key>captures</key>
|
|
|
|
<dict>
|
|
|
|
<key>1</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>punctuation.accessor.ts</string>
|
|
|
|
</dict>
|
|
|
|
<key>2</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>constant.other.object.property.ts</string>
|
|
|
|
</dict>
|
|
|
|
<key>3</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>variable.other.object.property.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>match</key>
|
|
|
|
<string>(?x)(?:(\.)\s*)?([_$[:alpha:]][_$[:alnum:]]*)(?=\s*=\s*( (async\s+)|(function\s+)| ([_$[:alpha:]][_$[:alnum:]]*\s*=>)| ((<([^<>]|\<[^<>]+\>)+>\s*)?\(([^()]|\([^()]*\))*\)(\s*:\s*(.)*)?\s*=>)))</string>
|
|
|
|
<key>captures</key>
|
|
|
|
<dict>
|
|
|
|
<key>1</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>punctuation.accessor.ts</string>
|
|
|
|
</dict>
|
|
|
|
<key>2</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>entity.name.function.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>match</key>
|
|
|
|
<string>(\.)\s*([[:upper:]][_$[:digit:][:upper:]]*)(?![_$[:alnum:]])</string>
|
|
|
|
<key>captures</key>
|
|
|
|
<dict>
|
|
|
|
<key>1</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>punctuation.accessor.ts</string>
|
|
|
|
</dict>
|
|
|
|
<key>2</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>constant.other.property.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>match</key>
|
|
|
|
<string>(\.)\s*([_$[:alpha:]][_$[:alnum:]]*)</string>
|
|
|
|
<key>captures</key>
|
|
|
|
<dict>
|
|
|
|
<key>1</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>punctuation.accessor.ts</string>
|
|
|
|
</dict>
|
|
|
|
<key>2</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>variable.other.property.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>match</key>
|
|
|
|
<string>(?x)(?:
|
|
|
|
([[:upper:]][_$[:digit:][:upper:]]*) |
|
|
|
|
([_$[:alpha:]][_$[:alnum:]]*)
|
|
|
|
)(?=\s*\.\s*[_$[:alpha:]][_$[:alnum:]]*)</string>
|
|
|
|
<key>captures</key>
|
|
|
|
<dict>
|
|
|
|
<key>1</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>constant.other.object.ts</string>
|
|
|
|
</dict>
|
|
|
|
<key>2</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>variable.other.object.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>constant.other.ts</string>
|
|
|
|
<key>match</key>
|
|
|
|
<string>([[:upper:]][_$[:digit:][:upper:]]*)(?![_$[:alnum:]])</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>variable.other.readwrite.ts</string>
|
|
|
|
<key>match</key>
|
|
|
|
<string>[_$[:alpha:]][_$[:alnum:]]*</string>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
2016-09-20 22:25:38 +03:00
|
|
|
<key>cast</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>cast.expr.ts</string>
|
|
|
|
<key>begin</key>
|
2016-09-22 19:09:06 +03:00
|
|
|
<string>(?:(?<=return|throw|yield|await|default|[=(,:>*]))\s*(<)(?!<?\=)</string>
|
2016-09-20 22:25:38 +03:00
|
|
|
<key>beginCaptures</key>
|
|
|
|
<dict>
|
|
|
|
<key>1</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>meta.brace.angle.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>end</key>
|
|
|
|
<string>></string>
|
|
|
|
<key>endCaptures</key>
|
|
|
|
<dict>
|
|
|
|
<key>0</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>meta.brace.angle.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#type</string>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
|
|
|
<key>new-expr</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>new.expr.ts</string>
|
|
|
|
<key>begin</key>
|
|
|
|
<string>(?<!\.|\$)\b(new)\b(?!\$)</string>
|
|
|
|
<key>beginCaptures</key>
|
|
|
|
<dict>
|
|
|
|
<key>1</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>keyword.operator.new.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>end</key>
|
|
|
|
<string>(?=[(;),]|$|((?<!\.|\$)\bnew\b(?!\$)))</string>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#type</string>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
|
|
|
<key>object-member</key>
|
|
|
|
<dict>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#comment</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#method-declaration</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>meta.object.member.ts</string>
|
|
|
|
<key>begin</key>
|
|
|
|
<string>(?=(?:(?:\'[^']*\')|(?:\"[^"]*\")|(?:\[[^\]]*\]))\s*:)</string>
|
|
|
|
<key>end</key>
|
|
|
|
<string>(?=,|\})</string>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>meta.object-literal.key.ts</string>
|
|
|
|
<key>begin</key>
|
2016-09-29 00:35:55 +03:00
|
|
|
<string>(?=(?:(?:\'[^']*\')|(?:\"[^"]*\")|(?:\[[^\]]*\]))\s*:)</string>
|
2016-09-20 22:25:38 +03:00
|
|
|
<key>end</key>
|
|
|
|
<string>:</string>
|
|
|
|
<key>endCaptures</key>
|
|
|
|
<dict>
|
|
|
|
<key>0</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>punctuation.separator.key-value.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#string</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#array-literal</string>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#expression</string>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>meta.object.member.ts</string>
|
|
|
|
<key>begin</key>
|
2016-09-23 01:15:20 +03:00
|
|
|
<string>(?x)(?:([_$[:alpha:]][_$[:alnum:]]*)\s*(:)(?=\s*( (async\s+)|(function\s+)| ([_$[:alpha:]][_$[:alnum:]]*\s*=>)| ((<([^<>]|\<[^<>]+\>)+>\s*)?\(([^()]|\([^()]*\))*\)(\s*:\s*(.)*)?\s*=>))))</string>
|
2016-09-20 22:25:38 +03:00
|
|
|
<key>beginCaptures</key>
|
|
|
|
<dict>
|
|
|
|
<key>0</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>meta.object-literal.key.ts</string>
|
|
|
|
</dict>
|
|
|
|
<key>1</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>entity.name.function.ts</string>
|
|
|
|
</dict>
|
|
|
|
<key>2</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>punctuation.separator.key-value.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>end</key>
|
|
|
|
<string>(?=,|\})</string>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#expression</string>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>meta.object.member.ts</string>
|
|
|
|
<key>begin</key>
|
2016-09-29 21:35:26 +03:00
|
|
|
<string>(?:[_$[:alpha:]][_$[:alnum:]]*)\s*(:)</string>
|
2016-09-20 22:25:38 +03:00
|
|
|
<key>beginCaptures</key>
|
|
|
|
<dict>
|
|
|
|
<key>0</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>meta.object-literal.key.ts</string>
|
|
|
|
</dict>
|
|
|
|
<key>1</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>punctuation.separator.key-value.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>end</key>
|
|
|
|
<string>(?=,|\})</string>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#expression</string>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
2016-10-07 23:12:39 +03:00
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>meta.object.member.ts</string>
|
|
|
|
<key>begin</key>
|
|
|
|
<string>\.\.\.</string>
|
|
|
|
<key>beginCaptures</key>
|
|
|
|
<dict>
|
|
|
|
<key>0</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>keyword.operator.spread.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>end</key>
|
|
|
|
<string>(?=,|\})</string>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#expression</string>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
2016-09-20 22:25:38 +03:00
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>meta.object.member.ts</string>
|
|
|
|
<key>match</key>
|
2016-10-07 20:44:27 +03:00
|
|
|
<string>([_$[:alpha:]][_$[:alnum:]]*)\s*(?=,|\}|$)</string>
|
2016-09-20 22:25:38 +03:00
|
|
|
<key>captures</key>
|
|
|
|
<dict>
|
|
|
|
<key>1</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>variable.other.readwrite.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#punctuation-comma</string>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
2016-10-07 23:12:39 +03:00
|
|
|
<key>expression-operators</key>
|
2016-09-20 22:25:38 +03:00
|
|
|
<dict>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
2016-09-29 21:14:32 +03:00
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>keyword.control.flow.ts</string>
|
|
|
|
<key>match</key>
|
|
|
|
<string>(?<!\.|\$)\b(await)\b(?!\$)</string>
|
|
|
|
</dict>
|
2016-09-20 22:25:38 +03:00
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>keyword.operator.delete.ts</string>
|
|
|
|
<key>match</key>
|
|
|
|
<string>(?<!\.|\$)\bdelete\b(?!\$)</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>keyword.operator.in.ts</string>
|
|
|
|
<key>match</key>
|
|
|
|
<string>(?<!\.|\$)\bin\b(?!\$)</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>keyword.operator.of.ts</string>
|
|
|
|
<key>match</key>
|
|
|
|
<string>(?<!\.|\$)\bof\b(?!\$)</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>keyword.operator.instanceof.ts</string>
|
|
|
|
<key>match</key>
|
|
|
|
<string>(?<!\.|\$)\binstanceof\b(?!\$)</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>keyword.operator.new.ts</string>
|
|
|
|
<key>match</key>
|
|
|
|
<string>(?<!\.|\$)\bnew\b(?!\$)</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#typeof-operator</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>keyword.operator.void.ts</string>
|
|
|
|
<key>match</key>
|
|
|
|
<string>(?<!\.|\$)\bvoid\b(?!\$)</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>begin</key>
|
|
|
|
<string>(?<!\.|\$)\bas\b(?!\$)</string>
|
|
|
|
<key>beginCaptures</key>
|
|
|
|
<dict>
|
|
|
|
<key>0</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>keyword.control.as.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>end</key>
|
|
|
|
<string>(?=$|[;,})\]])</string>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#type</string>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
2016-10-07 23:12:39 +03:00
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>keyword.operator.spread.ts</string>
|
|
|
|
<key>match</key>
|
|
|
|
<string>\.\.\.</string>
|
|
|
|
</dict>
|
2016-09-20 22:25:38 +03:00
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>keyword.operator.assignment.compound.ts</string>
|
|
|
|
<key>match</key>
|
|
|
|
<string>\*=|(?<!\()/=|%=|\+=|\-=</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>keyword.operator.assignment.compound.bitwise.ts</string>
|
|
|
|
<key>match</key>
|
|
|
|
<string>\&=|\^=|<<=|>>=|>>>=|\|=</string>
|
|
|
|
</dict>
|
2016-10-11 02:17:14 +03:00
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>keyword.operator.bitwise.shift.ts</string>
|
|
|
|
<key>match</key>
|
|
|
|
<string><<|>>>|>></string>
|
|
|
|
</dict>
|
2016-09-20 22:25:38 +03:00
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>keyword.operator.comparison.ts</string>
|
|
|
|
<key>match</key>
|
|
|
|
<string>===|!==|==|!=</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>keyword.operator.relational.ts</string>
|
|
|
|
<key>match</key>
|
|
|
|
<string><=|>=|<>|<|></string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>keyword.operator.logical.ts</string>
|
|
|
|
<key>match</key>
|
|
|
|
<string>\!|&&|\|\|</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>keyword.operator.bitwise.ts</string>
|
|
|
|
<key>match</key>
|
|
|
|
<string>\&|~|\^|\|</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>keyword.operator.assignment.ts</string>
|
|
|
|
<key>match</key>
|
|
|
|
<string>\=</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>keyword.operator.decrement.ts</string>
|
|
|
|
<key>match</key>
|
|
|
|
<string>--</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>keyword.operator.increment.ts</string>
|
|
|
|
<key>match</key>
|
|
|
|
<string>\+\+</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>keyword.operator.arithmetic.ts</string>
|
|
|
|
<key>match</key>
|
|
|
|
<string>%|\*|/|-|\+</string>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
2016-10-07 23:12:39 +03:00
|
|
|
<key>typeof-operator</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>keyword.operator.typeof.ts</string>
|
|
|
|
<key>match</key>
|
|
|
|
<string>(?<!\.|\$)\btypeof\b(?!\$)</string>
|
|
|
|
</dict>
|
2016-09-20 22:25:38 +03:00
|
|
|
<key>arrow-function</key>
|
|
|
|
<dict>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>meta.arrow.ts</string>
|
|
|
|
<key>match</key>
|
|
|
|
<string>(?<!\.|\$)(\basync)(?=\s*[<(])</string>
|
|
|
|
<key>captures</key>
|
|
|
|
<dict>
|
|
|
|
<key>1</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>storage.modifier.async.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>meta.arrow.ts</string>
|
|
|
|
<key>match</key>
|
|
|
|
<string>(?:(?<!\.|\$)(\basync)\s*)?([_$[:alpha:]][_$[:alnum:]]*)\s*(?==>)</string>
|
|
|
|
<key>captures</key>
|
|
|
|
<dict>
|
|
|
|
<key>1</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>storage.modifier.async.ts</string>
|
|
|
|
</dict>
|
|
|
|
<key>2</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>variable.parameter.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>meta.arrow.ts</string>
|
|
|
|
<key>begin</key>
|
2016-09-23 01:15:20 +03:00
|
|
|
<string>(?x)(?<=return|throw|yield|await|async|default|[=(\[,:>*])\s*(?=(<([^<>]|\<[^<>]+\>)+>\s*)?\(([^()]|\([^()]*\))*\)(\s*:\s*(.)*)?\s*=>)</string>
|
2016-09-20 22:25:38 +03:00
|
|
|
<key>end</key>
|
|
|
|
<string>(?==>)</string>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#comment</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#type-parameters</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#function-parameters</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#arrow-return-type</string>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>meta.arrow.ts</string>
|
|
|
|
<key>begin</key>
|
|
|
|
<string>=></string>
|
|
|
|
<key>beginCaptures</key>
|
|
|
|
<dict>
|
|
|
|
<key>0</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>storage.type.function.arrow.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>end</key>
|
|
|
|
<string>(?<=\})|((?!\{)(?=\S))</string>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#decl-block</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#expression</string>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
|
|
|
<key>arrow-return-type</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>meta.return.type.arrow.ts</string>
|
|
|
|
<key>begin</key>
|
2016-09-21 02:09:51 +03:00
|
|
|
<string>(?<=\))\s*(:)</string>
|
|
|
|
<key>beginCaptures</key>
|
|
|
|
<dict>
|
|
|
|
<key>1</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>keyword.operator.type.annotation.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
2016-09-20 22:25:38 +03:00
|
|
|
<key>end</key>
|
|
|
|
<string>(?<!:)((?=$)|(?==>|;|//))</string>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#type-predicate-operator</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#type</string>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
|
|
|
<key>punctuation-comma</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>punctuation.separator.comma.ts</string>
|
|
|
|
<key>match</key>
|
|
|
|
<string>,</string>
|
|
|
|
</dict>
|
|
|
|
<key>punctuation-semicolon</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>punctuation.terminator.statement.ts</string>
|
|
|
|
<key>match</key>
|
|
|
|
<string>;</string>
|
|
|
|
</dict>
|
|
|
|
<key>punctuation-accessor</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>punctuation.accessor.ts</string>
|
|
|
|
<key>match</key>
|
|
|
|
<string>\.</string>
|
|
|
|
</dict>
|
|
|
|
<key>paren-expression</key>
|
|
|
|
<dict>
|
|
|
|
<key>begin</key>
|
|
|
|
<string>\(</string>
|
|
|
|
<key>beginCaptures</key>
|
|
|
|
<dict>
|
|
|
|
<key>0</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>meta.brace.round.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>end</key>
|
|
|
|
<string>\)</string>
|
|
|
|
<key>endCaptures</key>
|
|
|
|
<dict>
|
|
|
|
<key>0</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>meta.brace.round.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#expression</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#punctuation-comma</string>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
|
|
|
<key>qstring-double</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>string.quoted.double.ts</string>
|
|
|
|
<key>begin</key>
|
|
|
|
<string>"</string>
|
|
|
|
<key>beginCaptures</key>
|
|
|
|
<dict>
|
|
|
|
<key>0</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>punctuation.definition.string.begin.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>end</key>
|
|
|
|
<string>(")|((?:[^\\\n])$)</string>
|
|
|
|
<key>endCaptures</key>
|
|
|
|
<dict>
|
|
|
|
<key>1</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>punctuation.definition.string.end.ts</string>
|
|
|
|
</dict>
|
|
|
|
<key>2</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>invalid.illegal.newline.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#string-character-escape</string>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
|
|
|
<key>qstring-single</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>string.quoted.single.ts</string>
|
|
|
|
<key>begin</key>
|
|
|
|
<string>'</string>
|
|
|
|
<key>beginCaptures</key>
|
|
|
|
<dict>
|
|
|
|
<key>0</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>punctuation.definition.string.begin.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>end</key>
|
|
|
|
<string>(\')|((?:[^\\\n])$)</string>
|
|
|
|
<key>endCaptures</key>
|
|
|
|
<dict>
|
|
|
|
<key>1</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>punctuation.definition.string.end.ts</string>
|
|
|
|
</dict>
|
|
|
|
<key>2</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>invalid.illegal.newline.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#string-character-escape</string>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
|
|
|
<key>regex</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>string.regex.ts</string>
|
|
|
|
<key>begin</key>
|
2016-09-22 20:57:21 +03:00
|
|
|
<string>(?<=[=(:,\[?+!]|return|case|=>|&&|\|\||\*\/)\s*(/)(?![/*+?])(?=.*/)</string>
|
2016-09-20 22:25:38 +03:00
|
|
|
<key>beginCaptures</key>
|
|
|
|
<dict>
|
|
|
|
<key>1</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>punctuation.definition.string.begin.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>end</key>
|
|
|
|
<string>(/)([gimuy]*)</string>
|
|
|
|
<key>endCaptures</key>
|
|
|
|
<dict>
|
|
|
|
<key>1</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>punctuation.definition.string.end.ts</string>
|
|
|
|
</dict>
|
|
|
|
<key>2</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>keyword.other.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#regexp</string>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
|
|
|
<key>regexp</key>
|
|
|
|
<dict>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>keyword.control.anchor.regexp</string>
|
|
|
|
<key>match</key>
|
|
|
|
<string>\\[bB]|\^|\$</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>keyword.other.back-reference.regexp</string>
|
|
|
|
<key>match</key>
|
|
|
|
<string>\\[1-9]\d*</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>keyword.operator.quantifier.regexp</string>
|
|
|
|
<key>match</key>
|
|
|
|
<string>[?+*]|\{(\d+,\d+|\d+,|,\d+|\d+)\}\??</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>keyword.operator.or.regexp</string>
|
|
|
|
<key>match</key>
|
|
|
|
<string>\|</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>meta.group.assertion.regexp</string>
|
|
|
|
<key>begin</key>
|
|
|
|
<string>(\()((\?=)|(\?!))</string>
|
|
|
|
<key>beginCaptures</key>
|
|
|
|
<dict>
|
|
|
|
<key>1</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>punctuation.definition.group.regexp</string>
|
|
|
|
</dict>
|
|
|
|
<key>2</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>punctuation.definition.group.assertion.regexp</string>
|
|
|
|
</dict>
|
|
|
|
<key>3</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>meta.assertion.look-ahead.regexp</string>
|
|
|
|
</dict>
|
|
|
|
<key>4</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>meta.assertion.negative-look-ahead.regexp</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>end</key>
|
|
|
|
<string>(\))</string>
|
|
|
|
<key>endCaptures</key>
|
|
|
|
<dict>
|
|
|
|
<key>1</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>punctuation.definition.group.regexp</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#regexp</string>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>meta.group.regexp</string>
|
|
|
|
<key>begin</key>
|
|
|
|
<string>\((\?:)?</string>
|
|
|
|
<key>beginCaptures</key>
|
|
|
|
<dict>
|
|
|
|
<key>0</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>punctuation.definition.group.regexp</string>
|
|
|
|
</dict>
|
|
|
|
<key>1</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>punctuation.definition.group.capture.regexp</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>end</key>
|
|
|
|
<string>\)</string>
|
|
|
|
<key>endCaptures</key>
|
|
|
|
<dict>
|
|
|
|
<key>0</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>punctuation.definition.group.regexp</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#regexp</string>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>constant.other.character-class.set.regexp</string>
|
|
|
|
<key>begin</key>
|
|
|
|
<string>(\[)(\^)?</string>
|
|
|
|
<key>beginCaptures</key>
|
|
|
|
<dict>
|
|
|
|
<key>1</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>punctuation.definition.character-class.regexp</string>
|
|
|
|
</dict>
|
|
|
|
<key>2</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>keyword.operator.negation.regexp</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>end</key>
|
|
|
|
<string>(\])</string>
|
|
|
|
<key>endCaptures</key>
|
|
|
|
<dict>
|
|
|
|
<key>1</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>punctuation.definition.character-class.regexp</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>constant.other.character-class.range.regexp</string>
|
|
|
|
<key>match</key>
|
|
|
|
<string>(?:.|(\\(?:[0-7]{3}|x\h\h|u\h\h\h\h))|(\\c[A-Z])|(\\.))\-(?:[^\]\\]|(\\(?:[0-7]{3}|x\h\h|u\h\h\h\h))|(\\c[A-Z])|(\\.))</string>
|
|
|
|
<key>captures</key>
|
|
|
|
<dict>
|
|
|
|
<key>1</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>constant.character.numeric.regexp</string>
|
|
|
|
</dict>
|
|
|
|
<key>2</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>constant.character.control.regexp</string>
|
|
|
|
</dict>
|
|
|
|
<key>3</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>constant.character.escape.backslash.regexp</string>
|
|
|
|
</dict>
|
|
|
|
<key>4</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>constant.character.numeric.regexp</string>
|
|
|
|
</dict>
|
|
|
|
<key>5</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>constant.character.control.regexp</string>
|
|
|
|
</dict>
|
|
|
|
<key>6</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>constant.character.escape.backslash.regexp</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#regex-character-class</string>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#regex-character-class</string>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
|
|
|
<key>regex-character-class</key>
|
|
|
|
<dict>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>constant.other.character-class.regexp</string>
|
|
|
|
<key>match</key>
|
2016-09-22 20:57:21 +03:00
|
|
|
<string>\\[wWsSdDtrnvf]|\.</string>
|
2016-09-20 22:25:38 +03:00
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>constant.character.numeric.regexp</string>
|
|
|
|
<key>match</key>
|
|
|
|
<string>\\([0-7]{3}|x\h\h|u\h\h\h\h)</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>constant.character.control.regexp</string>
|
|
|
|
<key>match</key>
|
|
|
|
<string>\\c[A-Z]</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>constant.character.escape.backslash.regexp</string>
|
|
|
|
<key>match</key>
|
|
|
|
<string>\\.</string>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
|
|
|
<key>string</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>string.ts</string>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#qstring-single</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#qstring-double</string>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
|
|
|
<key>template</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>string.template.ts</string>
|
|
|
|
<key>begin</key>
|
|
|
|
<string>([_$[:alpha:]][_$[:alnum:]]*)?(`)</string>
|
|
|
|
<key>beginCaptures</key>
|
|
|
|
<dict>
|
|
|
|
<key>1</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
2016-09-23 20:29:25 +03:00
|
|
|
<string>entity.name.function.tagged-template.ts</string>
|
2016-09-20 22:25:38 +03:00
|
|
|
</dict>
|
|
|
|
<key>2</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>punctuation.definition.string.template.begin.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>end</key>
|
|
|
|
<string>`</string>
|
|
|
|
<key>endCaptures</key>
|
|
|
|
<dict>
|
|
|
|
<key>0</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>punctuation.definition.string.template.end.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#template-substitution-element</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#string-character-escape</string>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
|
|
|
<key>string-character-escape</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>constant.character.escape.ts</string>
|
|
|
|
<key>match</key>
|
|
|
|
<string>\\(x\h{2}|[0-2][0-7]{0,2}|3[0-6][0-7]?|37[0-7]?|[4-7][0-7]?|.|$)</string>
|
|
|
|
</dict>
|
|
|
|
<key>template-substitution-element</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>meta.template.expression.ts</string>
|
|
|
|
<key>begin</key>
|
|
|
|
<string>\$\{</string>
|
|
|
|
<key>beginCaptures</key>
|
|
|
|
<dict>
|
|
|
|
<key>0</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>punctuation.definition.template-expression.begin.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>end</key>
|
|
|
|
<string>\}</string>
|
|
|
|
<key>endCaptures</key>
|
|
|
|
<dict>
|
|
|
|
<key>0</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>punctuation.definition.template-expression.end.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#expression</string>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
|
|
|
<key>literal</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>literal.ts</string>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#numeric-literal</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#boolean-literal</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#null-literal</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#undefined-literal</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#numericConstant-literal</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#array-literal</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#this-literal</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#super-literal</string>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
|
|
|
<key>array-literal</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>meta.array.literal.ts</string>
|
|
|
|
<key>begin</key>
|
|
|
|
<string>\[</string>
|
|
|
|
<key>beginCaptures</key>
|
|
|
|
<dict>
|
|
|
|
<key>0</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>meta.brace.square.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>end</key>
|
|
|
|
<string>\]</string>
|
|
|
|
<key>endCaptures</key>
|
|
|
|
<dict>
|
|
|
|
<key>0</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>meta.brace.square.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#expression</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#punctuation-comma</string>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
|
|
|
<key>numeric-literal</key>
|
|
|
|
<dict>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>constant.numeric.hex.ts</string>
|
|
|
|
<key>match</key>
|
|
|
|
<string>\b(?<!\$)0(x|X)[0-9a-fA-F]+\b(?!\$)</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>constant.numeric.binary.ts</string>
|
|
|
|
<key>match</key>
|
|
|
|
<string>\b(?<!\$)0(b|B)[01]+\b(?!\$)</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>constant.numeric.octal.ts</string>
|
|
|
|
<key>match</key>
|
|
|
|
<string>\b(?<!\$)0(o|O)?[0-7]+\b(?!\$)</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>match</key>
|
|
|
|
<string>(?x)
|
2016-08-12 01:38:31 +03:00
|
|
|
(?<!\$)(?:
|
|
|
|
(?:\b[0-9]+(\.)[0-9]+[eE][+-]?[0-9]+\b)| # 1.1E+3
|
|
|
|
(?:\b[0-9]+(\.)[eE][+-]?[0-9]+\b)| # 1.E+3
|
|
|
|
(?:\B(\.)[0-9]+[eE][+-]?[0-9]+\b)| # .1E+3
|
|
|
|
(?:\b[0-9]+[eE][+-]?[0-9]+\b)| # 1E+3
|
|
|
|
(?:\b[0-9]+(\.)[0-9]+\b)| # 1.1
|
|
|
|
(?:\b[0-9]+(\.)\B)| # 1.
|
|
|
|
(?:\B(\.)[0-9]+\b)| # .1
|
|
|
|
(?:\b[0-9]+\b(?!\.)) # 1
|
|
|
|
)(?!\$)</string>
|
2016-09-20 22:25:38 +03:00
|
|
|
<key>captures</key>
|
|
|
|
<dict>
|
|
|
|
<key>0</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>constant.numeric.decimal.ts</string>
|
|
|
|
</dict>
|
|
|
|
<key>1</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>meta.delimiter.decimal.period.ts</string>
|
|
|
|
</dict>
|
|
|
|
<key>2</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>meta.delimiter.decimal.period.ts</string>
|
|
|
|
</dict>
|
|
|
|
<key>3</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>meta.delimiter.decimal.period.ts</string>
|
|
|
|
</dict>
|
|
|
|
<key>4</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>meta.delimiter.decimal.period.ts</string>
|
|
|
|
</dict>
|
|
|
|
<key>5</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>meta.delimiter.decimal.period.ts</string>
|
|
|
|
</dict>
|
|
|
|
<key>6</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>meta.delimiter.decimal.period.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
|
|
|
<key>boolean-literal</key>
|
|
|
|
<dict>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>constant.language.boolean.true.ts</string>
|
|
|
|
<key>match</key>
|
|
|
|
<string>(?<!\.|\$)\btrue\b(?!\$)</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>constant.language.boolean.false.ts</string>
|
|
|
|
<key>match</key>
|
|
|
|
<string>(?<!\.|\$)\bfalse\b(?!\$)</string>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
|
|
|
<key>null-literal</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>constant.language.null.ts</string>
|
|
|
|
<key>match</key>
|
|
|
|
<string>(?<!\.|\$)\bnull\b(?!\$)</string>
|
|
|
|
</dict>
|
|
|
|
<key>this-literal</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>variable.language.this.ts</string>
|
|
|
|
<key>match</key>
|
|
|
|
<string>(?<!\.|\$)\bthis\b(?!\$)</string>
|
|
|
|
</dict>
|
|
|
|
<key>super-literal</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>variable.language.super.ts</string>
|
|
|
|
<key>match</key>
|
|
|
|
<string>(?<!\.|\$)\bsuper\b(?!\$)</string>
|
|
|
|
</dict>
|
|
|
|
<key>undefined-literal</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>constant.language.undefined.ts</string>
|
|
|
|
<key>match</key>
|
|
|
|
<string>(?<!\.|\$)\bundefined\b(?!\$)</string>
|
|
|
|
</dict>
|
|
|
|
<key>numericConstant-literal</key>
|
|
|
|
<dict>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>constant.language.nan.ts</string>
|
|
|
|
<key>match</key>
|
|
|
|
<string>(?<!\.|\$)\bNaN\b(?!\$)</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>constant.language.infinity.ts</string>
|
|
|
|
<key>match</key>
|
|
|
|
<string>(?<!\.|\$)\bInfinity\b(?!\$)</string>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
|
|
|
<key>access-modifier</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>storage.modifier.ts</string>
|
|
|
|
<key>match</key>
|
2016-10-11 22:30:14 +03:00
|
|
|
<string>(?<!\.|\$)\b(abstract|public|protected|private|readonly|static)\b(?!\$)</string>
|
2016-09-20 22:25:38 +03:00
|
|
|
</dict>
|
|
|
|
<key>property-accessor</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>storage.type.property.ts</string>
|
|
|
|
<key>match</key>
|
|
|
|
<string>(?<!\.|\$)\b(get|set)\b(?!\$)</string>
|
|
|
|
</dict>
|
2016-09-30 00:41:22 +03:00
|
|
|
<key>comment</key>
|
|
|
|
<dict>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>comment.block.documentation.ts</string>
|
|
|
|
<key>begin</key>
|
|
|
|
<string>/\*\*(?!/)</string>
|
|
|
|
<key>end</key>
|
|
|
|
<string>\*/</string>
|
|
|
|
<key>captures</key>
|
|
|
|
<dict>
|
|
|
|
<key>0</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>punctuation.definition.comment.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>include</key>
|
|
|
|
<string>#docblock</string>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>comment.block.ts</string>
|
|
|
|
<key>begin</key>
|
|
|
|
<string>/\*</string>
|
|
|
|
<key>end</key>
|
|
|
|
<string>\*/</string>
|
|
|
|
<key>captures</key>
|
|
|
|
<dict>
|
|
|
|
<key>0</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>punctuation.definition.comment.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>begin</key>
|
|
|
|
<string>(^[ \t]+)?(?=//)</string>
|
|
|
|
<key>beginCaptures</key>
|
|
|
|
<dict>
|
|
|
|
<key>1</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>punctuation.whitespace.comment.leading.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>end</key>
|
|
|
|
<string>(?=$)</string>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>comment.line.double-slash.ts</string>
|
|
|
|
<key>begin</key>
|
|
|
|
<string>//</string>
|
|
|
|
<key>beginCaptures</key>
|
|
|
|
<dict>
|
|
|
|
<key>0</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>punctuation.definition.comment.ts</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<key>end</key>
|
|
|
|
<string>(?=$)</string>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
|
|
|
<key>docblock</key>
|
|
|
|
<dict>
|
|
|
|
<key>patterns</key>
|
|
|
|
<array>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>storage.type.class.jsdoc</string>
|
|
|
|
<key>match</key>
|
|
|
|
<string>(?<!\w)@(abstract|access|alias|arg|argument|async|attribute|augments|author|beta|borrows|bubbes|callback|chainable|class|classdesc|code|config|const|constant|constructor|constructs|copyright|default|defaultvalue|define|deprecated|desc|description|dict|emits|enum|event|example|exports?|extends|extension|extension_for|extensionfor|external|file|fileoverview|final|fires|for|function|global|host|ignore|implements|inherit[Dd]oc|inner|instance|interface|kind|lends|license|listens|main|member|memberof|method|mixex|mixins?|module|name|namespace|nocollapse|nosideeffects|override|overview|package|param|preserve|private|prop|property|protected|public|read[Oo]nly|record|require[ds]|returns?|see|since|static|struct|submodule|summary|template|this|throws|todo|tutorial|type|typedef|unrestricted|uses|var|variation|version|virtual|writeOnce)\b</string>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>match</key>
|
|
|
|
<string>(?x)
|
2016-10-11 02:17:14 +03:00
|
|
|
(?:(?<=@param)|(?<=@arg)|(?<=@argument)|(?<=@type))
|
2016-09-30 00:41:22 +03:00
|
|
|
\s+
|
|
|
|
({(?:
|
|
|
|
\* | # {*} any type
|
|
|
|
\? | # {?} unknown type
|
2016-10-11 02:17:14 +03:00
|
|
|
(?: # Check for a prefix
|
2016-09-30 00:41:22 +03:00
|
|
|
\? | # {?string} nullable type
|
2016-10-11 02:17:14 +03:00
|
|
|
! | # {!string} non-nullable type
|
2016-09-30 00:41:22 +03:00
|
|
|
\.{3} # {...string} variable number of parameters
|
|
|
|
)?
|
|
|
|
(?:
|
|
|
|
\( # Opening bracket of multiple types with parenthesis {(string|number)}
|
|
|
|
[a-zA-Z_$]+
|
|
|
|
(?:
|
|
|
|
(?:
|
|
|
|
[\w$]*
|
2016-10-11 02:17:14 +03:00
|
|
|
(?:\[\])? # {(string[]|number)} type application, an array of strings or a number
|
2016-09-30 00:41:22 +03:00
|
|
|
) |
|
2016-10-11 02:17:14 +03:00
|
|
|
\.?<[\w$]+(?:,\s+[\w$]+)*> # {Array<string>} or {Object<string, number>} type application (optional .)
|
2016-09-30 00:41:22 +03:00
|
|
|
)
|
|
|
|
(?:
|
|
|
|
[\.|~] # {Foo.bar} namespaced, {string|number} multiple, {Foo~bar} class-specific callback
|
|
|
|
[a-zA-Z_$]+
|
|
|
|
(?:
|
|
|
|
(?:
|
|
|
|
[\w$]*
|
|
|
|
(?:\[\])? # {(string|number[])} type application, a string or an array of numbers
|
|
|
|
) |
|
2016-10-11 02:17:14 +03:00
|
|
|
\.?<[\w$]+(?:,\s+[\w$]+)*> # {Array<string>} or {Object<string, number>} type application (optional .)
|
2016-09-30 00:41:22 +03:00
|
|
|
)
|
|
|
|
)*
|
|
|
|
\) |
|
|
|
|
[a-zA-Z_$]+
|
|
|
|
(?:
|
|
|
|
(?:
|
|
|
|
[\w$]*
|
|
|
|
(?:\[\])? # {string[]|number} type application, an array of strings or a number
|
|
|
|
) |
|
2016-10-11 02:17:14 +03:00
|
|
|
\.?<[\w$]+(?:,\s+[\w$]+)*> # {Array<string>} or {Object<string, number>} type application (optional .)
|
2016-09-30 00:41:22 +03:00
|
|
|
)
|
|
|
|
(?:
|
2016-10-11 02:17:14 +03:00
|
|
|
[\.|~] # {Foo.bar} namespaced, {string|number} multiple, {Foo~bar} class-specific callback
|
2016-09-30 00:41:22 +03:00
|
|
|
[a-zA-Z_$]+
|
|
|
|
(?:
|
|
|
|
[\w$]* |
|
2016-10-11 02:17:14 +03:00
|
|
|
\.?<[\w$]+(?:,\s+[\w$]+)*> # {Array<string>} or {Object<string, number>} type application (optional .)
|
2016-09-30 00:41:22 +03:00
|
|
|
)
|
|
|
|
)*
|
|
|
|
)
|
2016-10-11 02:17:14 +03:00
|
|
|
# Check for suffix
|
2016-09-30 00:41:22 +03:00
|
|
|
(?:\[\])? # {string[]} type application, an array of strings
|
2016-10-11 02:17:14 +03:00
|
|
|
=? # {string=} optional parameter
|
2016-09-30 00:41:22 +03:00
|
|
|
)})
|
|
|
|
\s+
|
|
|
|
(
|
2016-10-11 02:17:14 +03:00
|
|
|
\[ # [foo] optional parameter
|
2016-09-30 00:41:22 +03:00
|
|
|
\s*
|
|
|
|
(?:
|
|
|
|
[a-zA-Z_$][\w$]*
|
|
|
|
(?:
|
|
|
|
(?:\[\])? # Foo[].bar properties within an array
|
2016-10-11 02:17:14 +03:00
|
|
|
\. # Foo.Bar namespaced parameter
|
2016-09-30 00:41:22 +03:00
|
|
|
[a-zA-Z_$][\w$]*
|
|
|
|
)*
|
|
|
|
(?:
|
|
|
|
\s*
|
2016-10-11 02:17:14 +03:00
|
|
|
= # [foo=bar] Default parameter value
|
2016-09-30 00:41:22 +03:00
|
|
|
\s*
|
|
|
|
[\w$\s]*
|
|
|
|
)?
|
|
|
|
)
|
|
|
|
\s*
|
|
|
|
\] |
|
|
|
|
(?:
|
|
|
|
[a-zA-Z_$][\w$]*
|
|
|
|
(?:
|
|
|
|
(?:\[\])? # Foo[].bar properties within an array
|
2016-10-11 02:17:14 +03:00
|
|
|
\. # Foo.Bar namespaced parameter
|
2016-09-30 00:41:22 +03:00
|
|
|
[a-zA-Z_$][\w$]*
|
|
|
|
)*
|
|
|
|
)?
|
|
|
|
)
|
|
|
|
\s+
|
2016-10-11 02:17:14 +03:00
|
|
|
(?:-\s+)? # optional hyphen before the description
|
2016-09-30 00:41:22 +03:00
|
|
|
((?:(?!\*\/).)*) # The type description</string>
|
|
|
|
<key>captures</key>
|
|
|
|
<dict>
|
|
|
|
<key>0</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>other.meta.jsdoc</string>
|
|
|
|
</dict>
|
|
|
|
<key>1</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>entity.name.type.instance.jsdoc</string>
|
|
|
|
</dict>
|
|
|
|
<key>2</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>variable.other.jsdoc</string>
|
|
|
|
</dict>
|
|
|
|
<key>3</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>other.description.jsdoc</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
<dict>
|
|
|
|
<key>match</key>
|
|
|
|
<string>(?x)
|
|
|
|
({(?:
|
2016-10-11 02:17:14 +03:00
|
|
|
\* | # {*} any type
|
|
|
|
\? | # {?} unknown type
|
2016-09-30 00:41:22 +03:00
|
|
|
|
2016-10-11 02:17:14 +03:00
|
|
|
(?: # Check for a prefix
|
|
|
|
\? | # {?string} nullable type
|
|
|
|
! | # {!string} non-nullable type
|
|
|
|
\.{3} # {...string} variable number of parameters
|
2016-09-30 00:41:22 +03:00
|
|
|
)?
|
|
|
|
|
|
|
|
(?:
|
2016-10-11 02:17:14 +03:00
|
|
|
\( # Opening bracket of multiple types with parenthesis {(string|number)}
|
2016-09-30 00:41:22 +03:00
|
|
|
[a-zA-Z_$]+
|
|
|
|
(?:
|
|
|
|
[\w$]* |
|
2016-10-11 02:17:14 +03:00
|
|
|
\.?<[\w$]+(?:,\s+[\w$]+)*> # {Array<string>} or {Object<string, number>} type application (optional .)
|
2016-09-30 00:41:22 +03:00
|
|
|
)
|
|
|
|
(?:
|
2016-10-11 02:17:14 +03:00
|
|
|
[\.|~] # {Foo.bar} namespaced, {string|number} multiple, {Foo~bar} class-specific callback
|
2016-09-30 00:41:22 +03:00
|
|
|
[a-zA-Z_$]+
|
|
|
|
(?:
|
|
|
|
[\w$]* |
|
2016-10-11 02:17:14 +03:00
|
|
|
\.?<[\w$]+(?:,\s+[\w$]+)*> # {Array<string>} or {Object<string, number>} type application (optional .)
|
2016-09-30 00:41:22 +03:00
|
|
|
)
|
|
|
|
)*
|
|
|
|
\) |
|
|
|
|
[a-zA-Z_$]+
|
|
|
|
(?:
|
|
|
|
[\w$]* |
|
2016-10-11 02:17:14 +03:00
|
|
|
\.?<[\w$]+(?:,\s+[\w$]+)*> # {Array<string>} or {Object<string, number>} type application (optional .)
|
2016-09-30 00:41:22 +03:00
|
|
|
)
|
|
|
|
(?:
|
2016-10-11 02:17:14 +03:00
|
|
|
[\.|~] # {Foo.bar} namespaced, {string|number} multiple, {Foo~bar} class-specific callback
|
2016-09-30 00:41:22 +03:00
|
|
|
[a-zA-Z_$]+
|
|
|
|
(?:
|
|
|
|
[\w$]* |
|
2016-10-11 02:17:14 +03:00
|
|
|
\.?<[\w$]+(?:,\s+[\w$]+)*> # {Array<string>} or {Object<string, number>} type application (optional .)
|
2016-09-30 00:41:22 +03:00
|
|
|
)
|
|
|
|
)*
|
|
|
|
)
|
2016-10-11 02:17:14 +03:00
|
|
|
# Check for suffix
|
2016-09-30 00:41:22 +03:00
|
|
|
(?:\[\])? # {string[]} type application, an array of strings
|
2016-10-11 02:17:14 +03:00
|
|
|
=? # {string=} optional parameter
|
2016-09-30 00:41:22 +03:00
|
|
|
)})
|
|
|
|
\s+
|
2016-10-11 02:17:14 +03:00
|
|
|
(?:-\s+)? # optional hyphen before the description
|
2016-09-30 00:41:22 +03:00
|
|
|
((?:(?!\*\/).)*) # The type description</string>
|
|
|
|
<key>captures</key>
|
|
|
|
<dict>
|
|
|
|
<key>0</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>other.meta.jsdoc</string>
|
|
|
|
</dict>
|
|
|
|
<key>1</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>entity.name.type.instance.jsdoc</string>
|
|
|
|
</dict>
|
|
|
|
<key>2</key>
|
|
|
|
<dict>
|
|
|
|
<key>name</key>
|
|
|
|
<string>other.description.jsdoc</string>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
</array>
|
|
|
|
</dict>
|
2016-09-20 22:25:38 +03:00
|
|
|
</dict>
|
|
|
|
</dict>
|
|
|
|
</plist>
|