1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 |
|
11 |
|
12 |
|
13 |
|
14 |
|
15 |
|
16 |
|
17 | "use strict";
|
18 |
|
19 | var ErrorMessages = {
|
20 | UNEXPECTED_TOKEN: "Unexpected token {0}",
|
21 | UNEXPECTED_ILLEGAL_TOKEN: "Unexpected {0}",
|
22 | UNEXPECTED_NUMBER: "Unexpected number",
|
23 | UNEXPECTED_STRING: "Unexpected string",
|
24 | UNEXPECTED_IDENTIFIER: "Unexpected identifier",
|
25 | UNEXPECTED_RESERVED_WORD: "Unexpected reserved word",
|
26 | UNEXPECTED_TEMPLATE: "Unexpected template",
|
27 | UNEXPECTED_EOS: "Unexpected end of input",
|
28 | UNEXPECTED_LINE_TERMINATOR: "Unexpected line terminator",
|
29 | NEWLINE_AFTER_THROW: "Illegal newline after throw",
|
30 | UNTERMINATED_REGEXP: "Invalid regular expression: missing /",
|
31 | INVALID_REGEXP_FLAGS: "Invalid regular expression flags",
|
32 | INVALID_LHS_IN_ASSIGNMENT: "Invalid left-hand side in assignment",
|
33 | INVALID_LHS_IN_FOR_IN: "Invalid left-hand side in for-in",
|
34 | INVALID_LHS_IN_FOR_OF: "Invalid left-hand side in for-of",
|
35 | INVALID_UPDATE_OPERAND: "Increment/decrement target must be an identifier or member expression",
|
36 | MULTIPLE_DEFAULTS_IN_SWITCH: "More than one default clause in switch statement",
|
37 | NO_CATCH_OR_FINALLY: "Missing catch or finally after try",
|
38 | ILLEGAL_RETURN: "Illegal return statement",
|
39 | ILLEGAL_ARROW_FUNCTION_PARAMS: "Illegal arrow function parameter list",
|
40 | INVALID_VAR_INIT_FOR_IN: "Invalid variable declaration in for-in statement",
|
41 | INVALID_VAR_INIT_FOR_OF: "Invalid variable declaration in for-of statement",
|
42 | ILLEGAL_PROPERTY: "Illegal property initializer"
|
43 | };
|
44 | exports.ErrorMessages = ErrorMessages; |
\ | No newline at end of file |