This was we don't get noisy baselines just because a different phase of the compiler reported the diagnostic. This helps with Yui's refactoring work to move grammar checks into the type checker.
1484 lines
No EOL
133 KiB
Text
1484 lines
No EOL
133 KiB
Text
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(4,1): error TS6053: File 'tests/cases/conformance/parser/ecmascript5/typescript.ts' not found.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(127,42): error TS1150: 'new T[]' cannot be used to create an array. Use 'new Array<T>()' instead.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(128,36): error TS2304: Cannot find name 'string'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(128,42): error TS1150: 'new T[]' cannot be used to create an array. Use 'new Array<T>()' instead.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(129,41): error TS2304: Cannot find name 'number'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(129,47): error TS1150: 'new T[]' cannot be used to create an array. Use 'new Array<T>()' instead.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(130,35): error TS2304: Cannot find name 'boolean'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(130,42): error TS1150: 'new T[]' cannot be used to create an array. Use 'new Array<T>()' instead.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(179,54): error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(184,28): error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(188,34): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(192,33): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(198,80): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(198,120): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(198,142): error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(199,81): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(199,121): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(199,147): error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(200,87): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(200,127): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(200,151): error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(201,86): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(201,126): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(201,149): error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(202,87): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(202,127): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(202,151): error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(203,93): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(203,133): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(203,157): error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(204,93): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(204,133): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(204,157): error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(205,90): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(205,130): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(205,157): error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(206,90): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(206,130): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(206,161): error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(207,89): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(207,129): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(207,155): error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(208,88): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(208,129): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(208,156): error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(209,84): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(209,124): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(209,145): error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(210,86): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(210,126): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(210,149): error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(211,92): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(211,132): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(211,155): error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(212,94): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(212,134): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(212,159): error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(213,95): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(213,135): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(213,161): error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(214,84): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(214,124): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(214,150): error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(215,87): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(215,127): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(215,151): error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(216,89): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(216,129): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(216,155): error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(217,85): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(217,125): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(217,147): error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(218,90): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(218,130): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(218,157): error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(219,105): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(219,145): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(219,175): error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(220,80): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(220,120): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(220,142): error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(221,80): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(221,120): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(221,142): error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(222,84): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(222,124): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(222,145): error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(223,104): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(223,144): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(223,173): error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(224,94): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(224,134): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(224,159): error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(225,90): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(225,128): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(225,149): error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(226,98): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(226,140): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(226,169): error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(227,103): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(227,143): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(227,171): error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(228,92): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(228,132): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(228,154): error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(229,83): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(229,123): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(229,148): error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(230,85): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(230,125): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(230,147): error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(231,83): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(231,123): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(231,148): error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(232,86): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(232,126): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(232,149): error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(233,96): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(233,136): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(233,162): error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(234,101): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(234,141): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(234,167): error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(235,98): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(235,138): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(235,166): error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(236,100): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(236,140): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(236,165): error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(237,88): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(237,128): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(237,153): error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(238,100): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(238,140): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(238,165): error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(239,83): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(239,123): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(239,148): error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(240,93): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(240,133): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(240,157): error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(241,88): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(241,128): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(241,153): error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(242,86): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(242,126): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(242,149): error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(243,87): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(243,127): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(243,151): error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(244,86): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(244,126): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(244,149): error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(245,85): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(245,125): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(245,147): error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(246,88): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(246,129): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(246,156): error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(247,85): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(247,125): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(247,147): error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(248,86): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(248,127): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(248,150): error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(249,86): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(249,126): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(249,149): error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(250,87): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(250,127): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(250,151): error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(251,94): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(251,134): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(251,158): error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(253,81): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(253,121): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(253,150): error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(254,84): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(254,124): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(254,156): error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(255,95): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(255,135): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(255,159): error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(256,84): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(256,124): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(256,150): error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(259,80): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(259,120): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(259,140): error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(260,81): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(260,121): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(260,141): error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(261,83): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(261,123): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(261,143): error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(262,80): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(262,120): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(262,140): error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(263,81): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(263,121): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(263,141): error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(264,80): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(264,120): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(264,142): error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(267,77): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(267,118): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(267,138): error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(268,83): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(268,122): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(268,142): error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(269,87): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(269,129): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(269,150): error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(270,88): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(270,130): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(270,151): error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(271,91): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(271,133): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(271,154): error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(273,88): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(273,130): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(273,151): error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(274,90): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(274,132): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(274,153): error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(275,92): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(275,134): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(275,155): error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(276,88): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(276,130): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(276,151): error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(277,86): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(277,127): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(277,148): error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(278,99): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(278,141): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(278,163): error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(279,105): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(279,147): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(279,169): error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(280,116): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(280,158): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(280,181): error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(281,86): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(281,143): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(281,163): error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(282,76): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(282,116): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(282,136): error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(283,82): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(283,123): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(283,144): error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(284,95): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(284,137): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(284,158): error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(285,79): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(285,117): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(285,137): error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(286,90): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(286,129): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(286,149): error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(287,80): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(287,119): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(287,139): error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(288,87): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(288,125): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(288,146): error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(289,92): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(289,130): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(289,151): error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(290,93): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(290,132): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(290,154): error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(291,98): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(291,138): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(291,160): error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(292,85): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(292,123): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(292,143): error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(293,91): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(293,129): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(293,150): error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(294,88): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(294,126): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(294,146): error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(295,94): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(295,132): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(295,153): error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(296,88): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(296,127): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(296,148): error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(297,94): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(297,133): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(297,154): error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(298,105): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(298,144): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(298,166): error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(299,79): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(299,119): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(299,138): error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(300,80): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(300,120): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(300,139): error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(301,89): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(301,128): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(301,148): error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(302,86): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(302,125): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(302,145): error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(303,88): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(303,127): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(303,147): error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(304,76): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(304,117): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(304,136): error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(305,82): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(305,123): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(305,145): error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(306,79): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(306,120): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(306,143): error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(307,81): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(307,122): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(307,145): error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(308,80): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(308,120): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(308,140): error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(309,82): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(309,122): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(309,142): error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(310,75): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(310,115): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(310,135): error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(311,80): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(311,120): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(311,144): error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(312,88): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(312,128): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(312,149): error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(355,52): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(356,53): error TS2304: Cannot find name 'NodeType'.
|
|
tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts(449,40): error TS1150: 'new T[]' cannot be used to create an array. Use 'new Array<T>()' instead.
|
|
|
|
|
|
==== tests/cases/conformance/parser/ecmascript5/parserRealSource10.ts (342 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' />
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
!!! error TS6053: File 'typescript.ts' not found.
|
|
|
|
module TypeScript {
|
|
export enum TokenID {
|
|
// Keywords
|
|
Any,
|
|
Bool,
|
|
Break,
|
|
Case,
|
|
Catch,
|
|
Class,
|
|
Const,
|
|
Continue,
|
|
Debugger,
|
|
Default,
|
|
Delete,
|
|
Do,
|
|
Else,
|
|
Enum,
|
|
Export,
|
|
Extends,
|
|
Declare,
|
|
False,
|
|
Finally,
|
|
For,
|
|
Function,
|
|
Constructor,
|
|
Get,
|
|
If,
|
|
Implements,
|
|
Import,
|
|
In,
|
|
InstanceOf,
|
|
Interface,
|
|
Let,
|
|
Module,
|
|
New,
|
|
Number,
|
|
Null,
|
|
Package,
|
|
Private,
|
|
Protected,
|
|
Public,
|
|
Return,
|
|
Set,
|
|
Static,
|
|
String,
|
|
Super,
|
|
Switch,
|
|
This,
|
|
Throw,
|
|
True,
|
|
Try,
|
|
TypeOf,
|
|
Var,
|
|
Void,
|
|
With,
|
|
While,
|
|
Yield,
|
|
// Punctuation
|
|
Semicolon,
|
|
OpenParen,
|
|
CloseParen,
|
|
OpenBracket,
|
|
CloseBracket,
|
|
OpenBrace,
|
|
CloseBrace,
|
|
Comma,
|
|
Equals,
|
|
PlusEquals,
|
|
MinusEquals,
|
|
AsteriskEquals,
|
|
SlashEquals,
|
|
PercentEquals,
|
|
AmpersandEquals,
|
|
CaretEquals,
|
|
BarEquals,
|
|
LessThanLessThanEquals,
|
|
GreaterThanGreaterThanEquals,
|
|
GreaterThanGreaterThanGreaterThanEquals,
|
|
Question,
|
|
Colon,
|
|
BarBar,
|
|
AmpersandAmpersand,
|
|
Bar,
|
|
Caret,
|
|
And,
|
|
EqualsEquals,
|
|
ExclamationEquals,
|
|
EqualsEqualsEquals,
|
|
ExclamationEqualsEquals,
|
|
LessThan,
|
|
LessThanEquals,
|
|
GreaterThan,
|
|
GreaterThanEquals,
|
|
LessThanLessThan,
|
|
GreaterThanGreaterThan,
|
|
GreaterThanGreaterThanGreaterThan,
|
|
Plus,
|
|
Minus,
|
|
Asterisk,
|
|
Slash,
|
|
Percent,
|
|
Tilde,
|
|
Exclamation,
|
|
PlusPlus,
|
|
MinusMinus,
|
|
Dot,
|
|
DotDotDot,
|
|
Error,
|
|
EndOfFile,
|
|
EqualsGreaterThan,
|
|
Identifier,
|
|
StringLiteral,
|
|
RegularExpressionLiteral,
|
|
NumberLiteral,
|
|
Whitespace,
|
|
Comment,
|
|
Lim,
|
|
LimFixed = EqualsGreaterThan,
|
|
LimKeyword = Yield,
|
|
}
|
|
|
|
export var tokenTable = new TokenInfo[];
|
|
~~
|
|
!!! error TS1150: 'new T[]' cannot be used to create an array. Use 'new Array<T>()' instead.
|
|
export var nodeTypeTable = new string[];
|
|
~~~~~~
|
|
!!! error TS2304: Cannot find name 'string'.
|
|
~~
|
|
!!! error TS1150: 'new T[]' cannot be used to create an array. Use 'new Array<T>()' instead.
|
|
export var nodeTypeToTokTable = new number[];
|
|
~~~~~~
|
|
!!! error TS2304: Cannot find name 'number'.
|
|
~~
|
|
!!! error TS1150: 'new T[]' cannot be used to create an array. Use 'new Array<T>()' instead.
|
|
export var noRegexTable = new boolean[];
|
|
~~~~~~~
|
|
!!! error TS2304: Cannot find name 'boolean'.
|
|
~~
|
|
!!! error TS1150: 'new T[]' cannot be used to create an array. Use 'new Array<T>()' instead.
|
|
|
|
noRegexTable[TokenID.Identifier] = true;
|
|
noRegexTable[TokenID.StringLiteral] = true;
|
|
noRegexTable[TokenID.NumberLiteral] = true;
|
|
noRegexTable[TokenID.RegularExpressionLiteral] = true;
|
|
noRegexTable[TokenID.This] = true;
|
|
noRegexTable[TokenID.PlusPlus] = true;
|
|
noRegexTable[TokenID.MinusMinus] = true;
|
|
noRegexTable[TokenID.CloseParen] = true;
|
|
noRegexTable[TokenID.CloseBracket] = true;
|
|
noRegexTable[TokenID.CloseBrace] = true;
|
|
noRegexTable[TokenID.True] = true;
|
|
noRegexTable[TokenID.False] = true;
|
|
|
|
export enum OperatorPrecedence {
|
|
None,
|
|
Comma,
|
|
Assignment,
|
|
Conditional,
|
|
LogicalOr,
|
|
LogicalAnd,
|
|
BitwiseOr,
|
|
BitwiseExclusiveOr,
|
|
BitwiseAnd,
|
|
Equality,
|
|
Relational,
|
|
Shift,
|
|
Additive,
|
|
Multiplicative,
|
|
Unary,
|
|
Lim
|
|
}
|
|
|
|
export enum Reservation {
|
|
None = 0,
|
|
Javascript = 1,
|
|
JavascriptFuture = 2,
|
|
TypeScript = 4,
|
|
JavascriptFutureStrict = 8,
|
|
TypeScriptAndJS = Javascript | TypeScript,
|
|
TypeScriptAndJSFuture = JavascriptFuture | TypeScript,
|
|
TypeScriptAndJSFutureStrict = JavascriptFutureStrict | TypeScript,
|
|
}
|
|
|
|
export class TokenInfo {
|
|
constructor (public tokenId: TokenID, public reservation: Reservation,
|
|
public binopPrecedence: number, public binopNodeType: number,
|
|
public unopPrecedence: number, public unopNodeType: number,
|
|
public text: string, public ers: ErrorRecoverySet) { }
|
|
~~~~~~~~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
}
|
|
|
|
function setTokenInfo(tokenId: TokenID, reservation: number, binopPrecedence: number,
|
|
binopNodeType: number, unopPrecedence: number, unopNodeType: number,
|
|
text: string, ers: ErrorRecoverySet) {
|
|
~~~~~~~~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
if (tokenId !== undefined) {
|
|
tokenTable[tokenId] = new TokenInfo(tokenId, reservation, binopPrecedence,
|
|
binopNodeType, unopPrecedence, unopNodeType, text, ers);
|
|
if (binopNodeType != NodeType.None) {
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
nodeTypeTable[binopNodeType] = text;
|
|
nodeTypeToTokTable[binopNodeType] = tokenId;
|
|
}
|
|
if (unopNodeType != NodeType.None) {
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
nodeTypeTable[unopNodeType] = text;
|
|
}
|
|
}
|
|
}
|
|
|
|
setTokenInfo(TokenID.Any, Reservation.TypeScript, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "any", ErrorRecoverySet.PrimType);
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
setTokenInfo(TokenID.Bool, Reservation.TypeScript, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "boolean", ErrorRecoverySet.PrimType);
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
setTokenInfo(TokenID.Break, Reservation.TypeScriptAndJS, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "break", ErrorRecoverySet.Stmt);
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
setTokenInfo(TokenID.Case, Reservation.TypeScriptAndJS, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "case", ErrorRecoverySet.SCase);
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
setTokenInfo(TokenID.Catch, Reservation.TypeScriptAndJS, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "catch", ErrorRecoverySet.Catch);
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
setTokenInfo(TokenID.Class, Reservation.TypeScriptAndJSFuture, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "class", ErrorRecoverySet.TypeScriptS);
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
setTokenInfo(TokenID.Const, Reservation.TypeScriptAndJSFuture, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "const", ErrorRecoverySet.Var);
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
setTokenInfo(TokenID.Continue, Reservation.TypeScriptAndJS, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "continue", ErrorRecoverySet.Stmt);
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
setTokenInfo(TokenID.Debugger, Reservation.TypeScriptAndJS, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.Debugger, "debugger", ErrorRecoverySet.Stmt);
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
setTokenInfo(TokenID.Default, Reservation.TypeScriptAndJS, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "default", ErrorRecoverySet.SCase);
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
setTokenInfo(TokenID.Delete, Reservation.TypeScriptAndJS, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.Unary, NodeType.Delete, "delete", ErrorRecoverySet.Prefix);
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
setTokenInfo(TokenID.Do, Reservation.TypeScriptAndJS, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "do", ErrorRecoverySet.Stmt);
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
setTokenInfo(TokenID.Else, Reservation.TypeScriptAndJS, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "else", ErrorRecoverySet.Else);
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
setTokenInfo(TokenID.Enum, Reservation.TypeScriptAndJSFuture, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "enum", ErrorRecoverySet.TypeScriptS);
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
setTokenInfo(TokenID.Export, Reservation.TypeScriptAndJSFuture, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "export", ErrorRecoverySet.TypeScriptS);
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
setTokenInfo(TokenID.Extends, Reservation.TypeScriptAndJSFuture, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "extends", ErrorRecoverySet.None);
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
setTokenInfo(TokenID.Declare, Reservation.TypeScript, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "declare", ErrorRecoverySet.Stmt);
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
setTokenInfo(TokenID.False, Reservation.TypeScriptAndJS, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "false", ErrorRecoverySet.RLit);
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
setTokenInfo(TokenID.Finally, Reservation.TypeScriptAndJS, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "finally", ErrorRecoverySet.Catch);
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
setTokenInfo(TokenID.For, Reservation.TypeScriptAndJS, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "for", ErrorRecoverySet.Stmt);
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
setTokenInfo(TokenID.Function, Reservation.TypeScriptAndJS, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "function", ErrorRecoverySet.Func);
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
setTokenInfo(TokenID.Constructor, Reservation.TypeScriptAndJSFutureStrict, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "constructor", ErrorRecoverySet.Func);
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
setTokenInfo(TokenID.Get, Reservation.TypeScript, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "get", ErrorRecoverySet.Func);
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
setTokenInfo(TokenID.Set, Reservation.TypeScript, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "set", ErrorRecoverySet.Func);
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
setTokenInfo(TokenID.If, Reservation.TypeScriptAndJS, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "if", ErrorRecoverySet.Stmt);
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
setTokenInfo(TokenID.Implements, Reservation.TypeScriptAndJSFutureStrict, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "implements", ErrorRecoverySet.None);
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
setTokenInfo(TokenID.Import, Reservation.TypeScriptAndJSFuture, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "import", ErrorRecoverySet.TypeScriptS);
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
setTokenInfo(TokenID.In, Reservation.TypeScriptAndJS, OperatorPrecedence.Relational, NodeType.In, OperatorPrecedence.None, NodeType.None, "in", ErrorRecoverySet.None);
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
setTokenInfo(TokenID.InstanceOf, Reservation.TypeScriptAndJS, OperatorPrecedence.Relational, NodeType.InstOf, OperatorPrecedence.None, NodeType.None, "instanceof", ErrorRecoverySet.BinOp);
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
setTokenInfo(TokenID.Interface, Reservation.TypeScriptAndJSFutureStrict, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "interface", ErrorRecoverySet.TypeScriptS);
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
setTokenInfo(TokenID.Let, Reservation.JavascriptFutureStrict, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "let", ErrorRecoverySet.None);
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
setTokenInfo(TokenID.Module, Reservation.TypeScript, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "module", ErrorRecoverySet.TypeScriptS);
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
setTokenInfo(TokenID.New, Reservation.TypeScriptAndJS, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "new", ErrorRecoverySet.PreOp);
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
setTokenInfo(TokenID.Number, Reservation.TypeScript, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "number", ErrorRecoverySet.PrimType);
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
setTokenInfo(TokenID.Null, Reservation.TypeScriptAndJS, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "null", ErrorRecoverySet.RLit);
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
setTokenInfo(TokenID.Package, Reservation.JavascriptFutureStrict, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "package", ErrorRecoverySet.None);
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
setTokenInfo(TokenID.Private, Reservation.TypeScriptAndJSFutureStrict, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "private", ErrorRecoverySet.TypeScriptS);
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
setTokenInfo(TokenID.Protected, Reservation.JavascriptFutureStrict, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "protected", ErrorRecoverySet.None);
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
setTokenInfo(TokenID.Public, Reservation.TypeScriptAndJSFutureStrict, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "public", ErrorRecoverySet.TypeScriptS);
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
setTokenInfo(TokenID.Return, Reservation.TypeScriptAndJS, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "return", ErrorRecoverySet.Stmt);
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
setTokenInfo(TokenID.Static, Reservation.TypeScriptAndJSFutureStrict, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "static", ErrorRecoverySet.None);
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
setTokenInfo(TokenID.String, Reservation.TypeScript, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "string", ErrorRecoverySet.PrimType);
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
setTokenInfo(TokenID.Super, Reservation.TypeScriptAndJSFuture, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "super", ErrorRecoverySet.RLit);
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
setTokenInfo(TokenID.Switch, Reservation.TypeScriptAndJS, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "switch", ErrorRecoverySet.Stmt);
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
setTokenInfo(TokenID.This, Reservation.TypeScriptAndJS, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "this", ErrorRecoverySet.RLit);
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
setTokenInfo(TokenID.Throw, Reservation.TypeScriptAndJS, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "throw", ErrorRecoverySet.Stmt);
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
setTokenInfo(TokenID.True, Reservation.TypeScriptAndJS, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "true", ErrorRecoverySet.RLit);
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
setTokenInfo(TokenID.Try, Reservation.TypeScriptAndJS, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "try", ErrorRecoverySet.Stmt);
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
setTokenInfo(TokenID.TypeOf, Reservation.TypeScriptAndJS, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.Unary, NodeType.Typeof, "typeof", ErrorRecoverySet.Prefix);
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
setTokenInfo(TokenID.Var, Reservation.TypeScriptAndJS, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "var", ErrorRecoverySet.Var);
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
setTokenInfo(TokenID.Void, Reservation.TypeScriptAndJS, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.Unary, NodeType.Void, "void", ErrorRecoverySet.Prefix);
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
setTokenInfo(TokenID.With, Reservation.TypeScriptAndJS, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.With, "with", ErrorRecoverySet.Stmt);
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
setTokenInfo(TokenID.While, Reservation.TypeScriptAndJS, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "while", ErrorRecoverySet.While);
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
setTokenInfo(TokenID.Yield, Reservation.JavascriptFutureStrict, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "yield", ErrorRecoverySet.None);
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
|
|
setTokenInfo(TokenID.Identifier, Reservation.None, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "identifier", ErrorRecoverySet.ID);
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
setTokenInfo(TokenID.NumberLiteral, Reservation.None, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "numberLiteral", ErrorRecoverySet.Literal);
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
setTokenInfo(TokenID.RegularExpressionLiteral, Reservation.None, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "regex", ErrorRecoverySet.RegExp);
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
setTokenInfo(TokenID.StringLiteral, Reservation.None, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "qstring", ErrorRecoverySet.Literal);
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
|
|
// Non-operator non-identifier tokens
|
|
setTokenInfo(TokenID.Semicolon, Reservation.None, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, ";", ErrorRecoverySet.SColon); // ;
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
setTokenInfo(TokenID.CloseParen, Reservation.None, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, ")", ErrorRecoverySet.RParen); // )
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
setTokenInfo(TokenID.CloseBracket, Reservation.None, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "]", ErrorRecoverySet.RBrack); // ]
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
setTokenInfo(TokenID.OpenBrace, Reservation.None, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "{", ErrorRecoverySet.LCurly); // {
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
setTokenInfo(TokenID.CloseBrace, Reservation.None, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "}", ErrorRecoverySet.RCurly); // }
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
setTokenInfo(TokenID.DotDotDot, Reservation.None, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "...", ErrorRecoverySet.None); // ...
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
|
|
// Operator non-identifier tokens
|
|
setTokenInfo(TokenID.Comma, Reservation.None, OperatorPrecedence.Comma, NodeType.Comma, OperatorPrecedence.None, NodeType.None, ",", ErrorRecoverySet.Comma); // ,
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
setTokenInfo(TokenID.Equals, Reservation.None, OperatorPrecedence.Assignment, NodeType.Asg, OperatorPrecedence.None, NodeType.None, "=", ErrorRecoverySet.Asg); // =
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
setTokenInfo(TokenID.PlusEquals, Reservation.None, OperatorPrecedence.Assignment, NodeType.AsgAdd, OperatorPrecedence.None, NodeType.None, "+=", ErrorRecoverySet.BinOp); // +=
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
setTokenInfo(TokenID.MinusEquals, Reservation.None, OperatorPrecedence.Assignment, NodeType.AsgSub, OperatorPrecedence.None, NodeType.None, "-=", ErrorRecoverySet.BinOp); // -=
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
setTokenInfo(TokenID.AsteriskEquals, Reservation.None, OperatorPrecedence.Assignment, NodeType.AsgMul, OperatorPrecedence.None, NodeType.None, "*=", ErrorRecoverySet.BinOp); // *=
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
|
|
setTokenInfo(TokenID.SlashEquals, Reservation.None, OperatorPrecedence.Assignment, NodeType.AsgDiv, OperatorPrecedence.None, NodeType.None, "/=", ErrorRecoverySet.BinOp); // /=
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
setTokenInfo(TokenID.PercentEquals, Reservation.None, OperatorPrecedence.Assignment, NodeType.AsgMod, OperatorPrecedence.None, NodeType.None, "%=", ErrorRecoverySet.BinOp); // %=
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
setTokenInfo(TokenID.AmpersandEquals, Reservation.None, OperatorPrecedence.Assignment, NodeType.AsgAnd, OperatorPrecedence.None, NodeType.None, "&=", ErrorRecoverySet.BinOp); // &=
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
setTokenInfo(TokenID.CaretEquals, Reservation.None, OperatorPrecedence.Assignment, NodeType.AsgXor, OperatorPrecedence.None, NodeType.None, "^=", ErrorRecoverySet.BinOp); // ^=
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
setTokenInfo(TokenID.BarEquals, Reservation.None, OperatorPrecedence.Assignment, NodeType.AsgOr, OperatorPrecedence.None, NodeType.None, "|=", ErrorRecoverySet.BinOp); // |=
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
setTokenInfo(TokenID.LessThanLessThanEquals, Reservation.None, OperatorPrecedence.Assignment, NodeType.AsgLsh, OperatorPrecedence.None, NodeType.None, "<<=", ErrorRecoverySet.BinOp); // <<=
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
setTokenInfo(TokenID.GreaterThanGreaterThanEquals, Reservation.None, OperatorPrecedence.Assignment, NodeType.AsgRsh, OperatorPrecedence.None, NodeType.None, ">>=", ErrorRecoverySet.BinOp); // >>=
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
setTokenInfo(TokenID.GreaterThanGreaterThanGreaterThanEquals, Reservation.None, OperatorPrecedence.Assignment, NodeType.AsgRs2, OperatorPrecedence.None, NodeType.None, ">>>=", ErrorRecoverySet.BinOp); // >>>=
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
setTokenInfo(TokenID.Question, Reservation.None, OperatorPrecedence.Conditional, NodeType.ConditionalExpression, OperatorPrecedence.None, NodeType.None, "?", ErrorRecoverySet.BinOp); // ?
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
setTokenInfo(TokenID.Colon, Reservation.None, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, ":", ErrorRecoverySet.Colon); // :
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
setTokenInfo(TokenID.BarBar, Reservation.None, OperatorPrecedence.LogicalOr, NodeType.LogOr, OperatorPrecedence.None, NodeType.None, "||", ErrorRecoverySet.BinOp); // ||
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
setTokenInfo(TokenID.AmpersandAmpersand, Reservation.None, OperatorPrecedence.LogicalAnd, NodeType.LogAnd, OperatorPrecedence.None, NodeType.None, "&&", ErrorRecoverySet.BinOp); // &&
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
setTokenInfo(TokenID.Bar, Reservation.None, OperatorPrecedence.BitwiseOr, NodeType.Or, OperatorPrecedence.None, NodeType.None, "|", ErrorRecoverySet.BinOp); // |
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
setTokenInfo(TokenID.Caret, Reservation.None, OperatorPrecedence.BitwiseExclusiveOr, NodeType.Xor, OperatorPrecedence.None, NodeType.None, "^", ErrorRecoverySet.BinOp); // ^
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
setTokenInfo(TokenID.And, Reservation.None, OperatorPrecedence.BitwiseAnd, NodeType.And, OperatorPrecedence.None, NodeType.None, "&", ErrorRecoverySet.BinOp); // &
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
setTokenInfo(TokenID.EqualsEquals, Reservation.None, OperatorPrecedence.Equality, NodeType.Eq, OperatorPrecedence.None, NodeType.None, "==", ErrorRecoverySet.BinOp); // ==
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
setTokenInfo(TokenID.ExclamationEquals, Reservation.None, OperatorPrecedence.Equality, NodeType.Ne, OperatorPrecedence.None, NodeType.None, "!=", ErrorRecoverySet.BinOp); // !=
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
setTokenInfo(TokenID.EqualsEqualsEquals, Reservation.None, OperatorPrecedence.Equality, NodeType.Eqv, OperatorPrecedence.None, NodeType.None, "===", ErrorRecoverySet.BinOp); // ===
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
setTokenInfo(TokenID.ExclamationEqualsEquals, Reservation.None, OperatorPrecedence.Equality, NodeType.NEqv, OperatorPrecedence.None, NodeType.None, "!==", ErrorRecoverySet.BinOp); // !==
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
setTokenInfo(TokenID.LessThan, Reservation.None, OperatorPrecedence.Relational, NodeType.Lt, OperatorPrecedence.None, NodeType.None, "<", ErrorRecoverySet.BinOp); // <
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
setTokenInfo(TokenID.LessThanEquals, Reservation.None, OperatorPrecedence.Relational, NodeType.Le, OperatorPrecedence.None, NodeType.None, "<=", ErrorRecoverySet.BinOp); // <=
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
setTokenInfo(TokenID.GreaterThan, Reservation.None, OperatorPrecedence.Relational, NodeType.Gt, OperatorPrecedence.None, NodeType.None, ">", ErrorRecoverySet.BinOp); // >
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
setTokenInfo(TokenID.GreaterThanEquals, Reservation.None, OperatorPrecedence.Relational, NodeType.Ge, OperatorPrecedence.None, NodeType.None, ">=", ErrorRecoverySet.BinOp); // >=
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
setTokenInfo(TokenID.LessThanLessThan, Reservation.None, OperatorPrecedence.Shift, NodeType.Lsh, OperatorPrecedence.None, NodeType.None, "<<", ErrorRecoverySet.BinOp); // <<
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
setTokenInfo(TokenID.GreaterThanGreaterThan, Reservation.None, OperatorPrecedence.Shift, NodeType.Rsh, OperatorPrecedence.None, NodeType.None, ">>", ErrorRecoverySet.BinOp); // >>
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
setTokenInfo(TokenID.GreaterThanGreaterThanGreaterThan, Reservation.None, OperatorPrecedence.Shift, NodeType.Rs2, OperatorPrecedence.None, NodeType.None, ">>>", ErrorRecoverySet.BinOp); // >>>
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
setTokenInfo(TokenID.Plus, Reservation.None, OperatorPrecedence.Additive, NodeType.Add, OperatorPrecedence.Unary, NodeType.Pos, "+", ErrorRecoverySet.AddOp); // +
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
setTokenInfo(TokenID.Minus, Reservation.None, OperatorPrecedence.Additive, NodeType.Sub, OperatorPrecedence.Unary, NodeType.Neg, "-", ErrorRecoverySet.AddOp); // -
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
setTokenInfo(TokenID.Asterisk, Reservation.None, OperatorPrecedence.Multiplicative, NodeType.Mul, OperatorPrecedence.None, NodeType.None, "*", ErrorRecoverySet.BinOp); // *
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
setTokenInfo(TokenID.Slash, Reservation.None, OperatorPrecedence.Multiplicative, NodeType.Div, OperatorPrecedence.None, NodeType.None, "/", ErrorRecoverySet.BinOp); // /
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
setTokenInfo(TokenID.Percent, Reservation.None, OperatorPrecedence.Multiplicative, NodeType.Mod, OperatorPrecedence.None, NodeType.None, "%", ErrorRecoverySet.BinOp); // %
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
setTokenInfo(TokenID.Tilde, Reservation.None, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.Unary, NodeType.Not, "~", ErrorRecoverySet.PreOp); // ~
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
setTokenInfo(TokenID.Exclamation, Reservation.None, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.Unary, NodeType.LogNot, "!", ErrorRecoverySet.PreOp); // !
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
setTokenInfo(TokenID.PlusPlus, Reservation.None, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.Unary, NodeType.IncPre, "++", ErrorRecoverySet.PreOp); // ++
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
setTokenInfo(TokenID.MinusMinus, Reservation.None, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.Unary, NodeType.DecPre, "--", ErrorRecoverySet.PreOp); // --
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
setTokenInfo(TokenID.OpenParen, Reservation.None, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "(", ErrorRecoverySet.LParen); // (
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
setTokenInfo(TokenID.OpenBracket, Reservation.None, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "[", ErrorRecoverySet.LBrack); // [
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
setTokenInfo(TokenID.Dot, Reservation.None, OperatorPrecedence.Unary, NodeType.None, OperatorPrecedence.None, NodeType.None, ".", ErrorRecoverySet.Dot); // .
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
setTokenInfo(TokenID.EndOfFile, Reservation.None, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "<EOF>", ErrorRecoverySet.EOF); // EOF
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
setTokenInfo(TokenID.EqualsGreaterThan, Reservation.None, OperatorPrecedence.None, NodeType.None, OperatorPrecedence.None, NodeType.None, "=>", ErrorRecoverySet.None); // =>
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
~~~~~~~~~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'ErrorRecoverySet'.
|
|
|
|
export function lookupToken(tokenId: TokenID): TokenInfo {
|
|
return tokenTable[tokenId];
|
|
}
|
|
|
|
export enum TokenClass {
|
|
Punctuation,
|
|
Keyword,
|
|
Operator,
|
|
Comment,
|
|
Whitespace,
|
|
Identifier,
|
|
Literal,
|
|
}
|
|
|
|
export class SavedToken {
|
|
constructor (public tok: Token, public minChar: number, public limChar: number) { }
|
|
}
|
|
|
|
export class Token {
|
|
constructor (public tokenId: TokenID) {
|
|
}
|
|
|
|
public toString() {
|
|
return "token: " + this.tokenId + " " + this.getText() + " (" + (<any>TokenID)._map[this.tokenId] + ")";
|
|
}
|
|
|
|
public print(line: number, outfile) {
|
|
outfile.WriteLine(this.toString() + ",on line" + line);
|
|
}
|
|
|
|
public getText(): string {
|
|
return tokenTable[this.tokenId].text;
|
|
}
|
|
|
|
public classification(): TokenClass {
|
|
if (this.tokenId <= TokenID.LimKeyword) {
|
|
return TokenClass.Keyword;
|
|
}
|
|
else {
|
|
var tokenInfo = lookupToken(this.tokenId);
|
|
if (tokenInfo != undefined) {
|
|
if ((tokenInfo.unopNodeType != NodeType.None) ||
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
(tokenInfo.binopNodeType != NodeType.None)) {
|
|
~~~~~~~~
|
|
!!! error TS2304: Cannot find name 'NodeType'.
|
|
return TokenClass.Operator;
|
|
}
|
|
}
|
|
}
|
|
|
|
return TokenClass.Punctuation;
|
|
}
|
|
}
|
|
|
|
export class NumberLiteralToken extends Token {
|
|
constructor (public value: number, public hasEmptyFraction?: boolean) {
|
|
super(TokenID.NumberLiteral);
|
|
}
|
|
|
|
public getText(): string {
|
|
return this.hasEmptyFraction ? this.value.toString() + ".0" : this.value.toString();
|
|
}
|
|
|
|
public classification(): TokenClass {
|
|
return TokenClass.Literal;
|
|
}
|
|
}
|
|
|
|
export class StringLiteralToken extends Token {
|
|
constructor (public value: string) {
|
|
super(TokenID.StringLiteral);
|
|
}
|
|
|
|
public getText(): string {
|
|
return this.value;
|
|
}
|
|
|
|
public classification(): TokenClass {
|
|
return TokenClass.Literal;
|
|
}
|
|
}
|
|
|
|
export class IdentifierToken extends Token {
|
|
constructor (public value: string, public hasEscapeSequence : boolean) {
|
|
super(TokenID.Identifier);
|
|
}
|
|
public getText(): string {
|
|
return this.value;
|
|
}
|
|
public classification(): TokenClass {
|
|
return TokenClass.Identifier;
|
|
}
|
|
}
|
|
|
|
export class WhitespaceToken extends Token {
|
|
constructor (tokenId: TokenID, public value: string) {
|
|
super(tokenId);
|
|
}
|
|
|
|
public getText(): string {
|
|
return this.value;
|
|
}
|
|
|
|
public classification(): TokenClass {
|
|
return TokenClass.Whitespace;
|
|
}
|
|
}
|
|
|
|
export class CommentToken extends Token {
|
|
constructor (tokenID: TokenID, public value: string, public isBlock: boolean, public startPos: number, public line: number, public endsLine: boolean) {
|
|
super(tokenID);
|
|
}
|
|
|
|
public getText(): string {
|
|
return this.value;
|
|
}
|
|
|
|
public classification(): TokenClass {
|
|
return TokenClass.Comment;
|
|
}
|
|
}
|
|
|
|
export class RegularExpressionLiteralToken extends Token {
|
|
constructor(public regex) {
|
|
super(TokenID.RegularExpressionLiteral);
|
|
}
|
|
|
|
public getText(): string {
|
|
return this.regex.toString();
|
|
}
|
|
|
|
public classification(): TokenClass {
|
|
return TokenClass.Literal;
|
|
}
|
|
}
|
|
|
|
// TODO: new with length TokenID.LimFixed
|
|
export var staticTokens = new Token[];
|
|
~~
|
|
!!! error TS1150: 'new T[]' cannot be used to create an array. Use 'new Array<T>()' instead.
|
|
export function initializeStaticTokens() {
|
|
for (var i = 0; i <= TokenID.LimFixed; i++) {
|
|
staticTokens[i] = new Token(i);
|
|
}
|
|
}
|
|
} |