2014-09-12 22:35:07 +02:00
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(4,1): error TS6053: File 'tests/cases/conformance/parser/ecmascript5/typescript.ts' not found.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(8,19): error TS2304: Cannot find name 'AST'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(8,32): error TS2304: Cannot find name 'AST'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(8,38): error TS2304: Cannot find name 'AST'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(25,15): error TS2304: Cannot find name 'AST'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(25,28): error TS2304: Cannot find name 'AST'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(25,54): error TS2304: Cannot find name 'AST'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(29,18): error TS2304: Cannot find name 'AST'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(29,31): error TS2304: Cannot find name 'AST'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(41,26): error TS2304: Cannot find name 'AST'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(41,39): error TS2304: Cannot find name 'AST'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(41,45): error TS2304: Cannot find name 'AST'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(77,26): error TS2304: Cannot find name 'AST'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(77,119): error TS2304: Cannot find name 'AST'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(94,34): error TS2304: Cannot find name 'NodeType'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(95,34): error TS2304: Cannot find name 'NodeType'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(96,34): error TS2304: Cannot find name 'NodeType'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(97,34): error TS2304: Cannot find name 'NodeType'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(98,34): error TS2304: Cannot find name 'NodeType'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(99,34): error TS2304: Cannot find name 'NodeType'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(100,34): error TS2304: Cannot find name 'NodeType'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(101,34): error TS2304: Cannot find name 'NodeType'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(102,34): error TS2304: Cannot find name 'NodeType'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(103,34): error TS2304: Cannot find name 'NodeType'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(104,34): error TS2304: Cannot find name 'NodeType'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(105,34): error TS2304: Cannot find name 'NodeType'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(106,34): error TS2304: Cannot find name 'NodeType'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(107,34): error TS2304: Cannot find name 'NodeType'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(108,34): error TS2304: Cannot find name 'NodeType'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(109,34): error TS2304: Cannot find name 'NodeType'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(110,34): error TS2304: Cannot find name 'NodeType'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(111,34): error TS2304: Cannot find name 'NodeType'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(112,34): error TS2304: Cannot find name 'NodeType'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(113,34): error TS2304: Cannot find name 'NodeType'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(114,34): error TS2304: Cannot find name 'NodeType'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(115,34): error TS2304: Cannot find name 'NodeType'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(116,34): error TS2304: Cannot find name 'NodeType'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(117,34): error TS2304: Cannot find name 'NodeType'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(118,34): error TS2304: Cannot find name 'NodeType'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(119,34): error TS2304: Cannot find name 'NodeType'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(120,34): error TS2304: Cannot find name 'NodeType'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(121,34): error TS2304: Cannot find name 'NodeType'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(122,34): error TS2304: Cannot find name 'NodeType'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(123,34): error TS2304: Cannot find name 'NodeType'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(124,34): error TS2304: Cannot find name 'NodeType'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(125,34): error TS2304: Cannot find name 'NodeType'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(126,34): error TS2304: Cannot find name 'NodeType'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(127,34): error TS2304: Cannot find name 'NodeType'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(128,34): error TS2304: Cannot find name 'NodeType'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(129,34): error TS2304: Cannot find name 'NodeType'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(130,34): error TS2304: Cannot find name 'NodeType'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(131,34): error TS2304: Cannot find name 'NodeType'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(132,34): error TS2304: Cannot find name 'NodeType'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(133,34): error TS2304: Cannot find name 'NodeType'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(134,34): error TS2304: Cannot find name 'NodeType'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(135,34): error TS2304: Cannot find name 'NodeType'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(136,34): error TS2304: Cannot find name 'NodeType'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(137,34): error TS2304: Cannot find name 'NodeType'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(138,34): error TS2304: Cannot find name 'NodeType'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(139,34): error TS2304: Cannot find name 'NodeType'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(140,34): error TS2304: Cannot find name 'NodeType'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(141,34): error TS2304: Cannot find name 'NodeType'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(142,34): error TS2304: Cannot find name 'NodeType'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(143,34): error TS2304: Cannot find name 'NodeType'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(144,34): error TS2304: Cannot find name 'NodeType'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(145,34): error TS2304: Cannot find name 'NodeType'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(146,34): error TS2304: Cannot find name 'NodeType'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(147,34): error TS2304: Cannot find name 'NodeType'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(148,34): error TS2304: Cannot find name 'NodeType'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(149,34): error TS2304: Cannot find name 'NodeType'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(150,34): error TS2304: Cannot find name 'NodeType'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(151,34): error TS2304: Cannot find name 'NodeType'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(152,34): error TS2304: Cannot find name 'NodeType'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(153,34): error TS2304: Cannot find name 'NodeType'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(154,34): error TS2304: Cannot find name 'NodeType'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(155,34): error TS2304: Cannot find name 'NodeType'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(156,34): error TS2304: Cannot find name 'NodeType'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(157,34): error TS2304: Cannot find name 'NodeType'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(158,34): error TS2304: Cannot find name 'NodeType'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(159,34): error TS2304: Cannot find name 'NodeType'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(160,34): error TS2304: Cannot find name 'NodeType'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(161,34): error TS2304: Cannot find name 'NodeType'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(162,34): error TS2304: Cannot find name 'NodeType'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(163,34): error TS2304: Cannot find name 'NodeType'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(164,34): error TS2304: Cannot find name 'NodeType'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(165,34): error TS2304: Cannot find name 'NodeType'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(166,34): error TS2304: Cannot find name 'NodeType'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(167,34): error TS2304: Cannot find name 'NodeType'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(168,34): error TS2304: Cannot find name 'NodeType'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(169,34): error TS2304: Cannot find name 'NodeType'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(170,34): error TS2304: Cannot find name 'NodeType'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(171,34): error TS2304: Cannot find name 'NodeType'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(172,34): error TS2304: Cannot find name 'NodeType'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(173,34): error TS2304: Cannot find name 'NodeType'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(174,34): error TS2304: Cannot find name 'NodeType'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(175,34): error TS2304: Cannot find name 'NodeType'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(176,34): error TS2304: Cannot find name 'NodeType'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(177,34): error TS2304: Cannot find name 'NodeType'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(178,34): error TS2304: Cannot find name 'NodeType'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(179,34): error TS2304: Cannot find name 'NodeType'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(180,34): error TS2304: Cannot find name 'NodeType'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(181,34): error TS2304: Cannot find name 'NodeType'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(182,34): error TS2304: Cannot find name 'NodeType'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(183,34): error TS2304: Cannot find name 'NodeType'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(184,34): error TS2304: Cannot find name 'NodeType'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(185,34): error TS2304: Cannot find name 'NodeType'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(186,34): error TS2304: Cannot find name 'NodeType'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(187,34): error TS2304: Cannot find name 'NodeType'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(188,34): error TS2304: Cannot find name 'NodeType'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(189,34): error TS2304: Cannot find name 'NodeType'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(190,34): error TS2304: Cannot find name 'NodeType'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(191,34): error TS2304: Cannot find name 'NodeType'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(192,34): error TS2304: Cannot find name 'NodeType'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(193,34): error TS2304: Cannot find name 'NodeType'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(194,34): error TS2304: Cannot find name 'NodeType'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(195,34): error TS2304: Cannot find name 'NodeType'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(196,34): error TS2304: Cannot find name 'NodeType'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(197,34): error TS2304: Cannot find name 'NodeType'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(198,34): error TS2304: Cannot find name 'NodeType'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(199,34): error TS2304: Cannot find name 'NodeType'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(200,34): error TS2304: Cannot find name 'NodeType'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(203,33): error TS2304: Cannot find name 'NodeType'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(221,42): error TS2304: Cannot find name 'ASTList'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(221,59): error TS2304: Cannot find name 'AST'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(225,50): error TS2304: Cannot find name 'ASTList'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(225,67): error TS2304: Cannot find name 'AST'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(243,61): error TS2304: Cannot find name 'UnaryExpression'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(243,86): error TS2304: Cannot find name 'AST'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(252,62): error TS2304: Cannot find name 'BinaryExpression'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(252,88): error TS2304: Cannot find name 'AST'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(270,59): error TS2304: Cannot find name 'TypeReference'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(270,82): error TS2304: Cannot find name 'AST'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(276,60): error TS2304: Cannot find name 'CallExpression'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(276,84): error TS2304: Cannot find name 'AST'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(281,37): error TS2304: Cannot find name 'ASTList'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(288,63): error TS2304: Cannot find name 'ConditionalExpression'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(288,94): error TS2304: Cannot find name 'AST'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(300,54): error TS2304: Cannot find name 'FuncDecl'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(300,72): error TS2304: Cannot find name 'AST'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(302,32): error TS2304: Cannot find name 'Identifier'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(305,37): error TS2304: Cannot find name 'ASTList'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(311,31): error TS2304: Cannot find name 'ASTList'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(315,55): error TS2304: Cannot find name 'BoundDecl'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(315,74): error TS2304: Cannot find name 'AST'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(317,30): error TS2304: Cannot find name 'Identifier'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(327,61): error TS2304: Cannot find name 'ReturnStatement'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(327,86): error TS2304: Cannot find name 'AST'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(333,58): error TS2304: Cannot find name 'ForStatement'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(333,80): error TS2304: Cannot find name 'AST'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(351,60): error TS2304: Cannot find name 'ForInStatement'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(351,84): error TS2304: Cannot find name 'AST'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(361,57): error TS2304: Cannot find name 'IfStatement'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(361,78): error TS2304: Cannot find name 'AST'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(371,60): error TS2304: Cannot find name 'WhileStatement'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(371,84): error TS2304: Cannot find name 'AST'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(378,62): error TS2304: Cannot find name 'DoWhileStatement'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(378,88): error TS2304: Cannot find name 'AST'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(385,51): error TS2304: Cannot find name 'Block'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(385,66): error TS2304: Cannot find name 'AST'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(387,38): error TS2304: Cannot find name 'ASTList'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(391,59): error TS2304: Cannot find name 'CaseStatement'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(391,82): error TS2304: Cannot find name 'AST'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(397,32): error TS2304: Cannot find name 'ASTList'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(401,61): error TS2304: Cannot find name 'SwitchStatement'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(401,86): error TS2304: Cannot find name 'AST'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(407,36): error TS2304: Cannot find name 'ASTList'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(411,49): error TS2304: Cannot find name 'Try'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(411,62): error TS2304: Cannot find name 'AST'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(417,54): error TS2304: Cannot find name 'TryCatch'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(417,72): error TS2304: Cannot find name 'AST'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(419,35): error TS2304: Cannot find name 'Try'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(423,37): error TS2304: Cannot find name 'Catch'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(427,56): error TS2304: Cannot find name 'TryFinally'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(427,76): error TS2304: Cannot find name 'AST'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(433,39): error TS2304: Cannot find name 'Finally'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(437,53): error TS2304: Cannot find name 'Finally'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(437,70): error TS2304: Cannot find name 'AST'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(443,51): error TS2304: Cannot find name 'Catch'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(443,66): error TS2304: Cannot find name 'AST'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(445,33): error TS2304: Cannot find name 'VarDecl'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(453,52): error TS2304: Cannot find name 'NamedDeclaration'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(453,78): error TS2304: Cannot find name 'AST'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(454,28): error TS2304: Cannot find name 'Identifier'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(456,35): error TS2304: Cannot find name 'ASTList'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(461,55): error TS2304: Cannot find name 'TypeDeclaration'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(461,80): error TS2304: Cannot find name 'AST'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(465,55): error TS2304: Cannot find name 'ClassDeclaration'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(465,81): error TS2304: Cannot find name 'AST'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(469,39): error TS2304: Cannot find name 'ASTList'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(473,42): error TS2304: Cannot find name 'ASTList'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(477,52): error TS2304: Cannot find name 'Script'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(477,68): error TS2304: Cannot find name 'AST'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(479,31): error TS2304: Cannot find name 'ASTList'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(483,54): error TS2304: Cannot find name 'InterfaceDeclaration'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(483,84): error TS2304: Cannot find name 'AST'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(488,39): error TS2304: Cannot find name 'ASTList'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(492,42): error TS2304: Cannot find name 'ASTList'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(496,56): error TS2304: Cannot find name 'ModuleDeclaration'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(496,83): error TS2304: Cannot find name 'AST'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(500,56): error TS2304: Cannot find name 'ImportDeclaration'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(500,83): error TS2304: Cannot find name 'AST'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(502,30): error TS2304: Cannot find name 'Identifier'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(509,59): error TS2304: Cannot find name 'WithStatement'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(509,82): error TS2304: Cannot find name 'AST'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(519,51): error TS2304: Cannot find name 'Label'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(519,66): error TS2304: Cannot find name 'AST'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(523,62): error TS2304: Cannot find name 'LabeledStatement'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(523,88): error TS2304: Cannot find name 'AST'.
|
|
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts(524,30): error TS2304: Cannot find name 'ASTList'.
|
|
|
|
|
|
|
|
|
2014-07-13 01:04:16 +02:00
|
|
|
==== tests/cases/conformance/parser/ecmascript5/parserRealSource12.ts (209 errors) ====
|
|
|
|
// Copyright (c) Microsoft. All rights reserved. Licensed under the Apache License, Version 2.0.
|
|
|
|
// See LICENSE.txt in the project root for complete license information.
|
|
|
|
|
|
|
|
///<reference path='typescript.ts' />
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS6053: File 'typescript.ts' not found.
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
module TypeScript {
|
|
|
|
export interface IAstWalker {
|
|
|
|
walk(ast: AST, parent: AST): AST;
|
|
|
|
~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'AST'.
|
2014-07-13 01:04:16 +02:00
|
|
|
~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'AST'.
|
2014-07-13 01:04:16 +02:00
|
|
|
~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'AST'.
|
2014-07-13 01:04:16 +02:00
|
|
|
options: AstWalkOptions;
|
|
|
|
state: any; // user state object
|
|
|
|
}
|
|
|
|
|
|
|
|
export class AstWalkOptions {
|
|
|
|
public goChildren = true;
|
|
|
|
public goNextSibling = true;
|
|
|
|
public reverseSiblings = false; // visit siblings in reverse execution order
|
|
|
|
|
|
|
|
public stopWalk(stop:boolean = true) {
|
|
|
|
this.goChildren = !stop;
|
|
|
|
this.goNextSibling = !stop;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface IAstWalkCallback {
|
|
|
|
(ast: AST, parent: AST, walker: IAstWalker): AST;
|
|
|
|
~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'AST'.
|
2014-07-13 01:04:16 +02:00
|
|
|
~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'AST'.
|
2014-07-13 01:04:16 +02:00
|
|
|
~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'AST'.
|
2014-07-13 01:04:16 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
export interface IAstWalkChildren {
|
|
|
|
(preAst: AST, parent: AST, walker: IAstWalker): void;
|
|
|
|
~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'AST'.
|
2014-07-13 01:04:16 +02:00
|
|
|
~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'AST'.
|
2014-07-13 01:04:16 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
class AstWalker implements IAstWalker {
|
|
|
|
constructor (
|
|
|
|
private childrenWalkers: IAstWalkChildren[],
|
|
|
|
private pre: IAstWalkCallback,
|
|
|
|
private post: IAstWalkCallback,
|
|
|
|
public options: AstWalkOptions,
|
|
|
|
public state: any) {
|
|
|
|
}
|
|
|
|
|
|
|
|
public walk(ast: AST, parent: AST): AST {
|
|
|
|
~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'AST'.
|
2014-07-13 01:04:16 +02:00
|
|
|
~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'AST'.
|
2014-07-13 01:04:16 +02:00
|
|
|
~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'AST'.
|
2014-07-13 01:04:16 +02:00
|
|
|
var preAst = this.pre(ast, parent, this);
|
|
|
|
if (preAst === undefined) {
|
|
|
|
preAst = ast;
|
|
|
|
}
|
|
|
|
if (this.options.goChildren) {
|
|
|
|
var svGoSib = this.options.goNextSibling;
|
|
|
|
this.options.goNextSibling = true;
|
|
|
|
// Call the "walkChildren" function corresponding to "nodeType".
|
|
|
|
this.childrenWalkers[ast.nodeType](ast, parent, this);
|
|
|
|
this.options.goNextSibling = svGoSib;
|
|
|
|
}
|
|
|
|
else {
|
|
|
|
// no go only applies to children of node issuing it
|
|
|
|
this.options.goChildren = true;
|
|
|
|
}
|
|
|
|
if (this.post) {
|
|
|
|
var postAst = this.post(preAst, parent, this);
|
|
|
|
if (postAst === undefined) {
|
|
|
|
postAst = preAst;
|
|
|
|
}
|
|
|
|
return postAst;
|
|
|
|
}
|
|
|
|
else {
|
|
|
|
return preAst;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
export class AstWalkerFactory {
|
|
|
|
private childrenWalkers: IAstWalkChildren[] = [];
|
|
|
|
|
|
|
|
constructor () {
|
|
|
|
this.initChildrenWalkers();
|
|
|
|
}
|
|
|
|
|
|
|
|
public walk(ast: AST, pre: IAstWalkCallback, post?: IAstWalkCallback, options?: AstWalkOptions, state?: any): AST {
|
|
|
|
~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'AST'.
|
2014-07-13 01:04:16 +02:00
|
|
|
~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'AST'.
|
2014-07-13 01:04:16 +02:00
|
|
|
return this.getWalker(pre, post, options, state).walk(ast, null)
|
|
|
|
}
|
|
|
|
|
|
|
|
public getWalker(pre: IAstWalkCallback, post?: IAstWalkCallback, options?: AstWalkOptions, state?: any): IAstWalker {
|
|
|
|
return this.getSlowWalker(pre, post, options, state);
|
|
|
|
}
|
|
|
|
|
|
|
|
private getSlowWalker(pre: IAstWalkCallback, post?: IAstWalkCallback, options?: AstWalkOptions, state?: any): IAstWalker {
|
|
|
|
if (!options) {
|
|
|
|
options = new AstWalkOptions();
|
|
|
|
}
|
|
|
|
|
|
|
|
return new AstWalker(this.childrenWalkers, pre, post, options, state);
|
|
|
|
}
|
|
|
|
|
|
|
|
private initChildrenWalkers(): void {
|
|
|
|
this.childrenWalkers[NodeType.None] = ChildrenWalkers.walkNone;
|
|
|
|
~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
2014-07-13 01:04:16 +02:00
|
|
|
this.childrenWalkers[NodeType.Empty] = ChildrenWalkers.walkNone;
|
|
|
|
~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
2014-07-13 01:04:16 +02:00
|
|
|
this.childrenWalkers[NodeType.EmptyExpr] = ChildrenWalkers.walkNone;
|
|
|
|
~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
2014-07-13 01:04:16 +02:00
|
|
|
this.childrenWalkers[NodeType.True] = ChildrenWalkers.walkNone;
|
|
|
|
~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
2014-07-13 01:04:16 +02:00
|
|
|
this.childrenWalkers[NodeType.False] = ChildrenWalkers.walkNone;
|
|
|
|
~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
2014-07-13 01:04:16 +02:00
|
|
|
this.childrenWalkers[NodeType.This] = ChildrenWalkers.walkNone;
|
|
|
|
~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
2014-07-13 01:04:16 +02:00
|
|
|
this.childrenWalkers[NodeType.Super] = ChildrenWalkers.walkNone;
|
|
|
|
~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
2014-07-13 01:04:16 +02:00
|
|
|
this.childrenWalkers[NodeType.QString] = ChildrenWalkers.walkNone;
|
|
|
|
~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
2014-07-13 01:04:16 +02:00
|
|
|
this.childrenWalkers[NodeType.Regex] = ChildrenWalkers.walkNone;
|
|
|
|
~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
2014-07-13 01:04:16 +02:00
|
|
|
this.childrenWalkers[NodeType.Null] = ChildrenWalkers.walkNone;
|
|
|
|
~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
2014-07-13 01:04:16 +02:00
|
|
|
this.childrenWalkers[NodeType.ArrayLit] = ChildrenWalkers.walkUnaryExpressionChildren;
|
|
|
|
~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
2014-07-13 01:04:16 +02:00
|
|
|
this.childrenWalkers[NodeType.ObjectLit] = ChildrenWalkers.walkUnaryExpressionChildren;
|
|
|
|
~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
2014-07-13 01:04:16 +02:00
|
|
|
this.childrenWalkers[NodeType.Void] = ChildrenWalkers.walkUnaryExpressionChildren;
|
|
|
|
~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
2014-07-13 01:04:16 +02:00
|
|
|
this.childrenWalkers[NodeType.Comma] = ChildrenWalkers.walkBinaryExpressionChildren;
|
|
|
|
~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
2014-07-13 01:04:16 +02:00
|
|
|
this.childrenWalkers[NodeType.Pos] = ChildrenWalkers.walkUnaryExpressionChildren;
|
|
|
|
~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
2014-07-13 01:04:16 +02:00
|
|
|
this.childrenWalkers[NodeType.Neg] = ChildrenWalkers.walkUnaryExpressionChildren;
|
|
|
|
~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
2014-07-13 01:04:16 +02:00
|
|
|
this.childrenWalkers[NodeType.Delete] = ChildrenWalkers.walkUnaryExpressionChildren;
|
|
|
|
~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
2014-07-13 01:04:16 +02:00
|
|
|
this.childrenWalkers[NodeType.Await] = ChildrenWalkers.walkUnaryExpressionChildren;
|
|
|
|
~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
2014-07-13 01:04:16 +02:00
|
|
|
this.childrenWalkers[NodeType.In] = ChildrenWalkers.walkBinaryExpressionChildren;
|
|
|
|
~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
2014-07-13 01:04:16 +02:00
|
|
|
this.childrenWalkers[NodeType.Dot] = ChildrenWalkers.walkBinaryExpressionChildren;
|
|
|
|
~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
2014-07-13 01:04:16 +02:00
|
|
|
this.childrenWalkers[NodeType.From] = ChildrenWalkers.walkBinaryExpressionChildren;
|
|
|
|
~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
2014-07-13 01:04:16 +02:00
|
|
|
this.childrenWalkers[NodeType.Is] = ChildrenWalkers.walkBinaryExpressionChildren;
|
|
|
|
~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
2014-07-13 01:04:16 +02:00
|
|
|
this.childrenWalkers[NodeType.InstOf] = ChildrenWalkers.walkBinaryExpressionChildren;
|
|
|
|
~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
2014-07-13 01:04:16 +02:00
|
|
|
this.childrenWalkers[NodeType.Typeof] = ChildrenWalkers.walkUnaryExpressionChildren;
|
|
|
|
~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
2014-07-13 01:04:16 +02:00
|
|
|
this.childrenWalkers[NodeType.NumberLit] = ChildrenWalkers.walkNone;
|
|
|
|
~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
2014-07-13 01:04:16 +02:00
|
|
|
this.childrenWalkers[NodeType.Name] = ChildrenWalkers.walkNone;
|
|
|
|
~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
2014-07-13 01:04:16 +02:00
|
|
|
this.childrenWalkers[NodeType.TypeRef] = ChildrenWalkers.walkTypeReferenceChildren;
|
|
|
|
~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
2014-07-13 01:04:16 +02:00
|
|
|
this.childrenWalkers[NodeType.Index] = ChildrenWalkers.walkBinaryExpressionChildren;
|
|
|
|
~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
2014-07-13 01:04:16 +02:00
|
|
|
this.childrenWalkers[NodeType.Call] = ChildrenWalkers.walkCallExpressionChildren;
|
|
|
|
~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
2014-07-13 01:04:16 +02:00
|
|
|
this.childrenWalkers[NodeType.New] = ChildrenWalkers.walkCallExpressionChildren;
|
|
|
|
~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
2014-07-13 01:04:16 +02:00
|
|
|
this.childrenWalkers[NodeType.Asg] = ChildrenWalkers.walkBinaryExpressionChildren;
|
|
|
|
~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
2014-07-13 01:04:16 +02:00
|
|
|
this.childrenWalkers[NodeType.AsgAdd] = ChildrenWalkers.walkBinaryExpressionChildren;
|
|
|
|
~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
2014-07-13 01:04:16 +02:00
|
|
|
this.childrenWalkers[NodeType.AsgSub] = ChildrenWalkers.walkBinaryExpressionChildren;
|
|
|
|
~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
2014-07-13 01:04:16 +02:00
|
|
|
this.childrenWalkers[NodeType.AsgDiv] = ChildrenWalkers.walkBinaryExpressionChildren;
|
|
|
|
~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
2014-07-13 01:04:16 +02:00
|
|
|
this.childrenWalkers[NodeType.AsgMul] = ChildrenWalkers.walkBinaryExpressionChildren;
|
|
|
|
~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
2014-07-13 01:04:16 +02:00
|
|
|
this.childrenWalkers[NodeType.AsgMod] = ChildrenWalkers.walkBinaryExpressionChildren;
|
|
|
|
~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
2014-07-13 01:04:16 +02:00
|
|
|
this.childrenWalkers[NodeType.AsgAnd] = ChildrenWalkers.walkBinaryExpressionChildren;
|
|
|
|
~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
2014-07-13 01:04:16 +02:00
|
|
|
this.childrenWalkers[NodeType.AsgXor] = ChildrenWalkers.walkBinaryExpressionChildren;
|
|
|
|
~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
2014-07-13 01:04:16 +02:00
|
|
|
this.childrenWalkers[NodeType.AsgOr] = ChildrenWalkers.walkBinaryExpressionChildren;
|
|
|
|
~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
2014-07-13 01:04:16 +02:00
|
|
|
this.childrenWalkers[NodeType.AsgLsh] = ChildrenWalkers.walkBinaryExpressionChildren;
|
|
|
|
~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
2014-07-13 01:04:16 +02:00
|
|
|
this.childrenWalkers[NodeType.AsgRsh] = ChildrenWalkers.walkBinaryExpressionChildren;
|
|
|
|
~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
2014-07-13 01:04:16 +02:00
|
|
|
this.childrenWalkers[NodeType.AsgRs2] = ChildrenWalkers.walkBinaryExpressionChildren;
|
|
|
|
~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
2014-07-13 01:04:16 +02:00
|
|
|
this.childrenWalkers[NodeType.ConditionalExpression] = ChildrenWalkers.walkTrinaryExpressionChildren;
|
|
|
|
~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
2014-07-13 01:04:16 +02:00
|
|
|
this.childrenWalkers[NodeType.LogOr] = ChildrenWalkers.walkBinaryExpressionChildren;
|
|
|
|
~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
2014-07-13 01:04:16 +02:00
|
|
|
this.childrenWalkers[NodeType.LogAnd] = ChildrenWalkers.walkBinaryExpressionChildren;
|
|
|
|
~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
2014-07-13 01:04:16 +02:00
|
|
|
this.childrenWalkers[NodeType.Or] = ChildrenWalkers.walkBinaryExpressionChildren;
|
|
|
|
~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
2014-07-13 01:04:16 +02:00
|
|
|
this.childrenWalkers[NodeType.Xor] = ChildrenWalkers.walkBinaryExpressionChildren;
|
|
|
|
~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
2014-07-13 01:04:16 +02:00
|
|
|
this.childrenWalkers[NodeType.And] = ChildrenWalkers.walkBinaryExpressionChildren;
|
|
|
|
~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
2014-07-13 01:04:16 +02:00
|
|
|
this.childrenWalkers[NodeType.Eq] = ChildrenWalkers.walkBinaryExpressionChildren;
|
|
|
|
~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
2014-07-13 01:04:16 +02:00
|
|
|
this.childrenWalkers[NodeType.Ne] = ChildrenWalkers.walkBinaryExpressionChildren;
|
|
|
|
~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
2014-07-13 01:04:16 +02:00
|
|
|
this.childrenWalkers[NodeType.Eqv] = ChildrenWalkers.walkBinaryExpressionChildren;
|
|
|
|
~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
2014-07-13 01:04:16 +02:00
|
|
|
this.childrenWalkers[NodeType.NEqv] = ChildrenWalkers.walkBinaryExpressionChildren;
|
|
|
|
~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
2014-07-13 01:04:16 +02:00
|
|
|
this.childrenWalkers[NodeType.Lt] = ChildrenWalkers.walkBinaryExpressionChildren;
|
|
|
|
~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
2014-07-13 01:04:16 +02:00
|
|
|
this.childrenWalkers[NodeType.Le] = ChildrenWalkers.walkBinaryExpressionChildren;
|
|
|
|
~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
2014-07-13 01:04:16 +02:00
|
|
|
this.childrenWalkers[NodeType.Gt] = ChildrenWalkers.walkBinaryExpressionChildren;
|
|
|
|
~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
2014-07-13 01:04:16 +02:00
|
|
|
this.childrenWalkers[NodeType.Ge] = ChildrenWalkers.walkBinaryExpressionChildren;
|
|
|
|
~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
2014-07-13 01:04:16 +02:00
|
|
|
this.childrenWalkers[NodeType.Add] = ChildrenWalkers.walkBinaryExpressionChildren;
|
|
|
|
~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
2014-07-13 01:04:16 +02:00
|
|
|
this.childrenWalkers[NodeType.Sub] = ChildrenWalkers.walkBinaryExpressionChildren;
|
|
|
|
~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
2014-07-13 01:04:16 +02:00
|
|
|
this.childrenWalkers[NodeType.Mul] = ChildrenWalkers.walkBinaryExpressionChildren;
|
|
|
|
~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
2014-07-13 01:04:16 +02:00
|
|
|
this.childrenWalkers[NodeType.Div] = ChildrenWalkers.walkBinaryExpressionChildren;
|
|
|
|
~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
2014-07-13 01:04:16 +02:00
|
|
|
this.childrenWalkers[NodeType.Mod] = ChildrenWalkers.walkBinaryExpressionChildren;
|
|
|
|
~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
2014-07-13 01:04:16 +02:00
|
|
|
this.childrenWalkers[NodeType.Lsh] = ChildrenWalkers.walkBinaryExpressionChildren;
|
|
|
|
~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
2014-07-13 01:04:16 +02:00
|
|
|
this.childrenWalkers[NodeType.Rsh] = ChildrenWalkers.walkBinaryExpressionChildren;
|
|
|
|
~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
2014-07-13 01:04:16 +02:00
|
|
|
this.childrenWalkers[NodeType.Rs2] = ChildrenWalkers.walkBinaryExpressionChildren;
|
|
|
|
~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
2014-07-13 01:04:16 +02:00
|
|
|
this.childrenWalkers[NodeType.Not] = ChildrenWalkers.walkUnaryExpressionChildren;
|
|
|
|
~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
2014-07-13 01:04:16 +02:00
|
|
|
this.childrenWalkers[NodeType.LogNot] = ChildrenWalkers.walkUnaryExpressionChildren;
|
|
|
|
~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
2014-07-13 01:04:16 +02:00
|
|
|
this.childrenWalkers[NodeType.IncPre] = ChildrenWalkers.walkUnaryExpressionChildren;
|
|
|
|
~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
2014-07-13 01:04:16 +02:00
|
|
|
this.childrenWalkers[NodeType.DecPre] = ChildrenWalkers.walkUnaryExpressionChildren;
|
|
|
|
~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
2014-07-13 01:04:16 +02:00
|
|
|
this.childrenWalkers[NodeType.IncPost] = ChildrenWalkers.walkUnaryExpressionChildren;
|
|
|
|
~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
2014-07-13 01:04:16 +02:00
|
|
|
this.childrenWalkers[NodeType.DecPost] = ChildrenWalkers.walkUnaryExpressionChildren;
|
|
|
|
~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
2014-07-13 01:04:16 +02:00
|
|
|
this.childrenWalkers[NodeType.TypeAssertion] = ChildrenWalkers.walkUnaryExpressionChildren;
|
|
|
|
~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
2014-07-13 01:04:16 +02:00
|
|
|
this.childrenWalkers[NodeType.FuncDecl] = ChildrenWalkers.walkFuncDeclChildren;
|
|
|
|
~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
2014-07-13 01:04:16 +02:00
|
|
|
this.childrenWalkers[NodeType.Member] = ChildrenWalkers.walkBinaryExpressionChildren;
|
|
|
|
~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
2014-07-13 01:04:16 +02:00
|
|
|
this.childrenWalkers[NodeType.VarDecl] = ChildrenWalkers.walkBoundDeclChildren;
|
|
|
|
~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
2014-07-13 01:04:16 +02:00
|
|
|
this.childrenWalkers[NodeType.ArgDecl] = ChildrenWalkers.walkBoundDeclChildren;
|
|
|
|
~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
2014-07-13 01:04:16 +02:00
|
|
|
this.childrenWalkers[NodeType.Return] = ChildrenWalkers.walkReturnStatementChildren;
|
|
|
|
~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
2014-07-13 01:04:16 +02:00
|
|
|
this.childrenWalkers[NodeType.Break] = ChildrenWalkers.walkNone;
|
|
|
|
~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
2014-07-13 01:04:16 +02:00
|
|
|
this.childrenWalkers[NodeType.Continue] = ChildrenWalkers.walkNone;
|
|
|
|
~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
2014-07-13 01:04:16 +02:00
|
|
|
this.childrenWalkers[NodeType.Throw] = ChildrenWalkers.walkUnaryExpressionChildren;
|
|
|
|
~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
2014-07-13 01:04:16 +02:00
|
|
|
this.childrenWalkers[NodeType.For] = ChildrenWalkers.walkForStatementChildren;
|
|
|
|
~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
2014-07-13 01:04:16 +02:00
|
|
|
this.childrenWalkers[NodeType.ForIn] = ChildrenWalkers.walkForInStatementChildren;
|
|
|
|
~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
2014-07-13 01:04:16 +02:00
|
|
|
this.childrenWalkers[NodeType.If] = ChildrenWalkers.walkIfStatementChildren;
|
|
|
|
~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
2014-07-13 01:04:16 +02:00
|
|
|
this.childrenWalkers[NodeType.While] = ChildrenWalkers.walkWhileStatementChildren;
|
|
|
|
~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
2014-07-13 01:04:16 +02:00
|
|
|
this.childrenWalkers[NodeType.DoWhile] = ChildrenWalkers.walkDoWhileStatementChildren;
|
|
|
|
~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
2014-07-13 01:04:16 +02:00
|
|
|
this.childrenWalkers[NodeType.Block] = ChildrenWalkers.walkBlockChildren;
|
|
|
|
~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
2014-07-13 01:04:16 +02:00
|
|
|
this.childrenWalkers[NodeType.Case] = ChildrenWalkers.walkCaseStatementChildren;
|
|
|
|
~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
2014-07-13 01:04:16 +02:00
|
|
|
this.childrenWalkers[NodeType.Switch] = ChildrenWalkers.walkSwitchStatementChildren;
|
|
|
|
~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
2014-07-13 01:04:16 +02:00
|
|
|
this.childrenWalkers[NodeType.Try] = ChildrenWalkers.walkTryChildren;
|
|
|
|
~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
2014-07-13 01:04:16 +02:00
|
|
|
this.childrenWalkers[NodeType.TryCatch] = ChildrenWalkers.walkTryCatchChildren;
|
|
|
|
~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
2014-07-13 01:04:16 +02:00
|
|
|
this.childrenWalkers[NodeType.TryFinally] = ChildrenWalkers.walkTryFinallyChildren;
|
|
|
|
~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
2014-07-13 01:04:16 +02:00
|
|
|
this.childrenWalkers[NodeType.Finally] = ChildrenWalkers.walkFinallyChildren;
|
|
|
|
~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
2014-07-13 01:04:16 +02:00
|
|
|
this.childrenWalkers[NodeType.Catch] = ChildrenWalkers.walkCatchChildren;
|
|
|
|
~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
2014-07-13 01:04:16 +02:00
|
|
|
this.childrenWalkers[NodeType.List] = ChildrenWalkers.walkListChildren;
|
|
|
|
~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
2014-07-13 01:04:16 +02:00
|
|
|
this.childrenWalkers[NodeType.Script] = ChildrenWalkers.walkScriptChildren;
|
|
|
|
~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
2014-07-13 01:04:16 +02:00
|
|
|
this.childrenWalkers[NodeType.ClassDeclaration] = ChildrenWalkers.walkClassDeclChildren;
|
|
|
|
~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
2014-07-13 01:04:16 +02:00
|
|
|
this.childrenWalkers[NodeType.InterfaceDeclaration] = ChildrenWalkers.walkTypeDeclChildren;
|
|
|
|
~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
2014-07-13 01:04:16 +02:00
|
|
|
this.childrenWalkers[NodeType.ModuleDeclaration] = ChildrenWalkers.walkModuleDeclChildren;
|
|
|
|
~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
2014-07-13 01:04:16 +02:00
|
|
|
this.childrenWalkers[NodeType.ImportDeclaration] = ChildrenWalkers.walkImportDeclChildren;
|
|
|
|
~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
2014-07-13 01:04:16 +02:00
|
|
|
this.childrenWalkers[NodeType.With] = ChildrenWalkers.walkWithStatementChildren;
|
|
|
|
~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
2014-07-13 01:04:16 +02:00
|
|
|
this.childrenWalkers[NodeType.Label] = ChildrenWalkers.walkLabelChildren;
|
|
|
|
~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
2014-07-13 01:04:16 +02:00
|
|
|
this.childrenWalkers[NodeType.LabeledStatement] = ChildrenWalkers.walkLabeledStatementChildren;
|
|
|
|
~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
2014-07-13 01:04:16 +02:00
|
|
|
this.childrenWalkers[NodeType.EBStart] = ChildrenWalkers.walkNone;
|
|
|
|
~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
2014-07-13 01:04:16 +02:00
|
|
|
this.childrenWalkers[NodeType.GotoEB] = ChildrenWalkers.walkNone;
|
|
|
|
~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
2014-07-13 01:04:16 +02:00
|
|
|
this.childrenWalkers[NodeType.EndCode] = ChildrenWalkers.walkNone;
|
|
|
|
~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
2014-07-13 01:04:16 +02:00
|
|
|
this.childrenWalkers[NodeType.Error] = ChildrenWalkers.walkNone;
|
|
|
|
~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
2014-07-13 01:04:16 +02:00
|
|
|
this.childrenWalkers[NodeType.Comment] = ChildrenWalkers.walkNone;
|
|
|
|
~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
2014-07-13 01:04:16 +02:00
|
|
|
this.childrenWalkers[NodeType.Debugger] = ChildrenWalkers.walkNone;
|
|
|
|
~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
// Verify the code is up to date with the enum
|
|
|
|
for (var e in (<any>NodeType)._map) {
|
|
|
|
~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
2014-07-13 01:04:16 +02:00
|
|
|
if ((<any>this.childrenWalkers)[e] === undefined) {
|
|
|
|
throw new Error("initWalkers function is not up to date with enum content!");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
var globalAstWalkerFactory: AstWalkerFactory;
|
|
|
|
|
|
|
|
export function getAstWalkerFactory(): AstWalkerFactory {
|
|
|
|
if (!globalAstWalkerFactory) {
|
|
|
|
globalAstWalkerFactory = new AstWalkerFactory();
|
|
|
|
}
|
|
|
|
return globalAstWalkerFactory;
|
|
|
|
}
|
|
|
|
|
|
|
|
module ChildrenWalkers {
|
|
|
|
export function walkNone(preAst: ASTList, parent: AST, walker: IAstWalker): void {
|
|
|
|
~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'ASTList'.
|
2014-07-13 01:04:16 +02:00
|
|
|
~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'AST'.
|
2014-07-13 01:04:16 +02:00
|
|
|
// Nothing to do
|
|
|
|
}
|
|
|
|
|
|
|
|
export function walkListChildren(preAst: ASTList, parent: AST, walker: IAstWalker): void {
|
|
|
|
~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'ASTList'.
|
2014-07-13 01:04:16 +02:00
|
|
|
~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'AST'.
|
2014-07-13 01:04:16 +02:00
|
|
|
var len = preAst.members.length;
|
|
|
|
if (walker.options.reverseSiblings) {
|
|
|
|
for (var i = len - 1; i >= 0; i--) {
|
|
|
|
if (walker.options.goNextSibling) {
|
|
|
|
preAst.members[i] = walker.walk(preAst.members[i], preAst);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else {
|
|
|
|
for (var i = 0; i < len; i++) {
|
|
|
|
if (walker.options.goNextSibling) {
|
|
|
|
preAst.members[i] = walker.walk(preAst.members[i], preAst);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
export function walkUnaryExpressionChildren(preAst: UnaryExpression, parent: AST, walker: IAstWalker): void {
|
|
|
|
~~~~~~~~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'UnaryExpression'.
|
2014-07-13 01:04:16 +02:00
|
|
|
~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'AST'.
|
2014-07-13 01:04:16 +02:00
|
|
|
if (preAst.castTerm) {
|
|
|
|
preAst.castTerm = walker.walk(preAst.castTerm, preAst);
|
|
|
|
}
|
|
|
|
if (preAst.operand) {
|
|
|
|
preAst.operand = walker.walk(preAst.operand, preAst);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
export function walkBinaryExpressionChildren(preAst: BinaryExpression, parent: AST, walker: IAstWalker): void {
|
|
|
|
~~~~~~~~~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'BinaryExpression'.
|
2014-07-13 01:04:16 +02:00
|
|
|
~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'AST'.
|
2014-07-13 01:04:16 +02:00
|
|
|
if (walker.options.reverseSiblings) {
|
|
|
|
if (preAst.operand2) {
|
|
|
|
preAst.operand2 = walker.walk(preAst.operand2, preAst);
|
|
|
|
}
|
|
|
|
if ((preAst.operand1) && (walker.options.goNextSibling)) {
|
|
|
|
preAst.operand1 = walker.walk(preAst.operand1, preAst);
|
|
|
|
}
|
|
|
|
} else {
|
|
|
|
if (preAst.operand1) {
|
|
|
|
preAst.operand1 = walker.walk(preAst.operand1, preAst);
|
|
|
|
}
|
|
|
|
if ((preAst.operand2) && (walker.options.goNextSibling)) {
|
|
|
|
preAst.operand2 = walker.walk(preAst.operand2, preAst);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
export function walkTypeReferenceChildren(preAst: TypeReference, parent: AST, walker: IAstWalker): void {
|
|
|
|
~~~~~~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'TypeReference'.
|
2014-07-13 01:04:16 +02:00
|
|
|
~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'AST'.
|
2014-07-13 01:04:16 +02:00
|
|
|
if (preAst.term) {
|
|
|
|
preAst.term = walker.walk(preAst.term, preAst);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
export function walkCallExpressionChildren(preAst: CallExpression, parent: AST, walker: IAstWalker): void {
|
|
|
|
~~~~~~~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'CallExpression'.
|
2014-07-13 01:04:16 +02:00
|
|
|
~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'AST'.
|
2014-07-13 01:04:16 +02:00
|
|
|
if (!walker.options.reverseSiblings) {
|
|
|
|
preAst.target = walker.walk(preAst.target, preAst);
|
|
|
|
}
|
|
|
|
if (preAst.arguments && (walker.options.goNextSibling)) {
|
|
|
|
preAst.arguments = <ASTList> walker.walk(preAst.arguments, preAst);
|
|
|
|
~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'ASTList'.
|
2014-07-13 01:04:16 +02:00
|
|
|
}
|
|
|
|
if ((walker.options.reverseSiblings) && (walker.options.goNextSibling)) {
|
|
|
|
preAst.target = walker.walk(preAst.target, preAst);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
export function walkTrinaryExpressionChildren(preAst: ConditionalExpression, parent: AST, walker: IAstWalker): void {
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'ConditionalExpression'.
|
2014-07-13 01:04:16 +02:00
|
|
|
~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'AST'.
|
2014-07-13 01:04:16 +02:00
|
|
|
if (preAst.operand1) {
|
|
|
|
preAst.operand1 = walker.walk(preAst.operand1, preAst);
|
|
|
|
}
|
|
|
|
if (preAst.operand2 && (walker.options.goNextSibling)) {
|
|
|
|
preAst.operand2 = walker.walk(preAst.operand2, preAst);
|
|
|
|
}
|
|
|
|
if (preAst.operand3 && (walker.options.goNextSibling)) {
|
|
|
|
preAst.operand3 = walker.walk(preAst.operand3, preAst);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
export function walkFuncDeclChildren(preAst: FuncDecl, parent: AST, walker: IAstWalker): void {
|
|
|
|
~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'FuncDecl'.
|
2014-07-13 01:04:16 +02:00
|
|
|
~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'AST'.
|
2014-07-13 01:04:16 +02:00
|
|
|
if (preAst.name) {
|
|
|
|
preAst.name = <Identifier>walker.walk(preAst.name, preAst);
|
|
|
|
~~~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'Identifier'.
|
2014-07-13 01:04:16 +02:00
|
|
|
}
|
|
|
|
if (preAst.arguments && (preAst.arguments.members.length > 0) && (walker.options.goNextSibling)) {
|
|
|
|
preAst.arguments = <ASTList>walker.walk(preAst.arguments, preAst);
|
|
|
|
~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'ASTList'.
|
2014-07-13 01:04:16 +02:00
|
|
|
}
|
|
|
|
if (preAst.returnTypeAnnotation && (walker.options.goNextSibling)) {
|
|
|
|
preAst.returnTypeAnnotation = walker.walk(preAst.returnTypeAnnotation, preAst);
|
|
|
|
}
|
|
|
|
if (preAst.bod && (preAst.bod.members.length > 0) && (walker.options.goNextSibling)) {
|
|
|
|
preAst.bod = <ASTList>walker.walk(preAst.bod, preAst);
|
|
|
|
~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'ASTList'.
|
2014-07-13 01:04:16 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
export function walkBoundDeclChildren(preAst: BoundDecl, parent: AST, walker: IAstWalker): void {
|
|
|
|
~~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'BoundDecl'.
|
2014-07-13 01:04:16 +02:00
|
|
|
~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'AST'.
|
2014-07-13 01:04:16 +02:00
|
|
|
if (preAst.id) {
|
|
|
|
preAst.id = <Identifier>walker.walk(preAst.id, preAst);
|
|
|
|
~~~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'Identifier'.
|
2014-07-13 01:04:16 +02:00
|
|
|
}
|
|
|
|
if (preAst.init) {
|
|
|
|
preAst.init = walker.walk(preAst.init, preAst);
|
|
|
|
}
|
|
|
|
if ((preAst.typeExpr) && (walker.options.goNextSibling)) {
|
|
|
|
preAst.typeExpr = walker.walk(preAst.typeExpr, preAst);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
export function walkReturnStatementChildren(preAst: ReturnStatement, parent: AST, walker: IAstWalker): void {
|
|
|
|
~~~~~~~~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'ReturnStatement'.
|
2014-07-13 01:04:16 +02:00
|
|
|
~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'AST'.
|
2014-07-13 01:04:16 +02:00
|
|
|
if (preAst.returnExpression) {
|
|
|
|
preAst.returnExpression = walker.walk(preAst.returnExpression, preAst);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
export function walkForStatementChildren(preAst: ForStatement, parent: AST, walker: IAstWalker): void {
|
|
|
|
~~~~~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'ForStatement'.
|
2014-07-13 01:04:16 +02:00
|
|
|
~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'AST'.
|
2014-07-13 01:04:16 +02:00
|
|
|
if (preAst.init) {
|
|
|
|
preAst.init = walker.walk(preAst.init, preAst);
|
|
|
|
}
|
|
|
|
|
|
|
|
if (preAst.cond && walker.options.goNextSibling) {
|
|
|
|
preAst.cond = walker.walk(preAst.cond, preAst);
|
|
|
|
}
|
|
|
|
|
|
|
|
if (preAst.incr && walker.options.goNextSibling) {
|
|
|
|
preAst.incr = walker.walk(preAst.incr, preAst);
|
|
|
|
}
|
|
|
|
|
|
|
|
if (preAst.body && walker.options.goNextSibling) {
|
|
|
|
preAst.body = walker.walk(preAst.body, preAst);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
export function walkForInStatementChildren(preAst: ForInStatement, parent: AST, walker: IAstWalker): void {
|
|
|
|
~~~~~~~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'ForInStatement'.
|
2014-07-13 01:04:16 +02:00
|
|
|
~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'AST'.
|
2014-07-13 01:04:16 +02:00
|
|
|
preAst.lval = walker.walk(preAst.lval, preAst);
|
|
|
|
if (walker.options.goNextSibling) {
|
|
|
|
preAst.obj = walker.walk(preAst.obj, preAst);
|
|
|
|
}
|
|
|
|
if (preAst.body && (walker.options.goNextSibling)) {
|
|
|
|
preAst.body = walker.walk(preAst.body, preAst);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
export function walkIfStatementChildren(preAst: IfStatement, parent: AST, walker: IAstWalker): void {
|
|
|
|
~~~~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'IfStatement'.
|
2014-07-13 01:04:16 +02:00
|
|
|
~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'AST'.
|
2014-07-13 01:04:16 +02:00
|
|
|
preAst.cond = walker.walk(preAst.cond, preAst);
|
|
|
|
if (preAst.thenBod && (walker.options.goNextSibling)) {
|
|
|
|
preAst.thenBod = walker.walk(preAst.thenBod, preAst);
|
|
|
|
}
|
|
|
|
if (preAst.elseBod && (walker.options.goNextSibling)) {
|
|
|
|
preAst.elseBod = walker.walk(preAst.elseBod, preAst);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
export function walkWhileStatementChildren(preAst: WhileStatement, parent: AST, walker: IAstWalker): void {
|
|
|
|
~~~~~~~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'WhileStatement'.
|
2014-07-13 01:04:16 +02:00
|
|
|
~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'AST'.
|
2014-07-13 01:04:16 +02:00
|
|
|
preAst.cond = walker.walk(preAst.cond, preAst);
|
|
|
|
if (preAst.body && (walker.options.goNextSibling)) {
|
|
|
|
preAst.body = walker.walk(preAst.body, preAst);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
export function walkDoWhileStatementChildren(preAst: DoWhileStatement, parent: AST, walker: IAstWalker): void {
|
|
|
|
~~~~~~~~~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'DoWhileStatement'.
|
2014-07-13 01:04:16 +02:00
|
|
|
~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'AST'.
|
2014-07-13 01:04:16 +02:00
|
|
|
preAst.cond = walker.walk(preAst.cond, preAst);
|
|
|
|
if (preAst.body && (walker.options.goNextSibling)) {
|
|
|
|
preAst.body = walker.walk(preAst.body, preAst);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
export function walkBlockChildren(preAst: Block, parent: AST, walker: IAstWalker): void {
|
|
|
|
~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'Block'.
|
2014-07-13 01:04:16 +02:00
|
|
|
~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'AST'.
|
2014-07-13 01:04:16 +02:00
|
|
|
if (preAst.statements) {
|
|
|
|
preAst.statements = <ASTList>walker.walk(preAst.statements, preAst);
|
|
|
|
~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'ASTList'.
|
2014-07-13 01:04:16 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
export function walkCaseStatementChildren(preAst: CaseStatement, parent: AST, walker: IAstWalker): void {
|
|
|
|
~~~~~~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'CaseStatement'.
|
2014-07-13 01:04:16 +02:00
|
|
|
~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'AST'.
|
2014-07-13 01:04:16 +02:00
|
|
|
if (preAst.expr) {
|
|
|
|
preAst.expr = walker.walk(preAst.expr, preAst);
|
|
|
|
}
|
|
|
|
|
|
|
|
if (preAst.body && walker.options.goNextSibling) {
|
|
|
|
preAst.body = <ASTList>walker.walk(preAst.body, preAst);
|
|
|
|
~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'ASTList'.
|
2014-07-13 01:04:16 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
export function walkSwitchStatementChildren(preAst: SwitchStatement, parent: AST, walker: IAstWalker): void {
|
|
|
|
~~~~~~~~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'SwitchStatement'.
|
2014-07-13 01:04:16 +02:00
|
|
|
~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'AST'.
|
2014-07-13 01:04:16 +02:00
|
|
|
if (preAst.val) {
|
|
|
|
preAst.val = walker.walk(preAst.val, preAst);
|
|
|
|
}
|
|
|
|
|
|
|
|
if ((preAst.caseList) && walker.options.goNextSibling) {
|
|
|
|
preAst.caseList = <ASTList>walker.walk(preAst.caseList, preAst);
|
|
|
|
~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'ASTList'.
|
2014-07-13 01:04:16 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
export function walkTryChildren(preAst: Try, parent: AST, walker: IAstWalker): void {
|
|
|
|
~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'Try'.
|
2014-07-13 01:04:16 +02:00
|
|
|
~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'AST'.
|
2014-07-13 01:04:16 +02:00
|
|
|
if (preAst.body) {
|
|
|
|
preAst.body = walker.walk(preAst.body, preAst);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
export function walkTryCatchChildren(preAst: TryCatch, parent: AST, walker: IAstWalker): void {
|
|
|
|
~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'TryCatch'.
|
2014-07-13 01:04:16 +02:00
|
|
|
~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'AST'.
|
2014-07-13 01:04:16 +02:00
|
|
|
if (preAst.tryNode) {
|
|
|
|
preAst.tryNode = <Try>walker.walk(preAst.tryNode, preAst);
|
|
|
|
~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'Try'.
|
2014-07-13 01:04:16 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
if ((preAst.catchNode) && walker.options.goNextSibling) {
|
|
|
|
preAst.catchNode = <Catch>walker.walk(preAst.catchNode, preAst);
|
|
|
|
~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'Catch'.
|
2014-07-13 01:04:16 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
export function walkTryFinallyChildren(preAst: TryFinally, parent: AST, walker: IAstWalker): void {
|
|
|
|
~~~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'TryFinally'.
|
2014-07-13 01:04:16 +02:00
|
|
|
~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'AST'.
|
2014-07-13 01:04:16 +02:00
|
|
|
if (preAst.tryNode) {
|
|
|
|
preAst.tryNode = walker.walk(preAst.tryNode, preAst);
|
|
|
|
}
|
|
|
|
|
|
|
|
if (preAst.finallyNode && walker.options.goNextSibling) {
|
|
|
|
preAst.finallyNode = <Finally>walker.walk(preAst.finallyNode, preAst);
|
|
|
|
~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'Finally'.
|
2014-07-13 01:04:16 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
export function walkFinallyChildren(preAst: Finally, parent: AST, walker: IAstWalker): void {
|
|
|
|
~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'Finally'.
|
2014-07-13 01:04:16 +02:00
|
|
|
~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'AST'.
|
2014-07-13 01:04:16 +02:00
|
|
|
if (preAst.body) {
|
|
|
|
preAst.body = walker.walk(preAst.body, preAst);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
export function walkCatchChildren(preAst: Catch, parent: AST, walker: IAstWalker): void {
|
|
|
|
~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'Catch'.
|
2014-07-13 01:04:16 +02:00
|
|
|
~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'AST'.
|
2014-07-13 01:04:16 +02:00
|
|
|
if (preAst.param) {
|
|
|
|
preAst.param = <VarDecl>walker.walk(preAst.param, preAst);
|
|
|
|
~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'VarDecl'.
|
2014-07-13 01:04:16 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
if ((preAst.body) && walker.options.goNextSibling) {
|
|
|
|
preAst.body = walker.walk(preAst.body, preAst);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
export function walkRecordChildren(preAst: NamedDeclaration, parent: AST, walker: IAstWalker): void {
|
|
|
|
~~~~~~~~~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'NamedDeclaration'.
|
2014-07-13 01:04:16 +02:00
|
|
|
~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'AST'.
|
2014-07-13 01:04:16 +02:00
|
|
|
preAst.name = <Identifier>walker.walk(preAst.name, preAst);
|
|
|
|
~~~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'Identifier'.
|
2014-07-13 01:04:16 +02:00
|
|
|
if (walker.options.goNextSibling && preAst.members) {
|
|
|
|
preAst.members = <ASTList>walker.walk(preAst.members, preAst);
|
|
|
|
~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'ASTList'.
|
2014-07-13 01:04:16 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
export function walkNamedTypeChildren(preAst: TypeDeclaration, parent: AST, walker: IAstWalker): void {
|
|
|
|
~~~~~~~~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'TypeDeclaration'.
|
2014-07-13 01:04:16 +02:00
|
|
|
~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'AST'.
|
2014-07-13 01:04:16 +02:00
|
|
|
walkRecordChildren(preAst, parent, walker);
|
|
|
|
}
|
|
|
|
|
|
|
|
export function walkClassDeclChildren(preAst: ClassDeclaration, parent: AST, walker: IAstWalker): void {
|
|
|
|
~~~~~~~~~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'ClassDeclaration'.
|
2014-07-13 01:04:16 +02:00
|
|
|
~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'AST'.
|
2014-07-13 01:04:16 +02:00
|
|
|
walkNamedTypeChildren(preAst, parent, walker);
|
|
|
|
|
|
|
|
if (walker.options.goNextSibling && preAst.extendsList) {
|
|
|
|
preAst.extendsList = <ASTList>walker.walk(preAst.extendsList, preAst);
|
|
|
|
~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'ASTList'.
|
2014-07-13 01:04:16 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
if (walker.options.goNextSibling && preAst.implementsList) {
|
|
|
|
preAst.implementsList = <ASTList>walker.walk(preAst.implementsList, preAst);
|
|
|
|
~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'ASTList'.
|
2014-07-13 01:04:16 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
export function walkScriptChildren(preAst: Script, parent: AST, walker: IAstWalker): void {
|
|
|
|
~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'Script'.
|
2014-07-13 01:04:16 +02:00
|
|
|
~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'AST'.
|
2014-07-13 01:04:16 +02:00
|
|
|
if (preAst.bod) {
|
|
|
|
preAst.bod = <ASTList>walker.walk(preAst.bod, preAst);
|
|
|
|
~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'ASTList'.
|
2014-07-13 01:04:16 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
export function walkTypeDeclChildren(preAst: InterfaceDeclaration, parent: AST, walker: IAstWalker): void {
|
|
|
|
~~~~~~~~~~~~~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'InterfaceDeclaration'.
|
2014-07-13 01:04:16 +02:00
|
|
|
~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'AST'.
|
2014-07-13 01:04:16 +02:00
|
|
|
walkNamedTypeChildren(preAst, parent, walker);
|
|
|
|
|
|
|
|
// walked arguments as part of members
|
|
|
|
if (walker.options.goNextSibling && preAst.extendsList) {
|
|
|
|
preAst.extendsList = <ASTList>walker.walk(preAst.extendsList, preAst);
|
|
|
|
~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'ASTList'.
|
2014-07-13 01:04:16 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
if (walker.options.goNextSibling && preAst.implementsList) {
|
|
|
|
preAst.implementsList = <ASTList>walker.walk(preAst.implementsList, preAst);
|
|
|
|
~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'ASTList'.
|
2014-07-13 01:04:16 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
export function walkModuleDeclChildren(preAst: ModuleDeclaration, parent: AST, walker: IAstWalker): void {
|
|
|
|
~~~~~~~~~~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'ModuleDeclaration'.
|
2014-07-13 01:04:16 +02:00
|
|
|
~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'AST'.
|
2014-07-13 01:04:16 +02:00
|
|
|
walkRecordChildren(preAst, parent, walker);
|
|
|
|
}
|
|
|
|
|
|
|
|
export function walkImportDeclChildren(preAst: ImportDeclaration, parent: AST, walker: IAstWalker): void {
|
|
|
|
~~~~~~~~~~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'ImportDeclaration'.
|
2014-07-13 01:04:16 +02:00
|
|
|
~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'AST'.
|
2014-07-13 01:04:16 +02:00
|
|
|
if (preAst.id) {
|
|
|
|
preAst.id = <Identifier>walker.walk(preAst.id, preAst);
|
|
|
|
~~~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'Identifier'.
|
2014-07-13 01:04:16 +02:00
|
|
|
}
|
|
|
|
if (preAst.alias) {
|
|
|
|
preAst.alias = walker.walk(preAst.alias, preAst);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
export function walkWithStatementChildren(preAst: WithStatement, parent: AST, walker: IAstWalker): void {
|
|
|
|
~~~~~~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'WithStatement'.
|
2014-07-13 01:04:16 +02:00
|
|
|
~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'AST'.
|
2014-07-13 01:04:16 +02:00
|
|
|
if (preAst.expr) {
|
|
|
|
preAst.expr = walker.walk(preAst.expr, preAst);
|
|
|
|
}
|
|
|
|
|
|
|
|
if (preAst.body && walker.options.goNextSibling) {
|
|
|
|
preAst.body = walker.walk(preAst.body, preAst);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
export function walkLabelChildren(preAst: Label, parent: AST, walker: IAstWalker): void {
|
|
|
|
~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'Label'.
|
2014-07-13 01:04:16 +02:00
|
|
|
~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'AST'.
|
2014-07-13 01:04:16 +02:00
|
|
|
//TODO: Walk "id"?
|
|
|
|
}
|
|
|
|
|
|
|
|
export function walkLabeledStatementChildren(preAst: LabeledStatement, parent: AST, walker: IAstWalker): void {
|
|
|
|
~~~~~~~~~~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'LabeledStatement'.
|
2014-07-13 01:04:16 +02:00
|
|
|
~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'AST'.
|
2014-07-13 01:04:16 +02:00
|
|
|
preAst.labels = <ASTList>walker.walk(preAst.labels, preAst);
|
|
|
|
~~~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2304: Cannot find name 'ASTList'.
|
2014-07-13 01:04:16 +02:00
|
|
|
if (walker.options.goNextSibling) {
|
|
|
|
preAst.stmt = walker.walk(preAst.stmt, preAst);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|