|
|
|
|
@ -1,30 +1,30 @@
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(4,1): error TS6053: File 'tests/cases/conformance/parser/ecmascript5/typescript.ts' not found.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(24,33): error TS2305: Module 'TypeScript' has no exported member 'AST'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(38,34): error TS2305: Module 'TypeScript' has no exported member 'AST'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(48,37): error TS2305: Module 'TypeScript' has no exported member 'AST'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(68,39): error TS2305: Module 'TypeScript' has no exported member 'NodeType'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(24,33): error TS2693: Module or namespace 'TypeScript' has no exported member 'AST'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(38,34): error TS2693: Module or namespace 'TypeScript' has no exported member 'AST'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(48,37): error TS2693: Module or namespace 'TypeScript' has no exported member 'AST'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(68,39): error TS2693: Module or namespace 'TypeScript' has no exported member 'NodeType'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(70,35): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(75,32): error TS2305: Module 'TypeScript' has no exported member 'AST'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(79,32): error TS2305: Module 'TypeScript' has no exported member 'AST'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(86,47): error TS2305: Module 'TypeScript' has no exported member 'AST'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(75,32): error TS2693: Module or namespace 'TypeScript' has no exported member 'AST'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(79,32): error TS2693: Module or namespace 'TypeScript' has no exported member 'AST'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(86,47): error TS2693: Module or namespace 'TypeScript' has no exported member 'AST'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(94,56): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(95,56): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(96,31): error TS2305: Module 'TypeScript' has no exported member 'InterfaceDeclaration'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(96,31): error TS2693: Module or namespace 'TypeScript' has no exported member 'InterfaceDeclaration'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(103,56): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(104,56): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(105,31): error TS2305: Module 'TypeScript' has no exported member 'InterfaceDeclaration'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(105,31): error TS2693: Module or namespace 'TypeScript' has no exported member 'InterfaceDeclaration'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(112,56): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(113,56): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(114,31): error TS2305: Module 'TypeScript' has no exported member 'ArgDecl'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(114,31): error TS2693: Module or namespace 'TypeScript' has no exported member 'ArgDecl'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(121,56): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(122,56): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(123,31): error TS2305: Module 'TypeScript' has no exported member 'VarDecl'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(123,31): error TS2693: Module or namespace 'TypeScript' has no exported member 'VarDecl'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(130,56): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(131,56): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(132,31): error TS2305: Module 'TypeScript' has no exported member 'ModuleDeclaration'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(132,31): error TS2693: Module or namespace 'TypeScript' has no exported member 'ModuleDeclaration'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(139,56): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(140,56): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(141,31): error TS2305: Module 'TypeScript' has no exported member 'FuncDecl'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(141,31): error TS2693: Module or namespace 'TypeScript' has no exported member 'FuncDecl'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(148,65): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(149,65): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(156,65): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
@ -35,128 +35,128 @@ tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(172,65): error
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(173,65): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(174,65): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(175,65): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(176,31): error TS2305: Module 'TypeScript' has no exported member 'FuncDecl'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(177,31): error TS2305: Module 'TypeScript' has no exported member 'FuncDecl'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(178,31): error TS2305: Module 'TypeScript' has no exported member 'ClassDeclaration'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(176,31): error TS2693: Module or namespace 'TypeScript' has no exported member 'FuncDecl'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(177,31): error TS2693: Module or namespace 'TypeScript' has no exported member 'FuncDecl'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(178,31): error TS2693: Module or namespace 'TypeScript' has no exported member 'ClassDeclaration'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(185,65): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(186,65): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(191,61): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(192,28): error TS2339: Property 'hasFlag' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(192,49): error TS2305: Module 'TypeScript' has no exported member 'ModuleDeclaration'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(192,49): error TS2693: Module or namespace 'TypeScript' has no exported member 'ModuleDeclaration'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(192,109): error TS2339: Property 'ModuleFlags' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(197,65): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(198,65): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(199,31): error TS2305: Module 'TypeScript' has no exported member 'ModuleDeclaration'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(199,31): error TS2693: Module or namespace 'TypeScript' has no exported member 'ModuleDeclaration'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(200,28): error TS2339: Property 'hasFlag' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(200,49): error TS2305: Module 'TypeScript' has no exported member 'ModuleDeclaration'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(200,49): error TS2693: Module or namespace 'TypeScript' has no exported member 'ModuleDeclaration'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(200,113): error TS2339: Property 'ModuleFlags' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(205,65): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(206,31): error TS2305: Module 'TypeScript' has no exported member 'Script'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(206,31): error TS2693: Module or namespace 'TypeScript' has no exported member 'Script'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(211,65): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(212,31): error TS2305: Module 'TypeScript' has no exported member 'SwitchStatement'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(212,31): error TS2693: Module or namespace 'TypeScript' has no exported member 'SwitchStatement'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(217,65): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(218,31): error TS2305: Module 'TypeScript' has no exported member 'ModuleDeclaration'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(218,31): error TS2693: Module or namespace 'TypeScript' has no exported member 'ModuleDeclaration'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(223,65): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(224,31): error TS2305: Module 'TypeScript' has no exported member 'ClassDeclaration'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(224,31): error TS2693: Module or namespace 'TypeScript' has no exported member 'ClassDeclaration'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(229,65): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(230,31): error TS2305: Module 'TypeScript' has no exported member 'FuncDecl'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(230,31): error TS2693: Module or namespace 'TypeScript' has no exported member 'FuncDecl'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(235,65): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(236,31): error TS2305: Module 'TypeScript' has no exported member 'InterfaceDeclaration'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(236,31): error TS2693: Module or namespace 'TypeScript' has no exported member 'InterfaceDeclaration'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(241,65): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(242,30): error TS2305: Module 'TypeScript' has no exported member 'Block'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(242,30): error TS2693: Module or namespace 'TypeScript' has no exported member 'Block'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(247,65): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(248,30): error TS2305: Module 'TypeScript' has no exported member 'ForStatement'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(248,30): error TS2693: Module or namespace 'TypeScript' has no exported member 'ForStatement'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(253,65): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(254,30): error TS2305: Module 'TypeScript' has no exported member 'CaseStatement'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(254,30): error TS2693: Module or namespace 'TypeScript' has no exported member 'CaseStatement'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(259,65): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(260,30): error TS2305: Module 'TypeScript' has no exported member 'Try'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(260,30): error TS2693: Module or namespace 'TypeScript' has no exported member 'Try'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(265,65): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(266,30): error TS2305: Module 'TypeScript' has no exported member 'Catch'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(266,30): error TS2693: Module or namespace 'TypeScript' has no exported member 'Catch'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(271,65): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(272,30): error TS2305: Module 'TypeScript' has no exported member 'DoWhileStatement'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(272,30): error TS2693: Module or namespace 'TypeScript' has no exported member 'DoWhileStatement'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(277,65): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(278,30): error TS2305: Module 'TypeScript' has no exported member 'WhileStatement'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(278,30): error TS2693: Module or namespace 'TypeScript' has no exported member 'WhileStatement'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(283,65): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(284,30): error TS2305: Module 'TypeScript' has no exported member 'ForInStatement'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(284,30): error TS2693: Module or namespace 'TypeScript' has no exported member 'ForInStatement'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(289,65): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(290,30): error TS2305: Module 'TypeScript' has no exported member 'WithStatement'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(290,30): error TS2693: Module or namespace 'TypeScript' has no exported member 'WithStatement'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(295,65): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(296,30): error TS2305: Module 'TypeScript' has no exported member 'Finally'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(296,30): error TS2693: Module or namespace 'TypeScript' has no exported member 'Finally'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(301,65): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(302,65): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(303,30): error TS2305: Module 'TypeScript' has no exported member 'SwitchStatement'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(303,30): error TS2693: Module or namespace 'TypeScript' has no exported member 'SwitchStatement'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(308,65): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(309,65): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(310,30): error TS2305: Module 'TypeScript' has no exported member 'SwitchStatement'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(311,30): error TS2305: Module 'TypeScript' has no exported member 'SwitchStatement'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(310,30): error TS2693: Module or namespace 'TypeScript' has no exported member 'SwitchStatement'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(311,30): error TS2693: Module or namespace 'TypeScript' has no exported member 'SwitchStatement'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(316,65): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(317,65): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(318,30): error TS2305: Module 'TypeScript' has no exported member 'UnaryExpression'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(318,30): error TS2693: Module or namespace 'TypeScript' has no exported member 'UnaryExpression'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(327,65): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(328,65): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(329,30): error TS2305: Module 'TypeScript' has no exported member 'UnaryExpression'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(330,30): error TS2305: Module 'TypeScript' has no exported member 'ASTList'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(329,30): error TS2693: Module or namespace 'TypeScript' has no exported member 'UnaryExpression'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(330,30): error TS2693: Module or namespace 'TypeScript' has no exported member 'ASTList'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(335,65): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(336,65): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(337,65): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(338,30): error TS2305: Module 'TypeScript' has no exported member 'UnaryExpression'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(338,30): error TS2693: Module or namespace 'TypeScript' has no exported member 'UnaryExpression'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(343,65): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(344,65): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(345,65): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(346,65): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(347,30): error TS2305: Module 'TypeScript' has no exported member 'UnaryExpression'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(347,30): error TS2693: Module or namespace 'TypeScript' has no exported member 'UnaryExpression'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(352,65): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(353,65): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(354,30): error TS2305: Module 'TypeScript' has no exported member 'UnaryExpression'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(354,30): error TS2693: Module or namespace 'TypeScript' has no exported member 'UnaryExpression'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(359,65): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(360,30): error TS2305: Module 'TypeScript' has no exported member 'BinaryExpression'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(360,30): error TS2693: Module or namespace 'TypeScript' has no exported member 'BinaryExpression'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(365,65): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(366,30): error TS2305: Module 'TypeScript' has no exported member 'BinaryExpression'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(366,30): error TS2693: Module or namespace 'TypeScript' has no exported member 'BinaryExpression'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(371,65): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(377,65): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(378,30): error TS2305: Module 'TypeScript' has no exported member 'IfStatement'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(378,30): error TS2693: Module or namespace 'TypeScript' has no exported member 'IfStatement'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(383,65): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(384,30): error TS2305: Module 'TypeScript' has no exported member 'IfStatement'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(384,30): error TS2693: Module or namespace 'TypeScript' has no exported member 'IfStatement'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(393,61): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(394,30): error TS2305: Module 'TypeScript' has no exported member 'ASTList'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(394,30): error TS2693: Module or namespace 'TypeScript' has no exported member 'ASTList'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(399,65): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(400,65): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(401,30): error TS2305: Module 'TypeScript' has no exported member 'FuncDecl'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(401,30): error TS2693: Module or namespace 'TypeScript' has no exported member 'FuncDecl'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(406,65): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(407,65): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(408,30): error TS2305: Module 'TypeScript' has no exported member 'FuncDecl'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(408,30): error TS2693: Module or namespace 'TypeScript' has no exported member 'FuncDecl'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(413,65): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(414,65): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(415,30): error TS2305: Module 'TypeScript' has no exported member 'CallExpression'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(415,30): error TS2693: Module or namespace 'TypeScript' has no exported member 'CallExpression'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(420,65): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(421,65): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(422,30): error TS2305: Module 'TypeScript' has no exported member 'CallExpression'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(422,30): error TS2693: Module or namespace 'TypeScript' has no exported member 'CallExpression'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(427,65): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(428,30): error TS2305: Module 'TypeScript' has no exported member 'Block'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(432,52): error TS2305: Module 'TypeScript' has no exported member 'ASTSpan'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(462,61): error TS2305: Module 'TypeScript' has no exported member 'AST'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(463,52): error TS2305: Module 'TypeScript' has no exported member 'Comment'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(478,45): error TS2305: Module 'TypeScript' has no exported member 'AST'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(478,69): error TS2305: Module 'TypeScript' has no exported member 'AST'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(428,30): error TS2693: Module or namespace 'TypeScript' has no exported member 'Block'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(432,52): error TS2693: Module or namespace 'TypeScript' has no exported member 'ASTSpan'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(462,61): error TS2693: Module or namespace 'TypeScript' has no exported member 'AST'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(463,52): error TS2693: Module or namespace 'TypeScript' has no exported member 'Comment'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(478,45): error TS2693: Module or namespace 'TypeScript' has no exported member 'AST'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(478,69): error TS2693: Module or namespace 'TypeScript' has no exported member 'AST'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(478,82): error TS2304: Cannot find name 'IAstWalker'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(489,21): error TS2304: Cannot find name 'hasFlag'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(490,49): error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(516,22): error TS2304: Cannot find name 'hasFlag'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(525,20): error TS2339: Property 'getAstWalkerFactory' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(533,62): error TS2305: Module 'TypeScript' has no exported member 'Script'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(535,36): error TS2305: Module 'TypeScript' has no exported member 'AST'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(535,60): error TS2305: Module 'TypeScript' has no exported member 'AST'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(535,84): error TS2305: Module 'TypeScript' has no exported member 'IAstWalker'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(535,108): error TS2305: Module 'TypeScript' has no exported member 'AST'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(533,62): error TS2693: Module or namespace 'TypeScript' has no exported member 'Script'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(535,36): error TS2693: Module or namespace 'TypeScript' has no exported member 'AST'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(535,60): error TS2693: Module or namespace 'TypeScript' has no exported member 'AST'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(535,84): error TS2693: Module or namespace 'TypeScript' has no exported member 'IAstWalker'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(535,108): error TS2693: Module or namespace 'TypeScript' has no exported member 'AST'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(551,20): error TS2339: Property 'getAstWalkerFactory' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(558,45): error TS2305: Module 'TypeScript' has no exported member 'AST'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(558,95): error TS2305: Module 'TypeScript' has no exported member 'IAstWalker'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(559,45): error TS2305: Module 'TypeScript' has no exported member 'AST'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(559,69): error TS2305: Module 'TypeScript' has no exported member 'AST'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(559,93): error TS2305: Module 'TypeScript' has no exported member 'IAstWalker'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(565,46): error TS2305: Module 'TypeScript' has no exported member 'AST'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(565,70): error TS2305: Module 'TypeScript' has no exported member 'AST'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(565,94): error TS2305: Module 'TypeScript' has no exported member 'IAstWalker'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(558,45): error TS2693: Module or namespace 'TypeScript' has no exported member 'AST'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(558,95): error TS2693: Module or namespace 'TypeScript' has no exported member 'IAstWalker'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(559,45): error TS2693: Module or namespace 'TypeScript' has no exported member 'AST'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(559,69): error TS2693: Module or namespace 'TypeScript' has no exported member 'AST'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(559,93): error TS2693: Module or namespace 'TypeScript' has no exported member 'IAstWalker'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(565,46): error TS2693: Module or namespace 'TypeScript' has no exported member 'AST'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(565,70): error TS2693: Module or namespace 'TypeScript' has no exported member 'AST'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(565,94): error TS2693: Module or namespace 'TypeScript' has no exported member 'IAstWalker'.
|
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(572,20): error TS2339: Property 'getAstWalkerFactory' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -188,7 +188,7 @@ tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(572,20): error
|
|
|
|
|
export class AstPath {
|
|
|
|
|
public asts: TypeScript.AST[] = [];
|
|
|
|
|
~~~
|
|
|
|
|
!!! error TS2305: Module 'TypeScript' has no exported member 'AST'.
|
|
|
|
|
!!! error TS2693: Module or namespace 'TypeScript' has no exported member 'AST'.
|
|
|
|
|
public top: number = -1;
|
|
|
|
|
|
|
|
|
|
static reverseIndexOf(items: any[], index: number): any {
|
|
|
|
|
@ -204,7 +204,7 @@ tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(572,20): error
|
|
|
|
|
|
|
|
|
|
public pop(): TypeScript.AST {
|
|
|
|
|
~~~
|
|
|
|
|
!!! error TS2305: Module 'TypeScript' has no exported member 'AST'.
|
|
|
|
|
!!! error TS2693: Module or namespace 'TypeScript' has no exported member 'AST'.
|
|
|
|
|
var head = this.ast();
|
|
|
|
|
this.up();
|
|
|
|
|
|
|
|
|
|
@ -216,7 +216,7 @@ tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(572,20): error
|
|
|
|
|
|
|
|
|
|
public push(ast: TypeScript.AST) {
|
|
|
|
|
~~~
|
|
|
|
|
!!! error TS2305: Module 'TypeScript' has no exported member 'AST'.
|
|
|
|
|
!!! error TS2693: Module or namespace 'TypeScript' has no exported member 'AST'.
|
|
|
|
|
while (this.asts.length > this.count()) {
|
|
|
|
|
this.asts.pop();
|
|
|
|
|
}
|
|
|
|
|
@ -238,7 +238,7 @@ tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(572,20): error
|
|
|
|
|
|
|
|
|
|
public nodeType(): TypeScript.NodeType {
|
|
|
|
|
~~~~~~~~
|
|
|
|
|
!!! error TS2305: Module 'TypeScript' has no exported member 'NodeType'.
|
|
|
|
|
!!! error TS2693: Module or namespace 'TypeScript' has no exported member 'NodeType'.
|
|
|
|
|
if (this.ast() == null)
|
|
|
|
|
return TypeScript.NodeType.None;
|
|
|
|
|
~~~~~~~~
|
|
|
|
|
@ -249,13 +249,13 @@ tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(572,20): error
|
|
|
|
|
public ast() {
|
|
|
|
|
return <TypeScript.AST>AstPath.reverseIndexOf(this.asts, this.asts.length - (this.top + 1));
|
|
|
|
|
~~~
|
|
|
|
|
!!! error TS2305: Module 'TypeScript' has no exported member 'AST'.
|
|
|
|
|
!!! error TS2693: Module or namespace 'TypeScript' has no exported member 'AST'.
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public parent() {
|
|
|
|
|
return <TypeScript.AST>AstPath.reverseIndexOf(this.asts, this.asts.length - this.top);
|
|
|
|
|
~~~
|
|
|
|
|
!!! error TS2305: Module 'TypeScript' has no exported member 'AST'.
|
|
|
|
|
!!! error TS2693: Module or namespace 'TypeScript' has no exported member 'AST'.
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public count() {
|
|
|
|
|
@ -264,7 +264,7 @@ tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(572,20): error
|
|
|
|
|
|
|
|
|
|
public get(index: number): TypeScript.AST {
|
|
|
|
|
~~~
|
|
|
|
|
!!! error TS2305: Module 'TypeScript' has no exported member 'AST'.
|
|
|
|
|
!!! error TS2693: Module or namespace 'TypeScript' has no exported member 'AST'.
|
|
|
|
|
return this.asts[index];
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@ -280,7 +280,7 @@ tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(572,20): error
|
|
|
|
|
!!! error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
((<TypeScript.InterfaceDeclaration>this.parent()).name === this.ast());
|
|
|
|
|
~~~~~~~~~~~~~~~~~~~~
|
|
|
|
|
!!! error TS2305: Module 'TypeScript' has no exported member 'InterfaceDeclaration'.
|
|
|
|
|
!!! error TS2693: Module or namespace 'TypeScript' has no exported member 'InterfaceDeclaration'.
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public isNameOfInterface(): boolean {
|
|
|
|
|
@ -295,7 +295,7 @@ tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(572,20): error
|
|
|
|
|
!!! error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
((<TypeScript.InterfaceDeclaration>this.parent()).name === this.ast());
|
|
|
|
|
~~~~~~~~~~~~~~~~~~~~
|
|
|
|
|
!!! error TS2305: Module 'TypeScript' has no exported member 'InterfaceDeclaration'.
|
|
|
|
|
!!! error TS2693: Module or namespace 'TypeScript' has no exported member 'InterfaceDeclaration'.
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public isNameOfArgument(): boolean {
|
|
|
|
|
@ -310,7 +310,7 @@ tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(572,20): error
|
|
|
|
|
!!! error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
((<TypeScript.ArgDecl>this.parent()).id === this.ast());
|
|
|
|
|
~~~~~~~
|
|
|
|
|
!!! error TS2305: Module 'TypeScript' has no exported member 'ArgDecl'.
|
|
|
|
|
!!! error TS2693: Module or namespace 'TypeScript' has no exported member 'ArgDecl'.
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public isNameOfVariable(): boolean {
|
|
|
|
|
@ -325,7 +325,7 @@ tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(572,20): error
|
|
|
|
|
!!! error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
((<TypeScript.VarDecl>this.parent()).id === this.ast());
|
|
|
|
|
~~~~~~~
|
|
|
|
|
!!! error TS2305: Module 'TypeScript' has no exported member 'VarDecl'.
|
|
|
|
|
!!! error TS2693: Module or namespace 'TypeScript' has no exported member 'VarDecl'.
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public isNameOfModule(): boolean {
|
|
|
|
|
@ -340,7 +340,7 @@ tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(572,20): error
|
|
|
|
|
!!! error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
((<TypeScript.ModuleDeclaration>this.parent()).name === this.ast());
|
|
|
|
|
~~~~~~~~~~~~~~~~~
|
|
|
|
|
!!! error TS2305: Module 'TypeScript' has no exported member 'ModuleDeclaration'.
|
|
|
|
|
!!! error TS2693: Module or namespace 'TypeScript' has no exported member 'ModuleDeclaration'.
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public isNameOfFunction(): boolean {
|
|
|
|
|
@ -355,7 +355,7 @@ tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(572,20): error
|
|
|
|
|
!!! error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
((<TypeScript.FuncDecl>this.parent()).name === this.ast());
|
|
|
|
|
~~~~~~~~
|
|
|
|
|
!!! error TS2305: Module 'TypeScript' has no exported member 'FuncDecl'.
|
|
|
|
|
!!! error TS2693: Module or namespace 'TypeScript' has no exported member 'FuncDecl'.
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public isChildOfScript(): boolean {
|
|
|
|
|
@ -412,13 +412,13 @@ tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(572,20): error
|
|
|
|
|
!!! error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
((<TypeScript.FuncDecl>this.asts[this.top - 2]).isConstructor) &&
|
|
|
|
|
~~~~~~~~
|
|
|
|
|
!!! error TS2305: Module 'TypeScript' has no exported member 'FuncDecl'.
|
|
|
|
|
!!! error TS2693: Module or namespace 'TypeScript' has no exported member 'FuncDecl'.
|
|
|
|
|
((<TypeScript.FuncDecl>this.asts[this.top - 2]).arguments === this.asts[this.top - 1]) &&
|
|
|
|
|
~~~~~~~~
|
|
|
|
|
!!! error TS2305: Module 'TypeScript' has no exported member 'FuncDecl'.
|
|
|
|
|
!!! error TS2693: Module or namespace 'TypeScript' has no exported member 'FuncDecl'.
|
|
|
|
|
((<TypeScript.ClassDeclaration>this.asts[this.top - 4]).constructorDecl === this.asts[this.top - 2]);
|
|
|
|
|
~~~~~~~~~~~~~~~~
|
|
|
|
|
!!! error TS2305: Module 'TypeScript' has no exported member 'ClassDeclaration'.
|
|
|
|
|
!!! error TS2693: Module or namespace 'TypeScript' has no exported member 'ClassDeclaration'.
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public isChildOfInterface(): boolean {
|
|
|
|
|
@ -442,7 +442,7 @@ tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(572,20): error
|
|
|
|
|
~~~~~~~
|
|
|
|
|
!!! error TS2339: Property 'hasFlag' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
~~~~~~~~~~~~~~~~~
|
|
|
|
|
!!! error TS2305: Module 'TypeScript' has no exported member 'ModuleDeclaration'.
|
|
|
|
|
!!! error TS2693: Module or namespace 'TypeScript' has no exported member 'ModuleDeclaration'.
|
|
|
|
|
~~~~~~~~~~~
|
|
|
|
|
!!! error TS2339: Property 'ModuleFlags' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
}
|
|
|
|
|
@ -457,12 +457,12 @@ tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(572,20): error
|
|
|
|
|
!!! error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
(<TypeScript.ModuleDeclaration>this.asts[this.top - 1]).members == this.asts[this.top - 0] &&
|
|
|
|
|
~~~~~~~~~~~~~~~~~
|
|
|
|
|
!!! error TS2305: Module 'TypeScript' has no exported member 'ModuleDeclaration'.
|
|
|
|
|
!!! error TS2693: Module or namespace 'TypeScript' has no exported member 'ModuleDeclaration'.
|
|
|
|
|
TypeScript.hasFlag((<TypeScript.ModuleDeclaration>this.asts[this.top - 1]).modFlags, TypeScript.ModuleFlags.IsWholeFile);
|
|
|
|
|
~~~~~~~
|
|
|
|
|
!!! error TS2339: Property 'hasFlag' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
~~~~~~~~~~~~~~~~~
|
|
|
|
|
!!! error TS2305: Module 'TypeScript' has no exported member 'ModuleDeclaration'.
|
|
|
|
|
!!! error TS2693: Module or namespace 'TypeScript' has no exported member 'ModuleDeclaration'.
|
|
|
|
|
~~~~~~~~~~~
|
|
|
|
|
!!! error TS2339: Property 'ModuleFlags' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
}
|
|
|
|
|
@ -474,7 +474,7 @@ tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(572,20): error
|
|
|
|
|
!!! error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
(<TypeScript.Script>this.asts[this.top - 1]).bod == this.asts[this.top - 0];
|
|
|
|
|
~~~~~~
|
|
|
|
|
!!! error TS2305: Module 'TypeScript' has no exported member 'Script'.
|
|
|
|
|
!!! error TS2693: Module or namespace 'TypeScript' has no exported member 'Script'.
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public isBodyOfSwitch(): boolean {
|
|
|
|
|
@ -484,7 +484,7 @@ tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(572,20): error
|
|
|
|
|
!!! error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
(<TypeScript.SwitchStatement>this.asts[this.top - 1]).caseList == this.asts[this.top - 0];
|
|
|
|
|
~~~~~~~~~~~~~~~
|
|
|
|
|
!!! error TS2305: Module 'TypeScript' has no exported member 'SwitchStatement'.
|
|
|
|
|
!!! error TS2693: Module or namespace 'TypeScript' has no exported member 'SwitchStatement'.
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public isBodyOfModule(): boolean {
|
|
|
|
|
@ -494,7 +494,7 @@ tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(572,20): error
|
|
|
|
|
!!! error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
(<TypeScript.ModuleDeclaration>this.asts[this.top - 1]).members == this.asts[this.top - 0];
|
|
|
|
|
~~~~~~~~~~~~~~~~~
|
|
|
|
|
!!! error TS2305: Module 'TypeScript' has no exported member 'ModuleDeclaration'.
|
|
|
|
|
!!! error TS2693: Module or namespace 'TypeScript' has no exported member 'ModuleDeclaration'.
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public isBodyOfClass(): boolean {
|
|
|
|
|
@ -504,7 +504,7 @@ tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(572,20): error
|
|
|
|
|
!!! error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
(<TypeScript.ClassDeclaration>this.asts[this.top - 1]).members == this.asts[this.top - 0];
|
|
|
|
|
~~~~~~~~~~~~~~~~
|
|
|
|
|
!!! error TS2305: Module 'TypeScript' has no exported member 'ClassDeclaration'.
|
|
|
|
|
!!! error TS2693: Module or namespace 'TypeScript' has no exported member 'ClassDeclaration'.
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public isBodyOfFunction(): boolean {
|
|
|
|
|
@ -514,7 +514,7 @@ tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(572,20): error
|
|
|
|
|
!!! error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
(<TypeScript.FuncDecl>this.asts[this.top - 1]).bod == this.asts[this.top - 0];
|
|
|
|
|
~~~~~~~~
|
|
|
|
|
!!! error TS2305: Module 'TypeScript' has no exported member 'FuncDecl'.
|
|
|
|
|
!!! error TS2693: Module or namespace 'TypeScript' has no exported member 'FuncDecl'.
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public isBodyOfInterface(): boolean {
|
|
|
|
|
@ -524,7 +524,7 @@ tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(572,20): error
|
|
|
|
|
!!! error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
(<TypeScript.InterfaceDeclaration>this.asts[this.top - 1]).members == this.asts[this.top - 0];
|
|
|
|
|
~~~~~~~~~~~~~~~~~~~~
|
|
|
|
|
!!! error TS2305: Module 'TypeScript' has no exported member 'InterfaceDeclaration'.
|
|
|
|
|
!!! error TS2693: Module or namespace 'TypeScript' has no exported member 'InterfaceDeclaration'.
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public isBodyOfBlock(): boolean {
|
|
|
|
|
@ -534,7 +534,7 @@ tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(572,20): error
|
|
|
|
|
!!! error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
(<TypeScript.Block>this.asts[this.top - 1]).statements == this.asts[this.top - 0];
|
|
|
|
|
~~~~~
|
|
|
|
|
!!! error TS2305: Module 'TypeScript' has no exported member 'Block'.
|
|
|
|
|
!!! error TS2693: Module or namespace 'TypeScript' has no exported member 'Block'.
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public isBodyOfFor(): boolean {
|
|
|
|
|
@ -544,7 +544,7 @@ tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(572,20): error
|
|
|
|
|
!!! error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
(<TypeScript.ForStatement>this.asts[this.top - 1]).body == this.asts[this.top - 0];
|
|
|
|
|
~~~~~~~~~~~~
|
|
|
|
|
!!! error TS2305: Module 'TypeScript' has no exported member 'ForStatement'.
|
|
|
|
|
!!! error TS2693: Module or namespace 'TypeScript' has no exported member 'ForStatement'.
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public isBodyOfCase(): boolean {
|
|
|
|
|
@ -554,7 +554,7 @@ tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(572,20): error
|
|
|
|
|
!!! error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
(<TypeScript.CaseStatement>this.asts[this.top - 1]).body == this.asts[this.top - 0];
|
|
|
|
|
~~~~~~~~~~~~~
|
|
|
|
|
!!! error TS2305: Module 'TypeScript' has no exported member 'CaseStatement'.
|
|
|
|
|
!!! error TS2693: Module or namespace 'TypeScript' has no exported member 'CaseStatement'.
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public isBodyOfTry(): boolean {
|
|
|
|
|
@ -564,7 +564,7 @@ tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(572,20): error
|
|
|
|
|
!!! error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
(<TypeScript.Try>this.asts[this.top - 1]).body == this.asts[this.top - 0];
|
|
|
|
|
~~~
|
|
|
|
|
!!! error TS2305: Module 'TypeScript' has no exported member 'Try'.
|
|
|
|
|
!!! error TS2693: Module or namespace 'TypeScript' has no exported member 'Try'.
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public isBodyOfCatch(): boolean {
|
|
|
|
|
@ -574,7 +574,7 @@ tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(572,20): error
|
|
|
|
|
!!! error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
(<TypeScript.Catch>this.asts[this.top - 1]).body == this.asts[this.top - 0];
|
|
|
|
|
~~~~~
|
|
|
|
|
!!! error TS2305: Module 'TypeScript' has no exported member 'Catch'.
|
|
|
|
|
!!! error TS2693: Module or namespace 'TypeScript' has no exported member 'Catch'.
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public isBodyOfDoWhile(): boolean {
|
|
|
|
|
@ -584,7 +584,7 @@ tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(572,20): error
|
|
|
|
|
!!! error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
(<TypeScript.DoWhileStatement>this.asts[this.top - 1]).body == this.asts[this.top - 0];
|
|
|
|
|
~~~~~~~~~~~~~~~~
|
|
|
|
|
!!! error TS2305: Module 'TypeScript' has no exported member 'DoWhileStatement'.
|
|
|
|
|
!!! error TS2693: Module or namespace 'TypeScript' has no exported member 'DoWhileStatement'.
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public isBodyOfWhile(): boolean {
|
|
|
|
|
@ -594,7 +594,7 @@ tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(572,20): error
|
|
|
|
|
!!! error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
(<TypeScript.WhileStatement>this.asts[this.top - 1]).body == this.asts[this.top - 0];
|
|
|
|
|
~~~~~~~~~~~~~~
|
|
|
|
|
!!! error TS2305: Module 'TypeScript' has no exported member 'WhileStatement'.
|
|
|
|
|
!!! error TS2693: Module or namespace 'TypeScript' has no exported member 'WhileStatement'.
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public isBodyOfForIn(): boolean {
|
|
|
|
|
@ -604,7 +604,7 @@ tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(572,20): error
|
|
|
|
|
!!! error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
(<TypeScript.ForInStatement>this.asts[this.top - 1]).body == this.asts[this.top - 0];
|
|
|
|
|
~~~~~~~~~~~~~~
|
|
|
|
|
!!! error TS2305: Module 'TypeScript' has no exported member 'ForInStatement'.
|
|
|
|
|
!!! error TS2693: Module or namespace 'TypeScript' has no exported member 'ForInStatement'.
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public isBodyOfWith(): boolean {
|
|
|
|
|
@ -614,7 +614,7 @@ tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(572,20): error
|
|
|
|
|
!!! error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
(<TypeScript.WithStatement>this.asts[this.top - 1]).body == this.asts[this.top - 0];
|
|
|
|
|
~~~~~~~~~~~~~
|
|
|
|
|
!!! error TS2305: Module 'TypeScript' has no exported member 'WithStatement'.
|
|
|
|
|
!!! error TS2693: Module or namespace 'TypeScript' has no exported member 'WithStatement'.
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public isBodyOfFinally(): boolean {
|
|
|
|
|
@ -624,7 +624,7 @@ tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(572,20): error
|
|
|
|
|
!!! error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
(<TypeScript.Finally>this.asts[this.top - 1]).body == this.asts[this.top - 0];
|
|
|
|
|
~~~~~~~
|
|
|
|
|
!!! error TS2305: Module 'TypeScript' has no exported member 'Finally'.
|
|
|
|
|
!!! error TS2693: Module or namespace 'TypeScript' has no exported member 'Finally'.
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public isCaseOfSwitch(): boolean {
|
|
|
|
|
@ -637,7 +637,7 @@ tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(572,20): error
|
|
|
|
|
!!! error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
(<TypeScript.SwitchStatement>this.asts[this.top - 2]).caseList == this.asts[this.top - 1];
|
|
|
|
|
~~~~~~~~~~~~~~~
|
|
|
|
|
!!! error TS2305: Module 'TypeScript' has no exported member 'SwitchStatement'.
|
|
|
|
|
!!! error TS2693: Module or namespace 'TypeScript' has no exported member 'SwitchStatement'.
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public isDefaultCaseOfSwitch(): boolean {
|
|
|
|
|
@ -650,10 +650,10 @@ tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(572,20): error
|
|
|
|
|
!!! error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
(<TypeScript.SwitchStatement>this.asts[this.top - 2]).caseList == this.asts[this.top - 1] &&
|
|
|
|
|
~~~~~~~~~~~~~~~
|
|
|
|
|
!!! error TS2305: Module 'TypeScript' has no exported member 'SwitchStatement'.
|
|
|
|
|
!!! error TS2693: Module or namespace 'TypeScript' has no exported member 'SwitchStatement'.
|
|
|
|
|
(<TypeScript.SwitchStatement>this.asts[this.top - 2]).defaultCase == this.asts[this.top - 0];
|
|
|
|
|
~~~~~~~~~~~~~~~
|
|
|
|
|
!!! error TS2305: Module 'TypeScript' has no exported member 'SwitchStatement'.
|
|
|
|
|
!!! error TS2693: Module or namespace 'TypeScript' has no exported member 'SwitchStatement'.
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public isListOfObjectLit(): boolean {
|
|
|
|
|
@ -666,7 +666,7 @@ tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(572,20): error
|
|
|
|
|
!!! error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
(<TypeScript.UnaryExpression>this.asts[this.top - 1]).operand == this.asts[this.top - 0];
|
|
|
|
|
~~~~~~~~~~~~~~~
|
|
|
|
|
!!! error TS2305: Module 'TypeScript' has no exported member 'UnaryExpression'.
|
|
|
|
|
!!! error TS2693: Module or namespace 'TypeScript' has no exported member 'UnaryExpression'.
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public isBodyOfObjectLit(): boolean {
|
|
|
|
|
@ -683,10 +683,10 @@ tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(572,20): error
|
|
|
|
|
!!! error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
(<TypeScript.UnaryExpression>this.asts[this.top - 1]).operand == this.asts[this.top - 0] &&
|
|
|
|
|
~~~~~~~~~~~~~~~
|
|
|
|
|
!!! error TS2305: Module 'TypeScript' has no exported member 'UnaryExpression'.
|
|
|
|
|
!!! error TS2693: Module or namespace 'TypeScript' has no exported member 'UnaryExpression'.
|
|
|
|
|
(<TypeScript.ASTList>this.asts[this.top - 0]).members.length == 0;
|
|
|
|
|
~~~~~~~
|
|
|
|
|
!!! error TS2305: Module 'TypeScript' has no exported member 'ASTList'.
|
|
|
|
|
!!! error TS2693: Module or namespace 'TypeScript' has no exported member 'ASTList'.
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public isMemberOfObjectLit(): boolean {
|
|
|
|
|
@ -702,7 +702,7 @@ tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(572,20): error
|
|
|
|
|
!!! error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
(<TypeScript.UnaryExpression>this.asts[this.top - 2]).operand == this.asts[this.top - 1];
|
|
|
|
|
~~~~~~~~~~~~~~~
|
|
|
|
|
!!! error TS2305: Module 'TypeScript' has no exported member 'UnaryExpression'.
|
|
|
|
|
!!! error TS2693: Module or namespace 'TypeScript' has no exported member 'UnaryExpression'.
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public isNameOfMemberOfObjectLit(): boolean {
|
|
|
|
|
@ -721,7 +721,7 @@ tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(572,20): error
|
|
|
|
|
!!! error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
(<TypeScript.UnaryExpression>this.asts[this.top - 3]).operand == this.asts[this.top - 2];
|
|
|
|
|
~~~~~~~~~~~~~~~
|
|
|
|
|
!!! error TS2305: Module 'TypeScript' has no exported member 'UnaryExpression'.
|
|
|
|
|
!!! error TS2693: Module or namespace 'TypeScript' has no exported member 'UnaryExpression'.
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public isListOfArrayLit(): boolean {
|
|
|
|
|
@ -734,7 +734,7 @@ tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(572,20): error
|
|
|
|
|
!!! error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
(<TypeScript.UnaryExpression>this.asts[this.top - 1]).operand == this.asts[this.top - 0];
|
|
|
|
|
~~~~~~~~~~~~~~~
|
|
|
|
|
!!! error TS2305: Module 'TypeScript' has no exported member 'UnaryExpression'.
|
|
|
|
|
!!! error TS2693: Module or namespace 'TypeScript' has no exported member 'UnaryExpression'.
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public isTargetOfMember(): boolean {
|
|
|
|
|
@ -744,7 +744,7 @@ tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(572,20): error
|
|
|
|
|
!!! error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
(<TypeScript.BinaryExpression>this.asts[this.top - 1]).operand1 === this.asts[this.top - 0];
|
|
|
|
|
~~~~~~~~~~~~~~~~
|
|
|
|
|
!!! error TS2305: Module 'TypeScript' has no exported member 'BinaryExpression'.
|
|
|
|
|
!!! error TS2693: Module or namespace 'TypeScript' has no exported member 'BinaryExpression'.
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public isMemberOfMember(): boolean {
|
|
|
|
|
@ -754,7 +754,7 @@ tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(572,20): error
|
|
|
|
|
!!! error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
(<TypeScript.BinaryExpression>this.asts[this.top - 1]).operand2 === this.asts[this.top - 0];
|
|
|
|
|
~~~~~~~~~~~~~~~~
|
|
|
|
|
!!! error TS2305: Module 'TypeScript' has no exported member 'BinaryExpression'.
|
|
|
|
|
!!! error TS2693: Module or namespace 'TypeScript' has no exported member 'BinaryExpression'.
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public isItemOfList(): boolean {
|
|
|
|
|
@ -772,7 +772,7 @@ tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(572,20): error
|
|
|
|
|
!!! error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
(<TypeScript.IfStatement>this.asts[this.top - 1]).thenBod == this.asts[this.top - 0];
|
|
|
|
|
~~~~~~~~~~~
|
|
|
|
|
!!! error TS2305: Module 'TypeScript' has no exported member 'IfStatement'.
|
|
|
|
|
!!! error TS2693: Module or namespace 'TypeScript' has no exported member 'IfStatement'.
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public isElseOfIf(): boolean {
|
|
|
|
|
@ -782,7 +782,7 @@ tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(572,20): error
|
|
|
|
|
!!! error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
(<TypeScript.IfStatement>this.asts[this.top - 1]).elseBod == this.asts[this.top - 0];
|
|
|
|
|
~~~~~~~~~~~
|
|
|
|
|
!!! error TS2305: Module 'TypeScript' has no exported member 'IfStatement'.
|
|
|
|
|
!!! error TS2693: Module or namespace 'TypeScript' has no exported member 'IfStatement'.
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public isBodyOfDefaultCase(): boolean {
|
|
|
|
|
@ -796,7 +796,7 @@ tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(572,20): error
|
|
|
|
|
!!! error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
(<TypeScript.ASTList>this.asts[this.top]).members.length === 1;
|
|
|
|
|
~~~~~~~
|
|
|
|
|
!!! error TS2305: Module 'TypeScript' has no exported member 'ASTList'.
|
|
|
|
|
!!! error TS2693: Module or namespace 'TypeScript' has no exported member 'ASTList'.
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public isArgumentListOfFunction(): boolean {
|
|
|
|
|
@ -809,7 +809,7 @@ tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(572,20): error
|
|
|
|
|
!!! error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
(<TypeScript.FuncDecl>this.asts[this.top - 1]).arguments === this.asts[this.top - 0];
|
|
|
|
|
~~~~~~~~
|
|
|
|
|
!!! error TS2305: Module 'TypeScript' has no exported member 'FuncDecl'.
|
|
|
|
|
!!! error TS2693: Module or namespace 'TypeScript' has no exported member 'FuncDecl'.
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public isArgumentOfFunction(): boolean {
|
|
|
|
|
@ -822,7 +822,7 @@ tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(572,20): error
|
|
|
|
|
!!! error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
(<TypeScript.FuncDecl>this.asts[this.top - 2]).arguments === this.asts[this.top - 1];
|
|
|
|
|
~~~~~~~~
|
|
|
|
|
!!! error TS2305: Module 'TypeScript' has no exported member 'FuncDecl'.
|
|
|
|
|
!!! error TS2693: Module or namespace 'TypeScript' has no exported member 'FuncDecl'.
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public isArgumentListOfCall(): boolean {
|
|
|
|
|
@ -835,7 +835,7 @@ tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(572,20): error
|
|
|
|
|
!!! error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
(<TypeScript.CallExpression>this.asts[this.top - 1]).arguments === this.asts[this.top - 0];
|
|
|
|
|
~~~~~~~~~~~~~~
|
|
|
|
|
!!! error TS2305: Module 'TypeScript' has no exported member 'CallExpression'.
|
|
|
|
|
!!! error TS2693: Module or namespace 'TypeScript' has no exported member 'CallExpression'.
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public isArgumentListOfNew(): boolean {
|
|
|
|
|
@ -848,7 +848,7 @@ tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(572,20): error
|
|
|
|
|
!!! error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
(<TypeScript.CallExpression>this.asts[this.top - 1]).arguments === this.asts[this.top - 0];
|
|
|
|
|
~~~~~~~~~~~~~~
|
|
|
|
|
!!! error TS2305: Module 'TypeScript' has no exported member 'CallExpression'.
|
|
|
|
|
!!! error TS2693: Module or namespace 'TypeScript' has no exported member 'CallExpression'.
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public isSynthesizedBlock(): boolean {
|
|
|
|
|
@ -858,13 +858,13 @@ tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(572,20): error
|
|
|
|
|
!!! error TS2339: Property 'NodeType' does not exist on type 'typeof TypeScript'.
|
|
|
|
|
(<TypeScript.Block>this.asts[this.top - 0]).isStatementBlock === false;
|
|
|
|
|
~~~~~
|
|
|
|
|
!!! error TS2305: Module 'TypeScript' has no exported member 'Block'.
|
|
|
|
|
!!! error TS2693: Module or namespace 'TypeScript' has no exported member 'Block'.
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export function isValidAstNode(ast: TypeScript.ASTSpan): boolean {
|
|
|
|
|
~~~~~~~
|
|
|
|
|
!!! error TS2305: Module 'TypeScript' has no exported member 'ASTSpan'.
|
|
|
|
|
!!! error TS2693: Module or namespace 'TypeScript' has no exported member 'ASTSpan'.
|
|
|
|
|
if (ast === null)
|
|
|
|
|
return false;
|
|
|
|
|
|
|
|
|
|
@ -896,10 +896,10 @@ tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(572,20): error
|
|
|
|
|
///
|
|
|
|
|
export function getAstPathToPosition(script: TypeScript.AST, pos: number, options = GetAstPathOptions.Default): TypeScript.AstPath {
|
|
|
|
|
~~~
|
|
|
|
|
!!! error TS2305: Module 'TypeScript' has no exported member 'AST'.
|
|
|
|
|
!!! error TS2693: Module or namespace 'TypeScript' has no exported member 'AST'.
|
|
|
|
|
var lookInComments = (comments: TypeScript.Comment[]) => {
|
|
|
|
|
~~~~~~~
|
|
|
|
|
!!! error TS2305: Module 'TypeScript' has no exported member 'Comment'.
|
|
|
|
|
!!! error TS2693: Module or namespace 'TypeScript' has no exported member 'Comment'.
|
|
|
|
|
if (comments && comments.length > 0) {
|
|
|
|
|
for (var i = 0; i < comments.length; i++) {
|
|
|
|
|
var minChar = comments[i].minChar;
|
|
|
|
|
@ -916,9 +916,9 @@ tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(572,20): error
|
|
|
|
|
|
|
|
|
|
var pre = function (cur: TypeScript.AST, parent: TypeScript.AST, walker: IAstWalker) {
|
|
|
|
|
~~~
|
|
|
|
|
!!! error TS2305: Module 'TypeScript' has no exported member 'AST'.
|
|
|
|
|
!!! error TS2693: Module or namespace 'TypeScript' has no exported member 'AST'.
|
|
|
|
|
~~~
|
|
|
|
|
!!! error TS2305: Module 'TypeScript' has no exported member 'AST'.
|
|
|
|
|
!!! error TS2693: Module or namespace 'TypeScript' has no exported member 'AST'.
|
|
|
|
|
~~~~~~~~~~
|
|
|
|
|
!!! error TS2304: Cannot find name 'IAstWalker'.
|
|
|
|
|
if (isValidAstNode(cur)) {
|
|
|
|
|
@ -985,17 +985,17 @@ tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(572,20): error
|
|
|
|
|
//
|
|
|
|
|
export function getTokenizationOffset(script: TypeScript.Script, position: number): number {
|
|
|
|
|
~~~~~~
|
|
|
|
|
!!! error TS2305: Module 'TypeScript' has no exported member 'Script'.
|
|
|
|
|
!!! error TS2693: Module or namespace 'TypeScript' has no exported member 'Script'.
|
|
|
|
|
var bestOffset = 0;
|
|
|
|
|
var pre = (cur: TypeScript.AST, parent: TypeScript.AST, walker: TypeScript.IAstWalker): TypeScript.AST => {
|
|
|
|
|
~~~
|
|
|
|
|
!!! error TS2305: Module 'TypeScript' has no exported member 'AST'.
|
|
|
|
|
!!! error TS2693: Module or namespace 'TypeScript' has no exported member 'AST'.
|
|
|
|
|
~~~
|
|
|
|
|
!!! error TS2305: Module 'TypeScript' has no exported member 'AST'.
|
|
|
|
|
!!! error TS2693: Module or namespace 'TypeScript' has no exported member 'AST'.
|
|
|
|
|
~~~~~~~~~~
|
|
|
|
|
!!! error TS2305: Module 'TypeScript' has no exported member 'IAstWalker'.
|
|
|
|
|
!!! error TS2693: Module or namespace 'TypeScript' has no exported member 'IAstWalker'.
|
|
|
|
|
~~~
|
|
|
|
|
!!! error TS2305: Module 'TypeScript' has no exported member 'AST'.
|
|
|
|
|
!!! error TS2693: Module or namespace 'TypeScript' has no exported member 'AST'.
|
|
|
|
|
if (TypeScript.isValidAstNode(cur)) {
|
|
|
|
|
// Did we find a closer offset?
|
|
|
|
|
if (cur.minChar <= position) {
|
|
|
|
|
@ -1022,16 +1022,16 @@ tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(572,20): error
|
|
|
|
|
///
|
|
|
|
|
export function walkAST(ast: TypeScript.AST, callback: (path: AstPath, walker: TypeScript.IAstWalker) => void ): void {
|
|
|
|
|
~~~
|
|
|
|
|
!!! error TS2305: Module 'TypeScript' has no exported member 'AST'.
|
|
|
|
|
!!! error TS2693: Module or namespace 'TypeScript' has no exported member 'AST'.
|
|
|
|
|
~~~~~~~~~~
|
|
|
|
|
!!! error TS2305: Module 'TypeScript' has no exported member 'IAstWalker'.
|
|
|
|
|
!!! error TS2693: Module or namespace 'TypeScript' has no exported member 'IAstWalker'.
|
|
|
|
|
var pre = function (cur: TypeScript.AST, parent: TypeScript.AST, walker: TypeScript.IAstWalker) {
|
|
|
|
|
~~~
|
|
|
|
|
!!! error TS2305: Module 'TypeScript' has no exported member 'AST'.
|
|
|
|
|
!!! error TS2693: Module or namespace 'TypeScript' has no exported member 'AST'.
|
|
|
|
|
~~~
|
|
|
|
|
!!! error TS2305: Module 'TypeScript' has no exported member 'AST'.
|
|
|
|
|
!!! error TS2693: Module or namespace 'TypeScript' has no exported member 'AST'.
|
|
|
|
|
~~~~~~~~~~
|
|
|
|
|
!!! error TS2305: Module 'TypeScript' has no exported member 'IAstWalker'.
|
|
|
|
|
!!! error TS2693: Module or namespace 'TypeScript' has no exported member 'IAstWalker'.
|
|
|
|
|
var path: TypeScript.AstPath = walker.state;
|
|
|
|
|
path.push(cur);
|
|
|
|
|
callback(path, walker);
|
|
|
|
|
@ -1039,11 +1039,11 @@ tests/cases/conformance/parser/ecmascript5/parserRealSource14.ts(572,20): error
|
|
|
|
|
}
|
|
|
|
|
var post = function (cur: TypeScript.AST, parent: TypeScript.AST, walker: TypeScript.IAstWalker) {
|
|
|
|
|
~~~
|
|
|
|
|
!!! error TS2305: Module 'TypeScript' has no exported member 'AST'.
|
|
|
|
|
!!! error TS2693: Module or namespace 'TypeScript' has no exported member 'AST'.
|
|
|
|
|
~~~
|
|
|
|
|
!!! error TS2305: Module 'TypeScript' has no exported member 'AST'.
|
|
|
|
|
!!! error TS2693: Module or namespace 'TypeScript' has no exported member 'AST'.
|
|
|
|
|
~~~~~~~~~~
|
|
|
|
|
!!! error TS2305: Module 'TypeScript' has no exported member 'IAstWalker'.
|
|
|
|
|
!!! error TS2693: Module or namespace 'TypeScript' has no exported member 'IAstWalker'.
|
|
|
|
|
var path: TypeScript.AstPath = walker.state;
|
|
|
|
|
path.pop();
|
|
|
|
|
return cur;
|
|
|
|
|
|