mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-05 08:11:30 -06:00
Accept API baseline changes
This commit is contained in:
parent
7947590ee5
commit
2c4244d749
@ -180,105 +180,107 @@ declare module "typescript" {
|
||||
SetKeyword = 118,
|
||||
StringKeyword = 119,
|
||||
TypeKeyword = 120,
|
||||
QualifiedName = 121,
|
||||
ComputedPropertyName = 122,
|
||||
TypeParameter = 123,
|
||||
Parameter = 124,
|
||||
PropertySignature = 125,
|
||||
PropertyDeclaration = 126,
|
||||
MethodSignature = 127,
|
||||
MethodDeclaration = 128,
|
||||
Constructor = 129,
|
||||
GetAccessor = 130,
|
||||
SetAccessor = 131,
|
||||
CallSignature = 132,
|
||||
ConstructSignature = 133,
|
||||
IndexSignature = 134,
|
||||
TypeReference = 135,
|
||||
FunctionType = 136,
|
||||
ConstructorType = 137,
|
||||
TypeQuery = 138,
|
||||
TypeLiteral = 139,
|
||||
ArrayType = 140,
|
||||
TupleType = 141,
|
||||
UnionType = 142,
|
||||
ParenthesizedType = 143,
|
||||
ObjectBindingPattern = 144,
|
||||
ArrayBindingPattern = 145,
|
||||
BindingElement = 146,
|
||||
ArrayLiteralExpression = 147,
|
||||
ObjectLiteralExpression = 148,
|
||||
PropertyAccessExpression = 149,
|
||||
ElementAccessExpression = 150,
|
||||
CallExpression = 151,
|
||||
NewExpression = 152,
|
||||
TaggedTemplateExpression = 153,
|
||||
TypeAssertionExpression = 154,
|
||||
ParenthesizedExpression = 155,
|
||||
FunctionExpression = 156,
|
||||
ArrowFunction = 157,
|
||||
DeleteExpression = 158,
|
||||
TypeOfExpression = 159,
|
||||
VoidExpression = 160,
|
||||
PrefixUnaryExpression = 161,
|
||||
PostfixUnaryExpression = 162,
|
||||
BinaryExpression = 163,
|
||||
ConditionalExpression = 164,
|
||||
TemplateExpression = 165,
|
||||
YieldExpression = 166,
|
||||
SpreadElementExpression = 167,
|
||||
OmittedExpression = 168,
|
||||
TemplateSpan = 169,
|
||||
Block = 170,
|
||||
VariableStatement = 171,
|
||||
EmptyStatement = 172,
|
||||
ExpressionStatement = 173,
|
||||
IfStatement = 174,
|
||||
DoStatement = 175,
|
||||
WhileStatement = 176,
|
||||
ForStatement = 177,
|
||||
ForInStatement = 178,
|
||||
ContinueStatement = 179,
|
||||
BreakStatement = 180,
|
||||
ReturnStatement = 181,
|
||||
WithStatement = 182,
|
||||
SwitchStatement = 183,
|
||||
LabeledStatement = 184,
|
||||
ThrowStatement = 185,
|
||||
TryStatement = 186,
|
||||
DebuggerStatement = 187,
|
||||
VariableDeclaration = 188,
|
||||
VariableDeclarationList = 189,
|
||||
FunctionDeclaration = 190,
|
||||
ClassDeclaration = 191,
|
||||
InterfaceDeclaration = 192,
|
||||
TypeAliasDeclaration = 193,
|
||||
EnumDeclaration = 194,
|
||||
ModuleDeclaration = 195,
|
||||
ModuleBlock = 196,
|
||||
ImportDeclaration = 197,
|
||||
ExportAssignment = 198,
|
||||
ExternalModuleReference = 199,
|
||||
CaseClause = 200,
|
||||
DefaultClause = 201,
|
||||
HeritageClause = 202,
|
||||
CatchClause = 203,
|
||||
PropertyAssignment = 204,
|
||||
ShorthandPropertyAssignment = 205,
|
||||
EnumMember = 206,
|
||||
SourceFile = 207,
|
||||
SyntaxList = 208,
|
||||
Count = 209,
|
||||
OfKeyword = 121,
|
||||
QualifiedName = 122,
|
||||
ComputedPropertyName = 123,
|
||||
TypeParameter = 124,
|
||||
Parameter = 125,
|
||||
PropertySignature = 126,
|
||||
PropertyDeclaration = 127,
|
||||
MethodSignature = 128,
|
||||
MethodDeclaration = 129,
|
||||
Constructor = 130,
|
||||
GetAccessor = 131,
|
||||
SetAccessor = 132,
|
||||
CallSignature = 133,
|
||||
ConstructSignature = 134,
|
||||
IndexSignature = 135,
|
||||
TypeReference = 136,
|
||||
FunctionType = 137,
|
||||
ConstructorType = 138,
|
||||
TypeQuery = 139,
|
||||
TypeLiteral = 140,
|
||||
ArrayType = 141,
|
||||
TupleType = 142,
|
||||
UnionType = 143,
|
||||
ParenthesizedType = 144,
|
||||
ObjectBindingPattern = 145,
|
||||
ArrayBindingPattern = 146,
|
||||
BindingElement = 147,
|
||||
ArrayLiteralExpression = 148,
|
||||
ObjectLiteralExpression = 149,
|
||||
PropertyAccessExpression = 150,
|
||||
ElementAccessExpression = 151,
|
||||
CallExpression = 152,
|
||||
NewExpression = 153,
|
||||
TaggedTemplateExpression = 154,
|
||||
TypeAssertionExpression = 155,
|
||||
ParenthesizedExpression = 156,
|
||||
FunctionExpression = 157,
|
||||
ArrowFunction = 158,
|
||||
DeleteExpression = 159,
|
||||
TypeOfExpression = 160,
|
||||
VoidExpression = 161,
|
||||
PrefixUnaryExpression = 162,
|
||||
PostfixUnaryExpression = 163,
|
||||
BinaryExpression = 164,
|
||||
ConditionalExpression = 165,
|
||||
TemplateExpression = 166,
|
||||
YieldExpression = 167,
|
||||
SpreadElementExpression = 168,
|
||||
OmittedExpression = 169,
|
||||
TemplateSpan = 170,
|
||||
Block = 171,
|
||||
VariableStatement = 172,
|
||||
EmptyStatement = 173,
|
||||
ExpressionStatement = 174,
|
||||
IfStatement = 175,
|
||||
DoStatement = 176,
|
||||
WhileStatement = 177,
|
||||
ForStatement = 178,
|
||||
ForInStatement = 179,
|
||||
ForOfStatement = 180,
|
||||
ContinueStatement = 181,
|
||||
BreakStatement = 182,
|
||||
ReturnStatement = 183,
|
||||
WithStatement = 184,
|
||||
SwitchStatement = 185,
|
||||
LabeledStatement = 186,
|
||||
ThrowStatement = 187,
|
||||
TryStatement = 188,
|
||||
DebuggerStatement = 189,
|
||||
VariableDeclaration = 190,
|
||||
VariableDeclarationList = 191,
|
||||
FunctionDeclaration = 192,
|
||||
ClassDeclaration = 193,
|
||||
InterfaceDeclaration = 194,
|
||||
TypeAliasDeclaration = 195,
|
||||
EnumDeclaration = 196,
|
||||
ModuleDeclaration = 197,
|
||||
ModuleBlock = 198,
|
||||
ImportDeclaration = 199,
|
||||
ExportAssignment = 200,
|
||||
ExternalModuleReference = 201,
|
||||
CaseClause = 202,
|
||||
DefaultClause = 203,
|
||||
HeritageClause = 204,
|
||||
CatchClause = 205,
|
||||
PropertyAssignment = 206,
|
||||
ShorthandPropertyAssignment = 207,
|
||||
EnumMember = 208,
|
||||
SourceFile = 209,
|
||||
SyntaxList = 210,
|
||||
Count = 211,
|
||||
FirstAssignment = 52,
|
||||
LastAssignment = 63,
|
||||
FirstReservedWord = 65,
|
||||
LastReservedWord = 100,
|
||||
FirstKeyword = 65,
|
||||
LastKeyword = 120,
|
||||
LastKeyword = 121,
|
||||
FirstFutureReservedWord = 101,
|
||||
LastFutureReservedWord = 109,
|
||||
FirstTypeNode = 135,
|
||||
LastTypeNode = 143,
|
||||
FirstTypeNode = 136,
|
||||
LastTypeNode = 144,
|
||||
FirstPunctuation = 14,
|
||||
LastPunctuation = 63,
|
||||
FirstToken = 0,
|
||||
@ -291,7 +293,7 @@ declare module "typescript" {
|
||||
LastTemplateToken = 13,
|
||||
FirstBinaryOperator = 24,
|
||||
LastBinaryOperator = 63,
|
||||
FirstNode = 121,
|
||||
FirstNode = 122,
|
||||
}
|
||||
const enum NodeFlags {
|
||||
Export = 1,
|
||||
@ -622,6 +624,10 @@ declare module "typescript" {
|
||||
initializer: VariableDeclarationList | Expression;
|
||||
expression: Expression;
|
||||
}
|
||||
interface ForOfStatement extends IterationStatement {
|
||||
initializer: VariableDeclarationList | Expression;
|
||||
expression: Expression;
|
||||
}
|
||||
interface BreakOrContinueStatement extends Statement {
|
||||
label?: Identifier;
|
||||
}
|
||||
|
||||
@ -556,271 +556,277 @@ declare module "typescript" {
|
||||
TypeKeyword = 120,
|
||||
>TypeKeyword : SyntaxKind
|
||||
|
||||
QualifiedName = 121,
|
||||
OfKeyword = 121,
|
||||
>OfKeyword : SyntaxKind
|
||||
|
||||
QualifiedName = 122,
|
||||
>QualifiedName : SyntaxKind
|
||||
|
||||
ComputedPropertyName = 122,
|
||||
ComputedPropertyName = 123,
|
||||
>ComputedPropertyName : SyntaxKind
|
||||
|
||||
TypeParameter = 123,
|
||||
TypeParameter = 124,
|
||||
>TypeParameter : SyntaxKind
|
||||
|
||||
Parameter = 124,
|
||||
Parameter = 125,
|
||||
>Parameter : SyntaxKind
|
||||
|
||||
PropertySignature = 125,
|
||||
PropertySignature = 126,
|
||||
>PropertySignature : SyntaxKind
|
||||
|
||||
PropertyDeclaration = 126,
|
||||
PropertyDeclaration = 127,
|
||||
>PropertyDeclaration : SyntaxKind
|
||||
|
||||
MethodSignature = 127,
|
||||
MethodSignature = 128,
|
||||
>MethodSignature : SyntaxKind
|
||||
|
||||
MethodDeclaration = 128,
|
||||
MethodDeclaration = 129,
|
||||
>MethodDeclaration : SyntaxKind
|
||||
|
||||
Constructor = 129,
|
||||
Constructor = 130,
|
||||
>Constructor : SyntaxKind
|
||||
|
||||
GetAccessor = 130,
|
||||
GetAccessor = 131,
|
||||
>GetAccessor : SyntaxKind
|
||||
|
||||
SetAccessor = 131,
|
||||
SetAccessor = 132,
|
||||
>SetAccessor : SyntaxKind
|
||||
|
||||
CallSignature = 132,
|
||||
CallSignature = 133,
|
||||
>CallSignature : SyntaxKind
|
||||
|
||||
ConstructSignature = 133,
|
||||
ConstructSignature = 134,
|
||||
>ConstructSignature : SyntaxKind
|
||||
|
||||
IndexSignature = 134,
|
||||
IndexSignature = 135,
|
||||
>IndexSignature : SyntaxKind
|
||||
|
||||
TypeReference = 135,
|
||||
TypeReference = 136,
|
||||
>TypeReference : SyntaxKind
|
||||
|
||||
FunctionType = 136,
|
||||
FunctionType = 137,
|
||||
>FunctionType : SyntaxKind
|
||||
|
||||
ConstructorType = 137,
|
||||
ConstructorType = 138,
|
||||
>ConstructorType : SyntaxKind
|
||||
|
||||
TypeQuery = 138,
|
||||
TypeQuery = 139,
|
||||
>TypeQuery : SyntaxKind
|
||||
|
||||
TypeLiteral = 139,
|
||||
TypeLiteral = 140,
|
||||
>TypeLiteral : SyntaxKind
|
||||
|
||||
ArrayType = 140,
|
||||
ArrayType = 141,
|
||||
>ArrayType : SyntaxKind
|
||||
|
||||
TupleType = 141,
|
||||
TupleType = 142,
|
||||
>TupleType : SyntaxKind
|
||||
|
||||
UnionType = 142,
|
||||
UnionType = 143,
|
||||
>UnionType : SyntaxKind
|
||||
|
||||
ParenthesizedType = 143,
|
||||
ParenthesizedType = 144,
|
||||
>ParenthesizedType : SyntaxKind
|
||||
|
||||
ObjectBindingPattern = 144,
|
||||
ObjectBindingPattern = 145,
|
||||
>ObjectBindingPattern : SyntaxKind
|
||||
|
||||
ArrayBindingPattern = 145,
|
||||
ArrayBindingPattern = 146,
|
||||
>ArrayBindingPattern : SyntaxKind
|
||||
|
||||
BindingElement = 146,
|
||||
BindingElement = 147,
|
||||
>BindingElement : SyntaxKind
|
||||
|
||||
ArrayLiteralExpression = 147,
|
||||
ArrayLiteralExpression = 148,
|
||||
>ArrayLiteralExpression : SyntaxKind
|
||||
|
||||
ObjectLiteralExpression = 148,
|
||||
ObjectLiteralExpression = 149,
|
||||
>ObjectLiteralExpression : SyntaxKind
|
||||
|
||||
PropertyAccessExpression = 149,
|
||||
PropertyAccessExpression = 150,
|
||||
>PropertyAccessExpression : SyntaxKind
|
||||
|
||||
ElementAccessExpression = 150,
|
||||
ElementAccessExpression = 151,
|
||||
>ElementAccessExpression : SyntaxKind
|
||||
|
||||
CallExpression = 151,
|
||||
CallExpression = 152,
|
||||
>CallExpression : SyntaxKind
|
||||
|
||||
NewExpression = 152,
|
||||
NewExpression = 153,
|
||||
>NewExpression : SyntaxKind
|
||||
|
||||
TaggedTemplateExpression = 153,
|
||||
TaggedTemplateExpression = 154,
|
||||
>TaggedTemplateExpression : SyntaxKind
|
||||
|
||||
TypeAssertionExpression = 154,
|
||||
TypeAssertionExpression = 155,
|
||||
>TypeAssertionExpression : SyntaxKind
|
||||
|
||||
ParenthesizedExpression = 155,
|
||||
ParenthesizedExpression = 156,
|
||||
>ParenthesizedExpression : SyntaxKind
|
||||
|
||||
FunctionExpression = 156,
|
||||
FunctionExpression = 157,
|
||||
>FunctionExpression : SyntaxKind
|
||||
|
||||
ArrowFunction = 157,
|
||||
ArrowFunction = 158,
|
||||
>ArrowFunction : SyntaxKind
|
||||
|
||||
DeleteExpression = 158,
|
||||
DeleteExpression = 159,
|
||||
>DeleteExpression : SyntaxKind
|
||||
|
||||
TypeOfExpression = 159,
|
||||
TypeOfExpression = 160,
|
||||
>TypeOfExpression : SyntaxKind
|
||||
|
||||
VoidExpression = 160,
|
||||
VoidExpression = 161,
|
||||
>VoidExpression : SyntaxKind
|
||||
|
||||
PrefixUnaryExpression = 161,
|
||||
PrefixUnaryExpression = 162,
|
||||
>PrefixUnaryExpression : SyntaxKind
|
||||
|
||||
PostfixUnaryExpression = 162,
|
||||
PostfixUnaryExpression = 163,
|
||||
>PostfixUnaryExpression : SyntaxKind
|
||||
|
||||
BinaryExpression = 163,
|
||||
BinaryExpression = 164,
|
||||
>BinaryExpression : SyntaxKind
|
||||
|
||||
ConditionalExpression = 164,
|
||||
ConditionalExpression = 165,
|
||||
>ConditionalExpression : SyntaxKind
|
||||
|
||||
TemplateExpression = 165,
|
||||
TemplateExpression = 166,
|
||||
>TemplateExpression : SyntaxKind
|
||||
|
||||
YieldExpression = 166,
|
||||
YieldExpression = 167,
|
||||
>YieldExpression : SyntaxKind
|
||||
|
||||
SpreadElementExpression = 167,
|
||||
SpreadElementExpression = 168,
|
||||
>SpreadElementExpression : SyntaxKind
|
||||
|
||||
OmittedExpression = 168,
|
||||
OmittedExpression = 169,
|
||||
>OmittedExpression : SyntaxKind
|
||||
|
||||
TemplateSpan = 169,
|
||||
TemplateSpan = 170,
|
||||
>TemplateSpan : SyntaxKind
|
||||
|
||||
Block = 170,
|
||||
Block = 171,
|
||||
>Block : SyntaxKind
|
||||
|
||||
VariableStatement = 171,
|
||||
VariableStatement = 172,
|
||||
>VariableStatement : SyntaxKind
|
||||
|
||||
EmptyStatement = 172,
|
||||
EmptyStatement = 173,
|
||||
>EmptyStatement : SyntaxKind
|
||||
|
||||
ExpressionStatement = 173,
|
||||
ExpressionStatement = 174,
|
||||
>ExpressionStatement : SyntaxKind
|
||||
|
||||
IfStatement = 174,
|
||||
IfStatement = 175,
|
||||
>IfStatement : SyntaxKind
|
||||
|
||||
DoStatement = 175,
|
||||
DoStatement = 176,
|
||||
>DoStatement : SyntaxKind
|
||||
|
||||
WhileStatement = 176,
|
||||
WhileStatement = 177,
|
||||
>WhileStatement : SyntaxKind
|
||||
|
||||
ForStatement = 177,
|
||||
ForStatement = 178,
|
||||
>ForStatement : SyntaxKind
|
||||
|
||||
ForInStatement = 178,
|
||||
ForInStatement = 179,
|
||||
>ForInStatement : SyntaxKind
|
||||
|
||||
ContinueStatement = 179,
|
||||
ForOfStatement = 180,
|
||||
>ForOfStatement : SyntaxKind
|
||||
|
||||
ContinueStatement = 181,
|
||||
>ContinueStatement : SyntaxKind
|
||||
|
||||
BreakStatement = 180,
|
||||
BreakStatement = 182,
|
||||
>BreakStatement : SyntaxKind
|
||||
|
||||
ReturnStatement = 181,
|
||||
ReturnStatement = 183,
|
||||
>ReturnStatement : SyntaxKind
|
||||
|
||||
WithStatement = 182,
|
||||
WithStatement = 184,
|
||||
>WithStatement : SyntaxKind
|
||||
|
||||
SwitchStatement = 183,
|
||||
SwitchStatement = 185,
|
||||
>SwitchStatement : SyntaxKind
|
||||
|
||||
LabeledStatement = 184,
|
||||
LabeledStatement = 186,
|
||||
>LabeledStatement : SyntaxKind
|
||||
|
||||
ThrowStatement = 185,
|
||||
ThrowStatement = 187,
|
||||
>ThrowStatement : SyntaxKind
|
||||
|
||||
TryStatement = 186,
|
||||
TryStatement = 188,
|
||||
>TryStatement : SyntaxKind
|
||||
|
||||
DebuggerStatement = 187,
|
||||
DebuggerStatement = 189,
|
||||
>DebuggerStatement : SyntaxKind
|
||||
|
||||
VariableDeclaration = 188,
|
||||
VariableDeclaration = 190,
|
||||
>VariableDeclaration : SyntaxKind
|
||||
|
||||
VariableDeclarationList = 189,
|
||||
VariableDeclarationList = 191,
|
||||
>VariableDeclarationList : SyntaxKind
|
||||
|
||||
FunctionDeclaration = 190,
|
||||
FunctionDeclaration = 192,
|
||||
>FunctionDeclaration : SyntaxKind
|
||||
|
||||
ClassDeclaration = 191,
|
||||
ClassDeclaration = 193,
|
||||
>ClassDeclaration : SyntaxKind
|
||||
|
||||
InterfaceDeclaration = 192,
|
||||
InterfaceDeclaration = 194,
|
||||
>InterfaceDeclaration : SyntaxKind
|
||||
|
||||
TypeAliasDeclaration = 193,
|
||||
TypeAliasDeclaration = 195,
|
||||
>TypeAliasDeclaration : SyntaxKind
|
||||
|
||||
EnumDeclaration = 194,
|
||||
EnumDeclaration = 196,
|
||||
>EnumDeclaration : SyntaxKind
|
||||
|
||||
ModuleDeclaration = 195,
|
||||
ModuleDeclaration = 197,
|
||||
>ModuleDeclaration : SyntaxKind
|
||||
|
||||
ModuleBlock = 196,
|
||||
ModuleBlock = 198,
|
||||
>ModuleBlock : SyntaxKind
|
||||
|
||||
ImportDeclaration = 197,
|
||||
ImportDeclaration = 199,
|
||||
>ImportDeclaration : SyntaxKind
|
||||
|
||||
ExportAssignment = 198,
|
||||
ExportAssignment = 200,
|
||||
>ExportAssignment : SyntaxKind
|
||||
|
||||
ExternalModuleReference = 199,
|
||||
ExternalModuleReference = 201,
|
||||
>ExternalModuleReference : SyntaxKind
|
||||
|
||||
CaseClause = 200,
|
||||
CaseClause = 202,
|
||||
>CaseClause : SyntaxKind
|
||||
|
||||
DefaultClause = 201,
|
||||
DefaultClause = 203,
|
||||
>DefaultClause : SyntaxKind
|
||||
|
||||
HeritageClause = 202,
|
||||
HeritageClause = 204,
|
||||
>HeritageClause : SyntaxKind
|
||||
|
||||
CatchClause = 203,
|
||||
CatchClause = 205,
|
||||
>CatchClause : SyntaxKind
|
||||
|
||||
PropertyAssignment = 204,
|
||||
PropertyAssignment = 206,
|
||||
>PropertyAssignment : SyntaxKind
|
||||
|
||||
ShorthandPropertyAssignment = 205,
|
||||
ShorthandPropertyAssignment = 207,
|
||||
>ShorthandPropertyAssignment : SyntaxKind
|
||||
|
||||
EnumMember = 206,
|
||||
EnumMember = 208,
|
||||
>EnumMember : SyntaxKind
|
||||
|
||||
SourceFile = 207,
|
||||
SourceFile = 209,
|
||||
>SourceFile : SyntaxKind
|
||||
|
||||
SyntaxList = 208,
|
||||
SyntaxList = 210,
|
||||
>SyntaxList : SyntaxKind
|
||||
|
||||
Count = 209,
|
||||
Count = 211,
|
||||
>Count : SyntaxKind
|
||||
|
||||
FirstAssignment = 52,
|
||||
@ -838,7 +844,7 @@ declare module "typescript" {
|
||||
FirstKeyword = 65,
|
||||
>FirstKeyword : SyntaxKind
|
||||
|
||||
LastKeyword = 120,
|
||||
LastKeyword = 121,
|
||||
>LastKeyword : SyntaxKind
|
||||
|
||||
FirstFutureReservedWord = 101,
|
||||
@ -847,10 +853,10 @@ declare module "typescript" {
|
||||
LastFutureReservedWord = 109,
|
||||
>LastFutureReservedWord : SyntaxKind
|
||||
|
||||
FirstTypeNode = 135,
|
||||
FirstTypeNode = 136,
|
||||
>FirstTypeNode : SyntaxKind
|
||||
|
||||
LastTypeNode = 143,
|
||||
LastTypeNode = 144,
|
||||
>LastTypeNode : SyntaxKind
|
||||
|
||||
FirstPunctuation = 14,
|
||||
@ -889,7 +895,7 @@ declare module "typescript" {
|
||||
LastBinaryOperator = 63,
|
||||
>LastBinaryOperator : SyntaxKind
|
||||
|
||||
FirstNode = 121,
|
||||
FirstNode = 122,
|
||||
>FirstNode : SyntaxKind
|
||||
}
|
||||
const enum NodeFlags {
|
||||
@ -1870,6 +1876,19 @@ declare module "typescript" {
|
||||
|
||||
expression: Expression;
|
||||
>expression : Expression
|
||||
>Expression : Expression
|
||||
}
|
||||
interface ForOfStatement extends IterationStatement {
|
||||
>ForOfStatement : ForOfStatement
|
||||
>IterationStatement : IterationStatement
|
||||
|
||||
initializer: VariableDeclarationList | Expression;
|
||||
>initializer : Expression | VariableDeclarationList
|
||||
>VariableDeclarationList : VariableDeclarationList
|
||||
>Expression : Expression
|
||||
|
||||
expression: Expression;
|
||||
>expression : Expression
|
||||
>Expression : Expression
|
||||
}
|
||||
interface BreakOrContinueStatement extends Statement {
|
||||
|
||||
@ -211,105 +211,107 @@ declare module "typescript" {
|
||||
SetKeyword = 118,
|
||||
StringKeyword = 119,
|
||||
TypeKeyword = 120,
|
||||
QualifiedName = 121,
|
||||
ComputedPropertyName = 122,
|
||||
TypeParameter = 123,
|
||||
Parameter = 124,
|
||||
PropertySignature = 125,
|
||||
PropertyDeclaration = 126,
|
||||
MethodSignature = 127,
|
||||
MethodDeclaration = 128,
|
||||
Constructor = 129,
|
||||
GetAccessor = 130,
|
||||
SetAccessor = 131,
|
||||
CallSignature = 132,
|
||||
ConstructSignature = 133,
|
||||
IndexSignature = 134,
|
||||
TypeReference = 135,
|
||||
FunctionType = 136,
|
||||
ConstructorType = 137,
|
||||
TypeQuery = 138,
|
||||
TypeLiteral = 139,
|
||||
ArrayType = 140,
|
||||
TupleType = 141,
|
||||
UnionType = 142,
|
||||
ParenthesizedType = 143,
|
||||
ObjectBindingPattern = 144,
|
||||
ArrayBindingPattern = 145,
|
||||
BindingElement = 146,
|
||||
ArrayLiteralExpression = 147,
|
||||
ObjectLiteralExpression = 148,
|
||||
PropertyAccessExpression = 149,
|
||||
ElementAccessExpression = 150,
|
||||
CallExpression = 151,
|
||||
NewExpression = 152,
|
||||
TaggedTemplateExpression = 153,
|
||||
TypeAssertionExpression = 154,
|
||||
ParenthesizedExpression = 155,
|
||||
FunctionExpression = 156,
|
||||
ArrowFunction = 157,
|
||||
DeleteExpression = 158,
|
||||
TypeOfExpression = 159,
|
||||
VoidExpression = 160,
|
||||
PrefixUnaryExpression = 161,
|
||||
PostfixUnaryExpression = 162,
|
||||
BinaryExpression = 163,
|
||||
ConditionalExpression = 164,
|
||||
TemplateExpression = 165,
|
||||
YieldExpression = 166,
|
||||
SpreadElementExpression = 167,
|
||||
OmittedExpression = 168,
|
||||
TemplateSpan = 169,
|
||||
Block = 170,
|
||||
VariableStatement = 171,
|
||||
EmptyStatement = 172,
|
||||
ExpressionStatement = 173,
|
||||
IfStatement = 174,
|
||||
DoStatement = 175,
|
||||
WhileStatement = 176,
|
||||
ForStatement = 177,
|
||||
ForInStatement = 178,
|
||||
ContinueStatement = 179,
|
||||
BreakStatement = 180,
|
||||
ReturnStatement = 181,
|
||||
WithStatement = 182,
|
||||
SwitchStatement = 183,
|
||||
LabeledStatement = 184,
|
||||
ThrowStatement = 185,
|
||||
TryStatement = 186,
|
||||
DebuggerStatement = 187,
|
||||
VariableDeclaration = 188,
|
||||
VariableDeclarationList = 189,
|
||||
FunctionDeclaration = 190,
|
||||
ClassDeclaration = 191,
|
||||
InterfaceDeclaration = 192,
|
||||
TypeAliasDeclaration = 193,
|
||||
EnumDeclaration = 194,
|
||||
ModuleDeclaration = 195,
|
||||
ModuleBlock = 196,
|
||||
ImportDeclaration = 197,
|
||||
ExportAssignment = 198,
|
||||
ExternalModuleReference = 199,
|
||||
CaseClause = 200,
|
||||
DefaultClause = 201,
|
||||
HeritageClause = 202,
|
||||
CatchClause = 203,
|
||||
PropertyAssignment = 204,
|
||||
ShorthandPropertyAssignment = 205,
|
||||
EnumMember = 206,
|
||||
SourceFile = 207,
|
||||
SyntaxList = 208,
|
||||
Count = 209,
|
||||
OfKeyword = 121,
|
||||
QualifiedName = 122,
|
||||
ComputedPropertyName = 123,
|
||||
TypeParameter = 124,
|
||||
Parameter = 125,
|
||||
PropertySignature = 126,
|
||||
PropertyDeclaration = 127,
|
||||
MethodSignature = 128,
|
||||
MethodDeclaration = 129,
|
||||
Constructor = 130,
|
||||
GetAccessor = 131,
|
||||
SetAccessor = 132,
|
||||
CallSignature = 133,
|
||||
ConstructSignature = 134,
|
||||
IndexSignature = 135,
|
||||
TypeReference = 136,
|
||||
FunctionType = 137,
|
||||
ConstructorType = 138,
|
||||
TypeQuery = 139,
|
||||
TypeLiteral = 140,
|
||||
ArrayType = 141,
|
||||
TupleType = 142,
|
||||
UnionType = 143,
|
||||
ParenthesizedType = 144,
|
||||
ObjectBindingPattern = 145,
|
||||
ArrayBindingPattern = 146,
|
||||
BindingElement = 147,
|
||||
ArrayLiteralExpression = 148,
|
||||
ObjectLiteralExpression = 149,
|
||||
PropertyAccessExpression = 150,
|
||||
ElementAccessExpression = 151,
|
||||
CallExpression = 152,
|
||||
NewExpression = 153,
|
||||
TaggedTemplateExpression = 154,
|
||||
TypeAssertionExpression = 155,
|
||||
ParenthesizedExpression = 156,
|
||||
FunctionExpression = 157,
|
||||
ArrowFunction = 158,
|
||||
DeleteExpression = 159,
|
||||
TypeOfExpression = 160,
|
||||
VoidExpression = 161,
|
||||
PrefixUnaryExpression = 162,
|
||||
PostfixUnaryExpression = 163,
|
||||
BinaryExpression = 164,
|
||||
ConditionalExpression = 165,
|
||||
TemplateExpression = 166,
|
||||
YieldExpression = 167,
|
||||
SpreadElementExpression = 168,
|
||||
OmittedExpression = 169,
|
||||
TemplateSpan = 170,
|
||||
Block = 171,
|
||||
VariableStatement = 172,
|
||||
EmptyStatement = 173,
|
||||
ExpressionStatement = 174,
|
||||
IfStatement = 175,
|
||||
DoStatement = 176,
|
||||
WhileStatement = 177,
|
||||
ForStatement = 178,
|
||||
ForInStatement = 179,
|
||||
ForOfStatement = 180,
|
||||
ContinueStatement = 181,
|
||||
BreakStatement = 182,
|
||||
ReturnStatement = 183,
|
||||
WithStatement = 184,
|
||||
SwitchStatement = 185,
|
||||
LabeledStatement = 186,
|
||||
ThrowStatement = 187,
|
||||
TryStatement = 188,
|
||||
DebuggerStatement = 189,
|
||||
VariableDeclaration = 190,
|
||||
VariableDeclarationList = 191,
|
||||
FunctionDeclaration = 192,
|
||||
ClassDeclaration = 193,
|
||||
InterfaceDeclaration = 194,
|
||||
TypeAliasDeclaration = 195,
|
||||
EnumDeclaration = 196,
|
||||
ModuleDeclaration = 197,
|
||||
ModuleBlock = 198,
|
||||
ImportDeclaration = 199,
|
||||
ExportAssignment = 200,
|
||||
ExternalModuleReference = 201,
|
||||
CaseClause = 202,
|
||||
DefaultClause = 203,
|
||||
HeritageClause = 204,
|
||||
CatchClause = 205,
|
||||
PropertyAssignment = 206,
|
||||
ShorthandPropertyAssignment = 207,
|
||||
EnumMember = 208,
|
||||
SourceFile = 209,
|
||||
SyntaxList = 210,
|
||||
Count = 211,
|
||||
FirstAssignment = 52,
|
||||
LastAssignment = 63,
|
||||
FirstReservedWord = 65,
|
||||
LastReservedWord = 100,
|
||||
FirstKeyword = 65,
|
||||
LastKeyword = 120,
|
||||
LastKeyword = 121,
|
||||
FirstFutureReservedWord = 101,
|
||||
LastFutureReservedWord = 109,
|
||||
FirstTypeNode = 135,
|
||||
LastTypeNode = 143,
|
||||
FirstTypeNode = 136,
|
||||
LastTypeNode = 144,
|
||||
FirstPunctuation = 14,
|
||||
LastPunctuation = 63,
|
||||
FirstToken = 0,
|
||||
@ -322,7 +324,7 @@ declare module "typescript" {
|
||||
LastTemplateToken = 13,
|
||||
FirstBinaryOperator = 24,
|
||||
LastBinaryOperator = 63,
|
||||
FirstNode = 121,
|
||||
FirstNode = 122,
|
||||
}
|
||||
const enum NodeFlags {
|
||||
Export = 1,
|
||||
@ -653,6 +655,10 @@ declare module "typescript" {
|
||||
initializer: VariableDeclarationList | Expression;
|
||||
expression: Expression;
|
||||
}
|
||||
interface ForOfStatement extends IterationStatement {
|
||||
initializer: VariableDeclarationList | Expression;
|
||||
expression: Expression;
|
||||
}
|
||||
interface BreakOrContinueStatement extends Statement {
|
||||
label?: Identifier;
|
||||
}
|
||||
@ -1976,24 +1982,24 @@ function delint(sourceFile) {
|
||||
delintNode(sourceFile);
|
||||
function delintNode(node) {
|
||||
switch (node.kind) {
|
||||
case 177 /* ForStatement */:
|
||||
case 178 /* ForInStatement */:
|
||||
case 176 /* WhileStatement */:
|
||||
case 175 /* DoStatement */:
|
||||
if (node.statement.kind !== 170 /* Block */) {
|
||||
case 178 /* ForStatement */:
|
||||
case 179 /* ForInStatement */:
|
||||
case 177 /* WhileStatement */:
|
||||
case 176 /* DoStatement */:
|
||||
if (node.statement.kind !== 171 /* Block */) {
|
||||
report(node, "A looping statement's contents should be wrapped in a block body.");
|
||||
}
|
||||
break;
|
||||
case 174 /* IfStatement */:
|
||||
case 175 /* IfStatement */:
|
||||
var ifStatement = node;
|
||||
if (ifStatement.thenStatement.kind !== 170 /* Block */) {
|
||||
if (ifStatement.thenStatement.kind !== 171 /* Block */) {
|
||||
report(ifStatement.thenStatement, "An if statement's contents should be wrapped in a block body.");
|
||||
}
|
||||
if (ifStatement.elseStatement && ifStatement.elseStatement.kind !== 170 /* Block */ && ifStatement.elseStatement.kind !== 174 /* IfStatement */) {
|
||||
if (ifStatement.elseStatement && ifStatement.elseStatement.kind !== 171 /* Block */ && ifStatement.elseStatement.kind !== 175 /* IfStatement */) {
|
||||
report(ifStatement.elseStatement, "An else statement's contents should be wrapped in a block body.");
|
||||
}
|
||||
break;
|
||||
case 163 /* BinaryExpression */:
|
||||
case 164 /* BinaryExpression */:
|
||||
var op = node.operator;
|
||||
if (op === 28 /* EqualsEqualsToken */ || op === 29 /* ExclamationEqualsToken */) {
|
||||
report(node, "Use '===' and '!=='.");
|
||||
|
||||
@ -700,271 +700,277 @@ declare module "typescript" {
|
||||
TypeKeyword = 120,
|
||||
>TypeKeyword : SyntaxKind
|
||||
|
||||
QualifiedName = 121,
|
||||
OfKeyword = 121,
|
||||
>OfKeyword : SyntaxKind
|
||||
|
||||
QualifiedName = 122,
|
||||
>QualifiedName : SyntaxKind
|
||||
|
||||
ComputedPropertyName = 122,
|
||||
ComputedPropertyName = 123,
|
||||
>ComputedPropertyName : SyntaxKind
|
||||
|
||||
TypeParameter = 123,
|
||||
TypeParameter = 124,
|
||||
>TypeParameter : SyntaxKind
|
||||
|
||||
Parameter = 124,
|
||||
Parameter = 125,
|
||||
>Parameter : SyntaxKind
|
||||
|
||||
PropertySignature = 125,
|
||||
PropertySignature = 126,
|
||||
>PropertySignature : SyntaxKind
|
||||
|
||||
PropertyDeclaration = 126,
|
||||
PropertyDeclaration = 127,
|
||||
>PropertyDeclaration : SyntaxKind
|
||||
|
||||
MethodSignature = 127,
|
||||
MethodSignature = 128,
|
||||
>MethodSignature : SyntaxKind
|
||||
|
||||
MethodDeclaration = 128,
|
||||
MethodDeclaration = 129,
|
||||
>MethodDeclaration : SyntaxKind
|
||||
|
||||
Constructor = 129,
|
||||
Constructor = 130,
|
||||
>Constructor : SyntaxKind
|
||||
|
||||
GetAccessor = 130,
|
||||
GetAccessor = 131,
|
||||
>GetAccessor : SyntaxKind
|
||||
|
||||
SetAccessor = 131,
|
||||
SetAccessor = 132,
|
||||
>SetAccessor : SyntaxKind
|
||||
|
||||
CallSignature = 132,
|
||||
CallSignature = 133,
|
||||
>CallSignature : SyntaxKind
|
||||
|
||||
ConstructSignature = 133,
|
||||
ConstructSignature = 134,
|
||||
>ConstructSignature : SyntaxKind
|
||||
|
||||
IndexSignature = 134,
|
||||
IndexSignature = 135,
|
||||
>IndexSignature : SyntaxKind
|
||||
|
||||
TypeReference = 135,
|
||||
TypeReference = 136,
|
||||
>TypeReference : SyntaxKind
|
||||
|
||||
FunctionType = 136,
|
||||
FunctionType = 137,
|
||||
>FunctionType : SyntaxKind
|
||||
|
||||
ConstructorType = 137,
|
||||
ConstructorType = 138,
|
||||
>ConstructorType : SyntaxKind
|
||||
|
||||
TypeQuery = 138,
|
||||
TypeQuery = 139,
|
||||
>TypeQuery : SyntaxKind
|
||||
|
||||
TypeLiteral = 139,
|
||||
TypeLiteral = 140,
|
||||
>TypeLiteral : SyntaxKind
|
||||
|
||||
ArrayType = 140,
|
||||
ArrayType = 141,
|
||||
>ArrayType : SyntaxKind
|
||||
|
||||
TupleType = 141,
|
||||
TupleType = 142,
|
||||
>TupleType : SyntaxKind
|
||||
|
||||
UnionType = 142,
|
||||
UnionType = 143,
|
||||
>UnionType : SyntaxKind
|
||||
|
||||
ParenthesizedType = 143,
|
||||
ParenthesizedType = 144,
|
||||
>ParenthesizedType : SyntaxKind
|
||||
|
||||
ObjectBindingPattern = 144,
|
||||
ObjectBindingPattern = 145,
|
||||
>ObjectBindingPattern : SyntaxKind
|
||||
|
||||
ArrayBindingPattern = 145,
|
||||
ArrayBindingPattern = 146,
|
||||
>ArrayBindingPattern : SyntaxKind
|
||||
|
||||
BindingElement = 146,
|
||||
BindingElement = 147,
|
||||
>BindingElement : SyntaxKind
|
||||
|
||||
ArrayLiteralExpression = 147,
|
||||
ArrayLiteralExpression = 148,
|
||||
>ArrayLiteralExpression : SyntaxKind
|
||||
|
||||
ObjectLiteralExpression = 148,
|
||||
ObjectLiteralExpression = 149,
|
||||
>ObjectLiteralExpression : SyntaxKind
|
||||
|
||||
PropertyAccessExpression = 149,
|
||||
PropertyAccessExpression = 150,
|
||||
>PropertyAccessExpression : SyntaxKind
|
||||
|
||||
ElementAccessExpression = 150,
|
||||
ElementAccessExpression = 151,
|
||||
>ElementAccessExpression : SyntaxKind
|
||||
|
||||
CallExpression = 151,
|
||||
CallExpression = 152,
|
||||
>CallExpression : SyntaxKind
|
||||
|
||||
NewExpression = 152,
|
||||
NewExpression = 153,
|
||||
>NewExpression : SyntaxKind
|
||||
|
||||
TaggedTemplateExpression = 153,
|
||||
TaggedTemplateExpression = 154,
|
||||
>TaggedTemplateExpression : SyntaxKind
|
||||
|
||||
TypeAssertionExpression = 154,
|
||||
TypeAssertionExpression = 155,
|
||||
>TypeAssertionExpression : SyntaxKind
|
||||
|
||||
ParenthesizedExpression = 155,
|
||||
ParenthesizedExpression = 156,
|
||||
>ParenthesizedExpression : SyntaxKind
|
||||
|
||||
FunctionExpression = 156,
|
||||
FunctionExpression = 157,
|
||||
>FunctionExpression : SyntaxKind
|
||||
|
||||
ArrowFunction = 157,
|
||||
ArrowFunction = 158,
|
||||
>ArrowFunction : SyntaxKind
|
||||
|
||||
DeleteExpression = 158,
|
||||
DeleteExpression = 159,
|
||||
>DeleteExpression : SyntaxKind
|
||||
|
||||
TypeOfExpression = 159,
|
||||
TypeOfExpression = 160,
|
||||
>TypeOfExpression : SyntaxKind
|
||||
|
||||
VoidExpression = 160,
|
||||
VoidExpression = 161,
|
||||
>VoidExpression : SyntaxKind
|
||||
|
||||
PrefixUnaryExpression = 161,
|
||||
PrefixUnaryExpression = 162,
|
||||
>PrefixUnaryExpression : SyntaxKind
|
||||
|
||||
PostfixUnaryExpression = 162,
|
||||
PostfixUnaryExpression = 163,
|
||||
>PostfixUnaryExpression : SyntaxKind
|
||||
|
||||
BinaryExpression = 163,
|
||||
BinaryExpression = 164,
|
||||
>BinaryExpression : SyntaxKind
|
||||
|
||||
ConditionalExpression = 164,
|
||||
ConditionalExpression = 165,
|
||||
>ConditionalExpression : SyntaxKind
|
||||
|
||||
TemplateExpression = 165,
|
||||
TemplateExpression = 166,
|
||||
>TemplateExpression : SyntaxKind
|
||||
|
||||
YieldExpression = 166,
|
||||
YieldExpression = 167,
|
||||
>YieldExpression : SyntaxKind
|
||||
|
||||
SpreadElementExpression = 167,
|
||||
SpreadElementExpression = 168,
|
||||
>SpreadElementExpression : SyntaxKind
|
||||
|
||||
OmittedExpression = 168,
|
||||
OmittedExpression = 169,
|
||||
>OmittedExpression : SyntaxKind
|
||||
|
||||
TemplateSpan = 169,
|
||||
TemplateSpan = 170,
|
||||
>TemplateSpan : SyntaxKind
|
||||
|
||||
Block = 170,
|
||||
Block = 171,
|
||||
>Block : SyntaxKind
|
||||
|
||||
VariableStatement = 171,
|
||||
VariableStatement = 172,
|
||||
>VariableStatement : SyntaxKind
|
||||
|
||||
EmptyStatement = 172,
|
||||
EmptyStatement = 173,
|
||||
>EmptyStatement : SyntaxKind
|
||||
|
||||
ExpressionStatement = 173,
|
||||
ExpressionStatement = 174,
|
||||
>ExpressionStatement : SyntaxKind
|
||||
|
||||
IfStatement = 174,
|
||||
IfStatement = 175,
|
||||
>IfStatement : SyntaxKind
|
||||
|
||||
DoStatement = 175,
|
||||
DoStatement = 176,
|
||||
>DoStatement : SyntaxKind
|
||||
|
||||
WhileStatement = 176,
|
||||
WhileStatement = 177,
|
||||
>WhileStatement : SyntaxKind
|
||||
|
||||
ForStatement = 177,
|
||||
ForStatement = 178,
|
||||
>ForStatement : SyntaxKind
|
||||
|
||||
ForInStatement = 178,
|
||||
ForInStatement = 179,
|
||||
>ForInStatement : SyntaxKind
|
||||
|
||||
ContinueStatement = 179,
|
||||
ForOfStatement = 180,
|
||||
>ForOfStatement : SyntaxKind
|
||||
|
||||
ContinueStatement = 181,
|
||||
>ContinueStatement : SyntaxKind
|
||||
|
||||
BreakStatement = 180,
|
||||
BreakStatement = 182,
|
||||
>BreakStatement : SyntaxKind
|
||||
|
||||
ReturnStatement = 181,
|
||||
ReturnStatement = 183,
|
||||
>ReturnStatement : SyntaxKind
|
||||
|
||||
WithStatement = 182,
|
||||
WithStatement = 184,
|
||||
>WithStatement : SyntaxKind
|
||||
|
||||
SwitchStatement = 183,
|
||||
SwitchStatement = 185,
|
||||
>SwitchStatement : SyntaxKind
|
||||
|
||||
LabeledStatement = 184,
|
||||
LabeledStatement = 186,
|
||||
>LabeledStatement : SyntaxKind
|
||||
|
||||
ThrowStatement = 185,
|
||||
ThrowStatement = 187,
|
||||
>ThrowStatement : SyntaxKind
|
||||
|
||||
TryStatement = 186,
|
||||
TryStatement = 188,
|
||||
>TryStatement : SyntaxKind
|
||||
|
||||
DebuggerStatement = 187,
|
||||
DebuggerStatement = 189,
|
||||
>DebuggerStatement : SyntaxKind
|
||||
|
||||
VariableDeclaration = 188,
|
||||
VariableDeclaration = 190,
|
||||
>VariableDeclaration : SyntaxKind
|
||||
|
||||
VariableDeclarationList = 189,
|
||||
VariableDeclarationList = 191,
|
||||
>VariableDeclarationList : SyntaxKind
|
||||
|
||||
FunctionDeclaration = 190,
|
||||
FunctionDeclaration = 192,
|
||||
>FunctionDeclaration : SyntaxKind
|
||||
|
||||
ClassDeclaration = 191,
|
||||
ClassDeclaration = 193,
|
||||
>ClassDeclaration : SyntaxKind
|
||||
|
||||
InterfaceDeclaration = 192,
|
||||
InterfaceDeclaration = 194,
|
||||
>InterfaceDeclaration : SyntaxKind
|
||||
|
||||
TypeAliasDeclaration = 193,
|
||||
TypeAliasDeclaration = 195,
|
||||
>TypeAliasDeclaration : SyntaxKind
|
||||
|
||||
EnumDeclaration = 194,
|
||||
EnumDeclaration = 196,
|
||||
>EnumDeclaration : SyntaxKind
|
||||
|
||||
ModuleDeclaration = 195,
|
||||
ModuleDeclaration = 197,
|
||||
>ModuleDeclaration : SyntaxKind
|
||||
|
||||
ModuleBlock = 196,
|
||||
ModuleBlock = 198,
|
||||
>ModuleBlock : SyntaxKind
|
||||
|
||||
ImportDeclaration = 197,
|
||||
ImportDeclaration = 199,
|
||||
>ImportDeclaration : SyntaxKind
|
||||
|
||||
ExportAssignment = 198,
|
||||
ExportAssignment = 200,
|
||||
>ExportAssignment : SyntaxKind
|
||||
|
||||
ExternalModuleReference = 199,
|
||||
ExternalModuleReference = 201,
|
||||
>ExternalModuleReference : SyntaxKind
|
||||
|
||||
CaseClause = 200,
|
||||
CaseClause = 202,
|
||||
>CaseClause : SyntaxKind
|
||||
|
||||
DefaultClause = 201,
|
||||
DefaultClause = 203,
|
||||
>DefaultClause : SyntaxKind
|
||||
|
||||
HeritageClause = 202,
|
||||
HeritageClause = 204,
|
||||
>HeritageClause : SyntaxKind
|
||||
|
||||
CatchClause = 203,
|
||||
CatchClause = 205,
|
||||
>CatchClause : SyntaxKind
|
||||
|
||||
PropertyAssignment = 204,
|
||||
PropertyAssignment = 206,
|
||||
>PropertyAssignment : SyntaxKind
|
||||
|
||||
ShorthandPropertyAssignment = 205,
|
||||
ShorthandPropertyAssignment = 207,
|
||||
>ShorthandPropertyAssignment : SyntaxKind
|
||||
|
||||
EnumMember = 206,
|
||||
EnumMember = 208,
|
||||
>EnumMember : SyntaxKind
|
||||
|
||||
SourceFile = 207,
|
||||
SourceFile = 209,
|
||||
>SourceFile : SyntaxKind
|
||||
|
||||
SyntaxList = 208,
|
||||
SyntaxList = 210,
|
||||
>SyntaxList : SyntaxKind
|
||||
|
||||
Count = 209,
|
||||
Count = 211,
|
||||
>Count : SyntaxKind
|
||||
|
||||
FirstAssignment = 52,
|
||||
@ -982,7 +988,7 @@ declare module "typescript" {
|
||||
FirstKeyword = 65,
|
||||
>FirstKeyword : SyntaxKind
|
||||
|
||||
LastKeyword = 120,
|
||||
LastKeyword = 121,
|
||||
>LastKeyword : SyntaxKind
|
||||
|
||||
FirstFutureReservedWord = 101,
|
||||
@ -991,10 +997,10 @@ declare module "typescript" {
|
||||
LastFutureReservedWord = 109,
|
||||
>LastFutureReservedWord : SyntaxKind
|
||||
|
||||
FirstTypeNode = 135,
|
||||
FirstTypeNode = 136,
|
||||
>FirstTypeNode : SyntaxKind
|
||||
|
||||
LastTypeNode = 143,
|
||||
LastTypeNode = 144,
|
||||
>LastTypeNode : SyntaxKind
|
||||
|
||||
FirstPunctuation = 14,
|
||||
@ -1033,7 +1039,7 @@ declare module "typescript" {
|
||||
LastBinaryOperator = 63,
|
||||
>LastBinaryOperator : SyntaxKind
|
||||
|
||||
FirstNode = 121,
|
||||
FirstNode = 122,
|
||||
>FirstNode : SyntaxKind
|
||||
}
|
||||
const enum NodeFlags {
|
||||
@ -2014,6 +2020,19 @@ declare module "typescript" {
|
||||
|
||||
expression: Expression;
|
||||
>expression : Expression
|
||||
>Expression : Expression
|
||||
}
|
||||
interface ForOfStatement extends IterationStatement {
|
||||
>ForOfStatement : ForOfStatement
|
||||
>IterationStatement : IterationStatement
|
||||
|
||||
initializer: VariableDeclarationList | Expression;
|
||||
>initializer : Expression | VariableDeclarationList
|
||||
>VariableDeclarationList : VariableDeclarationList
|
||||
>Expression : Expression
|
||||
|
||||
expression: Expression;
|
||||
>expression : Expression
|
||||
>Expression : Expression
|
||||
}
|
||||
interface BreakOrContinueStatement extends Statement {
|
||||
|
||||
@ -212,105 +212,107 @@ declare module "typescript" {
|
||||
SetKeyword = 118,
|
||||
StringKeyword = 119,
|
||||
TypeKeyword = 120,
|
||||
QualifiedName = 121,
|
||||
ComputedPropertyName = 122,
|
||||
TypeParameter = 123,
|
||||
Parameter = 124,
|
||||
PropertySignature = 125,
|
||||
PropertyDeclaration = 126,
|
||||
MethodSignature = 127,
|
||||
MethodDeclaration = 128,
|
||||
Constructor = 129,
|
||||
GetAccessor = 130,
|
||||
SetAccessor = 131,
|
||||
CallSignature = 132,
|
||||
ConstructSignature = 133,
|
||||
IndexSignature = 134,
|
||||
TypeReference = 135,
|
||||
FunctionType = 136,
|
||||
ConstructorType = 137,
|
||||
TypeQuery = 138,
|
||||
TypeLiteral = 139,
|
||||
ArrayType = 140,
|
||||
TupleType = 141,
|
||||
UnionType = 142,
|
||||
ParenthesizedType = 143,
|
||||
ObjectBindingPattern = 144,
|
||||
ArrayBindingPattern = 145,
|
||||
BindingElement = 146,
|
||||
ArrayLiteralExpression = 147,
|
||||
ObjectLiteralExpression = 148,
|
||||
PropertyAccessExpression = 149,
|
||||
ElementAccessExpression = 150,
|
||||
CallExpression = 151,
|
||||
NewExpression = 152,
|
||||
TaggedTemplateExpression = 153,
|
||||
TypeAssertionExpression = 154,
|
||||
ParenthesizedExpression = 155,
|
||||
FunctionExpression = 156,
|
||||
ArrowFunction = 157,
|
||||
DeleteExpression = 158,
|
||||
TypeOfExpression = 159,
|
||||
VoidExpression = 160,
|
||||
PrefixUnaryExpression = 161,
|
||||
PostfixUnaryExpression = 162,
|
||||
BinaryExpression = 163,
|
||||
ConditionalExpression = 164,
|
||||
TemplateExpression = 165,
|
||||
YieldExpression = 166,
|
||||
SpreadElementExpression = 167,
|
||||
OmittedExpression = 168,
|
||||
TemplateSpan = 169,
|
||||
Block = 170,
|
||||
VariableStatement = 171,
|
||||
EmptyStatement = 172,
|
||||
ExpressionStatement = 173,
|
||||
IfStatement = 174,
|
||||
DoStatement = 175,
|
||||
WhileStatement = 176,
|
||||
ForStatement = 177,
|
||||
ForInStatement = 178,
|
||||
ContinueStatement = 179,
|
||||
BreakStatement = 180,
|
||||
ReturnStatement = 181,
|
||||
WithStatement = 182,
|
||||
SwitchStatement = 183,
|
||||
LabeledStatement = 184,
|
||||
ThrowStatement = 185,
|
||||
TryStatement = 186,
|
||||
DebuggerStatement = 187,
|
||||
VariableDeclaration = 188,
|
||||
VariableDeclarationList = 189,
|
||||
FunctionDeclaration = 190,
|
||||
ClassDeclaration = 191,
|
||||
InterfaceDeclaration = 192,
|
||||
TypeAliasDeclaration = 193,
|
||||
EnumDeclaration = 194,
|
||||
ModuleDeclaration = 195,
|
||||
ModuleBlock = 196,
|
||||
ImportDeclaration = 197,
|
||||
ExportAssignment = 198,
|
||||
ExternalModuleReference = 199,
|
||||
CaseClause = 200,
|
||||
DefaultClause = 201,
|
||||
HeritageClause = 202,
|
||||
CatchClause = 203,
|
||||
PropertyAssignment = 204,
|
||||
ShorthandPropertyAssignment = 205,
|
||||
EnumMember = 206,
|
||||
SourceFile = 207,
|
||||
SyntaxList = 208,
|
||||
Count = 209,
|
||||
OfKeyword = 121,
|
||||
QualifiedName = 122,
|
||||
ComputedPropertyName = 123,
|
||||
TypeParameter = 124,
|
||||
Parameter = 125,
|
||||
PropertySignature = 126,
|
||||
PropertyDeclaration = 127,
|
||||
MethodSignature = 128,
|
||||
MethodDeclaration = 129,
|
||||
Constructor = 130,
|
||||
GetAccessor = 131,
|
||||
SetAccessor = 132,
|
||||
CallSignature = 133,
|
||||
ConstructSignature = 134,
|
||||
IndexSignature = 135,
|
||||
TypeReference = 136,
|
||||
FunctionType = 137,
|
||||
ConstructorType = 138,
|
||||
TypeQuery = 139,
|
||||
TypeLiteral = 140,
|
||||
ArrayType = 141,
|
||||
TupleType = 142,
|
||||
UnionType = 143,
|
||||
ParenthesizedType = 144,
|
||||
ObjectBindingPattern = 145,
|
||||
ArrayBindingPattern = 146,
|
||||
BindingElement = 147,
|
||||
ArrayLiteralExpression = 148,
|
||||
ObjectLiteralExpression = 149,
|
||||
PropertyAccessExpression = 150,
|
||||
ElementAccessExpression = 151,
|
||||
CallExpression = 152,
|
||||
NewExpression = 153,
|
||||
TaggedTemplateExpression = 154,
|
||||
TypeAssertionExpression = 155,
|
||||
ParenthesizedExpression = 156,
|
||||
FunctionExpression = 157,
|
||||
ArrowFunction = 158,
|
||||
DeleteExpression = 159,
|
||||
TypeOfExpression = 160,
|
||||
VoidExpression = 161,
|
||||
PrefixUnaryExpression = 162,
|
||||
PostfixUnaryExpression = 163,
|
||||
BinaryExpression = 164,
|
||||
ConditionalExpression = 165,
|
||||
TemplateExpression = 166,
|
||||
YieldExpression = 167,
|
||||
SpreadElementExpression = 168,
|
||||
OmittedExpression = 169,
|
||||
TemplateSpan = 170,
|
||||
Block = 171,
|
||||
VariableStatement = 172,
|
||||
EmptyStatement = 173,
|
||||
ExpressionStatement = 174,
|
||||
IfStatement = 175,
|
||||
DoStatement = 176,
|
||||
WhileStatement = 177,
|
||||
ForStatement = 178,
|
||||
ForInStatement = 179,
|
||||
ForOfStatement = 180,
|
||||
ContinueStatement = 181,
|
||||
BreakStatement = 182,
|
||||
ReturnStatement = 183,
|
||||
WithStatement = 184,
|
||||
SwitchStatement = 185,
|
||||
LabeledStatement = 186,
|
||||
ThrowStatement = 187,
|
||||
TryStatement = 188,
|
||||
DebuggerStatement = 189,
|
||||
VariableDeclaration = 190,
|
||||
VariableDeclarationList = 191,
|
||||
FunctionDeclaration = 192,
|
||||
ClassDeclaration = 193,
|
||||
InterfaceDeclaration = 194,
|
||||
TypeAliasDeclaration = 195,
|
||||
EnumDeclaration = 196,
|
||||
ModuleDeclaration = 197,
|
||||
ModuleBlock = 198,
|
||||
ImportDeclaration = 199,
|
||||
ExportAssignment = 200,
|
||||
ExternalModuleReference = 201,
|
||||
CaseClause = 202,
|
||||
DefaultClause = 203,
|
||||
HeritageClause = 204,
|
||||
CatchClause = 205,
|
||||
PropertyAssignment = 206,
|
||||
ShorthandPropertyAssignment = 207,
|
||||
EnumMember = 208,
|
||||
SourceFile = 209,
|
||||
SyntaxList = 210,
|
||||
Count = 211,
|
||||
FirstAssignment = 52,
|
||||
LastAssignment = 63,
|
||||
FirstReservedWord = 65,
|
||||
LastReservedWord = 100,
|
||||
FirstKeyword = 65,
|
||||
LastKeyword = 120,
|
||||
LastKeyword = 121,
|
||||
FirstFutureReservedWord = 101,
|
||||
LastFutureReservedWord = 109,
|
||||
FirstTypeNode = 135,
|
||||
LastTypeNode = 143,
|
||||
FirstTypeNode = 136,
|
||||
LastTypeNode = 144,
|
||||
FirstPunctuation = 14,
|
||||
LastPunctuation = 63,
|
||||
FirstToken = 0,
|
||||
@ -323,7 +325,7 @@ declare module "typescript" {
|
||||
LastTemplateToken = 13,
|
||||
FirstBinaryOperator = 24,
|
||||
LastBinaryOperator = 63,
|
||||
FirstNode = 121,
|
||||
FirstNode = 122,
|
||||
}
|
||||
const enum NodeFlags {
|
||||
Export = 1,
|
||||
@ -654,6 +656,10 @@ declare module "typescript" {
|
||||
initializer: VariableDeclarationList | Expression;
|
||||
expression: Expression;
|
||||
}
|
||||
interface ForOfStatement extends IterationStatement {
|
||||
initializer: VariableDeclarationList | Expression;
|
||||
expression: Expression;
|
||||
}
|
||||
interface BreakOrContinueStatement extends Statement {
|
||||
label?: Identifier;
|
||||
}
|
||||
|
||||
@ -652,271 +652,277 @@ declare module "typescript" {
|
||||
TypeKeyword = 120,
|
||||
>TypeKeyword : SyntaxKind
|
||||
|
||||
QualifiedName = 121,
|
||||
OfKeyword = 121,
|
||||
>OfKeyword : SyntaxKind
|
||||
|
||||
QualifiedName = 122,
|
||||
>QualifiedName : SyntaxKind
|
||||
|
||||
ComputedPropertyName = 122,
|
||||
ComputedPropertyName = 123,
|
||||
>ComputedPropertyName : SyntaxKind
|
||||
|
||||
TypeParameter = 123,
|
||||
TypeParameter = 124,
|
||||
>TypeParameter : SyntaxKind
|
||||
|
||||
Parameter = 124,
|
||||
Parameter = 125,
|
||||
>Parameter : SyntaxKind
|
||||
|
||||
PropertySignature = 125,
|
||||
PropertySignature = 126,
|
||||
>PropertySignature : SyntaxKind
|
||||
|
||||
PropertyDeclaration = 126,
|
||||
PropertyDeclaration = 127,
|
||||
>PropertyDeclaration : SyntaxKind
|
||||
|
||||
MethodSignature = 127,
|
||||
MethodSignature = 128,
|
||||
>MethodSignature : SyntaxKind
|
||||
|
||||
MethodDeclaration = 128,
|
||||
MethodDeclaration = 129,
|
||||
>MethodDeclaration : SyntaxKind
|
||||
|
||||
Constructor = 129,
|
||||
Constructor = 130,
|
||||
>Constructor : SyntaxKind
|
||||
|
||||
GetAccessor = 130,
|
||||
GetAccessor = 131,
|
||||
>GetAccessor : SyntaxKind
|
||||
|
||||
SetAccessor = 131,
|
||||
SetAccessor = 132,
|
||||
>SetAccessor : SyntaxKind
|
||||
|
||||
CallSignature = 132,
|
||||
CallSignature = 133,
|
||||
>CallSignature : SyntaxKind
|
||||
|
||||
ConstructSignature = 133,
|
||||
ConstructSignature = 134,
|
||||
>ConstructSignature : SyntaxKind
|
||||
|
||||
IndexSignature = 134,
|
||||
IndexSignature = 135,
|
||||
>IndexSignature : SyntaxKind
|
||||
|
||||
TypeReference = 135,
|
||||
TypeReference = 136,
|
||||
>TypeReference : SyntaxKind
|
||||
|
||||
FunctionType = 136,
|
||||
FunctionType = 137,
|
||||
>FunctionType : SyntaxKind
|
||||
|
||||
ConstructorType = 137,
|
||||
ConstructorType = 138,
|
||||
>ConstructorType : SyntaxKind
|
||||
|
||||
TypeQuery = 138,
|
||||
TypeQuery = 139,
|
||||
>TypeQuery : SyntaxKind
|
||||
|
||||
TypeLiteral = 139,
|
||||
TypeLiteral = 140,
|
||||
>TypeLiteral : SyntaxKind
|
||||
|
||||
ArrayType = 140,
|
||||
ArrayType = 141,
|
||||
>ArrayType : SyntaxKind
|
||||
|
||||
TupleType = 141,
|
||||
TupleType = 142,
|
||||
>TupleType : SyntaxKind
|
||||
|
||||
UnionType = 142,
|
||||
UnionType = 143,
|
||||
>UnionType : SyntaxKind
|
||||
|
||||
ParenthesizedType = 143,
|
||||
ParenthesizedType = 144,
|
||||
>ParenthesizedType : SyntaxKind
|
||||
|
||||
ObjectBindingPattern = 144,
|
||||
ObjectBindingPattern = 145,
|
||||
>ObjectBindingPattern : SyntaxKind
|
||||
|
||||
ArrayBindingPattern = 145,
|
||||
ArrayBindingPattern = 146,
|
||||
>ArrayBindingPattern : SyntaxKind
|
||||
|
||||
BindingElement = 146,
|
||||
BindingElement = 147,
|
||||
>BindingElement : SyntaxKind
|
||||
|
||||
ArrayLiteralExpression = 147,
|
||||
ArrayLiteralExpression = 148,
|
||||
>ArrayLiteralExpression : SyntaxKind
|
||||
|
||||
ObjectLiteralExpression = 148,
|
||||
ObjectLiteralExpression = 149,
|
||||
>ObjectLiteralExpression : SyntaxKind
|
||||
|
||||
PropertyAccessExpression = 149,
|
||||
PropertyAccessExpression = 150,
|
||||
>PropertyAccessExpression : SyntaxKind
|
||||
|
||||
ElementAccessExpression = 150,
|
||||
ElementAccessExpression = 151,
|
||||
>ElementAccessExpression : SyntaxKind
|
||||
|
||||
CallExpression = 151,
|
||||
CallExpression = 152,
|
||||
>CallExpression : SyntaxKind
|
||||
|
||||
NewExpression = 152,
|
||||
NewExpression = 153,
|
||||
>NewExpression : SyntaxKind
|
||||
|
||||
TaggedTemplateExpression = 153,
|
||||
TaggedTemplateExpression = 154,
|
||||
>TaggedTemplateExpression : SyntaxKind
|
||||
|
||||
TypeAssertionExpression = 154,
|
||||
TypeAssertionExpression = 155,
|
||||
>TypeAssertionExpression : SyntaxKind
|
||||
|
||||
ParenthesizedExpression = 155,
|
||||
ParenthesizedExpression = 156,
|
||||
>ParenthesizedExpression : SyntaxKind
|
||||
|
||||
FunctionExpression = 156,
|
||||
FunctionExpression = 157,
|
||||
>FunctionExpression : SyntaxKind
|
||||
|
||||
ArrowFunction = 157,
|
||||
ArrowFunction = 158,
|
||||
>ArrowFunction : SyntaxKind
|
||||
|
||||
DeleteExpression = 158,
|
||||
DeleteExpression = 159,
|
||||
>DeleteExpression : SyntaxKind
|
||||
|
||||
TypeOfExpression = 159,
|
||||
TypeOfExpression = 160,
|
||||
>TypeOfExpression : SyntaxKind
|
||||
|
||||
VoidExpression = 160,
|
||||
VoidExpression = 161,
|
||||
>VoidExpression : SyntaxKind
|
||||
|
||||
PrefixUnaryExpression = 161,
|
||||
PrefixUnaryExpression = 162,
|
||||
>PrefixUnaryExpression : SyntaxKind
|
||||
|
||||
PostfixUnaryExpression = 162,
|
||||
PostfixUnaryExpression = 163,
|
||||
>PostfixUnaryExpression : SyntaxKind
|
||||
|
||||
BinaryExpression = 163,
|
||||
BinaryExpression = 164,
|
||||
>BinaryExpression : SyntaxKind
|
||||
|
||||
ConditionalExpression = 164,
|
||||
ConditionalExpression = 165,
|
||||
>ConditionalExpression : SyntaxKind
|
||||
|
||||
TemplateExpression = 165,
|
||||
TemplateExpression = 166,
|
||||
>TemplateExpression : SyntaxKind
|
||||
|
||||
YieldExpression = 166,
|
||||
YieldExpression = 167,
|
||||
>YieldExpression : SyntaxKind
|
||||
|
||||
SpreadElementExpression = 167,
|
||||
SpreadElementExpression = 168,
|
||||
>SpreadElementExpression : SyntaxKind
|
||||
|
||||
OmittedExpression = 168,
|
||||
OmittedExpression = 169,
|
||||
>OmittedExpression : SyntaxKind
|
||||
|
||||
TemplateSpan = 169,
|
||||
TemplateSpan = 170,
|
||||
>TemplateSpan : SyntaxKind
|
||||
|
||||
Block = 170,
|
||||
Block = 171,
|
||||
>Block : SyntaxKind
|
||||
|
||||
VariableStatement = 171,
|
||||
VariableStatement = 172,
|
||||
>VariableStatement : SyntaxKind
|
||||
|
||||
EmptyStatement = 172,
|
||||
EmptyStatement = 173,
|
||||
>EmptyStatement : SyntaxKind
|
||||
|
||||
ExpressionStatement = 173,
|
||||
ExpressionStatement = 174,
|
||||
>ExpressionStatement : SyntaxKind
|
||||
|
||||
IfStatement = 174,
|
||||
IfStatement = 175,
|
||||
>IfStatement : SyntaxKind
|
||||
|
||||
DoStatement = 175,
|
||||
DoStatement = 176,
|
||||
>DoStatement : SyntaxKind
|
||||
|
||||
WhileStatement = 176,
|
||||
WhileStatement = 177,
|
||||
>WhileStatement : SyntaxKind
|
||||
|
||||
ForStatement = 177,
|
||||
ForStatement = 178,
|
||||
>ForStatement : SyntaxKind
|
||||
|
||||
ForInStatement = 178,
|
||||
ForInStatement = 179,
|
||||
>ForInStatement : SyntaxKind
|
||||
|
||||
ContinueStatement = 179,
|
||||
ForOfStatement = 180,
|
||||
>ForOfStatement : SyntaxKind
|
||||
|
||||
ContinueStatement = 181,
|
||||
>ContinueStatement : SyntaxKind
|
||||
|
||||
BreakStatement = 180,
|
||||
BreakStatement = 182,
|
||||
>BreakStatement : SyntaxKind
|
||||
|
||||
ReturnStatement = 181,
|
||||
ReturnStatement = 183,
|
||||
>ReturnStatement : SyntaxKind
|
||||
|
||||
WithStatement = 182,
|
||||
WithStatement = 184,
|
||||
>WithStatement : SyntaxKind
|
||||
|
||||
SwitchStatement = 183,
|
||||
SwitchStatement = 185,
|
||||
>SwitchStatement : SyntaxKind
|
||||
|
||||
LabeledStatement = 184,
|
||||
LabeledStatement = 186,
|
||||
>LabeledStatement : SyntaxKind
|
||||
|
||||
ThrowStatement = 185,
|
||||
ThrowStatement = 187,
|
||||
>ThrowStatement : SyntaxKind
|
||||
|
||||
TryStatement = 186,
|
||||
TryStatement = 188,
|
||||
>TryStatement : SyntaxKind
|
||||
|
||||
DebuggerStatement = 187,
|
||||
DebuggerStatement = 189,
|
||||
>DebuggerStatement : SyntaxKind
|
||||
|
||||
VariableDeclaration = 188,
|
||||
VariableDeclaration = 190,
|
||||
>VariableDeclaration : SyntaxKind
|
||||
|
||||
VariableDeclarationList = 189,
|
||||
VariableDeclarationList = 191,
|
||||
>VariableDeclarationList : SyntaxKind
|
||||
|
||||
FunctionDeclaration = 190,
|
||||
FunctionDeclaration = 192,
|
||||
>FunctionDeclaration : SyntaxKind
|
||||
|
||||
ClassDeclaration = 191,
|
||||
ClassDeclaration = 193,
|
||||
>ClassDeclaration : SyntaxKind
|
||||
|
||||
InterfaceDeclaration = 192,
|
||||
InterfaceDeclaration = 194,
|
||||
>InterfaceDeclaration : SyntaxKind
|
||||
|
||||
TypeAliasDeclaration = 193,
|
||||
TypeAliasDeclaration = 195,
|
||||
>TypeAliasDeclaration : SyntaxKind
|
||||
|
||||
EnumDeclaration = 194,
|
||||
EnumDeclaration = 196,
|
||||
>EnumDeclaration : SyntaxKind
|
||||
|
||||
ModuleDeclaration = 195,
|
||||
ModuleDeclaration = 197,
|
||||
>ModuleDeclaration : SyntaxKind
|
||||
|
||||
ModuleBlock = 196,
|
||||
ModuleBlock = 198,
|
||||
>ModuleBlock : SyntaxKind
|
||||
|
||||
ImportDeclaration = 197,
|
||||
ImportDeclaration = 199,
|
||||
>ImportDeclaration : SyntaxKind
|
||||
|
||||
ExportAssignment = 198,
|
||||
ExportAssignment = 200,
|
||||
>ExportAssignment : SyntaxKind
|
||||
|
||||
ExternalModuleReference = 199,
|
||||
ExternalModuleReference = 201,
|
||||
>ExternalModuleReference : SyntaxKind
|
||||
|
||||
CaseClause = 200,
|
||||
CaseClause = 202,
|
||||
>CaseClause : SyntaxKind
|
||||
|
||||
DefaultClause = 201,
|
||||
DefaultClause = 203,
|
||||
>DefaultClause : SyntaxKind
|
||||
|
||||
HeritageClause = 202,
|
||||
HeritageClause = 204,
|
||||
>HeritageClause : SyntaxKind
|
||||
|
||||
CatchClause = 203,
|
||||
CatchClause = 205,
|
||||
>CatchClause : SyntaxKind
|
||||
|
||||
PropertyAssignment = 204,
|
||||
PropertyAssignment = 206,
|
||||
>PropertyAssignment : SyntaxKind
|
||||
|
||||
ShorthandPropertyAssignment = 205,
|
||||
ShorthandPropertyAssignment = 207,
|
||||
>ShorthandPropertyAssignment : SyntaxKind
|
||||
|
||||
EnumMember = 206,
|
||||
EnumMember = 208,
|
||||
>EnumMember : SyntaxKind
|
||||
|
||||
SourceFile = 207,
|
||||
SourceFile = 209,
|
||||
>SourceFile : SyntaxKind
|
||||
|
||||
SyntaxList = 208,
|
||||
SyntaxList = 210,
|
||||
>SyntaxList : SyntaxKind
|
||||
|
||||
Count = 209,
|
||||
Count = 211,
|
||||
>Count : SyntaxKind
|
||||
|
||||
FirstAssignment = 52,
|
||||
@ -934,7 +940,7 @@ declare module "typescript" {
|
||||
FirstKeyword = 65,
|
||||
>FirstKeyword : SyntaxKind
|
||||
|
||||
LastKeyword = 120,
|
||||
LastKeyword = 121,
|
||||
>LastKeyword : SyntaxKind
|
||||
|
||||
FirstFutureReservedWord = 101,
|
||||
@ -943,10 +949,10 @@ declare module "typescript" {
|
||||
LastFutureReservedWord = 109,
|
||||
>LastFutureReservedWord : SyntaxKind
|
||||
|
||||
FirstTypeNode = 135,
|
||||
FirstTypeNode = 136,
|
||||
>FirstTypeNode : SyntaxKind
|
||||
|
||||
LastTypeNode = 143,
|
||||
LastTypeNode = 144,
|
||||
>LastTypeNode : SyntaxKind
|
||||
|
||||
FirstPunctuation = 14,
|
||||
@ -985,7 +991,7 @@ declare module "typescript" {
|
||||
LastBinaryOperator = 63,
|
||||
>LastBinaryOperator : SyntaxKind
|
||||
|
||||
FirstNode = 121,
|
||||
FirstNode = 122,
|
||||
>FirstNode : SyntaxKind
|
||||
}
|
||||
const enum NodeFlags {
|
||||
@ -1966,6 +1972,19 @@ declare module "typescript" {
|
||||
|
||||
expression: Expression;
|
||||
>expression : Expression
|
||||
>Expression : Expression
|
||||
}
|
||||
interface ForOfStatement extends IterationStatement {
|
||||
>ForOfStatement : ForOfStatement
|
||||
>IterationStatement : IterationStatement
|
||||
|
||||
initializer: VariableDeclarationList | Expression;
|
||||
>initializer : Expression | VariableDeclarationList
|
||||
>VariableDeclarationList : VariableDeclarationList
|
||||
>Expression : Expression
|
||||
|
||||
expression: Expression;
|
||||
>expression : Expression
|
||||
>Expression : Expression
|
||||
}
|
||||
interface BreakOrContinueStatement extends Statement {
|
||||
|
||||
@ -249,105 +249,107 @@ declare module "typescript" {
|
||||
SetKeyword = 118,
|
||||
StringKeyword = 119,
|
||||
TypeKeyword = 120,
|
||||
QualifiedName = 121,
|
||||
ComputedPropertyName = 122,
|
||||
TypeParameter = 123,
|
||||
Parameter = 124,
|
||||
PropertySignature = 125,
|
||||
PropertyDeclaration = 126,
|
||||
MethodSignature = 127,
|
||||
MethodDeclaration = 128,
|
||||
Constructor = 129,
|
||||
GetAccessor = 130,
|
||||
SetAccessor = 131,
|
||||
CallSignature = 132,
|
||||
ConstructSignature = 133,
|
||||
IndexSignature = 134,
|
||||
TypeReference = 135,
|
||||
FunctionType = 136,
|
||||
ConstructorType = 137,
|
||||
TypeQuery = 138,
|
||||
TypeLiteral = 139,
|
||||
ArrayType = 140,
|
||||
TupleType = 141,
|
||||
UnionType = 142,
|
||||
ParenthesizedType = 143,
|
||||
ObjectBindingPattern = 144,
|
||||
ArrayBindingPattern = 145,
|
||||
BindingElement = 146,
|
||||
ArrayLiteralExpression = 147,
|
||||
ObjectLiteralExpression = 148,
|
||||
PropertyAccessExpression = 149,
|
||||
ElementAccessExpression = 150,
|
||||
CallExpression = 151,
|
||||
NewExpression = 152,
|
||||
TaggedTemplateExpression = 153,
|
||||
TypeAssertionExpression = 154,
|
||||
ParenthesizedExpression = 155,
|
||||
FunctionExpression = 156,
|
||||
ArrowFunction = 157,
|
||||
DeleteExpression = 158,
|
||||
TypeOfExpression = 159,
|
||||
VoidExpression = 160,
|
||||
PrefixUnaryExpression = 161,
|
||||
PostfixUnaryExpression = 162,
|
||||
BinaryExpression = 163,
|
||||
ConditionalExpression = 164,
|
||||
TemplateExpression = 165,
|
||||
YieldExpression = 166,
|
||||
SpreadElementExpression = 167,
|
||||
OmittedExpression = 168,
|
||||
TemplateSpan = 169,
|
||||
Block = 170,
|
||||
VariableStatement = 171,
|
||||
EmptyStatement = 172,
|
||||
ExpressionStatement = 173,
|
||||
IfStatement = 174,
|
||||
DoStatement = 175,
|
||||
WhileStatement = 176,
|
||||
ForStatement = 177,
|
||||
ForInStatement = 178,
|
||||
ContinueStatement = 179,
|
||||
BreakStatement = 180,
|
||||
ReturnStatement = 181,
|
||||
WithStatement = 182,
|
||||
SwitchStatement = 183,
|
||||
LabeledStatement = 184,
|
||||
ThrowStatement = 185,
|
||||
TryStatement = 186,
|
||||
DebuggerStatement = 187,
|
||||
VariableDeclaration = 188,
|
||||
VariableDeclarationList = 189,
|
||||
FunctionDeclaration = 190,
|
||||
ClassDeclaration = 191,
|
||||
InterfaceDeclaration = 192,
|
||||
TypeAliasDeclaration = 193,
|
||||
EnumDeclaration = 194,
|
||||
ModuleDeclaration = 195,
|
||||
ModuleBlock = 196,
|
||||
ImportDeclaration = 197,
|
||||
ExportAssignment = 198,
|
||||
ExternalModuleReference = 199,
|
||||
CaseClause = 200,
|
||||
DefaultClause = 201,
|
||||
HeritageClause = 202,
|
||||
CatchClause = 203,
|
||||
PropertyAssignment = 204,
|
||||
ShorthandPropertyAssignment = 205,
|
||||
EnumMember = 206,
|
||||
SourceFile = 207,
|
||||
SyntaxList = 208,
|
||||
Count = 209,
|
||||
OfKeyword = 121,
|
||||
QualifiedName = 122,
|
||||
ComputedPropertyName = 123,
|
||||
TypeParameter = 124,
|
||||
Parameter = 125,
|
||||
PropertySignature = 126,
|
||||
PropertyDeclaration = 127,
|
||||
MethodSignature = 128,
|
||||
MethodDeclaration = 129,
|
||||
Constructor = 130,
|
||||
GetAccessor = 131,
|
||||
SetAccessor = 132,
|
||||
CallSignature = 133,
|
||||
ConstructSignature = 134,
|
||||
IndexSignature = 135,
|
||||
TypeReference = 136,
|
||||
FunctionType = 137,
|
||||
ConstructorType = 138,
|
||||
TypeQuery = 139,
|
||||
TypeLiteral = 140,
|
||||
ArrayType = 141,
|
||||
TupleType = 142,
|
||||
UnionType = 143,
|
||||
ParenthesizedType = 144,
|
||||
ObjectBindingPattern = 145,
|
||||
ArrayBindingPattern = 146,
|
||||
BindingElement = 147,
|
||||
ArrayLiteralExpression = 148,
|
||||
ObjectLiteralExpression = 149,
|
||||
PropertyAccessExpression = 150,
|
||||
ElementAccessExpression = 151,
|
||||
CallExpression = 152,
|
||||
NewExpression = 153,
|
||||
TaggedTemplateExpression = 154,
|
||||
TypeAssertionExpression = 155,
|
||||
ParenthesizedExpression = 156,
|
||||
FunctionExpression = 157,
|
||||
ArrowFunction = 158,
|
||||
DeleteExpression = 159,
|
||||
TypeOfExpression = 160,
|
||||
VoidExpression = 161,
|
||||
PrefixUnaryExpression = 162,
|
||||
PostfixUnaryExpression = 163,
|
||||
BinaryExpression = 164,
|
||||
ConditionalExpression = 165,
|
||||
TemplateExpression = 166,
|
||||
YieldExpression = 167,
|
||||
SpreadElementExpression = 168,
|
||||
OmittedExpression = 169,
|
||||
TemplateSpan = 170,
|
||||
Block = 171,
|
||||
VariableStatement = 172,
|
||||
EmptyStatement = 173,
|
||||
ExpressionStatement = 174,
|
||||
IfStatement = 175,
|
||||
DoStatement = 176,
|
||||
WhileStatement = 177,
|
||||
ForStatement = 178,
|
||||
ForInStatement = 179,
|
||||
ForOfStatement = 180,
|
||||
ContinueStatement = 181,
|
||||
BreakStatement = 182,
|
||||
ReturnStatement = 183,
|
||||
WithStatement = 184,
|
||||
SwitchStatement = 185,
|
||||
LabeledStatement = 186,
|
||||
ThrowStatement = 187,
|
||||
TryStatement = 188,
|
||||
DebuggerStatement = 189,
|
||||
VariableDeclaration = 190,
|
||||
VariableDeclarationList = 191,
|
||||
FunctionDeclaration = 192,
|
||||
ClassDeclaration = 193,
|
||||
InterfaceDeclaration = 194,
|
||||
TypeAliasDeclaration = 195,
|
||||
EnumDeclaration = 196,
|
||||
ModuleDeclaration = 197,
|
||||
ModuleBlock = 198,
|
||||
ImportDeclaration = 199,
|
||||
ExportAssignment = 200,
|
||||
ExternalModuleReference = 201,
|
||||
CaseClause = 202,
|
||||
DefaultClause = 203,
|
||||
HeritageClause = 204,
|
||||
CatchClause = 205,
|
||||
PropertyAssignment = 206,
|
||||
ShorthandPropertyAssignment = 207,
|
||||
EnumMember = 208,
|
||||
SourceFile = 209,
|
||||
SyntaxList = 210,
|
||||
Count = 211,
|
||||
FirstAssignment = 52,
|
||||
LastAssignment = 63,
|
||||
FirstReservedWord = 65,
|
||||
LastReservedWord = 100,
|
||||
FirstKeyword = 65,
|
||||
LastKeyword = 120,
|
||||
LastKeyword = 121,
|
||||
FirstFutureReservedWord = 101,
|
||||
LastFutureReservedWord = 109,
|
||||
FirstTypeNode = 135,
|
||||
LastTypeNode = 143,
|
||||
FirstTypeNode = 136,
|
||||
LastTypeNode = 144,
|
||||
FirstPunctuation = 14,
|
||||
LastPunctuation = 63,
|
||||
FirstToken = 0,
|
||||
@ -360,7 +362,7 @@ declare module "typescript" {
|
||||
LastTemplateToken = 13,
|
||||
FirstBinaryOperator = 24,
|
||||
LastBinaryOperator = 63,
|
||||
FirstNode = 121,
|
||||
FirstNode = 122,
|
||||
}
|
||||
const enum NodeFlags {
|
||||
Export = 1,
|
||||
@ -691,6 +693,10 @@ declare module "typescript" {
|
||||
initializer: VariableDeclarationList | Expression;
|
||||
expression: Expression;
|
||||
}
|
||||
interface ForOfStatement extends IterationStatement {
|
||||
initializer: VariableDeclarationList | Expression;
|
||||
expression: Expression;
|
||||
}
|
||||
interface BreakOrContinueStatement extends Statement {
|
||||
label?: Identifier;
|
||||
}
|
||||
|
||||
@ -825,271 +825,277 @@ declare module "typescript" {
|
||||
TypeKeyword = 120,
|
||||
>TypeKeyword : SyntaxKind
|
||||
|
||||
QualifiedName = 121,
|
||||
OfKeyword = 121,
|
||||
>OfKeyword : SyntaxKind
|
||||
|
||||
QualifiedName = 122,
|
||||
>QualifiedName : SyntaxKind
|
||||
|
||||
ComputedPropertyName = 122,
|
||||
ComputedPropertyName = 123,
|
||||
>ComputedPropertyName : SyntaxKind
|
||||
|
||||
TypeParameter = 123,
|
||||
TypeParameter = 124,
|
||||
>TypeParameter : SyntaxKind
|
||||
|
||||
Parameter = 124,
|
||||
Parameter = 125,
|
||||
>Parameter : SyntaxKind
|
||||
|
||||
PropertySignature = 125,
|
||||
PropertySignature = 126,
|
||||
>PropertySignature : SyntaxKind
|
||||
|
||||
PropertyDeclaration = 126,
|
||||
PropertyDeclaration = 127,
|
||||
>PropertyDeclaration : SyntaxKind
|
||||
|
||||
MethodSignature = 127,
|
||||
MethodSignature = 128,
|
||||
>MethodSignature : SyntaxKind
|
||||
|
||||
MethodDeclaration = 128,
|
||||
MethodDeclaration = 129,
|
||||
>MethodDeclaration : SyntaxKind
|
||||
|
||||
Constructor = 129,
|
||||
Constructor = 130,
|
||||
>Constructor : SyntaxKind
|
||||
|
||||
GetAccessor = 130,
|
||||
GetAccessor = 131,
|
||||
>GetAccessor : SyntaxKind
|
||||
|
||||
SetAccessor = 131,
|
||||
SetAccessor = 132,
|
||||
>SetAccessor : SyntaxKind
|
||||
|
||||
CallSignature = 132,
|
||||
CallSignature = 133,
|
||||
>CallSignature : SyntaxKind
|
||||
|
||||
ConstructSignature = 133,
|
||||
ConstructSignature = 134,
|
||||
>ConstructSignature : SyntaxKind
|
||||
|
||||
IndexSignature = 134,
|
||||
IndexSignature = 135,
|
||||
>IndexSignature : SyntaxKind
|
||||
|
||||
TypeReference = 135,
|
||||
TypeReference = 136,
|
||||
>TypeReference : SyntaxKind
|
||||
|
||||
FunctionType = 136,
|
||||
FunctionType = 137,
|
||||
>FunctionType : SyntaxKind
|
||||
|
||||
ConstructorType = 137,
|
||||
ConstructorType = 138,
|
||||
>ConstructorType : SyntaxKind
|
||||
|
||||
TypeQuery = 138,
|
||||
TypeQuery = 139,
|
||||
>TypeQuery : SyntaxKind
|
||||
|
||||
TypeLiteral = 139,
|
||||
TypeLiteral = 140,
|
||||
>TypeLiteral : SyntaxKind
|
||||
|
||||
ArrayType = 140,
|
||||
ArrayType = 141,
|
||||
>ArrayType : SyntaxKind
|
||||
|
||||
TupleType = 141,
|
||||
TupleType = 142,
|
||||
>TupleType : SyntaxKind
|
||||
|
||||
UnionType = 142,
|
||||
UnionType = 143,
|
||||
>UnionType : SyntaxKind
|
||||
|
||||
ParenthesizedType = 143,
|
||||
ParenthesizedType = 144,
|
||||
>ParenthesizedType : SyntaxKind
|
||||
|
||||
ObjectBindingPattern = 144,
|
||||
ObjectBindingPattern = 145,
|
||||
>ObjectBindingPattern : SyntaxKind
|
||||
|
||||
ArrayBindingPattern = 145,
|
||||
ArrayBindingPattern = 146,
|
||||
>ArrayBindingPattern : SyntaxKind
|
||||
|
||||
BindingElement = 146,
|
||||
BindingElement = 147,
|
||||
>BindingElement : SyntaxKind
|
||||
|
||||
ArrayLiteralExpression = 147,
|
||||
ArrayLiteralExpression = 148,
|
||||
>ArrayLiteralExpression : SyntaxKind
|
||||
|
||||
ObjectLiteralExpression = 148,
|
||||
ObjectLiteralExpression = 149,
|
||||
>ObjectLiteralExpression : SyntaxKind
|
||||
|
||||
PropertyAccessExpression = 149,
|
||||
PropertyAccessExpression = 150,
|
||||
>PropertyAccessExpression : SyntaxKind
|
||||
|
||||
ElementAccessExpression = 150,
|
||||
ElementAccessExpression = 151,
|
||||
>ElementAccessExpression : SyntaxKind
|
||||
|
||||
CallExpression = 151,
|
||||
CallExpression = 152,
|
||||
>CallExpression : SyntaxKind
|
||||
|
||||
NewExpression = 152,
|
||||
NewExpression = 153,
|
||||
>NewExpression : SyntaxKind
|
||||
|
||||
TaggedTemplateExpression = 153,
|
||||
TaggedTemplateExpression = 154,
|
||||
>TaggedTemplateExpression : SyntaxKind
|
||||
|
||||
TypeAssertionExpression = 154,
|
||||
TypeAssertionExpression = 155,
|
||||
>TypeAssertionExpression : SyntaxKind
|
||||
|
||||
ParenthesizedExpression = 155,
|
||||
ParenthesizedExpression = 156,
|
||||
>ParenthesizedExpression : SyntaxKind
|
||||
|
||||
FunctionExpression = 156,
|
||||
FunctionExpression = 157,
|
||||
>FunctionExpression : SyntaxKind
|
||||
|
||||
ArrowFunction = 157,
|
||||
ArrowFunction = 158,
|
||||
>ArrowFunction : SyntaxKind
|
||||
|
||||
DeleteExpression = 158,
|
||||
DeleteExpression = 159,
|
||||
>DeleteExpression : SyntaxKind
|
||||
|
||||
TypeOfExpression = 159,
|
||||
TypeOfExpression = 160,
|
||||
>TypeOfExpression : SyntaxKind
|
||||
|
||||
VoidExpression = 160,
|
||||
VoidExpression = 161,
|
||||
>VoidExpression : SyntaxKind
|
||||
|
||||
PrefixUnaryExpression = 161,
|
||||
PrefixUnaryExpression = 162,
|
||||
>PrefixUnaryExpression : SyntaxKind
|
||||
|
||||
PostfixUnaryExpression = 162,
|
||||
PostfixUnaryExpression = 163,
|
||||
>PostfixUnaryExpression : SyntaxKind
|
||||
|
||||
BinaryExpression = 163,
|
||||
BinaryExpression = 164,
|
||||
>BinaryExpression : SyntaxKind
|
||||
|
||||
ConditionalExpression = 164,
|
||||
ConditionalExpression = 165,
|
||||
>ConditionalExpression : SyntaxKind
|
||||
|
||||
TemplateExpression = 165,
|
||||
TemplateExpression = 166,
|
||||
>TemplateExpression : SyntaxKind
|
||||
|
||||
YieldExpression = 166,
|
||||
YieldExpression = 167,
|
||||
>YieldExpression : SyntaxKind
|
||||
|
||||
SpreadElementExpression = 167,
|
||||
SpreadElementExpression = 168,
|
||||
>SpreadElementExpression : SyntaxKind
|
||||
|
||||
OmittedExpression = 168,
|
||||
OmittedExpression = 169,
|
||||
>OmittedExpression : SyntaxKind
|
||||
|
||||
TemplateSpan = 169,
|
||||
TemplateSpan = 170,
|
||||
>TemplateSpan : SyntaxKind
|
||||
|
||||
Block = 170,
|
||||
Block = 171,
|
||||
>Block : SyntaxKind
|
||||
|
||||
VariableStatement = 171,
|
||||
VariableStatement = 172,
|
||||
>VariableStatement : SyntaxKind
|
||||
|
||||
EmptyStatement = 172,
|
||||
EmptyStatement = 173,
|
||||
>EmptyStatement : SyntaxKind
|
||||
|
||||
ExpressionStatement = 173,
|
||||
ExpressionStatement = 174,
|
||||
>ExpressionStatement : SyntaxKind
|
||||
|
||||
IfStatement = 174,
|
||||
IfStatement = 175,
|
||||
>IfStatement : SyntaxKind
|
||||
|
||||
DoStatement = 175,
|
||||
DoStatement = 176,
|
||||
>DoStatement : SyntaxKind
|
||||
|
||||
WhileStatement = 176,
|
||||
WhileStatement = 177,
|
||||
>WhileStatement : SyntaxKind
|
||||
|
||||
ForStatement = 177,
|
||||
ForStatement = 178,
|
||||
>ForStatement : SyntaxKind
|
||||
|
||||
ForInStatement = 178,
|
||||
ForInStatement = 179,
|
||||
>ForInStatement : SyntaxKind
|
||||
|
||||
ContinueStatement = 179,
|
||||
ForOfStatement = 180,
|
||||
>ForOfStatement : SyntaxKind
|
||||
|
||||
ContinueStatement = 181,
|
||||
>ContinueStatement : SyntaxKind
|
||||
|
||||
BreakStatement = 180,
|
||||
BreakStatement = 182,
|
||||
>BreakStatement : SyntaxKind
|
||||
|
||||
ReturnStatement = 181,
|
||||
ReturnStatement = 183,
|
||||
>ReturnStatement : SyntaxKind
|
||||
|
||||
WithStatement = 182,
|
||||
WithStatement = 184,
|
||||
>WithStatement : SyntaxKind
|
||||
|
||||
SwitchStatement = 183,
|
||||
SwitchStatement = 185,
|
||||
>SwitchStatement : SyntaxKind
|
||||
|
||||
LabeledStatement = 184,
|
||||
LabeledStatement = 186,
|
||||
>LabeledStatement : SyntaxKind
|
||||
|
||||
ThrowStatement = 185,
|
||||
ThrowStatement = 187,
|
||||
>ThrowStatement : SyntaxKind
|
||||
|
||||
TryStatement = 186,
|
||||
TryStatement = 188,
|
||||
>TryStatement : SyntaxKind
|
||||
|
||||
DebuggerStatement = 187,
|
||||
DebuggerStatement = 189,
|
||||
>DebuggerStatement : SyntaxKind
|
||||
|
||||
VariableDeclaration = 188,
|
||||
VariableDeclaration = 190,
|
||||
>VariableDeclaration : SyntaxKind
|
||||
|
||||
VariableDeclarationList = 189,
|
||||
VariableDeclarationList = 191,
|
||||
>VariableDeclarationList : SyntaxKind
|
||||
|
||||
FunctionDeclaration = 190,
|
||||
FunctionDeclaration = 192,
|
||||
>FunctionDeclaration : SyntaxKind
|
||||
|
||||
ClassDeclaration = 191,
|
||||
ClassDeclaration = 193,
|
||||
>ClassDeclaration : SyntaxKind
|
||||
|
||||
InterfaceDeclaration = 192,
|
||||
InterfaceDeclaration = 194,
|
||||
>InterfaceDeclaration : SyntaxKind
|
||||
|
||||
TypeAliasDeclaration = 193,
|
||||
TypeAliasDeclaration = 195,
|
||||
>TypeAliasDeclaration : SyntaxKind
|
||||
|
||||
EnumDeclaration = 194,
|
||||
EnumDeclaration = 196,
|
||||
>EnumDeclaration : SyntaxKind
|
||||
|
||||
ModuleDeclaration = 195,
|
||||
ModuleDeclaration = 197,
|
||||
>ModuleDeclaration : SyntaxKind
|
||||
|
||||
ModuleBlock = 196,
|
||||
ModuleBlock = 198,
|
||||
>ModuleBlock : SyntaxKind
|
||||
|
||||
ImportDeclaration = 197,
|
||||
ImportDeclaration = 199,
|
||||
>ImportDeclaration : SyntaxKind
|
||||
|
||||
ExportAssignment = 198,
|
||||
ExportAssignment = 200,
|
||||
>ExportAssignment : SyntaxKind
|
||||
|
||||
ExternalModuleReference = 199,
|
||||
ExternalModuleReference = 201,
|
||||
>ExternalModuleReference : SyntaxKind
|
||||
|
||||
CaseClause = 200,
|
||||
CaseClause = 202,
|
||||
>CaseClause : SyntaxKind
|
||||
|
||||
DefaultClause = 201,
|
||||
DefaultClause = 203,
|
||||
>DefaultClause : SyntaxKind
|
||||
|
||||
HeritageClause = 202,
|
||||
HeritageClause = 204,
|
||||
>HeritageClause : SyntaxKind
|
||||
|
||||
CatchClause = 203,
|
||||
CatchClause = 205,
|
||||
>CatchClause : SyntaxKind
|
||||
|
||||
PropertyAssignment = 204,
|
||||
PropertyAssignment = 206,
|
||||
>PropertyAssignment : SyntaxKind
|
||||
|
||||
ShorthandPropertyAssignment = 205,
|
||||
ShorthandPropertyAssignment = 207,
|
||||
>ShorthandPropertyAssignment : SyntaxKind
|
||||
|
||||
EnumMember = 206,
|
||||
EnumMember = 208,
|
||||
>EnumMember : SyntaxKind
|
||||
|
||||
SourceFile = 207,
|
||||
SourceFile = 209,
|
||||
>SourceFile : SyntaxKind
|
||||
|
||||
SyntaxList = 208,
|
||||
SyntaxList = 210,
|
||||
>SyntaxList : SyntaxKind
|
||||
|
||||
Count = 209,
|
||||
Count = 211,
|
||||
>Count : SyntaxKind
|
||||
|
||||
FirstAssignment = 52,
|
||||
@ -1107,7 +1113,7 @@ declare module "typescript" {
|
||||
FirstKeyword = 65,
|
||||
>FirstKeyword : SyntaxKind
|
||||
|
||||
LastKeyword = 120,
|
||||
LastKeyword = 121,
|
||||
>LastKeyword : SyntaxKind
|
||||
|
||||
FirstFutureReservedWord = 101,
|
||||
@ -1116,10 +1122,10 @@ declare module "typescript" {
|
||||
LastFutureReservedWord = 109,
|
||||
>LastFutureReservedWord : SyntaxKind
|
||||
|
||||
FirstTypeNode = 135,
|
||||
FirstTypeNode = 136,
|
||||
>FirstTypeNode : SyntaxKind
|
||||
|
||||
LastTypeNode = 143,
|
||||
LastTypeNode = 144,
|
||||
>LastTypeNode : SyntaxKind
|
||||
|
||||
FirstPunctuation = 14,
|
||||
@ -1158,7 +1164,7 @@ declare module "typescript" {
|
||||
LastBinaryOperator = 63,
|
||||
>LastBinaryOperator : SyntaxKind
|
||||
|
||||
FirstNode = 121,
|
||||
FirstNode = 122,
|
||||
>FirstNode : SyntaxKind
|
||||
}
|
||||
const enum NodeFlags {
|
||||
@ -2139,6 +2145,19 @@ declare module "typescript" {
|
||||
|
||||
expression: Expression;
|
||||
>expression : Expression
|
||||
>Expression : Expression
|
||||
}
|
||||
interface ForOfStatement extends IterationStatement {
|
||||
>ForOfStatement : ForOfStatement
|
||||
>IterationStatement : IterationStatement
|
||||
|
||||
initializer: VariableDeclarationList | Expression;
|
||||
>initializer : Expression | VariableDeclarationList
|
||||
>VariableDeclarationList : VariableDeclarationList
|
||||
>Expression : Expression
|
||||
|
||||
expression: Expression;
|
||||
>expression : Expression
|
||||
>Expression : Expression
|
||||
}
|
||||
interface BreakOrContinueStatement extends Statement {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user