< prev index next >

src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/resources/Messages.properties

Print this page




  35 
  36 parser.error.illegal.continue.stmt=Illegal continue statement
  37 parser.error.illegal.break.stmt=Illegal break statement
  38 parser.error.invalid.lvalue=Invalid left hand side for assignment
  39 parser.error.undefined.label=Undefined Label "{0}"
  40 parser.error.duplicate.label=Duplicate Label "{0}"
  41 parser.error.duplicate.default.in.switch=Switch already has default case
  42 parser.error.expected.literal=Expected a literal but found {0}
  43 parser.error.expected.operand=Expected an operand but found {0}
  44 parser.error.expected.stmt=Expected statement but found {0}
  45 parser.error.expected.comma=Expected comma but found {0}
  46 parser.error.expected.property.id=Expected property id but found {0}
  47 parser.error.expected.lvalue=Expected l-value but found {0}
  48 parser.error.expected=Expected {0} but found {1}
  49 parser.error.invalid.return=Invalid return statement
  50 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.
  51 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.
  52 parser.error.property.redefinition=Property "{0}" already defined
  53 parser.error.unexpected.token=Unexpected token: {0}
  54 parser.error.for.each.without.in=for each can only be used with for..in
  55 parser.error.many.vars.in.for.in.loop=Only one variable allowed in for..in loop
  56 parser.error.not.lvalue.for.in.loop=Invalid left side value of for..in loop

  57 parser.error.missing.catch.or.finally=Missing catch or finally after try
  58 parser.error.regex.unsupported.flag=Unsupported RegExp flag: {0}
  59 parser.error.regex.repeated.flag=Repeated RegExp flag: {0}
  60 parser.error.regex.syntax={0}
  61 parser.error.trailing.comma.in.json=Trailing comma is not allowed in JSON
  62 parser.error.missing.const.assignment=Missing assignment to constant "{0}"
  63 parser.error.unterminated.template.expression=Expected } after expression in template literal
  64 
  65 # strict mode error messages
  66 parser.error.strict.no.with="with" statement cannot be used in strict mode
  67 parser.error.strict.name="{0}" cannot be used as {1} in strict mode
  68 parser.error.strict.cant.delete.ident=cannot delete identifier "{0}" in strict mode
  69 parser.error.strict.param.redefinition=strict mode function cannot have duplicate parameter name "{0}"
  70 parser.error.strict.no.octal=cannot use octal value in strict mode
  71 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.
  72 type.error.strict.getter.setter.poison=In strict mode, "caller", "callee", and "arguments" properties can not be accessed on functions or the arguments object
  73 
  74 # not the expected type in a given context
  75 type.error.not.an.object={0} is not an Object
  76 type.error.not.a.boolean={0} is not a Boolean




  35 
  36 parser.error.illegal.continue.stmt=Illegal continue statement
  37 parser.error.illegal.break.stmt=Illegal break statement
  38 parser.error.invalid.lvalue=Invalid left hand side for assignment
  39 parser.error.undefined.label=Undefined Label "{0}"
  40 parser.error.duplicate.label=Duplicate Label "{0}"
  41 parser.error.duplicate.default.in.switch=Switch already has default case
  42 parser.error.expected.literal=Expected a literal but found {0}
  43 parser.error.expected.operand=Expected an operand but found {0}
  44 parser.error.expected.stmt=Expected statement but found {0}
  45 parser.error.expected.comma=Expected comma but found {0}
  46 parser.error.expected.property.id=Expected property id but found {0}
  47 parser.error.expected.lvalue=Expected l-value but found {0}
  48 parser.error.expected=Expected {0} but found {1}
  49 parser.error.invalid.return=Invalid return statement
  50 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.
  51 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.
  52 parser.error.property.redefinition=Property "{0}" already defined
  53 parser.error.unexpected.token=Unexpected token: {0}
  54 parser.error.for.each.without.in=for each can only be used with for..in
  55 parser.error.many.vars.in.for.in.loop=Only one variable allowed in for..{0} loop
  56 parser.error.not.lvalue.for.in.loop=Invalid left side value of for..{0} loop
  57 parser.error.for.in.loop.initializer=for..{0] loop declaration must not have an initializer
  58 parser.error.missing.catch.or.finally=Missing catch or finally after try
  59 parser.error.regex.unsupported.flag=Unsupported RegExp flag: {0}
  60 parser.error.regex.repeated.flag=Repeated RegExp flag: {0}
  61 parser.error.regex.syntax={0}
  62 parser.error.trailing.comma.in.json=Trailing comma is not allowed in JSON
  63 parser.error.missing.const.assignment=Missing assignment to constant "{0}"
  64 parser.error.unterminated.template.expression=Expected } after expression in template literal
  65 
  66 # strict mode error messages
  67 parser.error.strict.no.with="with" statement cannot be used in strict mode
  68 parser.error.strict.name="{0}" cannot be used as {1} in strict mode
  69 parser.error.strict.cant.delete.ident=cannot delete identifier "{0}" in strict mode
  70 parser.error.strict.param.redefinition=strict mode function cannot have duplicate parameter name "{0}"
  71 parser.error.strict.no.octal=cannot use octal value in strict mode
  72 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.
  73 type.error.strict.getter.setter.poison=In strict mode, "caller", "callee", and "arguments" properties can not be accessed on functions or the arguments object
  74 
  75 # not the expected type in a given context
  76 type.error.not.an.object={0} is not an Object
  77 type.error.not.a.boolean={0} is not a Boolean


< prev index next >