001 /*
002 * Copyright 2010-2015 JetBrains s.r.o.
003 *
004 * Licensed under the Apache License, Version 2.0 (the "License");
005 * you may not use this file except in compliance with the License.
006 * You may obtain a copy of the License at
007 *
008 * http://www.apache.org/licenses/LICENSE-2.0
009 *
010 * Unless required by applicable law or agreed to in writing, software
011 * distributed under the License is distributed on an "AS IS" BASIS,
012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013 * See the License for the specific language governing permissions and
014 * limitations under the License.
015 */
016
017 package com.google.gwt.dev.js.rhino;
018
019 import java.util.ListResourceBundle;
020
021 public class MessagesBundle extends ListResourceBundle {
022
023 public Object [][] getContents() {
024 return contents;
025 }
026
027 private static final Object [][] contents = {
028 {"msg.no.paren.catch", "missing ( before catch-block condition"},
029 {"msg.no.brace.prop", "missing } after property list"},
030 {"msg.no.paren.after.cond", "missing ) after condition"},
031 {"msg.no.paren.with", "missing ( before with-statement object"},
032 {"msg.no.colon.case", "missing : after case expression"},
033 {"msg.unterminated.re.lit", "unterminated regular expression literal"},
034 {"msg.unterminated.string.lit", "unterminated string literal"},
035 {"msg.bad.lhs.assign", "Invalid assignment left-hand side."},
036 {"msg.no.paren.cond", "missing ( before condition"},
037 {"msg.no.bracket.index", "missing ] in index expression"},
038 {"msg.no.function.ref.found", "no source found to decompile function reference {0}"},
039 {"msg.caught.nfe", "number format error: {0}"},
040 {"msg.bad.switch", "invalid switch statement"},
041 {"msg.no.paren.switch", "missing ( before switch expression"},
042 {"msg.no.bracket.arg", "missing ] after element list"},
043 {"msg.token.replaces.pushback", "ungot token {0} replaces pushback token {1}"},
044 {"msg.no.paren.for.ctrl", "missing ) after for-loop control"},
045 {"msg.bad.label", "invalid label"},
046 {"msg.bad.octal.literal", "illegal octal literal digit {0}; interpreting it as a decimal digit"},
047 {"msg.no.paren.for", "missing ( after for"},
048 {"msg.syntax", "syntax error"},
049 {"msg.no.colon.cond", "missing : in conditional expression"},
050 {"msg.no.while.do", "missing while after do-loop body"},
051 {"msg.no.brace.body", "missing '{' before function body"},
052 {"msg.bad.prop", "invalid property id"},
053 {"msg.try.no.catchfinally", "''try'' without ''catch'' or ''finally''"},
054 {"msg.missing.exponent", "missing exponent"},
055 {"msg.invalid.re.flag", "invalid flag after regular expression"},
056 {"msg.no.brace.catchblock", "missing '{' before catch-block body"},
057 {"msg.unterminated.comment", "unterminated comment"},
058 {"msg.bad.catchcond", "invalid catch block condition"},
059 {"msg.no.paren.after.parms", "missing ) after formal parameters"},
060 {"msg.no.paren.parms", "missing ( before function parameters"},
061 {"msg.no.colon.prop", "missing : after property id"},
062 {"msg.no.paren.after.switch", "missing ) after switch expression"},
063 {"msg.jsni.unsupported.with", "The ''with'' statement is unsupported in JSNI blocks (perhaps you could use a local variable instead?)"},
064 {"msg.bad.var", "missing variable name"},
065 {"msg.bad.var.init", "invalid variable initialization"},
066 {"msg.bad.return", "invalid return"},
067 {"msg.no.semi.for.cond", "missing ; after for-loop condition"},
068 {"msg.no.semi.stmt", "missing ; before statement"},
069 {"msg.no.paren.arg", "missing ) after argument list"},
070 {"msg.jsni.expected.param.type", "Expected a valid parameter type signature in JSNI method reference"},
071 {"msg.no.parm", "missing formal parameter"},
072 {"msg.no.brace.after.body", "missing } after function body"},
073 {"msg.no.paren", "missing ) in parenthetical"},
074 {"msg.no.brace.block", "missing } in compound statement"},
075 {"msg.no.semi.for", "missing ; after for-loop initializer"},
076 {"msg.jsni.expected.char", "Expected \"{0}\" in JSNI reference"},
077 {"msg.no.brace.switch", "missing '{' before switch body"},
078 {"msg.invalid.escape", "invalid Unicode escape sequence"},
079 {"msg.no.paren.after.with", "missing ) after with-statement object"},
080 {"msg.illegal.character", "illegal character"},
081 {"msg.catch.unreachable", "any catch clauses following an unqualified catch are unreachable"},
082 {"msg.no.name.after.dot", "missing name after . operator"},
083 {"msg.jsni.expected.identifier", "Expected an identifier in JSNI reference"},
084 };
085 }