src/jdk/nashorn/internal/runtime/resources/Messages.properties

Print this page




  11 # This code is distributed in the hope that it will be useful, but WITHOUT
  12 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  13 # FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  14 # version 2 for more details (a copy is included in the LICENSE file that
  15 # accompanied this code).
  16 #
  17 # You should have received a copy of the GNU General Public License version
  18 # 2 along with this work; if not, write to the Free Software Foundation,
  19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20 #
  21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22 # or visit www.oracle.com if you need additional information or have any
  23 # questions.
  24 #
  25 lexer.error.edit.string.missing.brace=Edit string expression missing closing brace
  26 lexer.error.here.missing.end.marker=Here string missing end marker "{0}"
  27 lexer.error.missing.close.quote=Missing close quote
  28 lexer.error.invalid.hex=Invalid hex digit
  29 lexer.error.invalid.octal=Invalid octal digit
  30 lexer.error.strict.no.octal=cannot use octal escapes in strict mode


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




  11 # This code is distributed in the hope that it will be useful, but WITHOUT
  12 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  13 # FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  14 # version 2 for more details (a copy is included in the LICENSE file that
  15 # accompanied this code).
  16 #
  17 # You should have received a copy of the GNU General Public License version
  18 # 2 along with this work; if not, write to the Free Software Foundation,
  19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20 #
  21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22 # or visit www.oracle.com if you need additional information or have any
  23 # questions.
  24 #
  25 lexer.error.edit.string.missing.brace=Edit string expression missing closing brace
  26 lexer.error.here.missing.end.marker=Here string missing end marker "{0}"
  27 lexer.error.missing.close.quote=Missing close quote
  28 lexer.error.invalid.hex=Invalid hex digit
  29 lexer.error.invalid.octal=Invalid octal digit
  30 lexer.error.strict.no.octal=cannot use octal escapes in strict mode
  31 lexer.error.json.invalid.number=Invalid JSON number format
  32 lexer.error.invalid.escape.char=Invalid escape character
  33 lexer.error.illegal.identifier.character=Illegal character in identifier
  34 
  35 parser.error.illegal.continue.stmt=Illegal continue statement
  36 parser.error.illegal.break.stmt=Illegal break statement
  37 parser.error.invalid.lvalue=Invalid left hand side for assignment
  38 parser.error.undefined.label=Undefined Label "{0}"
  39 parser.error.duplicate.label=Duplicate Label "{0}"
  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=Expected {0} but found {1}
  46 parser.error.invalid.return=Invalid return statement
  47 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.
  48 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.
  49 parser.error.property.redefinition=Property "{0}" already defined
  50 parser.error.unexpected.token=Unexpected token: {0}
  51 parser.error.many.vars.in.for.in.loop=Only one variable allowed in for..in loop
  52 parser.error.not.lvalue.for.in.loop=Invalid left side value of for..in loop