Do not allow function expression to end with line break

Fixes #389
This commit is contained in:
Sheetal Nandi 2017-01-03 14:51:59 -08:00
Родитель c5e57fafc4
Коммит 4299f47624
16 изменённых файлов: 656 добавлений и 498 удалений

Просмотреть файл

@ -183,14 +183,13 @@ repository:
- include: '#expression'
expression:
name: meta.expression.ts
patterns:
- include: '#string'
- include: '#regex'
- include: '#template'
- include: '#comment'
- include: '#literal'
- include: '#function-declaration'
- include: '#function-expression'
- include: '#class-or-interface-declaration'
- include: '#arrow-function'
- include: '#cast'
@ -230,7 +229,6 @@ repository:
match: (?<!\.|\$)\b(declare)\b(?!\$)
declaration:
name: meta.declaration.ts
patterns:
- include: '#decorator'
- include: '#var-expr'
@ -663,7 +661,23 @@ repository:
'3': { name: storage.type.function.ts }
'4': { name: keyword.generator.asterisk.ts }
'5': { name: meta.definition.function.ts entity.name.function.ts }
end: (?=$|;|\})|(?<=\})
end: (?=$|;)|(?<=\})
patterns:
- include: '#comment'
- include: '#type-parameters'
- include: '#function-parameters'
- include: '#return-type'
- include: '#decl-block'
function-expression:
name: meta.function.expression.ts
begin: (?<!\.|\$)\b(?:(async)\s+)?(function\b)(?:\s*(\*))?(?:(?:\s+|(?<=\*))([_$[:alpha:]][_$[:alnum:]]*))?\s*
beginCaptures:
'1': { name: storage.modifier.async.ts }
'2': { name: storage.type.function.ts }
'3': { name: keyword.generator.asterisk.ts }
'4': { name: meta.definition.function.ts entity.name.function.ts }
end: (?<=\})
patterns:
- include: '#comment'
- include: '#type-parameters'
@ -854,7 +868,6 @@ repository:
- include: '#type'
type:
name: meta.type.ts
patterns:
- include: '#comment'
- include: '#string'
@ -1804,7 +1817,6 @@ repository:
- include: '#expression'
literal:
name: literal.ts
patterns:
- include: '#numeric-literal'
- include: '#boolean-literal'

Просмотреть файл

@ -520,8 +520,6 @@
</dict>
<key>expression</key>
<dict>
<key>name</key>
<string>meta.expression.ts</string>
<key>patterns</key>
<array>
<dict>
@ -546,7 +544,7 @@
</dict>
<dict>
<key>include</key>
<string>#function-declaration</string>
<string>#function-expression</string>
</dict>
<dict>
<key>include</key>
@ -675,8 +673,6 @@
</dict>
<key>declaration</key>
<dict>
<key>name</key>
<string>meta.declaration.ts</string>
<key>patterns</key>
<array>
<dict>
@ -2080,7 +2076,62 @@
</dict>
</dict>
<key>end</key>
<string>(?=$|;|\})|(?&lt;=\})</string>
<string>(?=$|;)|(?&lt;=\})</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>#decl-block</string>
</dict>
</array>
</dict>
<key>function-expression</key>
<dict>
<key>name</key>
<string>meta.function.expression.ts</string>
<key>begin</key>
<string>(?&lt;!\.|\$)\b(?:(async)\s+)?(function\b)(?:\s*(\*))?(?:(?:\s+|(?&lt;=\*))([_$[:alpha:]][_$[:alnum:]]*))?\s*</string>
<key>beginCaptures</key>
<dict>
<key>1</key>
<dict>
<key>name</key>
<string>storage.modifier.async.ts</string>
</dict>
<key>2</key>
<dict>
<key>name</key>
<string>storage.type.function.ts</string>
</dict>
<key>3</key>
<dict>
<key>name</key>
<string>keyword.generator.asterisk.ts</string>
</dict>
<key>4</key>
<dict>
<key>name</key>
<string>meta.definition.function.ts entity.name.function.ts</string>
</dict>
</dict>
<key>end</key>
<string>(?&lt;=\})</string>
<key>patterns</key>
<array>
<dict>
@ -2627,8 +2678,6 @@
</dict>
<key>type</key>
<dict>
<key>name</key>
<string>meta.type.ts</string>
<key>patterns</key>
<array>
<dict>
@ -4976,8 +5025,6 @@
</dict>
<key>literal</key>
<dict>
<key>name</key>
<string>literal.ts</string>
<key>patterns</key>
<array>
<dict>

Просмотреть файл

@ -520,8 +520,6 @@
</dict>
<key>expression</key>
<dict>
<key>name</key>
<string>meta.expression.tsx</string>
<key>patterns</key>
<array>
<dict>
@ -550,7 +548,7 @@
</dict>
<dict>
<key>include</key>
<string>#function-declaration</string>
<string>#function-expression</string>
</dict>
<dict>
<key>include</key>
@ -679,8 +677,6 @@
</dict>
<key>declaration</key>
<dict>
<key>name</key>
<string>meta.declaration.tsx</string>
<key>patterns</key>
<array>
<dict>
@ -2084,7 +2080,62 @@
</dict>
</dict>
<key>end</key>
<string>(?=$|;|\})|(?&lt;=\})</string>
<string>(?=$|;)|(?&lt;=\})</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>#decl-block</string>
</dict>
</array>
</dict>
<key>function-expression</key>
<dict>
<key>name</key>
<string>meta.function.expression.tsx</string>
<key>begin</key>
<string>(?&lt;!\.|\$)\b(?:(async)\s+)?(function\b)(?:\s*(\*))?(?:(?:\s+|(?&lt;=\*))([_$[:alpha:]][_$[:alnum:]]*))?\s*</string>
<key>beginCaptures</key>
<dict>
<key>1</key>
<dict>
<key>name</key>
<string>storage.modifier.async.tsx</string>
</dict>
<key>2</key>
<dict>
<key>name</key>
<string>storage.type.function.tsx</string>
</dict>
<key>3</key>
<dict>
<key>name</key>
<string>keyword.generator.asterisk.tsx</string>
</dict>
<key>4</key>
<dict>
<key>name</key>
<string>meta.definition.function.tsx entity.name.function.tsx</string>
</dict>
</dict>
<key>end</key>
<string>(?&lt;=\})</string>
<key>patterns</key>
<array>
<dict>
@ -2631,8 +2682,6 @@
</dict>
<key>type</key>
<dict>
<key>name</key>
<string>meta.type.tsx</string>
<key>patterns</key>
<array>
<dict>
@ -4958,8 +5007,6 @@
</dict>
<key>literal</key>
<dict>
<key>name</key>
<string>literal.tsx</string>
<key>patterns</key>
<array>
<dict>

Просмотреть файл

@ -136,41 +136,41 @@ Grammar: TypeScript.tmLanguage
^
source.ts meta.var.expr.ts
^^^^^^^^
source.ts meta.var.expr.ts meta.function.ts storage.type.function.ts
source.ts meta.var.expr.ts meta.function.expression.ts storage.type.function.ts
^
source.ts meta.var.expr.ts meta.function.ts
source.ts meta.var.expr.ts meta.function.expression.ts
^
source.ts meta.var.expr.ts meta.function.ts meta.parameters.ts punctuation.definition.parameters.begin.ts
source.ts meta.var.expr.ts meta.function.expression.ts meta.parameters.ts punctuation.definition.parameters.begin.ts
^
source.ts meta.var.expr.ts meta.function.ts meta.parameters.ts variable.parameter.ts
source.ts meta.var.expr.ts meta.function.expression.ts meta.parameters.ts variable.parameter.ts
^
source.ts meta.var.expr.ts meta.function.ts meta.parameters.ts meta.type.annotation.ts keyword.operator.type.annotation.ts
source.ts meta.var.expr.ts meta.function.expression.ts meta.parameters.ts meta.type.annotation.ts keyword.operator.type.annotation.ts
^
source.ts meta.var.expr.ts meta.function.ts meta.parameters.ts meta.type.annotation.ts
source.ts meta.var.expr.ts meta.function.expression.ts meta.parameters.ts meta.type.annotation.ts
^^^
source.ts meta.var.expr.ts meta.function.ts meta.parameters.ts meta.type.annotation.ts entity.name.type.ts
source.ts meta.var.expr.ts meta.function.expression.ts meta.parameters.ts meta.type.annotation.ts entity.name.type.ts
^
source.ts meta.var.expr.ts meta.function.ts meta.parameters.ts punctuation.separator.parameter.ts
source.ts meta.var.expr.ts meta.function.expression.ts meta.parameters.ts punctuation.separator.parameter.ts
^
source.ts meta.var.expr.ts meta.function.ts meta.parameters.ts
source.ts meta.var.expr.ts meta.function.expression.ts meta.parameters.ts
^
source.ts meta.var.expr.ts meta.function.ts meta.parameters.ts variable.parameter.ts
source.ts meta.var.expr.ts meta.function.expression.ts meta.parameters.ts variable.parameter.ts
^
source.ts meta.var.expr.ts meta.function.ts meta.parameters.ts meta.type.annotation.ts keyword.operator.type.annotation.ts
source.ts meta.var.expr.ts meta.function.expression.ts meta.parameters.ts meta.type.annotation.ts keyword.operator.type.annotation.ts
^
source.ts meta.var.expr.ts meta.function.ts meta.parameters.ts meta.type.annotation.ts
source.ts meta.var.expr.ts meta.function.expression.ts meta.parameters.ts meta.type.annotation.ts
^^^^^^
source.ts meta.var.expr.ts meta.function.ts meta.parameters.ts meta.type.annotation.ts support.type.primitive.ts
source.ts meta.var.expr.ts meta.function.expression.ts meta.parameters.ts meta.type.annotation.ts support.type.primitive.ts
^
source.ts meta.var.expr.ts meta.function.ts meta.parameters.ts punctuation.definition.parameters.end.ts
source.ts meta.var.expr.ts meta.function.expression.ts meta.parameters.ts punctuation.definition.parameters.end.ts
^
source.ts meta.var.expr.ts meta.function.ts
source.ts meta.var.expr.ts meta.function.expression.ts
^
source.ts meta.var.expr.ts meta.function.ts meta.block.ts punctuation.definition.block.ts
source.ts meta.var.expr.ts meta.function.expression.ts meta.block.ts punctuation.definition.block.ts
^
source.ts meta.var.expr.ts meta.function.ts meta.block.ts
source.ts meta.var.expr.ts meta.function.expression.ts meta.block.ts
^
source.ts meta.var.expr.ts meta.function.ts meta.block.ts punctuation.definition.block.ts
source.ts meta.var.expr.ts meta.function.expression.ts meta.block.ts punctuation.definition.block.ts
^
source.ts meta.var.expr.ts
>

Просмотреть файл

@ -21,51 +21,51 @@ Grammar: TypeScript.tmLanguage
^
source.ts new.expr.ts meta.brace.round.ts
^^^^^^^^
source.ts new.expr.ts meta.function.ts storage.type.function.ts
source.ts new.expr.ts meta.function.expression.ts storage.type.function.ts
^
source.ts new.expr.ts meta.function.ts
source.ts new.expr.ts meta.function.expression.ts
^^
source.ts new.expr.ts meta.function.ts meta.definition.function.ts entity.name.function.ts
source.ts new.expr.ts meta.function.expression.ts meta.definition.function.ts entity.name.function.ts
^
source.ts new.expr.ts meta.function.ts meta.parameters.ts punctuation.definition.parameters.begin.ts
source.ts new.expr.ts meta.function.expression.ts meta.parameters.ts punctuation.definition.parameters.begin.ts
^
source.ts new.expr.ts meta.function.ts meta.parameters.ts punctuation.definition.parameters.end.ts
source.ts new.expr.ts meta.function.expression.ts meta.parameters.ts punctuation.definition.parameters.end.ts
^
source.ts new.expr.ts meta.function.ts
source.ts new.expr.ts meta.function.expression.ts
^
source.ts new.expr.ts meta.function.ts meta.block.ts punctuation.definition.block.ts
source.ts new.expr.ts meta.function.expression.ts meta.block.ts punctuation.definition.block.ts
^^
source.ts new.expr.ts meta.function.ts meta.block.ts
source.ts new.expr.ts meta.function.expression.ts meta.block.ts
> console.log(this.constructor.name);
^^^^
source.ts new.expr.ts meta.function.ts meta.block.ts
source.ts new.expr.ts meta.function.expression.ts meta.block.ts
^^^^^^^
source.ts new.expr.ts meta.function.ts meta.block.ts support.class.console.ts
source.ts new.expr.ts meta.function.expression.ts meta.block.ts support.class.console.ts
^
source.ts new.expr.ts meta.function.ts meta.block.ts punctuation.accessor.ts
source.ts new.expr.ts meta.function.expression.ts meta.block.ts punctuation.accessor.ts
^^^
source.ts new.expr.ts meta.function.ts meta.block.ts support.function.console.ts
source.ts new.expr.ts meta.function.expression.ts meta.block.ts support.function.console.ts
^
source.ts new.expr.ts meta.function.ts meta.block.ts meta.brace.round.ts
source.ts new.expr.ts meta.function.expression.ts meta.block.ts meta.brace.round.ts
^^^^
source.ts new.expr.ts meta.function.ts meta.block.ts variable.language.this.ts
source.ts new.expr.ts meta.function.expression.ts meta.block.ts variable.language.this.ts
^
source.ts new.expr.ts meta.function.ts meta.block.ts punctuation.accessor.ts
source.ts new.expr.ts meta.function.expression.ts meta.block.ts punctuation.accessor.ts
^^^^^^^^^^^
source.ts new.expr.ts meta.function.ts meta.block.ts support.variable.property.ts
source.ts new.expr.ts meta.function.expression.ts meta.block.ts support.variable.property.ts
^
source.ts new.expr.ts meta.function.ts meta.block.ts punctuation.accessor.ts
source.ts new.expr.ts meta.function.expression.ts meta.block.ts punctuation.accessor.ts
^^^^
source.ts new.expr.ts meta.function.ts meta.block.ts support.variable.property.dom.ts
source.ts new.expr.ts meta.function.expression.ts meta.block.ts support.variable.property.dom.ts
^
source.ts new.expr.ts meta.function.ts meta.block.ts meta.brace.round.ts
source.ts new.expr.ts meta.function.expression.ts meta.block.ts meta.brace.round.ts
^
source.ts new.expr.ts meta.function.ts meta.block.ts punctuation.terminator.statement.ts
source.ts new.expr.ts meta.function.expression.ts meta.block.ts punctuation.terminator.statement.ts
^^
source.ts new.expr.ts meta.function.ts meta.block.ts
source.ts new.expr.ts meta.function.expression.ts meta.block.ts
>}, {});
^
source.ts new.expr.ts meta.function.ts meta.block.ts punctuation.definition.block.ts
source.ts new.expr.ts meta.function.expression.ts meta.block.ts punctuation.definition.block.ts
^
source.ts new.expr.ts punctuation.separator.comma.ts
^

Просмотреть файл

@ -36,312 +36,312 @@ Grammar: TypeScript.tmLanguage
^
source.ts meta.brace.round.ts
^^^^^^^^
source.ts meta.function.ts storage.type.function.ts
source.ts meta.function.expression.ts storage.type.function.ts
^
source.ts meta.function.ts
source.ts meta.function.expression.ts
^
source.ts meta.function.ts meta.parameters.ts punctuation.definition.parameters.begin.ts
source.ts meta.function.expression.ts meta.parameters.ts punctuation.definition.parameters.begin.ts
^^^^^^^
source.ts meta.function.ts meta.parameters.ts variable.parameter.ts
source.ts meta.function.expression.ts meta.parameters.ts variable.parameter.ts
^
source.ts meta.function.ts meta.parameters.ts punctuation.definition.parameters.end.ts
source.ts meta.function.expression.ts meta.parameters.ts punctuation.definition.parameters.end.ts
^
source.ts meta.function.ts
source.ts meta.function.expression.ts
^
source.ts meta.function.ts meta.block.ts punctuation.definition.block.ts
source.ts meta.function.expression.ts meta.block.ts punctuation.definition.block.ts
^^
source.ts meta.function.ts meta.block.ts
source.ts meta.function.expression.ts meta.block.ts
> for (i=0;i<results.length;i++){
^^^^^^^^
source.ts meta.function.ts meta.block.ts
source.ts meta.function.expression.ts meta.block.ts
^^^
source.ts meta.function.ts meta.block.ts keyword.control.loop.ts
source.ts meta.function.expression.ts meta.block.ts keyword.control.loop.ts
^
source.ts meta.function.ts meta.block.ts
source.ts meta.function.expression.ts meta.block.ts
^
source.ts meta.function.ts meta.block.ts meta.brace.round.ts
source.ts meta.function.expression.ts meta.block.ts meta.brace.round.ts
^
source.ts meta.function.ts meta.block.ts variable.other.readwrite.ts
source.ts meta.function.expression.ts meta.block.ts variable.other.readwrite.ts
^
source.ts meta.function.ts meta.block.ts keyword.operator.assignment.ts
source.ts meta.function.expression.ts meta.block.ts keyword.operator.assignment.ts
^
source.ts meta.function.ts meta.block.ts constant.numeric.decimal.ts
source.ts meta.function.expression.ts meta.block.ts constant.numeric.decimal.ts
^
source.ts meta.function.ts meta.block.ts punctuation.terminator.statement.ts
source.ts meta.function.expression.ts meta.block.ts punctuation.terminator.statement.ts
^
source.ts meta.function.ts meta.block.ts variable.other.readwrite.ts
source.ts meta.function.expression.ts meta.block.ts variable.other.readwrite.ts
^
source.ts meta.function.ts meta.block.ts keyword.operator.relational.ts
source.ts meta.function.expression.ts meta.block.ts keyword.operator.relational.ts
^^^^^^^
source.ts meta.function.ts meta.block.ts variable.other.object.ts
source.ts meta.function.expression.ts meta.block.ts variable.other.object.ts
^
source.ts meta.function.ts meta.block.ts punctuation.accessor.ts
source.ts meta.function.expression.ts meta.block.ts punctuation.accessor.ts
^^^^^^
source.ts meta.function.ts meta.block.ts support.variable.property.ts
source.ts meta.function.expression.ts meta.block.ts support.variable.property.ts
^
source.ts meta.function.ts meta.block.ts punctuation.terminator.statement.ts
source.ts meta.function.expression.ts meta.block.ts punctuation.terminator.statement.ts
^
source.ts meta.function.ts meta.block.ts variable.other.readwrite.ts
source.ts meta.function.expression.ts meta.block.ts variable.other.readwrite.ts
^^
source.ts meta.function.ts meta.block.ts keyword.operator.increment.ts
source.ts meta.function.expression.ts meta.block.ts keyword.operator.increment.ts
^
source.ts meta.function.ts meta.block.ts meta.brace.round.ts
source.ts meta.function.expression.ts meta.block.ts meta.brace.round.ts
^
source.ts meta.function.ts meta.block.ts meta.block.ts punctuation.definition.block.ts
source.ts meta.function.expression.ts meta.block.ts meta.block.ts punctuation.definition.block.ts
^^
source.ts meta.function.ts meta.block.ts meta.block.ts
source.ts meta.function.expression.ts meta.block.ts meta.block.ts
> notificationQuery.find().then(function (notifications){
^^^^^^^^^^^^
source.ts meta.function.ts meta.block.ts meta.block.ts
source.ts meta.function.expression.ts meta.block.ts meta.block.ts
^^^^^^^^^^^^^^^^^
source.ts meta.function.ts meta.block.ts meta.block.ts variable.other.object.ts
source.ts meta.function.expression.ts meta.block.ts meta.block.ts variable.other.object.ts
^
source.ts meta.function.ts meta.block.ts meta.block.ts punctuation.accessor.ts
source.ts meta.function.expression.ts meta.block.ts meta.block.ts punctuation.accessor.ts
^^^^
source.ts meta.function.ts meta.block.ts meta.block.ts support.function.ts
source.ts meta.function.expression.ts meta.block.ts meta.block.ts support.function.ts
^
source.ts meta.function.ts meta.block.ts meta.block.ts meta.brace.round.ts
source.ts meta.function.expression.ts meta.block.ts meta.block.ts meta.brace.round.ts
^
source.ts meta.function.ts meta.block.ts meta.block.ts meta.brace.round.ts
source.ts meta.function.expression.ts meta.block.ts meta.block.ts meta.brace.round.ts
^
source.ts meta.function.ts meta.block.ts meta.block.ts punctuation.accessor.ts
source.ts meta.function.expression.ts meta.block.ts meta.block.ts punctuation.accessor.ts
^^^^
source.ts meta.function.ts meta.block.ts meta.block.ts entity.name.function.ts
source.ts meta.function.expression.ts meta.block.ts meta.block.ts entity.name.function.ts
^
source.ts meta.function.ts meta.block.ts meta.block.ts meta.brace.round.ts
source.ts meta.function.expression.ts meta.block.ts meta.block.ts meta.brace.round.ts
^^^^^^^^
source.ts meta.function.ts meta.block.ts meta.block.ts meta.function.ts storage.type.function.ts
source.ts meta.function.expression.ts meta.block.ts meta.block.ts meta.function.expression.ts storage.type.function.ts
^
source.ts meta.function.ts meta.block.ts meta.block.ts meta.function.ts
source.ts meta.function.expression.ts meta.block.ts meta.block.ts meta.function.expression.ts
^
source.ts meta.function.ts meta.block.ts meta.block.ts meta.function.ts meta.parameters.ts punctuation.definition.parameters.begin.ts
source.ts meta.function.expression.ts meta.block.ts meta.block.ts meta.function.expression.ts meta.parameters.ts punctuation.definition.parameters.begin.ts
^^^^^^^^^^^^^
source.ts meta.function.ts meta.block.ts meta.block.ts meta.function.ts meta.parameters.ts variable.parameter.ts
source.ts meta.function.expression.ts meta.block.ts meta.block.ts meta.function.expression.ts meta.parameters.ts variable.parameter.ts
^
source.ts meta.function.ts meta.block.ts meta.block.ts meta.function.ts meta.parameters.ts punctuation.definition.parameters.end.ts
source.ts meta.function.expression.ts meta.block.ts meta.block.ts meta.function.expression.ts meta.parameters.ts punctuation.definition.parameters.end.ts
^
source.ts meta.function.ts meta.block.ts meta.block.ts meta.function.ts meta.block.ts punctuation.definition.block.ts
source.ts meta.function.expression.ts meta.block.ts meta.block.ts meta.function.expression.ts meta.block.ts punctuation.definition.block.ts
^^
source.ts meta.function.ts meta.block.ts meta.block.ts meta.function.ts meta.block.ts
source.ts meta.function.expression.ts meta.block.ts meta.block.ts meta.function.expression.ts meta.block.ts
> var j;
^^^^^^^^^^^^^^^^
source.ts meta.function.ts meta.block.ts meta.block.ts meta.function.ts meta.block.ts
source.ts meta.function.expression.ts meta.block.ts meta.block.ts meta.function.expression.ts meta.block.ts
^^^
source.ts meta.function.ts meta.block.ts meta.block.ts meta.function.ts meta.block.ts meta.var.expr.ts storage.type.ts
source.ts meta.function.expression.ts meta.block.ts meta.block.ts meta.function.expression.ts meta.block.ts meta.var.expr.ts storage.type.ts
^
source.ts meta.function.ts meta.block.ts meta.block.ts meta.function.ts meta.block.ts meta.var.expr.ts
source.ts meta.function.expression.ts meta.block.ts meta.block.ts meta.function.expression.ts meta.block.ts meta.var.expr.ts
^
source.ts meta.function.ts meta.block.ts meta.block.ts meta.function.ts meta.block.ts meta.var.expr.ts meta.var-single-variable.expr.ts meta.definition.variable.ts variable.other.readwrite.ts
source.ts meta.function.expression.ts meta.block.ts meta.block.ts meta.function.expression.ts meta.block.ts meta.var.expr.ts meta.var-single-variable.expr.ts meta.definition.variable.ts variable.other.readwrite.ts
^
source.ts meta.function.ts meta.block.ts meta.block.ts meta.function.ts meta.block.ts punctuation.terminator.statement.ts
source.ts meta.function.expression.ts meta.block.ts meta.block.ts meta.function.expression.ts meta.block.ts punctuation.terminator.statement.ts
^^
source.ts meta.function.ts meta.block.ts meta.block.ts meta.function.ts meta.block.ts
source.ts meta.function.expression.ts meta.block.ts meta.block.ts meta.function.expression.ts meta.block.ts
> for (j=0;j<notifications.length;j++){
^^^^^^^^^^^^^^^^
source.ts meta.function.ts meta.block.ts meta.block.ts meta.function.ts meta.block.ts
source.ts meta.function.expression.ts meta.block.ts meta.block.ts meta.function.expression.ts meta.block.ts
^^^
source.ts meta.function.ts meta.block.ts meta.block.ts meta.function.ts meta.block.ts keyword.control.loop.ts
source.ts meta.function.expression.ts meta.block.ts meta.block.ts meta.function.expression.ts meta.block.ts keyword.control.loop.ts
^
source.ts meta.function.ts meta.block.ts meta.block.ts meta.function.ts meta.block.ts
source.ts meta.function.expression.ts meta.block.ts meta.block.ts meta.function.expression.ts meta.block.ts
^
source.ts meta.function.ts meta.block.ts meta.block.ts meta.function.ts meta.block.ts meta.brace.round.ts
source.ts meta.function.expression.ts meta.block.ts meta.block.ts meta.function.expression.ts meta.block.ts meta.brace.round.ts
^
source.ts meta.function.ts meta.block.ts meta.block.ts meta.function.ts meta.block.ts variable.other.readwrite.ts
source.ts meta.function.expression.ts meta.block.ts meta.block.ts meta.function.expression.ts meta.block.ts variable.other.readwrite.ts
^
source.ts meta.function.ts meta.block.ts meta.block.ts meta.function.ts meta.block.ts keyword.operator.assignment.ts
source.ts meta.function.expression.ts meta.block.ts meta.block.ts meta.function.expression.ts meta.block.ts keyword.operator.assignment.ts
^
source.ts meta.function.ts meta.block.ts meta.block.ts meta.function.ts meta.block.ts constant.numeric.decimal.ts
source.ts meta.function.expression.ts meta.block.ts meta.block.ts meta.function.expression.ts meta.block.ts constant.numeric.decimal.ts
^
source.ts meta.function.ts meta.block.ts meta.block.ts meta.function.ts meta.block.ts punctuation.terminator.statement.ts
source.ts meta.function.expression.ts meta.block.ts meta.block.ts meta.function.expression.ts meta.block.ts punctuation.terminator.statement.ts
^
source.ts meta.function.ts meta.block.ts meta.block.ts meta.function.ts meta.block.ts variable.other.readwrite.ts
source.ts meta.function.expression.ts meta.block.ts meta.block.ts meta.function.expression.ts meta.block.ts variable.other.readwrite.ts
^
source.ts meta.function.ts meta.block.ts meta.block.ts meta.function.ts meta.block.ts keyword.operator.relational.ts
source.ts meta.function.expression.ts meta.block.ts meta.block.ts meta.function.expression.ts meta.block.ts keyword.operator.relational.ts
^^^^^^^^^^^^^
source.ts meta.function.ts meta.block.ts meta.block.ts meta.function.ts meta.block.ts variable.other.object.ts
source.ts meta.function.expression.ts meta.block.ts meta.block.ts meta.function.expression.ts meta.block.ts variable.other.object.ts
^
source.ts meta.function.ts meta.block.ts meta.block.ts meta.function.ts meta.block.ts punctuation.accessor.ts
source.ts meta.function.expression.ts meta.block.ts meta.block.ts meta.function.expression.ts meta.block.ts punctuation.accessor.ts
^^^^^^
source.ts meta.function.ts meta.block.ts meta.block.ts meta.function.ts meta.block.ts support.variable.property.ts
source.ts meta.function.expression.ts meta.block.ts meta.block.ts meta.function.expression.ts meta.block.ts support.variable.property.ts
^
source.ts meta.function.ts meta.block.ts meta.block.ts meta.function.ts meta.block.ts punctuation.terminator.statement.ts
source.ts meta.function.expression.ts meta.block.ts meta.block.ts meta.function.expression.ts meta.block.ts punctuation.terminator.statement.ts
^
source.ts meta.function.ts meta.block.ts meta.block.ts meta.function.ts meta.block.ts variable.other.readwrite.ts
source.ts meta.function.expression.ts meta.block.ts meta.block.ts meta.function.expression.ts meta.block.ts variable.other.readwrite.ts
^^
source.ts meta.function.ts meta.block.ts meta.block.ts meta.function.ts meta.block.ts keyword.operator.increment.ts
source.ts meta.function.expression.ts meta.block.ts meta.block.ts meta.function.expression.ts meta.block.ts keyword.operator.increment.ts
^
source.ts meta.function.ts meta.block.ts meta.block.ts meta.function.ts meta.block.ts meta.brace.round.ts
source.ts meta.function.expression.ts meta.block.ts meta.block.ts meta.function.expression.ts meta.block.ts meta.brace.round.ts
^
source.ts meta.function.ts meta.block.ts meta.block.ts meta.function.ts meta.block.ts meta.block.ts punctuation.definition.block.ts
source.ts meta.function.expression.ts meta.block.ts meta.block.ts meta.function.expression.ts meta.block.ts meta.block.ts punctuation.definition.block.ts
^^
source.ts meta.function.ts meta.block.ts meta.block.ts meta.function.ts meta.block.ts meta.block.ts
source.ts meta.function.expression.ts meta.block.ts meta.block.ts meta.function.expression.ts meta.block.ts meta.block.ts
> console.log('safeDeleteRoute notification result'+j);
^^^^^^^^^^^^^^^^^^^^
source.ts meta.function.ts meta.block.ts meta.block.ts meta.function.ts meta.block.ts meta.block.ts
source.ts meta.function.expression.ts meta.block.ts meta.block.ts meta.function.expression.ts meta.block.ts meta.block.ts
^^^^^^^
source.ts meta.function.ts meta.block.ts meta.block.ts meta.function.ts meta.block.ts meta.block.ts support.class.console.ts
source.ts meta.function.expression.ts meta.block.ts meta.block.ts meta.function.expression.ts meta.block.ts meta.block.ts support.class.console.ts
^
source.ts meta.function.ts meta.block.ts meta.block.ts meta.function.ts meta.block.ts meta.block.ts punctuation.accessor.ts
source.ts meta.function.expression.ts meta.block.ts meta.block.ts meta.function.expression.ts meta.block.ts meta.block.ts punctuation.accessor.ts
^^^
source.ts meta.function.ts meta.block.ts meta.block.ts meta.function.ts meta.block.ts meta.block.ts support.function.console.ts
source.ts meta.function.expression.ts meta.block.ts meta.block.ts meta.function.expression.ts meta.block.ts meta.block.ts support.function.console.ts
^
source.ts meta.function.ts meta.block.ts meta.block.ts meta.function.ts meta.block.ts meta.block.ts meta.brace.round.ts
source.ts meta.function.expression.ts meta.block.ts meta.block.ts meta.function.expression.ts meta.block.ts meta.block.ts meta.brace.round.ts
^
source.ts meta.function.ts meta.block.ts meta.block.ts meta.function.ts meta.block.ts meta.block.ts string.quoted.single.ts punctuation.definition.string.begin.ts
source.ts meta.function.expression.ts meta.block.ts meta.block.ts meta.function.expression.ts meta.block.ts meta.block.ts string.quoted.single.ts punctuation.definition.string.begin.ts
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
source.ts meta.function.ts meta.block.ts meta.block.ts meta.function.ts meta.block.ts meta.block.ts string.quoted.single.ts
source.ts meta.function.expression.ts meta.block.ts meta.block.ts meta.function.expression.ts meta.block.ts meta.block.ts string.quoted.single.ts
^
source.ts meta.function.ts meta.block.ts meta.block.ts meta.function.ts meta.block.ts meta.block.ts string.quoted.single.ts punctuation.definition.string.end.ts
source.ts meta.function.expression.ts meta.block.ts meta.block.ts meta.function.expression.ts meta.block.ts meta.block.ts string.quoted.single.ts punctuation.definition.string.end.ts
^
source.ts meta.function.ts meta.block.ts meta.block.ts meta.function.ts meta.block.ts meta.block.ts keyword.operator.arithmetic.ts
source.ts meta.function.expression.ts meta.block.ts meta.block.ts meta.function.expression.ts meta.block.ts meta.block.ts keyword.operator.arithmetic.ts
^
source.ts meta.function.ts meta.block.ts meta.block.ts meta.function.ts meta.block.ts meta.block.ts variable.other.readwrite.ts
source.ts meta.function.expression.ts meta.block.ts meta.block.ts meta.function.expression.ts meta.block.ts meta.block.ts variable.other.readwrite.ts
^
source.ts meta.function.ts meta.block.ts meta.block.ts meta.function.ts meta.block.ts meta.block.ts meta.brace.round.ts
source.ts meta.function.expression.ts meta.block.ts meta.block.ts meta.function.expression.ts meta.block.ts meta.block.ts meta.brace.round.ts
^
source.ts meta.function.ts meta.block.ts meta.block.ts meta.function.ts meta.block.ts meta.block.ts punctuation.terminator.statement.ts
source.ts meta.function.expression.ts meta.block.ts meta.block.ts meta.function.expression.ts meta.block.ts meta.block.ts punctuation.terminator.statement.ts
^^
source.ts meta.function.ts meta.block.ts meta.block.ts meta.function.ts meta.block.ts meta.block.ts
source.ts meta.function.expression.ts meta.block.ts meta.block.ts meta.function.expression.ts meta.block.ts meta.block.ts
> notifications[j].destroy();
^^^^^^^^^^^^^^^^^^^^
source.ts meta.function.ts meta.block.ts meta.block.ts meta.function.ts meta.block.ts meta.block.ts
source.ts meta.function.expression.ts meta.block.ts meta.block.ts meta.function.expression.ts meta.block.ts meta.block.ts
^^^^^^^^^^^^^
source.ts meta.function.ts meta.block.ts meta.block.ts meta.function.ts meta.block.ts meta.block.ts variable.other.readwrite.ts
source.ts meta.function.expression.ts meta.block.ts meta.block.ts meta.function.expression.ts meta.block.ts meta.block.ts variable.other.readwrite.ts
^
source.ts meta.function.ts meta.block.ts meta.block.ts meta.function.ts meta.block.ts meta.block.ts meta.array.literal.ts meta.brace.square.ts
source.ts meta.function.expression.ts meta.block.ts meta.block.ts meta.function.expression.ts meta.block.ts meta.block.ts meta.array.literal.ts meta.brace.square.ts
^
source.ts meta.function.ts meta.block.ts meta.block.ts meta.function.ts meta.block.ts meta.block.ts meta.array.literal.ts variable.other.readwrite.ts
source.ts meta.function.expression.ts meta.block.ts meta.block.ts meta.function.expression.ts meta.block.ts meta.block.ts meta.array.literal.ts variable.other.readwrite.ts
^
source.ts meta.function.ts meta.block.ts meta.block.ts meta.function.ts meta.block.ts meta.block.ts meta.array.literal.ts meta.brace.square.ts
source.ts meta.function.expression.ts meta.block.ts meta.block.ts meta.function.expression.ts meta.block.ts meta.block.ts meta.array.literal.ts meta.brace.square.ts
^
source.ts meta.function.ts meta.block.ts meta.block.ts meta.function.ts meta.block.ts meta.block.ts punctuation.accessor.ts
source.ts meta.function.expression.ts meta.block.ts meta.block.ts meta.function.expression.ts meta.block.ts meta.block.ts punctuation.accessor.ts
^^^^^^^
source.ts meta.function.ts meta.block.ts meta.block.ts meta.function.ts meta.block.ts meta.block.ts entity.name.function.ts
source.ts meta.function.expression.ts meta.block.ts meta.block.ts meta.function.expression.ts meta.block.ts meta.block.ts entity.name.function.ts
^
source.ts meta.function.ts meta.block.ts meta.block.ts meta.function.ts meta.block.ts meta.block.ts meta.brace.round.ts
source.ts meta.function.expression.ts meta.block.ts meta.block.ts meta.function.expression.ts meta.block.ts meta.block.ts meta.brace.round.ts
^
source.ts meta.function.ts meta.block.ts meta.block.ts meta.function.ts meta.block.ts meta.block.ts meta.brace.round.ts
source.ts meta.function.expression.ts meta.block.ts meta.block.ts meta.function.expression.ts meta.block.ts meta.block.ts meta.brace.round.ts
^
source.ts meta.function.ts meta.block.ts meta.block.ts meta.function.ts meta.block.ts meta.block.ts punctuation.terminator.statement.ts
source.ts meta.function.expression.ts meta.block.ts meta.block.ts meta.function.expression.ts meta.block.ts meta.block.ts punctuation.terminator.statement.ts
^^
source.ts meta.function.ts meta.block.ts meta.block.ts meta.function.ts meta.block.ts meta.block.ts
source.ts meta.function.expression.ts meta.block.ts meta.block.ts meta.function.expression.ts meta.block.ts meta.block.ts
> }
^^^^^^^^^^^^^^^^
source.ts meta.function.ts meta.block.ts meta.block.ts meta.function.ts meta.block.ts meta.block.ts
source.ts meta.function.expression.ts meta.block.ts meta.block.ts meta.function.expression.ts meta.block.ts meta.block.ts
^
source.ts meta.function.ts meta.block.ts meta.block.ts meta.function.ts meta.block.ts meta.block.ts punctuation.definition.block.ts
source.ts meta.function.expression.ts meta.block.ts meta.block.ts meta.function.expression.ts meta.block.ts meta.block.ts punctuation.definition.block.ts
^^
source.ts meta.function.ts meta.block.ts meta.block.ts meta.function.ts meta.block.ts
source.ts meta.function.expression.ts meta.block.ts meta.block.ts meta.function.expression.ts meta.block.ts
> res.destroy();
^^^^^^^^^^^^^^^^
source.ts meta.function.ts meta.block.ts meta.block.ts meta.function.ts meta.block.ts
source.ts meta.function.expression.ts meta.block.ts meta.block.ts meta.function.expression.ts meta.block.ts
^^^
source.ts meta.function.ts meta.block.ts meta.block.ts meta.function.ts meta.block.ts variable.other.object.ts
source.ts meta.function.expression.ts meta.block.ts meta.block.ts meta.function.expression.ts meta.block.ts variable.other.object.ts
^
source.ts meta.function.ts meta.block.ts meta.block.ts meta.function.ts meta.block.ts punctuation.accessor.ts
source.ts meta.function.expression.ts meta.block.ts meta.block.ts meta.function.expression.ts meta.block.ts punctuation.accessor.ts
^^^^^^^
source.ts meta.function.ts meta.block.ts meta.block.ts meta.function.ts meta.block.ts entity.name.function.ts
source.ts meta.function.expression.ts meta.block.ts meta.block.ts meta.function.expression.ts meta.block.ts entity.name.function.ts
^
source.ts meta.function.ts meta.block.ts meta.block.ts meta.function.ts meta.block.ts meta.brace.round.ts
source.ts meta.function.expression.ts meta.block.ts meta.block.ts meta.function.expression.ts meta.block.ts meta.brace.round.ts
^
source.ts meta.function.ts meta.block.ts meta.block.ts meta.function.ts meta.block.ts meta.brace.round.ts
source.ts meta.function.expression.ts meta.block.ts meta.block.ts meta.function.expression.ts meta.block.ts meta.brace.round.ts
^
source.ts meta.function.ts meta.block.ts meta.block.ts meta.function.ts meta.block.ts punctuation.terminator.statement.ts
source.ts meta.function.expression.ts meta.block.ts meta.block.ts meta.function.expression.ts meta.block.ts punctuation.terminator.statement.ts
^^
source.ts meta.function.ts meta.block.ts meta.block.ts meta.function.ts meta.block.ts
source.ts meta.function.expression.ts meta.block.ts meta.block.ts meta.function.expression.ts meta.block.ts
> });
^^^^^^^^^^^^
source.ts meta.function.ts meta.block.ts meta.block.ts meta.function.ts meta.block.ts
source.ts meta.function.expression.ts meta.block.ts meta.block.ts meta.function.expression.ts meta.block.ts
^
source.ts meta.function.ts meta.block.ts meta.block.ts meta.function.ts meta.block.ts punctuation.definition.block.ts
source.ts meta.function.expression.ts meta.block.ts meta.block.ts meta.function.expression.ts meta.block.ts punctuation.definition.block.ts
^
source.ts meta.function.ts meta.block.ts meta.block.ts meta.brace.round.ts
source.ts meta.function.expression.ts meta.block.ts meta.block.ts meta.brace.round.ts
^
source.ts meta.function.ts meta.block.ts meta.block.ts punctuation.terminator.statement.ts
source.ts meta.function.expression.ts meta.block.ts meta.block.ts punctuation.terminator.statement.ts
^^
source.ts meta.function.ts meta.block.ts meta.block.ts
source.ts meta.function.expression.ts meta.block.ts meta.block.ts
> }
^^^^^^^^
source.ts meta.function.ts meta.block.ts meta.block.ts
source.ts meta.function.expression.ts meta.block.ts meta.block.ts
^
source.ts meta.function.ts meta.block.ts meta.block.ts punctuation.definition.block.ts
source.ts meta.function.expression.ts meta.block.ts meta.block.ts punctuation.definition.block.ts
^^
source.ts meta.function.ts meta.block.ts
source.ts meta.function.expression.ts meta.block.ts
> },function(error){
^^^^
source.ts meta.function.ts meta.block.ts
source.ts meta.function.expression.ts meta.block.ts
^
source.ts meta.function.ts meta.block.ts punctuation.definition.block.ts
source.ts meta.function.expression.ts meta.block.ts punctuation.definition.block.ts
^
source.ts punctuation.separator.comma.ts
^^^^^^^^
source.ts meta.function.ts storage.type.function.ts
source.ts meta.function.expression.ts storage.type.function.ts
^
source.ts meta.function.ts meta.parameters.ts punctuation.definition.parameters.begin.ts
source.ts meta.function.expression.ts meta.parameters.ts punctuation.definition.parameters.begin.ts
^^^^^
source.ts meta.function.ts meta.parameters.ts variable.parameter.ts
source.ts meta.function.expression.ts meta.parameters.ts variable.parameter.ts
^
source.ts meta.function.ts meta.parameters.ts punctuation.definition.parameters.end.ts
source.ts meta.function.expression.ts meta.parameters.ts punctuation.definition.parameters.end.ts
^
source.ts meta.function.ts meta.block.ts punctuation.definition.block.ts
source.ts meta.function.expression.ts meta.block.ts punctuation.definition.block.ts
^^
source.ts meta.function.ts meta.block.ts
source.ts meta.function.expression.ts meta.block.ts
> alert("Error: "+error.code + " " + error.message);
^^^^^^^^
source.ts meta.function.ts meta.block.ts
source.ts meta.function.expression.ts meta.block.ts
^^^^^
source.ts meta.function.ts meta.block.ts entity.name.function.ts
source.ts meta.function.expression.ts meta.block.ts entity.name.function.ts
^
source.ts meta.function.ts meta.block.ts meta.brace.round.ts
source.ts meta.function.expression.ts meta.block.ts meta.brace.round.ts
^
source.ts meta.function.ts meta.block.ts string.quoted.double.ts punctuation.definition.string.begin.ts
source.ts meta.function.expression.ts meta.block.ts string.quoted.double.ts punctuation.definition.string.begin.ts
^^^^^^^
source.ts meta.function.ts meta.block.ts string.quoted.double.ts
source.ts meta.function.expression.ts meta.block.ts string.quoted.double.ts
^
source.ts meta.function.ts meta.block.ts string.quoted.double.ts punctuation.definition.string.end.ts
source.ts meta.function.expression.ts meta.block.ts string.quoted.double.ts punctuation.definition.string.end.ts
^
source.ts meta.function.ts meta.block.ts keyword.operator.arithmetic.ts
source.ts meta.function.expression.ts meta.block.ts keyword.operator.arithmetic.ts
^^^^^
source.ts meta.function.ts meta.block.ts variable.other.object.ts
source.ts meta.function.expression.ts meta.block.ts variable.other.object.ts
^
source.ts meta.function.ts meta.block.ts punctuation.accessor.ts
source.ts meta.function.expression.ts meta.block.ts punctuation.accessor.ts
^^^^
source.ts meta.function.ts meta.block.ts support.variable.property.dom.ts
source.ts meta.function.expression.ts meta.block.ts support.variable.property.dom.ts
^
source.ts meta.function.ts meta.block.ts
source.ts meta.function.expression.ts meta.block.ts
^
source.ts meta.function.ts meta.block.ts keyword.operator.arithmetic.ts
source.ts meta.function.expression.ts meta.block.ts keyword.operator.arithmetic.ts
^
source.ts meta.function.ts meta.block.ts
source.ts meta.function.expression.ts meta.block.ts
^
source.ts meta.function.ts meta.block.ts string.quoted.double.ts punctuation.definition.string.begin.ts
source.ts meta.function.expression.ts meta.block.ts string.quoted.double.ts punctuation.definition.string.begin.ts
^
source.ts meta.function.ts meta.block.ts string.quoted.double.ts
source.ts meta.function.expression.ts meta.block.ts string.quoted.double.ts
^
source.ts meta.function.ts meta.block.ts string.quoted.double.ts punctuation.definition.string.end.ts
source.ts meta.function.expression.ts meta.block.ts string.quoted.double.ts punctuation.definition.string.end.ts
^
source.ts meta.function.ts meta.block.ts
source.ts meta.function.expression.ts meta.block.ts
^
source.ts meta.function.ts meta.block.ts keyword.operator.arithmetic.ts
source.ts meta.function.expression.ts meta.block.ts keyword.operator.arithmetic.ts
^
source.ts meta.function.ts meta.block.ts
source.ts meta.function.expression.ts meta.block.ts
^^^^^
source.ts meta.function.ts meta.block.ts variable.other.object.ts
source.ts meta.function.expression.ts meta.block.ts variable.other.object.ts
^
source.ts meta.function.ts meta.block.ts punctuation.accessor.ts
source.ts meta.function.expression.ts meta.block.ts punctuation.accessor.ts
^^^^^^^
source.ts meta.function.ts meta.block.ts variable.other.property.ts
source.ts meta.function.expression.ts meta.block.ts variable.other.property.ts
^
source.ts meta.function.ts meta.block.ts meta.brace.round.ts
source.ts meta.function.expression.ts meta.block.ts meta.brace.round.ts
^
source.ts meta.function.ts meta.block.ts punctuation.terminator.statement.ts
source.ts meta.function.expression.ts meta.block.ts punctuation.terminator.statement.ts
^^
source.ts meta.function.ts meta.block.ts
source.ts meta.function.expression.ts meta.block.ts
> });
^^^^
source.ts meta.function.ts meta.block.ts
source.ts meta.function.expression.ts meta.block.ts
^
source.ts meta.function.ts meta.block.ts punctuation.definition.block.ts
source.ts meta.function.expression.ts meta.block.ts punctuation.definition.block.ts
^
source.ts meta.brace.round.ts
^

Просмотреть файл

@ -57,22 +57,22 @@ Grammar: TypeScript.tmLanguage
^
source.ts meta.var.expr.ts
^^^^^
source.ts meta.var.expr.ts meta.function.ts storage.modifier.async.ts
source.ts meta.var.expr.ts meta.function.expression.ts storage.modifier.async.ts
^
source.ts meta.var.expr.ts meta.function.ts
source.ts meta.var.expr.ts meta.function.expression.ts
^^^^^^^^
source.ts meta.var.expr.ts meta.function.ts storage.type.function.ts
source.ts meta.var.expr.ts meta.function.expression.ts storage.type.function.ts
^
source.ts meta.var.expr.ts meta.function.ts meta.parameters.ts punctuation.definition.parameters.begin.ts
source.ts meta.var.expr.ts meta.function.expression.ts meta.parameters.ts punctuation.definition.parameters.begin.ts
^
source.ts meta.var.expr.ts meta.function.ts meta.parameters.ts variable.parameter.ts
source.ts meta.var.expr.ts meta.function.expression.ts meta.parameters.ts variable.parameter.ts
^
source.ts meta.var.expr.ts meta.function.ts meta.parameters.ts punctuation.definition.parameters.end.ts
source.ts meta.var.expr.ts meta.function.expression.ts meta.parameters.ts punctuation.definition.parameters.end.ts
^
source.ts meta.var.expr.ts meta.function.ts
source.ts meta.var.expr.ts meta.function.expression.ts
^
source.ts meta.var.expr.ts meta.function.ts meta.block.ts punctuation.definition.block.ts
source.ts meta.var.expr.ts meta.function.expression.ts meta.block.ts punctuation.definition.block.ts
^
source.ts meta.var.expr.ts meta.function.ts meta.block.ts punctuation.definition.block.ts
source.ts meta.var.expr.ts meta.function.expression.ts meta.block.ts punctuation.definition.block.ts
^
source.ts punctuation.terminator.statement.ts

Просмотреть файл

@ -97,52 +97,52 @@ Grammar: TypeScript.tmLanguage
^
source.ts meta.var.expr.ts
^^^^^^^^
source.ts meta.var.expr.ts meta.function.ts storage.type.function.ts
source.ts meta.var.expr.ts meta.function.expression.ts storage.type.function.ts
^
source.ts meta.var.expr.ts meta.function.ts meta.parameters.ts punctuation.definition.parameters.begin.ts
source.ts meta.var.expr.ts meta.function.expression.ts meta.parameters.ts punctuation.definition.parameters.begin.ts
^^^
source.ts meta.var.expr.ts meta.function.ts meta.parameters.ts variable.parameter.ts
source.ts meta.var.expr.ts meta.function.expression.ts meta.parameters.ts variable.parameter.ts
^
source.ts meta.var.expr.ts meta.function.ts meta.parameters.ts punctuation.definition.parameters.end.ts
source.ts meta.var.expr.ts meta.function.expression.ts meta.parameters.ts punctuation.definition.parameters.end.ts
^
source.ts meta.var.expr.ts meta.function.ts
source.ts meta.var.expr.ts meta.function.expression.ts
^
source.ts meta.var.expr.ts meta.function.ts meta.block.ts punctuation.definition.block.ts
source.ts meta.var.expr.ts meta.function.expression.ts meta.block.ts punctuation.definition.block.ts
^^
source.ts meta.var.expr.ts meta.function.ts meta.block.ts
source.ts meta.var.expr.ts meta.function.expression.ts meta.block.ts
> return trim.trailing(trim.leading(str));
^^^^
source.ts meta.var.expr.ts meta.function.ts meta.block.ts
source.ts meta.var.expr.ts meta.function.expression.ts meta.block.ts
^^^^^^
source.ts meta.var.expr.ts meta.function.ts meta.block.ts keyword.control.flow.ts
source.ts meta.var.expr.ts meta.function.expression.ts meta.block.ts keyword.control.flow.ts
^^
source.ts meta.var.expr.ts meta.function.ts meta.block.ts
source.ts meta.var.expr.ts meta.function.expression.ts meta.block.ts
^^^^
source.ts meta.var.expr.ts meta.function.ts meta.block.ts variable.other.object.ts
source.ts meta.var.expr.ts meta.function.expression.ts meta.block.ts variable.other.object.ts
^
source.ts meta.var.expr.ts meta.function.ts meta.block.ts punctuation.accessor.ts
source.ts meta.var.expr.ts meta.function.expression.ts meta.block.ts punctuation.accessor.ts
^^^^^^^^
source.ts meta.var.expr.ts meta.function.ts meta.block.ts entity.name.function.ts
source.ts meta.var.expr.ts meta.function.expression.ts meta.block.ts entity.name.function.ts
^
source.ts meta.var.expr.ts meta.function.ts meta.block.ts meta.brace.round.ts
source.ts meta.var.expr.ts meta.function.expression.ts meta.block.ts meta.brace.round.ts
^^^^
source.ts meta.var.expr.ts meta.function.ts meta.block.ts variable.other.object.ts
source.ts meta.var.expr.ts meta.function.expression.ts meta.block.ts variable.other.object.ts
^
source.ts meta.var.expr.ts meta.function.ts meta.block.ts punctuation.accessor.ts
source.ts meta.var.expr.ts meta.function.expression.ts meta.block.ts punctuation.accessor.ts
^^^^^^^
source.ts meta.var.expr.ts meta.function.ts meta.block.ts entity.name.function.ts
source.ts meta.var.expr.ts meta.function.expression.ts meta.block.ts entity.name.function.ts
^
source.ts meta.var.expr.ts meta.function.ts meta.block.ts meta.brace.round.ts
source.ts meta.var.expr.ts meta.function.expression.ts meta.block.ts meta.brace.round.ts
^^^
source.ts meta.var.expr.ts meta.function.ts meta.block.ts variable.other.readwrite.ts
source.ts meta.var.expr.ts meta.function.expression.ts meta.block.ts variable.other.readwrite.ts
^
source.ts meta.var.expr.ts meta.function.ts meta.block.ts meta.brace.round.ts
source.ts meta.var.expr.ts meta.function.expression.ts meta.block.ts meta.brace.round.ts
^
source.ts meta.var.expr.ts meta.function.ts meta.block.ts meta.brace.round.ts
source.ts meta.var.expr.ts meta.function.expression.ts meta.block.ts meta.brace.round.ts
^
source.ts meta.var.expr.ts meta.function.ts meta.block.ts punctuation.terminator.statement.ts
source.ts meta.var.expr.ts meta.function.expression.ts meta.block.ts punctuation.terminator.statement.ts
^^
source.ts meta.var.expr.ts meta.function.ts meta.block.ts
source.ts meta.var.expr.ts meta.function.expression.ts meta.block.ts
>}
^
source.ts meta.var.expr.ts meta.function.ts meta.block.ts punctuation.definition.block.ts
source.ts meta.var.expr.ts meta.function.expression.ts meta.block.ts punctuation.definition.block.ts

Просмотреть файл

@ -90,253 +90,253 @@ Grammar: TypeScript.tmLanguage
^
source.ts meta.class.ts meta.field.declaration.ts
^^^^^^^^
source.ts meta.class.ts meta.field.declaration.ts meta.function.ts storage.type.function.ts
source.ts meta.class.ts meta.field.declaration.ts meta.function.expression.ts storage.type.function.ts
^
source.ts meta.class.ts meta.field.declaration.ts meta.function.ts
source.ts meta.class.ts meta.field.declaration.ts meta.function.expression.ts
^
source.ts meta.class.ts meta.field.declaration.ts meta.function.ts meta.parameters.ts punctuation.definition.parameters.begin.ts
source.ts meta.class.ts meta.field.declaration.ts meta.function.expression.ts meta.parameters.ts punctuation.definition.parameters.begin.ts
^
source.ts meta.class.ts meta.field.declaration.ts meta.function.ts meta.parameters.ts punctuation.definition.parameters.end.ts
source.ts meta.class.ts meta.field.declaration.ts meta.function.expression.ts meta.parameters.ts punctuation.definition.parameters.end.ts
^
source.ts meta.class.ts meta.field.declaration.ts meta.function.ts
source.ts meta.class.ts meta.field.declaration.ts meta.function.expression.ts
^
source.ts meta.class.ts meta.field.declaration.ts meta.function.ts meta.block.ts punctuation.definition.block.ts
source.ts meta.class.ts meta.field.declaration.ts meta.function.expression.ts meta.block.ts punctuation.definition.block.ts
^^
source.ts meta.class.ts meta.field.declaration.ts meta.function.ts meta.block.ts
source.ts meta.class.ts meta.field.declaration.ts meta.function.expression.ts meta.block.ts
> let type = new FormType;
^^^^
source.ts meta.class.ts meta.field.declaration.ts meta.function.ts meta.block.ts
source.ts meta.class.ts meta.field.declaration.ts meta.function.expression.ts meta.block.ts
^^^
source.ts meta.class.ts meta.field.declaration.ts meta.function.ts meta.block.ts meta.var.expr.ts storage.type.ts
source.ts meta.class.ts meta.field.declaration.ts meta.function.expression.ts meta.block.ts meta.var.expr.ts storage.type.ts
^
source.ts meta.class.ts meta.field.declaration.ts meta.function.ts meta.block.ts meta.var.expr.ts
source.ts meta.class.ts meta.field.declaration.ts meta.function.expression.ts meta.block.ts meta.var.expr.ts
^^^^
source.ts meta.class.ts meta.field.declaration.ts meta.function.ts meta.block.ts meta.var.expr.ts meta.var-single-variable.expr.ts meta.definition.variable.ts variable.other.readwrite.ts
source.ts meta.class.ts meta.field.declaration.ts meta.function.expression.ts meta.block.ts meta.var.expr.ts meta.var-single-variable.expr.ts meta.definition.variable.ts variable.other.readwrite.ts
^
source.ts meta.class.ts meta.field.declaration.ts meta.function.ts meta.block.ts meta.var.expr.ts meta.var-single-variable.expr.ts
source.ts meta.class.ts meta.field.declaration.ts meta.function.expression.ts meta.block.ts meta.var.expr.ts meta.var-single-variable.expr.ts
^
source.ts meta.class.ts meta.field.declaration.ts meta.function.ts meta.block.ts meta.var.expr.ts keyword.operator.assignment.ts
source.ts meta.class.ts meta.field.declaration.ts meta.function.expression.ts meta.block.ts meta.var.expr.ts keyword.operator.assignment.ts
^
source.ts meta.class.ts meta.field.declaration.ts meta.function.ts meta.block.ts meta.var.expr.ts
source.ts meta.class.ts meta.field.declaration.ts meta.function.expression.ts meta.block.ts meta.var.expr.ts
^^^
source.ts meta.class.ts meta.field.declaration.ts meta.function.ts meta.block.ts meta.var.expr.ts new.expr.ts keyword.operator.new.ts
source.ts meta.class.ts meta.field.declaration.ts meta.function.expression.ts meta.block.ts meta.var.expr.ts new.expr.ts keyword.operator.new.ts
^
source.ts meta.class.ts meta.field.declaration.ts meta.function.ts meta.block.ts meta.var.expr.ts new.expr.ts
source.ts meta.class.ts meta.field.declaration.ts meta.function.expression.ts meta.block.ts meta.var.expr.ts new.expr.ts
^^^^^^^^
source.ts meta.class.ts meta.field.declaration.ts meta.function.ts meta.block.ts meta.var.expr.ts new.expr.ts entity.name.type.ts
source.ts meta.class.ts meta.field.declaration.ts meta.function.expression.ts meta.block.ts meta.var.expr.ts new.expr.ts entity.name.type.ts
^
source.ts meta.class.ts meta.field.declaration.ts meta.function.ts meta.block.ts punctuation.terminator.statement.ts
source.ts meta.class.ts meta.field.declaration.ts meta.function.expression.ts meta.block.ts punctuation.terminator.statement.ts
^^
source.ts meta.class.ts meta.field.declaration.ts meta.function.ts meta.block.ts
source.ts meta.class.ts meta.field.declaration.ts meta.function.expression.ts meta.block.ts
>
^^
source.ts meta.class.ts meta.field.declaration.ts meta.function.ts meta.block.ts
source.ts meta.class.ts meta.field.declaration.ts meta.function.expression.ts meta.block.ts
> // define embed field
^^^^
source.ts meta.class.ts meta.field.declaration.ts meta.function.ts meta.block.ts punctuation.whitespace.comment.leading.ts
source.ts meta.class.ts meta.field.declaration.ts meta.function.expression.ts meta.block.ts punctuation.whitespace.comment.leading.ts
^^
source.ts meta.class.ts meta.field.declaration.ts meta.function.ts meta.block.ts comment.line.double-slash.ts punctuation.definition.comment.ts
source.ts meta.class.ts meta.field.declaration.ts meta.function.expression.ts meta.block.ts comment.line.double-slash.ts punctuation.definition.comment.ts
^^^^^^^^^^^^^^^^^^^^
source.ts meta.class.ts meta.field.declaration.ts meta.function.ts meta.block.ts comment.line.double-slash.ts
source.ts meta.class.ts meta.field.declaration.ts meta.function.expression.ts meta.block.ts comment.line.double-slash.ts
> type.defineField(DesignID.Embed, new BooleanAtom(false));
^^^^
source.ts meta.class.ts meta.field.declaration.ts meta.function.ts meta.block.ts
source.ts meta.class.ts meta.field.declaration.ts meta.function.expression.ts meta.block.ts
^^^^
source.ts meta.class.ts meta.field.declaration.ts meta.function.ts meta.block.ts variable.other.object.ts
source.ts meta.class.ts meta.field.declaration.ts meta.function.expression.ts meta.block.ts variable.other.object.ts
^
source.ts meta.class.ts meta.field.declaration.ts meta.function.ts meta.block.ts punctuation.accessor.ts
source.ts meta.class.ts meta.field.declaration.ts meta.function.expression.ts meta.block.ts punctuation.accessor.ts
^^^^^^^^^^^
source.ts meta.class.ts meta.field.declaration.ts meta.function.ts meta.block.ts entity.name.function.ts
source.ts meta.class.ts meta.field.declaration.ts meta.function.expression.ts meta.block.ts entity.name.function.ts
^
source.ts meta.class.ts meta.field.declaration.ts meta.function.ts meta.block.ts meta.brace.round.ts
source.ts meta.class.ts meta.field.declaration.ts meta.function.expression.ts meta.block.ts meta.brace.round.ts
^^^^^^^^
source.ts meta.class.ts meta.field.declaration.ts meta.function.ts meta.block.ts variable.other.object.ts
source.ts meta.class.ts meta.field.declaration.ts meta.function.expression.ts meta.block.ts variable.other.object.ts
^
source.ts meta.class.ts meta.field.declaration.ts meta.function.ts meta.block.ts punctuation.accessor.ts
source.ts meta.class.ts meta.field.declaration.ts meta.function.expression.ts meta.block.ts punctuation.accessor.ts
^^^^^
source.ts meta.class.ts meta.field.declaration.ts meta.function.ts meta.block.ts variable.other.property.ts
source.ts meta.class.ts meta.field.declaration.ts meta.function.expression.ts meta.block.ts variable.other.property.ts
^
source.ts meta.class.ts meta.field.declaration.ts meta.function.ts meta.block.ts punctuation.separator.comma.ts
source.ts meta.class.ts meta.field.declaration.ts meta.function.expression.ts meta.block.ts punctuation.separator.comma.ts
^
source.ts meta.class.ts meta.field.declaration.ts meta.function.ts meta.block.ts
source.ts meta.class.ts meta.field.declaration.ts meta.function.expression.ts meta.block.ts
^^^
source.ts meta.class.ts meta.field.declaration.ts meta.function.ts meta.block.ts new.expr.ts keyword.operator.new.ts
source.ts meta.class.ts meta.field.declaration.ts meta.function.expression.ts meta.block.ts new.expr.ts keyword.operator.new.ts
^
source.ts meta.class.ts meta.field.declaration.ts meta.function.ts meta.block.ts new.expr.ts
source.ts meta.class.ts meta.field.declaration.ts meta.function.expression.ts meta.block.ts new.expr.ts
^^^^^^^^^^^
source.ts meta.class.ts meta.field.declaration.ts meta.function.ts meta.block.ts new.expr.ts entity.name.type.ts
source.ts meta.class.ts meta.field.declaration.ts meta.function.expression.ts meta.block.ts new.expr.ts entity.name.type.ts
^
source.ts meta.class.ts meta.field.declaration.ts meta.function.ts meta.block.ts new.expr.ts meta.brace.round.ts
source.ts meta.class.ts meta.field.declaration.ts meta.function.expression.ts meta.block.ts new.expr.ts meta.brace.round.ts
^^^^^
source.ts meta.class.ts meta.field.declaration.ts meta.function.ts meta.block.ts new.expr.ts constant.language.boolean.false.ts
source.ts meta.class.ts meta.field.declaration.ts meta.function.expression.ts meta.block.ts new.expr.ts constant.language.boolean.false.ts
^
source.ts meta.class.ts meta.field.declaration.ts meta.function.ts meta.block.ts new.expr.ts meta.brace.round.ts
source.ts meta.class.ts meta.field.declaration.ts meta.function.expression.ts meta.block.ts new.expr.ts meta.brace.round.ts
^
source.ts meta.class.ts meta.field.declaration.ts meta.function.ts meta.block.ts meta.brace.round.ts
source.ts meta.class.ts meta.field.declaration.ts meta.function.expression.ts meta.block.ts meta.brace.round.ts
^
source.ts meta.class.ts meta.field.declaration.ts meta.function.ts meta.block.ts punctuation.terminator.statement.ts
source.ts meta.class.ts meta.field.declaration.ts meta.function.expression.ts meta.block.ts punctuation.terminator.statement.ts
^^
source.ts meta.class.ts meta.field.declaration.ts meta.function.ts meta.block.ts
source.ts meta.class.ts meta.field.declaration.ts meta.function.expression.ts meta.block.ts
>
^^
source.ts meta.class.ts meta.field.declaration.ts meta.function.ts meta.block.ts
source.ts meta.class.ts meta.field.declaration.ts meta.function.expression.ts meta.block.ts
> // define plan choice
^^^^
source.ts meta.class.ts meta.field.declaration.ts meta.function.ts meta.block.ts punctuation.whitespace.comment.leading.ts
source.ts meta.class.ts meta.field.declaration.ts meta.function.expression.ts meta.block.ts punctuation.whitespace.comment.leading.ts
^^
source.ts meta.class.ts meta.field.declaration.ts meta.function.ts meta.block.ts comment.line.double-slash.ts punctuation.definition.comment.ts
source.ts meta.class.ts meta.field.declaration.ts meta.function.expression.ts meta.block.ts comment.line.double-slash.ts punctuation.definition.comment.ts
^^^^^^^^^^^^^^^^^^^^
source.ts meta.class.ts meta.field.declaration.ts meta.function.ts meta.block.ts comment.line.double-slash.ts
source.ts meta.class.ts meta.field.declaration.ts meta.function.expression.ts meta.block.ts comment.line.double-slash.ts
> type.defineField(DesignID.Plan, PlanChoice.Original);
^^^^
source.ts meta.class.ts meta.field.declaration.ts meta.function.ts meta.block.ts
source.ts meta.class.ts meta.field.declaration.ts meta.function.expression.ts meta.block.ts
^^^^
source.ts meta.class.ts meta.field.declaration.ts meta.function.ts meta.block.ts variable.other.object.ts
source.ts meta.class.ts meta.field.declaration.ts meta.function.expression.ts meta.block.ts variable.other.object.ts
^
source.ts meta.class.ts meta.field.declaration.ts meta.function.ts meta.block.ts punctuation.accessor.ts
source.ts meta.class.ts meta.field.declaration.ts meta.function.expression.ts meta.block.ts punctuation.accessor.ts
^^^^^^^^^^^
source.ts meta.class.ts meta.field.declaration.ts meta.function.ts meta.block.ts entity.name.function.ts
source.ts meta.class.ts meta.field.declaration.ts meta.function.expression.ts meta.block.ts entity.name.function.ts
^
source.ts meta.class.ts meta.field.declaration.ts meta.function.ts meta.block.ts meta.brace.round.ts
source.ts meta.class.ts meta.field.declaration.ts meta.function.expression.ts meta.block.ts meta.brace.round.ts
^^^^^^^^
source.ts meta.class.ts meta.field.declaration.ts meta.function.ts meta.block.ts variable.other.object.ts
source.ts meta.class.ts meta.field.declaration.ts meta.function.expression.ts meta.block.ts variable.other.object.ts
^
source.ts meta.class.ts meta.field.declaration.ts meta.function.ts meta.block.ts punctuation.accessor.ts
source.ts meta.class.ts meta.field.declaration.ts meta.function.expression.ts meta.block.ts punctuation.accessor.ts
^^^^
source.ts meta.class.ts meta.field.declaration.ts meta.function.ts meta.block.ts variable.other.property.ts
source.ts meta.class.ts meta.field.declaration.ts meta.function.expression.ts meta.block.ts variable.other.property.ts
^
source.ts meta.class.ts meta.field.declaration.ts meta.function.ts meta.block.ts punctuation.separator.comma.ts
source.ts meta.class.ts meta.field.declaration.ts meta.function.expression.ts meta.block.ts punctuation.separator.comma.ts
^
source.ts meta.class.ts meta.field.declaration.ts meta.function.ts meta.block.ts
source.ts meta.class.ts meta.field.declaration.ts meta.function.expression.ts meta.block.ts
^^^^^^^^^^
source.ts meta.class.ts meta.field.declaration.ts meta.function.ts meta.block.ts variable.other.object.ts
source.ts meta.class.ts meta.field.declaration.ts meta.function.expression.ts meta.block.ts variable.other.object.ts
^
source.ts meta.class.ts meta.field.declaration.ts meta.function.ts meta.block.ts punctuation.accessor.ts
source.ts meta.class.ts meta.field.declaration.ts meta.function.expression.ts meta.block.ts punctuation.accessor.ts
^^^^^^^^
source.ts meta.class.ts meta.field.declaration.ts meta.function.ts meta.block.ts variable.other.property.ts
source.ts meta.class.ts meta.field.declaration.ts meta.function.expression.ts meta.block.ts variable.other.property.ts
^
source.ts meta.class.ts meta.field.declaration.ts meta.function.ts meta.block.ts meta.brace.round.ts
source.ts meta.class.ts meta.field.declaration.ts meta.function.expression.ts meta.block.ts meta.brace.round.ts
^
source.ts meta.class.ts meta.field.declaration.ts meta.function.ts meta.block.ts punctuation.terminator.statement.ts
source.ts meta.class.ts meta.field.declaration.ts meta.function.expression.ts meta.block.ts punctuation.terminator.statement.ts
^^
source.ts meta.class.ts meta.field.declaration.ts meta.function.ts meta.block.ts
source.ts meta.class.ts meta.field.declaration.ts meta.function.expression.ts meta.block.ts
>
^^
source.ts meta.class.ts meta.field.declaration.ts meta.function.ts meta.block.ts
source.ts meta.class.ts meta.field.declaration.ts meta.function.expression.ts meta.block.ts
> // define fields list
^^^^
source.ts meta.class.ts meta.field.declaration.ts meta.function.ts meta.block.ts punctuation.whitespace.comment.leading.ts
source.ts meta.class.ts meta.field.declaration.ts meta.function.expression.ts meta.block.ts punctuation.whitespace.comment.leading.ts
^^
source.ts meta.class.ts meta.field.declaration.ts meta.function.ts meta.block.ts comment.line.double-slash.ts punctuation.definition.comment.ts
source.ts meta.class.ts meta.field.declaration.ts meta.function.expression.ts meta.block.ts comment.line.double-slash.ts punctuation.definition.comment.ts
^^^^^^^^^^^^^^^^^^^^
source.ts meta.class.ts meta.field.declaration.ts meta.function.ts meta.block.ts comment.line.double-slash.ts
source.ts meta.class.ts meta.field.declaration.ts meta.function.expression.ts meta.block.ts comment.line.double-slash.ts
> let fields =
^^^^
source.ts meta.class.ts meta.field.declaration.ts meta.function.ts meta.block.ts
source.ts meta.class.ts meta.field.declaration.ts meta.function.expression.ts meta.block.ts
^^^
source.ts meta.class.ts meta.field.declaration.ts meta.function.ts meta.block.ts meta.var.expr.ts storage.type.ts
source.ts meta.class.ts meta.field.declaration.ts meta.function.expression.ts meta.block.ts meta.var.expr.ts storage.type.ts
^
source.ts meta.class.ts meta.field.declaration.ts meta.function.ts meta.block.ts meta.var.expr.ts
source.ts meta.class.ts meta.field.declaration.ts meta.function.expression.ts meta.block.ts meta.var.expr.ts
^^^^^^
source.ts meta.class.ts meta.field.declaration.ts meta.function.ts meta.block.ts meta.var.expr.ts meta.var-single-variable.expr.ts meta.definition.variable.ts variable.other.readwrite.ts
source.ts meta.class.ts meta.field.declaration.ts meta.function.expression.ts meta.block.ts meta.var.expr.ts meta.var-single-variable.expr.ts meta.definition.variable.ts variable.other.readwrite.ts
^
source.ts meta.class.ts meta.field.declaration.ts meta.function.ts meta.block.ts meta.var.expr.ts meta.var-single-variable.expr.ts
source.ts meta.class.ts meta.field.declaration.ts meta.function.expression.ts meta.block.ts meta.var.expr.ts meta.var-single-variable.expr.ts
^
source.ts meta.class.ts meta.field.declaration.ts meta.function.ts meta.block.ts meta.var.expr.ts keyword.operator.assignment.ts
source.ts meta.class.ts meta.field.declaration.ts meta.function.expression.ts meta.block.ts meta.var.expr.ts keyword.operator.assignment.ts
^^
source.ts meta.class.ts meta.field.declaration.ts meta.function.ts meta.block.ts meta.var.expr.ts
source.ts meta.class.ts meta.field.declaration.ts meta.function.expression.ts meta.block.ts meta.var.expr.ts
> type.defineField(DesignID.Fields, new Ordering(new FieldDesign));
^^^^^^
source.ts meta.class.ts meta.field.declaration.ts meta.function.ts meta.block.ts meta.var.expr.ts
source.ts meta.class.ts meta.field.declaration.ts meta.function.expression.ts meta.block.ts meta.var.expr.ts
^^^^
source.ts meta.class.ts meta.field.declaration.ts meta.function.ts meta.block.ts meta.var.expr.ts variable.other.object.ts
source.ts meta.class.ts meta.field.declaration.ts meta.function.expression.ts meta.block.ts meta.var.expr.ts variable.other.object.ts
^
source.ts meta.class.ts meta.field.declaration.ts meta.function.ts meta.block.ts meta.var.expr.ts punctuation.accessor.ts
source.ts meta.class.ts meta.field.declaration.ts meta.function.expression.ts meta.block.ts meta.var.expr.ts punctuation.accessor.ts
^^^^^^^^^^^
source.ts meta.class.ts meta.field.declaration.ts meta.function.ts meta.block.ts meta.var.expr.ts entity.name.function.ts
source.ts meta.class.ts meta.field.declaration.ts meta.function.expression.ts meta.block.ts meta.var.expr.ts entity.name.function.ts
^
source.ts meta.class.ts meta.field.declaration.ts meta.function.ts meta.block.ts meta.var.expr.ts meta.brace.round.ts
source.ts meta.class.ts meta.field.declaration.ts meta.function.expression.ts meta.block.ts meta.var.expr.ts meta.brace.round.ts
^^^^^^^^
source.ts meta.class.ts meta.field.declaration.ts meta.function.ts meta.block.ts meta.var.expr.ts variable.other.object.ts
source.ts meta.class.ts meta.field.declaration.ts meta.function.expression.ts meta.block.ts meta.var.expr.ts variable.other.object.ts
^
source.ts meta.class.ts meta.field.declaration.ts meta.function.ts meta.block.ts meta.var.expr.ts punctuation.accessor.ts
source.ts meta.class.ts meta.field.declaration.ts meta.function.expression.ts meta.block.ts meta.var.expr.ts punctuation.accessor.ts
^^^^^^
source.ts meta.class.ts meta.field.declaration.ts meta.function.ts meta.block.ts meta.var.expr.ts variable.other.property.ts
source.ts meta.class.ts meta.field.declaration.ts meta.function.expression.ts meta.block.ts meta.var.expr.ts variable.other.property.ts
^
source.ts meta.class.ts meta.field.declaration.ts meta.function.ts meta.block.ts meta.var.expr.ts punctuation.separator.comma.ts
source.ts meta.class.ts meta.field.declaration.ts meta.function.expression.ts meta.block.ts meta.var.expr.ts punctuation.separator.comma.ts
^
source.ts meta.class.ts meta.field.declaration.ts meta.function.ts meta.block.ts meta.var.expr.ts
source.ts meta.class.ts meta.field.declaration.ts meta.function.expression.ts meta.block.ts meta.var.expr.ts
^^^
source.ts meta.class.ts meta.field.declaration.ts meta.function.ts meta.block.ts meta.var.expr.ts new.expr.ts keyword.operator.new.ts
source.ts meta.class.ts meta.field.declaration.ts meta.function.expression.ts meta.block.ts meta.var.expr.ts new.expr.ts keyword.operator.new.ts
^
source.ts meta.class.ts meta.field.declaration.ts meta.function.ts meta.block.ts meta.var.expr.ts new.expr.ts
source.ts meta.class.ts meta.field.declaration.ts meta.function.expression.ts meta.block.ts meta.var.expr.ts new.expr.ts
^^^^^^^^
source.ts meta.class.ts meta.field.declaration.ts meta.function.ts meta.block.ts meta.var.expr.ts new.expr.ts entity.name.type.ts
source.ts meta.class.ts meta.field.declaration.ts meta.function.expression.ts meta.block.ts meta.var.expr.ts new.expr.ts entity.name.type.ts
^
source.ts meta.class.ts meta.field.declaration.ts meta.function.ts meta.block.ts meta.var.expr.ts new.expr.ts meta.brace.round.ts
source.ts meta.class.ts meta.field.declaration.ts meta.function.expression.ts meta.block.ts meta.var.expr.ts new.expr.ts meta.brace.round.ts
^^^
source.ts meta.class.ts meta.field.declaration.ts meta.function.ts meta.block.ts meta.var.expr.ts new.expr.ts new.expr.ts keyword.operator.new.ts
source.ts meta.class.ts meta.field.declaration.ts meta.function.expression.ts meta.block.ts meta.var.expr.ts new.expr.ts new.expr.ts keyword.operator.new.ts
^
source.ts meta.class.ts meta.field.declaration.ts meta.function.ts meta.block.ts meta.var.expr.ts new.expr.ts new.expr.ts
source.ts meta.class.ts meta.field.declaration.ts meta.function.expression.ts meta.block.ts meta.var.expr.ts new.expr.ts new.expr.ts
^^^^^^^^^^^
source.ts meta.class.ts meta.field.declaration.ts meta.function.ts meta.block.ts meta.var.expr.ts new.expr.ts new.expr.ts entity.name.type.ts
source.ts meta.class.ts meta.field.declaration.ts meta.function.expression.ts meta.block.ts meta.var.expr.ts new.expr.ts new.expr.ts entity.name.type.ts
^
source.ts meta.class.ts meta.field.declaration.ts meta.function.ts meta.block.ts meta.var.expr.ts new.expr.ts meta.brace.round.ts
source.ts meta.class.ts meta.field.declaration.ts meta.function.expression.ts meta.block.ts meta.var.expr.ts new.expr.ts meta.brace.round.ts
^
source.ts meta.class.ts meta.field.declaration.ts meta.function.ts meta.block.ts meta.var.expr.ts meta.brace.round.ts
source.ts meta.class.ts meta.field.declaration.ts meta.function.expression.ts meta.block.ts meta.var.expr.ts meta.brace.round.ts
^
source.ts meta.class.ts meta.field.declaration.ts meta.function.ts meta.block.ts punctuation.terminator.statement.ts
source.ts meta.class.ts meta.field.declaration.ts meta.function.expression.ts meta.block.ts punctuation.terminator.statement.ts
^^
source.ts meta.class.ts meta.field.declaration.ts meta.function.ts meta.block.ts
source.ts meta.class.ts meta.field.declaration.ts meta.function.expression.ts meta.block.ts
> // embed field list
^^^^
source.ts meta.class.ts meta.field.declaration.ts meta.function.ts meta.block.ts punctuation.whitespace.comment.leading.ts
source.ts meta.class.ts meta.field.declaration.ts meta.function.expression.ts meta.block.ts punctuation.whitespace.comment.leading.ts
^^
source.ts meta.class.ts meta.field.declaration.ts meta.function.ts meta.block.ts comment.line.double-slash.ts punctuation.definition.comment.ts
source.ts meta.class.ts meta.field.declaration.ts meta.function.expression.ts meta.block.ts comment.line.double-slash.ts punctuation.definition.comment.ts
^^^^^^^^^^^^^^^^^^
source.ts meta.class.ts meta.field.declaration.ts meta.function.ts meta.block.ts comment.line.double-slash.ts
source.ts meta.class.ts meta.field.declaration.ts meta.function.expression.ts meta.block.ts comment.line.double-slash.ts
> fields.embed = true;
^^^^
source.ts meta.class.ts meta.field.declaration.ts meta.function.ts meta.block.ts
source.ts meta.class.ts meta.field.declaration.ts meta.function.expression.ts meta.block.ts
^^^^^^
source.ts meta.class.ts meta.field.declaration.ts meta.function.ts meta.block.ts variable.other.object.ts
source.ts meta.class.ts meta.field.declaration.ts meta.function.expression.ts meta.block.ts variable.other.object.ts
^
source.ts meta.class.ts meta.field.declaration.ts meta.function.ts meta.block.ts punctuation.accessor.ts
source.ts meta.class.ts meta.field.declaration.ts meta.function.expression.ts meta.block.ts punctuation.accessor.ts
^^^^^
source.ts meta.class.ts meta.field.declaration.ts meta.function.ts meta.block.ts variable.other.property.ts
source.ts meta.class.ts meta.field.declaration.ts meta.function.expression.ts meta.block.ts variable.other.property.ts
^
source.ts meta.class.ts meta.field.declaration.ts meta.function.ts meta.block.ts
source.ts meta.class.ts meta.field.declaration.ts meta.function.expression.ts meta.block.ts
^
source.ts meta.class.ts meta.field.declaration.ts meta.function.ts meta.block.ts keyword.operator.assignment.ts
source.ts meta.class.ts meta.field.declaration.ts meta.function.expression.ts meta.block.ts keyword.operator.assignment.ts
^
source.ts meta.class.ts meta.field.declaration.ts meta.function.ts meta.block.ts
source.ts meta.class.ts meta.field.declaration.ts meta.function.expression.ts meta.block.ts
^^^^
source.ts meta.class.ts meta.field.declaration.ts meta.function.ts meta.block.ts constant.language.boolean.true.ts
source.ts meta.class.ts meta.field.declaration.ts meta.function.expression.ts meta.block.ts constant.language.boolean.true.ts
^
source.ts meta.class.ts meta.field.declaration.ts meta.function.ts meta.block.ts punctuation.terminator.statement.ts
source.ts meta.class.ts meta.field.declaration.ts meta.function.expression.ts meta.block.ts punctuation.terminator.statement.ts
^^
source.ts meta.class.ts meta.field.declaration.ts meta.function.ts meta.block.ts
source.ts meta.class.ts meta.field.declaration.ts meta.function.expression.ts meta.block.ts
>
^^
source.ts meta.class.ts meta.field.declaration.ts meta.function.ts meta.block.ts
source.ts meta.class.ts meta.field.declaration.ts meta.function.expression.ts meta.block.ts
> return type;
^^^^
source.ts meta.class.ts meta.field.declaration.ts meta.function.ts meta.block.ts
source.ts meta.class.ts meta.field.declaration.ts meta.function.expression.ts meta.block.ts
^^^^^^
source.ts meta.class.ts meta.field.declaration.ts meta.function.ts meta.block.ts keyword.control.flow.ts
source.ts meta.class.ts meta.field.declaration.ts meta.function.expression.ts meta.block.ts keyword.control.flow.ts
^
source.ts meta.class.ts meta.field.declaration.ts meta.function.ts meta.block.ts
source.ts meta.class.ts meta.field.declaration.ts meta.function.expression.ts meta.block.ts
^^^^
source.ts meta.class.ts meta.field.declaration.ts meta.function.ts meta.block.ts variable.other.readwrite.ts
source.ts meta.class.ts meta.field.declaration.ts meta.function.expression.ts meta.block.ts variable.other.readwrite.ts
^
source.ts meta.class.ts meta.field.declaration.ts meta.function.ts meta.block.ts punctuation.terminator.statement.ts
source.ts meta.class.ts meta.field.declaration.ts meta.function.expression.ts meta.block.ts punctuation.terminator.statement.ts
^^
source.ts meta.class.ts meta.field.declaration.ts meta.function.ts meta.block.ts
source.ts meta.class.ts meta.field.declaration.ts meta.function.expression.ts meta.block.ts
> } ();
^^
source.ts meta.class.ts meta.field.declaration.ts meta.function.ts meta.block.ts
source.ts meta.class.ts meta.field.declaration.ts meta.function.expression.ts meta.block.ts
^
source.ts meta.class.ts meta.field.declaration.ts meta.function.ts meta.block.ts punctuation.definition.block.ts
source.ts meta.class.ts meta.field.declaration.ts meta.function.expression.ts meta.block.ts punctuation.definition.block.ts
^
source.ts meta.class.ts meta.field.declaration.ts
^

Просмотреть файл

@ -71,16 +71,16 @@ Grammar: TypeScript.tmLanguage
^
source.ts meta.var.expr.ts
^^^^^^^^
source.ts meta.var.expr.ts meta.function.ts storage.type.function.ts
source.ts meta.var.expr.ts meta.function.expression.ts storage.type.function.ts
^
source.ts meta.var.expr.ts meta.function.ts meta.parameters.ts punctuation.definition.parameters.begin.ts
source.ts meta.var.expr.ts meta.function.expression.ts meta.parameters.ts punctuation.definition.parameters.begin.ts
^
source.ts meta.var.expr.ts meta.function.ts meta.parameters.ts punctuation.definition.parameters.end.ts
source.ts meta.var.expr.ts meta.function.expression.ts meta.parameters.ts punctuation.definition.parameters.end.ts
^
source.ts meta.var.expr.ts meta.function.ts meta.block.ts punctuation.definition.block.ts
source.ts meta.var.expr.ts meta.function.expression.ts meta.block.ts punctuation.definition.block.ts
>}
^
source.ts meta.var.expr.ts meta.function.ts meta.block.ts punctuation.definition.block.ts
source.ts meta.var.expr.ts meta.function.expression.ts meta.block.ts punctuation.definition.block.ts
>
^
source.ts
@ -122,16 +122,16 @@ Grammar: TypeScript.tmLanguage
^
source.ts meta.var.expr.ts
^^^^^^^^
source.ts meta.var.expr.ts meta.function.ts storage.type.function.ts
source.ts meta.var.expr.ts meta.function.expression.ts storage.type.function.ts
^
source.ts meta.var.expr.ts meta.function.ts meta.parameters.ts punctuation.definition.parameters.begin.ts
source.ts meta.var.expr.ts meta.function.expression.ts meta.parameters.ts punctuation.definition.parameters.begin.ts
^
source.ts meta.var.expr.ts meta.function.ts meta.parameters.ts punctuation.definition.parameters.end.ts
source.ts meta.var.expr.ts meta.function.expression.ts meta.parameters.ts punctuation.definition.parameters.end.ts
^
source.ts meta.var.expr.ts meta.function.ts meta.block.ts punctuation.definition.block.ts
source.ts meta.var.expr.ts meta.function.expression.ts meta.block.ts punctuation.definition.block.ts
>}
^
source.ts meta.var.expr.ts meta.function.ts meta.block.ts punctuation.definition.block.ts
source.ts meta.var.expr.ts meta.function.expression.ts meta.block.ts punctuation.definition.block.ts
>
^
source.ts

Просмотреть файл

@ -37,7 +37,7 @@ Grammar: TypeScript.tmLanguage
>}
>var AnotherName = function(){
^
[6, 27]: source.ts meta.var.expr.ts meta.function.ts meta.parameters.ts punctuation.definition.parameters.begin.ts
[6, 27]: source.ts meta.var.expr.ts meta.function.expression.ts meta.parameters.ts punctuation.definition.parameters.begin.ts
>}
>
>export function eName(){
@ -46,7 +46,7 @@ Grammar: TypeScript.tmLanguage
>}
>export var eAnotherName = function(){
^
[11, 35]: source.ts meta.var.expr.ts meta.function.ts meta.parameters.ts punctuation.definition.parameters.begin.ts
[11, 35]: source.ts meta.var.expr.ts meta.function.expression.ts meta.parameters.ts punctuation.definition.parameters.begin.ts
>}
>
>var functionName=1;

Просмотреть файл

@ -63,127 +63,127 @@ Grammar: TypeScript.tmLanguage
^^^^^^^^
source.ts
^^^^^
source.ts meta.function.ts storage.modifier.async.ts
source.ts meta.function.expression.ts storage.modifier.async.ts
^
source.ts meta.function.ts
source.ts meta.function.expression.ts
^^^^^^^^
source.ts meta.function.ts storage.type.function.ts
source.ts meta.function.expression.ts storage.type.function.ts
^
source.ts meta.function.ts
source.ts meta.function.expression.ts
^
source.ts meta.function.ts meta.parameters.ts punctuation.definition.parameters.begin.ts
source.ts meta.function.expression.ts meta.parameters.ts punctuation.definition.parameters.begin.ts
^^^^^^^^^^
source.ts meta.function.ts meta.parameters.ts variable.parameter.ts
source.ts meta.function.expression.ts meta.parameters.ts variable.parameter.ts
^
source.ts meta.function.ts meta.parameters.ts punctuation.definition.parameters.end.ts
source.ts meta.function.expression.ts meta.parameters.ts punctuation.definition.parameters.end.ts
^
source.ts meta.function.ts
source.ts meta.function.expression.ts
^
source.ts meta.function.ts meta.block.ts punctuation.definition.block.ts
source.ts meta.function.expression.ts meta.block.ts punctuation.definition.block.ts
^^
source.ts meta.function.ts meta.block.ts
source.ts meta.function.expression.ts meta.block.ts
> const expected = application.prompt(branchName);
^^^^^^^^^^^^
source.ts meta.function.ts meta.block.ts
source.ts meta.function.expression.ts meta.block.ts
^^^^^
source.ts meta.function.ts meta.block.ts meta.var.expr.ts storage.type.ts
source.ts meta.function.expression.ts meta.block.ts meta.var.expr.ts storage.type.ts
^
source.ts meta.function.ts meta.block.ts meta.var.expr.ts
source.ts meta.function.expression.ts meta.block.ts meta.var.expr.ts
^^^^^^^^
source.ts meta.function.ts meta.block.ts meta.var.expr.ts meta.var-single-variable.expr.ts meta.definition.variable.ts variable.other.readwrite.ts
source.ts meta.function.expression.ts meta.block.ts meta.var.expr.ts meta.var-single-variable.expr.ts meta.definition.variable.ts variable.other.readwrite.ts
^
source.ts meta.function.ts meta.block.ts meta.var.expr.ts meta.var-single-variable.expr.ts
source.ts meta.function.expression.ts meta.block.ts meta.var.expr.ts meta.var-single-variable.expr.ts
^
source.ts meta.function.ts meta.block.ts meta.var.expr.ts keyword.operator.assignment.ts
source.ts meta.function.expression.ts meta.block.ts meta.var.expr.ts keyword.operator.assignment.ts
^
source.ts meta.function.ts meta.block.ts meta.var.expr.ts
source.ts meta.function.expression.ts meta.block.ts meta.var.expr.ts
^^^^^^^^^^^
source.ts meta.function.ts meta.block.ts meta.var.expr.ts variable.other.object.ts
source.ts meta.function.expression.ts meta.block.ts meta.var.expr.ts variable.other.object.ts
^
source.ts meta.function.ts meta.block.ts meta.var.expr.ts punctuation.accessor.ts
source.ts meta.function.expression.ts meta.block.ts meta.var.expr.ts punctuation.accessor.ts
^^^^^^
source.ts meta.function.ts meta.block.ts meta.var.expr.ts support.function.ts
source.ts meta.function.expression.ts meta.block.ts meta.var.expr.ts support.function.ts
^
source.ts meta.function.ts meta.block.ts meta.var.expr.ts meta.brace.round.ts
source.ts meta.function.expression.ts meta.block.ts meta.var.expr.ts meta.brace.round.ts
^^^^^^^^^^
source.ts meta.function.ts meta.block.ts meta.var.expr.ts variable.other.readwrite.ts
source.ts meta.function.expression.ts meta.block.ts meta.var.expr.ts variable.other.readwrite.ts
^
source.ts meta.function.ts meta.block.ts meta.var.expr.ts meta.brace.round.ts
source.ts meta.function.expression.ts meta.block.ts meta.var.expr.ts meta.brace.round.ts
^
source.ts meta.function.ts meta.block.ts punctuation.terminator.statement.ts
source.ts meta.function.expression.ts meta.block.ts punctuation.terminator.statement.ts
^^
source.ts meta.function.ts meta.block.ts
source.ts meta.function.expression.ts meta.block.ts
> const actual = await application.getOnceOut();
^^^^^^^^^^^^
source.ts meta.function.ts meta.block.ts
source.ts meta.function.expression.ts meta.block.ts
^^^^^
source.ts meta.function.ts meta.block.ts meta.var.expr.ts storage.type.ts
source.ts meta.function.expression.ts meta.block.ts meta.var.expr.ts storage.type.ts
^
source.ts meta.function.ts meta.block.ts meta.var.expr.ts
source.ts meta.function.expression.ts meta.block.ts meta.var.expr.ts
^^^^^^
source.ts meta.function.ts meta.block.ts meta.var.expr.ts meta.var-single-variable.expr.ts meta.definition.variable.ts variable.other.readwrite.ts
source.ts meta.function.expression.ts meta.block.ts meta.var.expr.ts meta.var-single-variable.expr.ts meta.definition.variable.ts variable.other.readwrite.ts
^
source.ts meta.function.ts meta.block.ts meta.var.expr.ts meta.var-single-variable.expr.ts
source.ts meta.function.expression.ts meta.block.ts meta.var.expr.ts meta.var-single-variable.expr.ts
^
source.ts meta.function.ts meta.block.ts meta.var.expr.ts keyword.operator.assignment.ts
source.ts meta.function.expression.ts meta.block.ts meta.var.expr.ts keyword.operator.assignment.ts
^
source.ts meta.function.ts meta.block.ts meta.var.expr.ts
source.ts meta.function.expression.ts meta.block.ts meta.var.expr.ts
^^^^^
source.ts meta.function.ts meta.block.ts meta.var.expr.ts keyword.control.flow.ts
source.ts meta.function.expression.ts meta.block.ts meta.var.expr.ts keyword.control.flow.ts
^
source.ts meta.function.ts meta.block.ts meta.var.expr.ts
source.ts meta.function.expression.ts meta.block.ts meta.var.expr.ts
^^^^^^^^^^^
source.ts meta.function.ts meta.block.ts meta.var.expr.ts variable.other.object.ts
source.ts meta.function.expression.ts meta.block.ts meta.var.expr.ts variable.other.object.ts
^
source.ts meta.function.ts meta.block.ts meta.var.expr.ts punctuation.accessor.ts
source.ts meta.function.expression.ts meta.block.ts meta.var.expr.ts punctuation.accessor.ts
^^^^^^^^^^
source.ts meta.function.ts meta.block.ts meta.var.expr.ts entity.name.function.ts
source.ts meta.function.expression.ts meta.block.ts meta.var.expr.ts entity.name.function.ts
^
source.ts meta.function.ts meta.block.ts meta.var.expr.ts meta.brace.round.ts
source.ts meta.function.expression.ts meta.block.ts meta.var.expr.ts meta.brace.round.ts
^
source.ts meta.function.ts meta.block.ts meta.var.expr.ts meta.brace.round.ts
source.ts meta.function.expression.ts meta.block.ts meta.var.expr.ts meta.brace.round.ts
^
source.ts meta.function.ts meta.block.ts punctuation.terminator.statement.ts
source.ts meta.function.expression.ts meta.block.ts punctuation.terminator.statement.ts
^^
source.ts meta.function.ts meta.block.ts
source.ts meta.function.expression.ts meta.block.ts
> expect(actual).to.be.equal(expected);
^^^^^^^^^^^^
source.ts meta.function.ts meta.block.ts
source.ts meta.function.expression.ts meta.block.ts
^^^^^^
source.ts meta.function.ts meta.block.ts entity.name.function.ts
source.ts meta.function.expression.ts meta.block.ts entity.name.function.ts
^
source.ts meta.function.ts meta.block.ts meta.brace.round.ts
source.ts meta.function.expression.ts meta.block.ts meta.brace.round.ts
^^^^^^
source.ts meta.function.ts meta.block.ts variable.other.readwrite.ts
source.ts meta.function.expression.ts meta.block.ts variable.other.readwrite.ts
^
source.ts meta.function.ts meta.block.ts meta.brace.round.ts
source.ts meta.function.expression.ts meta.block.ts meta.brace.round.ts
^
source.ts meta.function.ts meta.block.ts punctuation.accessor.ts
source.ts meta.function.expression.ts meta.block.ts punctuation.accessor.ts
^^
source.ts meta.function.ts meta.block.ts variable.other.object.property.ts
source.ts meta.function.expression.ts meta.block.ts variable.other.object.property.ts
^
source.ts meta.function.ts meta.block.ts punctuation.accessor.ts
source.ts meta.function.expression.ts meta.block.ts punctuation.accessor.ts
^^
source.ts meta.function.ts meta.block.ts variable.other.object.property.ts
source.ts meta.function.expression.ts meta.block.ts variable.other.object.property.ts
^
source.ts meta.function.ts meta.block.ts punctuation.accessor.ts
source.ts meta.function.expression.ts meta.block.ts punctuation.accessor.ts
^^^^^
source.ts meta.function.ts meta.block.ts entity.name.function.ts
source.ts meta.function.expression.ts meta.block.ts entity.name.function.ts
^
source.ts meta.function.ts meta.block.ts meta.brace.round.ts
source.ts meta.function.expression.ts meta.block.ts meta.brace.round.ts
^^^^^^^^
source.ts meta.function.ts meta.block.ts variable.other.readwrite.ts
source.ts meta.function.expression.ts meta.block.ts variable.other.readwrite.ts
^
source.ts meta.function.ts meta.block.ts meta.brace.round.ts
source.ts meta.function.expression.ts meta.block.ts meta.brace.round.ts
^
source.ts meta.function.ts meta.block.ts punctuation.terminator.statement.ts
source.ts meta.function.expression.ts meta.block.ts punctuation.terminator.statement.ts
^^
source.ts meta.function.ts meta.block.ts
source.ts meta.function.expression.ts meta.block.ts
> }
^^^^^^^^
source.ts meta.function.ts meta.block.ts
source.ts meta.function.expression.ts meta.block.ts
^
source.ts meta.function.ts meta.block.ts punctuation.definition.block.ts
source.ts meta.function.expression.ts meta.block.ts punctuation.definition.block.ts
^^
source.ts
> );

Просмотреть файл

@ -199,114 +199,114 @@ Grammar: TypeScript.tmLanguage
^
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts
^^^^^^^^
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts meta.function.ts storage.type.function.ts
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts meta.function.expression.ts storage.type.function.ts
^
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts meta.function.ts meta.parameters.ts punctuation.definition.parameters.begin.ts
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts meta.function.expression.ts meta.parameters.ts punctuation.definition.parameters.begin.ts
^
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts meta.function.ts meta.parameters.ts punctuation.definition.parameters.end.ts
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts meta.function.expression.ts meta.parameters.ts punctuation.definition.parameters.end.ts
^
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts meta.function.ts
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts meta.function.expression.ts
^
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts meta.function.ts meta.block.ts punctuation.definition.block.ts
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts meta.function.expression.ts meta.block.ts punctuation.definition.block.ts
^^
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts meta.function.ts meta.block.ts
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts meta.function.expression.ts meta.block.ts
> var defaults= {};
^^^^^^^^
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts meta.function.ts meta.block.ts
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts meta.function.expression.ts meta.block.ts
^^^
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts meta.function.ts meta.block.ts meta.var.expr.ts storage.type.ts
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts meta.function.expression.ts meta.block.ts meta.var.expr.ts storage.type.ts
^
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts meta.function.ts meta.block.ts meta.var.expr.ts
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts meta.function.expression.ts meta.block.ts meta.var.expr.ts
^^^^^^^^
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts meta.function.ts meta.block.ts meta.var.expr.ts meta.var-single-variable.expr.ts meta.definition.variable.ts variable.other.readwrite.ts
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts meta.function.expression.ts meta.block.ts meta.var.expr.ts meta.var-single-variable.expr.ts meta.definition.variable.ts variable.other.readwrite.ts
^
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts meta.function.ts meta.block.ts meta.var.expr.ts keyword.operator.assignment.ts
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts meta.function.expression.ts meta.block.ts meta.var.expr.ts keyword.operator.assignment.ts
^
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts meta.function.ts meta.block.ts meta.var.expr.ts
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts meta.function.expression.ts meta.block.ts meta.var.expr.ts
^
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts meta.function.ts meta.block.ts meta.var.expr.ts meta.objectliteral.ts punctuation.definition.block.ts
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts meta.function.expression.ts meta.block.ts meta.var.expr.ts meta.objectliteral.ts punctuation.definition.block.ts
^
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts meta.function.ts meta.block.ts meta.var.expr.ts meta.objectliteral.ts punctuation.definition.block.ts
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts meta.function.expression.ts meta.block.ts meta.var.expr.ts meta.objectliteral.ts punctuation.definition.block.ts
^
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts meta.function.ts meta.block.ts punctuation.terminator.statement.ts
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts meta.function.expression.ts meta.block.ts punctuation.terminator.statement.ts
^^
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts meta.function.ts meta.block.ts
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts meta.function.expression.ts meta.block.ts
> defaults[_PROP_SEARCH_]= new SearchModel();
^^^^^^^^
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts meta.function.ts meta.block.ts
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts meta.function.expression.ts meta.block.ts
^^^^^^^^
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts meta.function.ts meta.block.ts variable.other.readwrite.ts
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts meta.function.expression.ts meta.block.ts variable.other.readwrite.ts
^
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts meta.function.ts meta.block.ts meta.array.literal.ts meta.brace.square.ts
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts meta.function.expression.ts meta.block.ts meta.array.literal.ts meta.brace.square.ts
^^^^^^^^^^^^^
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts meta.function.ts meta.block.ts meta.array.literal.ts variable.other.readwrite.ts
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts meta.function.expression.ts meta.block.ts meta.array.literal.ts variable.other.readwrite.ts
^
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts meta.function.ts meta.block.ts meta.array.literal.ts meta.brace.square.ts
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts meta.function.expression.ts meta.block.ts meta.array.literal.ts meta.brace.square.ts
^
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts meta.function.ts meta.block.ts keyword.operator.assignment.ts
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts meta.function.expression.ts meta.block.ts keyword.operator.assignment.ts
^
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts meta.function.ts meta.block.ts
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts meta.function.expression.ts meta.block.ts
^^^
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts meta.function.ts meta.block.ts new.expr.ts keyword.operator.new.ts
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts meta.function.expression.ts meta.block.ts new.expr.ts keyword.operator.new.ts
^
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts meta.function.ts meta.block.ts new.expr.ts
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts meta.function.expression.ts meta.block.ts new.expr.ts
^^^^^^^^^^^
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts meta.function.ts meta.block.ts new.expr.ts entity.name.type.ts
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts meta.function.expression.ts meta.block.ts new.expr.ts entity.name.type.ts
^
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts meta.function.ts meta.block.ts new.expr.ts meta.brace.round.ts
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts meta.function.expression.ts meta.block.ts new.expr.ts meta.brace.round.ts
^
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts meta.function.ts meta.block.ts new.expr.ts meta.brace.round.ts
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts meta.function.expression.ts meta.block.ts new.expr.ts meta.brace.round.ts
^
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts meta.function.ts meta.block.ts punctuation.terminator.statement.ts
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts meta.function.expression.ts meta.block.ts punctuation.terminator.statement.ts
^^
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts meta.function.ts meta.block.ts
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts meta.function.expression.ts meta.block.ts
> defaults[_PROP_RESULTS_CONTAINER_]= new ResultsContainerModel();
^^^^^^^^
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts meta.function.ts meta.block.ts
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts meta.function.expression.ts meta.block.ts
^^^^^^^^
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts meta.function.ts meta.block.ts variable.other.readwrite.ts
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts meta.function.expression.ts meta.block.ts variable.other.readwrite.ts
^
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts meta.function.ts meta.block.ts meta.array.literal.ts meta.brace.square.ts
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts meta.function.expression.ts meta.block.ts meta.array.literal.ts meta.brace.square.ts
^^^^^^^^^^^^^^^^^^^^^^^^
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts meta.function.ts meta.block.ts meta.array.literal.ts variable.other.readwrite.ts
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts meta.function.expression.ts meta.block.ts meta.array.literal.ts variable.other.readwrite.ts
^
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts meta.function.ts meta.block.ts meta.array.literal.ts meta.brace.square.ts
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts meta.function.expression.ts meta.block.ts meta.array.literal.ts meta.brace.square.ts
^
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts meta.function.ts meta.block.ts keyword.operator.assignment.ts
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts meta.function.expression.ts meta.block.ts keyword.operator.assignment.ts
^
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts meta.function.ts meta.block.ts
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts meta.function.expression.ts meta.block.ts
^^^
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts meta.function.ts meta.block.ts new.expr.ts keyword.operator.new.ts
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts meta.function.expression.ts meta.block.ts new.expr.ts keyword.operator.new.ts
^
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts meta.function.ts meta.block.ts new.expr.ts
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts meta.function.expression.ts meta.block.ts new.expr.ts
^^^^^^^^^^^^^^^^^^^^^
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts meta.function.ts meta.block.ts new.expr.ts entity.name.type.ts
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts meta.function.expression.ts meta.block.ts new.expr.ts entity.name.type.ts
^
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts meta.function.ts meta.block.ts new.expr.ts meta.brace.round.ts
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts meta.function.expression.ts meta.block.ts new.expr.ts meta.brace.round.ts
^
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts meta.function.ts meta.block.ts new.expr.ts meta.brace.round.ts
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts meta.function.expression.ts meta.block.ts new.expr.ts meta.brace.round.ts
^
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts meta.function.ts meta.block.ts punctuation.terminator.statement.ts
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts meta.function.expression.ts meta.block.ts punctuation.terminator.statement.ts
^^
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts meta.function.ts meta.block.ts
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts meta.function.expression.ts meta.block.ts
> return defaults;
^^^^^^^^
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts meta.function.ts meta.block.ts
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts meta.function.expression.ts meta.block.ts
^^^^^^
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts meta.function.ts meta.block.ts keyword.control.flow.ts
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts meta.function.expression.ts meta.block.ts keyword.control.flow.ts
^
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts meta.function.ts meta.block.ts
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts meta.function.expression.ts meta.block.ts
^^^^^^^^
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts meta.function.ts meta.block.ts variable.other.readwrite.ts
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts meta.function.expression.ts meta.block.ts variable.other.readwrite.ts
^
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts meta.function.ts meta.block.ts punctuation.terminator.statement.ts
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts meta.function.expression.ts meta.block.ts punctuation.terminator.statement.ts
^^
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts meta.function.ts meta.block.ts
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts meta.function.expression.ts meta.block.ts
> },
^^^^
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts meta.function.ts meta.block.ts
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts meta.function.expression.ts meta.block.ts
^
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts meta.function.ts meta.block.ts punctuation.definition.block.ts
source.ts meta.var.expr.ts meta.objectliteral.ts meta.object.member.ts meta.function.expression.ts meta.block.ts punctuation.definition.block.ts
^
source.ts meta.var.expr.ts meta.objectliteral.ts punctuation.separator.comma.ts
^^

Просмотреть файл

@ -0,0 +1,48 @@
original file
-----------------------------------
[function ()
{
let foo;
}];
-----------------------------------
Grammar: TypeScript.tmLanguage
-----------------------------------
>[function ()
^
source.ts meta.array.literal.ts meta.brace.square.ts
^^^^^^^^
source.ts meta.array.literal.ts meta.function.expression.ts storage.type.function.ts
^
source.ts meta.array.literal.ts meta.function.expression.ts
^
source.ts meta.array.literal.ts meta.function.expression.ts meta.parameters.ts punctuation.definition.parameters.begin.ts
^
source.ts meta.array.literal.ts meta.function.expression.ts meta.parameters.ts punctuation.definition.parameters.end.ts
^^
source.ts meta.array.literal.ts meta.function.expression.ts
>{
^
source.ts meta.array.literal.ts meta.function.expression.ts meta.block.ts punctuation.definition.block.ts
^^
source.ts meta.array.literal.ts meta.function.expression.ts meta.block.ts
> let foo;
^^^^
source.ts meta.array.literal.ts meta.function.expression.ts meta.block.ts
^^^
source.ts meta.array.literal.ts meta.function.expression.ts meta.block.ts meta.var.expr.ts storage.type.ts
^
source.ts meta.array.literal.ts meta.function.expression.ts meta.block.ts meta.var.expr.ts
^^^
source.ts meta.array.literal.ts meta.function.expression.ts meta.block.ts meta.var.expr.ts meta.var-single-variable.expr.ts meta.definition.variable.ts variable.other.readwrite.ts
^
source.ts meta.array.literal.ts meta.function.expression.ts meta.block.ts punctuation.terminator.statement.ts
^^
source.ts meta.array.literal.ts meta.function.expression.ts meta.block.ts
>}];
^
source.ts meta.array.literal.ts meta.function.expression.ts meta.block.ts punctuation.definition.block.ts
^
source.ts meta.array.literal.ts meta.brace.square.ts
^
source.ts punctuation.terminator.statement.ts

Просмотреть файл

@ -57,33 +57,33 @@ Grammar: TypeScript.tmLanguage
^
source.ts meta.var.expr.ts
^^^^^^^^
source.ts meta.var.expr.ts meta.function.ts storage.type.function.ts
source.ts meta.var.expr.ts meta.function.expression.ts storage.type.function.ts
^
source.ts meta.var.expr.ts meta.function.ts
source.ts meta.var.expr.ts meta.function.expression.ts
^
source.ts meta.var.expr.ts meta.function.ts meta.parameters.ts punctuation.definition.parameters.begin.ts
source.ts meta.var.expr.ts meta.function.expression.ts meta.parameters.ts punctuation.definition.parameters.begin.ts
^
source.ts meta.var.expr.ts meta.function.ts meta.parameters.ts variable.parameter.ts
source.ts meta.var.expr.ts meta.function.expression.ts meta.parameters.ts variable.parameter.ts
^
source.ts meta.var.expr.ts meta.function.ts meta.parameters.ts punctuation.definition.parameters.end.ts
source.ts meta.var.expr.ts meta.function.expression.ts meta.parameters.ts punctuation.definition.parameters.end.ts
^
source.ts meta.var.expr.ts meta.function.ts
source.ts meta.var.expr.ts meta.function.expression.ts
^
source.ts meta.var.expr.ts meta.function.ts meta.block.ts punctuation.definition.block.ts
source.ts meta.var.expr.ts meta.function.expression.ts meta.block.ts punctuation.definition.block.ts
^
source.ts meta.var.expr.ts meta.function.ts meta.block.ts
source.ts meta.var.expr.ts meta.function.expression.ts meta.block.ts
^^^^^^
source.ts meta.var.expr.ts meta.function.ts meta.block.ts keyword.control.flow.ts
source.ts meta.var.expr.ts meta.function.expression.ts meta.block.ts keyword.control.flow.ts
^
source.ts meta.var.expr.ts meta.function.ts meta.block.ts
source.ts meta.var.expr.ts meta.function.expression.ts meta.block.ts
^
source.ts meta.var.expr.ts meta.function.ts meta.block.ts constant.numeric.decimal.ts
source.ts meta.var.expr.ts meta.function.expression.ts meta.block.ts constant.numeric.decimal.ts
^
source.ts meta.var.expr.ts meta.function.ts meta.block.ts punctuation.terminator.statement.ts
source.ts meta.var.expr.ts meta.function.expression.ts meta.block.ts punctuation.terminator.statement.ts
^
source.ts meta.var.expr.ts meta.function.ts meta.block.ts
source.ts meta.var.expr.ts meta.function.expression.ts meta.block.ts
^
source.ts meta.var.expr.ts meta.function.ts meta.block.ts punctuation.definition.block.ts
source.ts meta.var.expr.ts meta.function.expression.ts meta.block.ts punctuation.definition.block.ts
^
source.ts meta.var.expr.ts punctuation.separator.comma.ts
^

4
tests/cases/Issue389.ts Normal file
Просмотреть файл

@ -0,0 +1,4 @@
[function ()
{
let foo;
}];