40 parser.error.duplicate.default.in.switch=Switch already has default case
41 parser.error.expected.literal=Expected a literal but found {0}
42 parser.error.expected.operand=Expected an operand but found {0}
43 parser.error.expected.stmt=Expected statement but found {0}
44 parser.error.expected.comma=Expected comma but found {0}
45 parser.error.expected.property.id=Expected property id but found {0}
46 parser.error.expected.lvalue=Expected l-value but found {0}
47 parser.error.expected=Expected {0} but found {1}
48 parser.error.invalid.return=Invalid return statement
49 parser.error.no.func.decl.here=Function declarations can only occur at program or function body level. You should use a function expression here instead.
50 parser.error.no.func.decl.here.warn=Function declarations should only occur at program or function body level. Function declaration in nested block was converted to a function expression.
51 parser.error.property.redefinition=Property "{0}" already defined
52 parser.error.unexpected.token=Unexpected token: {0}
53 parser.error.for.each.without.in=for each can only be used with for..in
54 parser.error.many.vars.in.for.in.loop=Only one variable allowed in for..in loop
55 parser.error.not.lvalue.for.in.loop=Invalid left side value of for..in loop
56 parser.error.missing.catch.or.finally=Missing catch or finally after try
57 parser.error.regex.unsupported.flag=Unsupported RegExp flag: {0}
58 parser.error.regex.repeated.flag=Repeated RegExp flag: {0}
59 parser.error.regex.syntax={0}
60
61 # strict mode error messages
62 parser.error.strict.no.with="with" statement cannot be used in strict mode
63 parser.error.strict.name="{0}" cannot be used as {1} in strict mode
64 parser.error.strict.cant.delete.ident=cannot delete identifier "{0}" in strict mode
65 parser.error.strict.param.redefinition=strict mode function cannot have duplicate parameter name "{0}"
66 parser.error.strict.no.octal=cannot use octal value in strict mode
67 parser.error.strict.no.func.decl.here=In strict mode, function declarations can only occur at program or function body level. You should use a function expression here instead.
68 type.error.strict.getter.setter.poison=In strict mode, "caller", "callee", and "arguments" properties can not be accessed on functions or the arguments object
69
70 # not the expected type in a given context
71 type.error.not.an.object={0} is not an Object
72 type.error.not.a.boolean={0} is not a Boolean
73 type.error.not.a.date={0} is not a Date
74 type.error.not.a.number={0} is not a Number
75 type.error.not.a.regexp={0} is not a RegExp
76 type.error.not.a.string={0} is not a String
77 type.error.not.a.function={0} is not a function
78 type.error.not.a.constructor={0} is not a constructor function
79 type.error.not.a.file={0} is not a File
|
40 parser.error.duplicate.default.in.switch=Switch already has default case
41 parser.error.expected.literal=Expected a literal but found {0}
42 parser.error.expected.operand=Expected an operand but found {0}
43 parser.error.expected.stmt=Expected statement but found {0}
44 parser.error.expected.comma=Expected comma but found {0}
45 parser.error.expected.property.id=Expected property id but found {0}
46 parser.error.expected.lvalue=Expected l-value but found {0}
47 parser.error.expected=Expected {0} but found {1}
48 parser.error.invalid.return=Invalid return statement
49 parser.error.no.func.decl.here=Function declarations can only occur at program or function body level. You should use a function expression here instead.
50 parser.error.no.func.decl.here.warn=Function declarations should only occur at program or function body level. Function declaration in nested block was converted to a function expression.
51 parser.error.property.redefinition=Property "{0}" already defined
52 parser.error.unexpected.token=Unexpected token: {0}
53 parser.error.for.each.without.in=for each can only be used with for..in
54 parser.error.many.vars.in.for.in.loop=Only one variable allowed in for..in loop
55 parser.error.not.lvalue.for.in.loop=Invalid left side value of for..in loop
56 parser.error.missing.catch.or.finally=Missing catch or finally after try
57 parser.error.regex.unsupported.flag=Unsupported RegExp flag: {0}
58 parser.error.regex.repeated.flag=Repeated RegExp flag: {0}
59 parser.error.regex.syntax={0}
60 parser.error.trailing.comma.in.json=Trailing comma is not allowed in JSON
61
62 # strict mode error messages
63 parser.error.strict.no.with="with" statement cannot be used in strict mode
64 parser.error.strict.name="{0}" cannot be used as {1} in strict mode
65 parser.error.strict.cant.delete.ident=cannot delete identifier "{0}" in strict mode
66 parser.error.strict.param.redefinition=strict mode function cannot have duplicate parameter name "{0}"
67 parser.error.strict.no.octal=cannot use octal value in strict mode
68 parser.error.strict.no.func.decl.here=In strict mode, function declarations can only occur at program or function body level. You should use a function expression here instead.
69 type.error.strict.getter.setter.poison=In strict mode, "caller", "callee", and "arguments" properties can not be accessed on functions or the arguments object
70
71 # not the expected type in a given context
72 type.error.not.an.object={0} is not an Object
73 type.error.not.a.boolean={0} is not a Boolean
74 type.error.not.a.date={0} is not a Date
75 type.error.not.a.number={0} is not a Number
76 type.error.not.a.regexp={0} is not a RegExp
77 type.error.not.a.string={0} is not a String
78 type.error.not.a.function={0} is not a function
79 type.error.not.a.constructor={0} is not a constructor function
80 type.error.not.a.file={0} is not a File
|