jdk/src/jdk.jdi/share/classes/com/sun/tools/example/debug/expr/ParseException.java
author weijun
Thu, 11 Dec 2014 15:23:02 +0800
changeset 27957 24b4e6082f19
parent 25859 3317bb8137f4
permissions -rw-r--r--
8055723: Replace concat String to append in StringBuilder parameters (dev) Reviewed-by: redestad, ulfzibis, weijun, prappo, igerasim, alanb Contributed-by: Otavio Santana <otaviojava@java.net>
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     1
/*
22050
72e7501ac569 4660158: TTY: NumberFormatException while trying to set values by 'set' command
sla
parents: 14342
diff changeset
     2
 * Copyright (c) 1999, 2013, Oracle and/or its affiliates. All rights reserved.
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     3
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
90ce3da70b43 Initial load
duke
parents:
diff changeset
     4
 *
90ce3da70b43 Initial load
duke
parents:
diff changeset
     5
 * This code is free software; you can redistribute it and/or modify it
90ce3da70b43 Initial load
duke
parents:
diff changeset
     6
 * under the terms of the GNU General Public License version 2 only, as
5506
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 2
diff changeset
     7
 * published by the Free Software Foundation.  Oracle designates this
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     8
 * particular file as subject to the "Classpath" exception as provided
5506
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 2
diff changeset
     9
 * by Oracle in the LICENSE file that accompanied this code.
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    10
 *
90ce3da70b43 Initial load
duke
parents:
diff changeset
    11
 * This code is distributed in the hope that it will be useful, but WITHOUT
90ce3da70b43 Initial load
duke
parents:
diff changeset
    12
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
90ce3da70b43 Initial load
duke
parents:
diff changeset
    13
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
90ce3da70b43 Initial load
duke
parents:
diff changeset
    14
 * version 2 for more details (a copy is included in the LICENSE file that
90ce3da70b43 Initial load
duke
parents:
diff changeset
    15
 * accompanied this code).
90ce3da70b43 Initial load
duke
parents:
diff changeset
    16
 *
90ce3da70b43 Initial load
duke
parents:
diff changeset
    17
 * You should have received a copy of the GNU General Public License version
90ce3da70b43 Initial load
duke
parents:
diff changeset
    18
 * 2 along with this work; if not, write to the Free Software Foundation,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    19
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    20
 *
5506
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 2
diff changeset
    21
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 2
diff changeset
    22
 * or visit www.oracle.com if you need additional information or have any
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 2
diff changeset
    23
 * questions.
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    24
 */
90ce3da70b43 Initial load
duke
parents:
diff changeset
    25
22050
72e7501ac569 4660158: TTY: NumberFormatException while trying to set values by 'set' command
sla
parents: 14342
diff changeset
    26
/* Generated By:JavaCC: Do not edit this line. ParseException.java Version 5.0 */
72e7501ac569 4660158: TTY: NumberFormatException while trying to set values by 'set' command
sla
parents: 14342
diff changeset
    27
/* JavaCCOptions:KEEP_LINE_COL=null */
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    28
package com.sun.tools.example.debug.expr;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    29
90ce3da70b43 Initial load
duke
parents:
diff changeset
    30
/**
90ce3da70b43 Initial load
duke
parents:
diff changeset
    31
 * This exception is thrown when parse errors are encountered.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    32
 * You can explicitly create objects of this exception type by
90ce3da70b43 Initial load
duke
parents:
diff changeset
    33
 * calling the method generateParseException in the generated
90ce3da70b43 Initial load
duke
parents:
diff changeset
    34
 * parser.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    35
 *
90ce3da70b43 Initial load
duke
parents:
diff changeset
    36
 * You can modify this class to customize your error reporting
90ce3da70b43 Initial load
duke
parents:
diff changeset
    37
 * mechanisms so long as you retain the public fields.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    38
 */
90ce3da70b43 Initial load
duke
parents:
diff changeset
    39
public class ParseException extends Exception {
90ce3da70b43 Initial load
duke
parents:
diff changeset
    40
22050
72e7501ac569 4660158: TTY: NumberFormatException while trying to set values by 'set' command
sla
parents: 14342
diff changeset
    41
  /**
72e7501ac569 4660158: TTY: NumberFormatException while trying to set values by 'set' command
sla
parents: 14342
diff changeset
    42
   * The version identifier for this Serializable class.
72e7501ac569 4660158: TTY: NumberFormatException while trying to set values by 'set' command
sla
parents: 14342
diff changeset
    43
   * Increment only if the <i>serialized</i> form of the
72e7501ac569 4660158: TTY: NumberFormatException while trying to set values by 'set' command
sla
parents: 14342
diff changeset
    44
   * class changes.
72e7501ac569 4660158: TTY: NumberFormatException while trying to set values by 'set' command
sla
parents: 14342
diff changeset
    45
   */
72e7501ac569 4660158: TTY: NumberFormatException while trying to set values by 'set' command
sla
parents: 14342
diff changeset
    46
  private static final long serialVersionUID = 1L;
9520
99d378796e54 7029383: Refresh of non-client demos
nloodin
parents: 5506
diff changeset
    47
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    48
  /**
90ce3da70b43 Initial load
duke
parents:
diff changeset
    49
   * This constructor is used by the method "generateParseException"
90ce3da70b43 Initial load
duke
parents:
diff changeset
    50
   * in the generated parser.  Calling this constructor generates
90ce3da70b43 Initial load
duke
parents:
diff changeset
    51
   * a new object of this type with the fields "currentToken",
22050
72e7501ac569 4660158: TTY: NumberFormatException while trying to set values by 'set' command
sla
parents: 14342
diff changeset
    52
   * "expectedTokenSequences", and "tokenImage" set.
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    53
   */
90ce3da70b43 Initial load
duke
parents:
diff changeset
    54
  public ParseException(Token currentTokenVal,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    55
                        int[][] expectedTokenSequencesVal,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    56
                        String[] tokenImageVal
90ce3da70b43 Initial load
duke
parents:
diff changeset
    57
                       )
90ce3da70b43 Initial load
duke
parents:
diff changeset
    58
  {
22050
72e7501ac569 4660158: TTY: NumberFormatException while trying to set values by 'set' command
sla
parents: 14342
diff changeset
    59
    super(initialise(currentTokenVal, expectedTokenSequencesVal, tokenImageVal));
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    60
    currentToken = currentTokenVal;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    61
    expectedTokenSequences = expectedTokenSequencesVal;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    62
    tokenImage = tokenImageVal;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    63
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
    64
90ce3da70b43 Initial load
duke
parents:
diff changeset
    65
  /**
90ce3da70b43 Initial load
duke
parents:
diff changeset
    66
   * The following constructors are for use by you for whatever
90ce3da70b43 Initial load
duke
parents:
diff changeset
    67
   * purpose you can think of.  Constructing the exception in this
90ce3da70b43 Initial load
duke
parents:
diff changeset
    68
   * manner makes the exception behave in the normal way - i.e., as
90ce3da70b43 Initial load
duke
parents:
diff changeset
    69
   * documented in the class "Throwable".  The fields "errorToken",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    70
   * "expectedTokenSequences", and "tokenImage" do not contain
90ce3da70b43 Initial load
duke
parents:
diff changeset
    71
   * relevant information.  The JavaCC generated code does not use
90ce3da70b43 Initial load
duke
parents:
diff changeset
    72
   * these constructors.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    73
   */
90ce3da70b43 Initial load
duke
parents:
diff changeset
    74
90ce3da70b43 Initial load
duke
parents:
diff changeset
    75
  public ParseException() {
90ce3da70b43 Initial load
duke
parents:
diff changeset
    76
    super();
90ce3da70b43 Initial load
duke
parents:
diff changeset
    77
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
    78
22050
72e7501ac569 4660158: TTY: NumberFormatException while trying to set values by 'set' command
sla
parents: 14342
diff changeset
    79
  /** Constructor with message. */
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    80
  public ParseException(String message) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
    81
    super(message);
90ce3da70b43 Initial load
duke
parents:
diff changeset
    82
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
    83
90ce3da70b43 Initial load
duke
parents:
diff changeset
    84
90ce3da70b43 Initial load
duke
parents:
diff changeset
    85
  /**
90ce3da70b43 Initial load
duke
parents:
diff changeset
    86
   * This is the last token that has been consumed successfully.  If
90ce3da70b43 Initial load
duke
parents:
diff changeset
    87
   * this object has been created due to a parse error, the token
90ce3da70b43 Initial load
duke
parents:
diff changeset
    88
   * followng this token will (therefore) be the first error token.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    89
   */
90ce3da70b43 Initial load
duke
parents:
diff changeset
    90
  public Token currentToken;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    91
90ce3da70b43 Initial load
duke
parents:
diff changeset
    92
  /**
90ce3da70b43 Initial load
duke
parents:
diff changeset
    93
   * Each entry in this array is an array of integers.  Each array
90ce3da70b43 Initial load
duke
parents:
diff changeset
    94
   * of integers represents a sequence of tokens (by their ordinal
90ce3da70b43 Initial load
duke
parents:
diff changeset
    95
   * values) that is expected at this point of the parse.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    96
   */
90ce3da70b43 Initial load
duke
parents:
diff changeset
    97
  public int[][] expectedTokenSequences;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    98
90ce3da70b43 Initial load
duke
parents:
diff changeset
    99
  /**
90ce3da70b43 Initial load
duke
parents:
diff changeset
   100
   * This is a reference to the "tokenImage" array of the generated
90ce3da70b43 Initial load
duke
parents:
diff changeset
   101
   * parser within which the parse error occurred.  This array is
90ce3da70b43 Initial load
duke
parents:
diff changeset
   102
   * defined in the generated ...Constants interface.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   103
   */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   104
  public String[] tokenImage;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   105
90ce3da70b43 Initial load
duke
parents:
diff changeset
   106
  /**
22050
72e7501ac569 4660158: TTY: NumberFormatException while trying to set values by 'set' command
sla
parents: 14342
diff changeset
   107
   * It uses "currentToken" and "expectedTokenSequences" to generate a parse
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   108
   * error message and returns it.  If this object has been created
90ce3da70b43 Initial load
duke
parents:
diff changeset
   109
   * due to a parse error, and you do not catch it (it gets thrown
22050
72e7501ac569 4660158: TTY: NumberFormatException while trying to set values by 'set' command
sla
parents: 14342
diff changeset
   110
   * from the parser) the correct error message
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   111
   * gets displayed.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   112
   */
22050
72e7501ac569 4660158: TTY: NumberFormatException while trying to set values by 'set' command
sla
parents: 14342
diff changeset
   113
  private static String initialise(Token currentToken,
72e7501ac569 4660158: TTY: NumberFormatException while trying to set values by 'set' command
sla
parents: 14342
diff changeset
   114
                           int[][] expectedTokenSequences,
72e7501ac569 4660158: TTY: NumberFormatException while trying to set values by 'set' command
sla
parents: 14342
diff changeset
   115
                           String[] tokenImage) {
72e7501ac569 4660158: TTY: NumberFormatException while trying to set values by 'set' command
sla
parents: 14342
diff changeset
   116
    String eol = System.getProperty("line.separator", "\n");
24969
afa6934dd8e8 8041679: Replace uses of StringBuffer with StringBuilder within core library classes
psandoz
parents: 22050
diff changeset
   117
    StringBuilder expected = new StringBuilder();
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   118
    int maxSize = 0;
22050
72e7501ac569 4660158: TTY: NumberFormatException while trying to set values by 'set' command
sla
parents: 14342
diff changeset
   119
    for (int i = 0; i < expectedTokenSequences.length; i++) {
72e7501ac569 4660158: TTY: NumberFormatException while trying to set values by 'set' command
sla
parents: 14342
diff changeset
   120
      if (maxSize < expectedTokenSequences[i].length) {
72e7501ac569 4660158: TTY: NumberFormatException while trying to set values by 'set' command
sla
parents: 14342
diff changeset
   121
        maxSize = expectedTokenSequences[i].length;
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   122
      }
22050
72e7501ac569 4660158: TTY: NumberFormatException while trying to set values by 'set' command
sla
parents: 14342
diff changeset
   123
      for (int j = 0; j < expectedTokenSequences[i].length; j++) {
72e7501ac569 4660158: TTY: NumberFormatException while trying to set values by 'set' command
sla
parents: 14342
diff changeset
   124
        expected.append(tokenImage[expectedTokenSequences[i][j]]).append(' ');
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   125
      }
22050
72e7501ac569 4660158: TTY: NumberFormatException while trying to set values by 'set' command
sla
parents: 14342
diff changeset
   126
      if (expectedTokenSequences[i][expectedTokenSequences[i].length - 1] != 0) {
72e7501ac569 4660158: TTY: NumberFormatException while trying to set values by 'set' command
sla
parents: 14342
diff changeset
   127
        expected.append("...");
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   128
      }
22050
72e7501ac569 4660158: TTY: NumberFormatException while trying to set values by 'set' command
sla
parents: 14342
diff changeset
   129
      expected.append(eol).append("    ");
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   130
    }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   131
    String retval = "Encountered \"";
90ce3da70b43 Initial load
duke
parents:
diff changeset
   132
    Token tok = currentToken.next;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   133
    for (int i = 0; i < maxSize; i++) {
22050
72e7501ac569 4660158: TTY: NumberFormatException while trying to set values by 'set' command
sla
parents: 14342
diff changeset
   134
      if (i != 0) retval += " ";
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   135
      if (tok.kind == 0) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   136
        retval += tokenImage[0];
90ce3da70b43 Initial load
duke
parents:
diff changeset
   137
        break;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   138
      }
22050
72e7501ac569 4660158: TTY: NumberFormatException while trying to set values by 'set' command
sla
parents: 14342
diff changeset
   139
      retval += " " + tokenImage[tok.kind];
72e7501ac569 4660158: TTY: NumberFormatException while trying to set values by 'set' command
sla
parents: 14342
diff changeset
   140
      retval += " \"";
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   141
      retval += add_escapes(tok.image);
22050
72e7501ac569 4660158: TTY: NumberFormatException while trying to set values by 'set' command
sla
parents: 14342
diff changeset
   142
      retval += " \"";
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   143
      tok = tok.next;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   144
    }
22050
72e7501ac569 4660158: TTY: NumberFormatException while trying to set values by 'set' command
sla
parents: 14342
diff changeset
   145
    retval += "\" at line " + currentToken.next.beginLine + ", column " + currentToken.next.beginColumn;
72e7501ac569 4660158: TTY: NumberFormatException while trying to set values by 'set' command
sla
parents: 14342
diff changeset
   146
    retval += "." + eol;
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   147
    if (expectedTokenSequences.length == 1) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   148
      retval += "Was expecting:" + eol + "    ";
90ce3da70b43 Initial load
duke
parents:
diff changeset
   149
    } else {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   150
      retval += "Was expecting one of:" + eol + "    ";
90ce3da70b43 Initial load
duke
parents:
diff changeset
   151
    }
22050
72e7501ac569 4660158: TTY: NumberFormatException while trying to set values by 'set' command
sla
parents: 14342
diff changeset
   152
    retval += expected.toString();
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   153
    return retval;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   154
  }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   155
90ce3da70b43 Initial load
duke
parents:
diff changeset
   156
  /**
90ce3da70b43 Initial load
duke
parents:
diff changeset
   157
   * The end of line string for this machine.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   158
   */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   159
  protected String eol = System.getProperty("line.separator", "\n");
90ce3da70b43 Initial load
duke
parents:
diff changeset
   160
90ce3da70b43 Initial load
duke
parents:
diff changeset
   161
  /**
90ce3da70b43 Initial load
duke
parents:
diff changeset
   162
   * Used to convert raw characters to their escaped version
90ce3da70b43 Initial load
duke
parents:
diff changeset
   163
   * when these raw version cannot be used as part of an ASCII
90ce3da70b43 Initial load
duke
parents:
diff changeset
   164
   * string literal.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   165
   */
22050
72e7501ac569 4660158: TTY: NumberFormatException while trying to set values by 'set' command
sla
parents: 14342
diff changeset
   166
  static String add_escapes(String str) {
24969
afa6934dd8e8 8041679: Replace uses of StringBuffer with StringBuilder within core library classes
psandoz
parents: 22050
diff changeset
   167
      StringBuilder retval = new StringBuilder();
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   168
      char ch;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   169
      for (int i = 0; i < str.length(); i++) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   170
        switch (str.charAt(i))
90ce3da70b43 Initial load
duke
parents:
diff changeset
   171
        {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   172
           case 0 :
90ce3da70b43 Initial load
duke
parents:
diff changeset
   173
              continue;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   174
           case '\b':
90ce3da70b43 Initial load
duke
parents:
diff changeset
   175
              retval.append("\\b");
90ce3da70b43 Initial load
duke
parents:
diff changeset
   176
              continue;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   177
           case '\t':
90ce3da70b43 Initial load
duke
parents:
diff changeset
   178
              retval.append("\\t");
90ce3da70b43 Initial load
duke
parents:
diff changeset
   179
              continue;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   180
           case '\n':
90ce3da70b43 Initial load
duke
parents:
diff changeset
   181
              retval.append("\\n");
90ce3da70b43 Initial load
duke
parents:
diff changeset
   182
              continue;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   183
           case '\f':
90ce3da70b43 Initial load
duke
parents:
diff changeset
   184
              retval.append("\\f");
90ce3da70b43 Initial load
duke
parents:
diff changeset
   185
              continue;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   186
           case '\r':
90ce3da70b43 Initial load
duke
parents:
diff changeset
   187
              retval.append("\\r");
90ce3da70b43 Initial load
duke
parents:
diff changeset
   188
              continue;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   189
           case '\"':
90ce3da70b43 Initial load
duke
parents:
diff changeset
   190
              retval.append("\\\"");
90ce3da70b43 Initial load
duke
parents:
diff changeset
   191
              continue;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   192
           case '\'':
90ce3da70b43 Initial load
duke
parents:
diff changeset
   193
              retval.append("\\\'");
90ce3da70b43 Initial load
duke
parents:
diff changeset
   194
              continue;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   195
           case '\\':
90ce3da70b43 Initial load
duke
parents:
diff changeset
   196
              retval.append("\\\\");
90ce3da70b43 Initial load
duke
parents:
diff changeset
   197
              continue;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   198
           default:
90ce3da70b43 Initial load
duke
parents:
diff changeset
   199
              if ((ch = str.charAt(i)) < 0x20 || ch > 0x7e) {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   200
                 String s = "0000" + Integer.toString(ch, 16);
27957
24b4e6082f19 8055723: Replace concat String to append in StringBuilder parameters (dev)
weijun
parents: 25859
diff changeset
   201
                 retval.append("\\u").append(s.substring(s.length() - 4, s.length()));
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   202
              } else {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   203
                 retval.append(ch);
90ce3da70b43 Initial load
duke
parents:
diff changeset
   204
              }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   205
              continue;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   206
        }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   207
      }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   208
      return retval.toString();
90ce3da70b43 Initial load
duke
parents:
diff changeset
   209
   }
90ce3da70b43 Initial load
duke
parents:
diff changeset
   210
90ce3da70b43 Initial load
duke
parents:
diff changeset
   211
}
22050
72e7501ac569 4660158: TTY: NumberFormatException while trying to set values by 'set' command
sla
parents: 14342
diff changeset
   212
/* JavaCC - OriginalChecksum=3c9f049ed2bb6ade635c5bf58a386169 (do not edit this line) */