private void eatLiteral(String literal) throws ParseException {
    int n = literal.length();
    for (int i = 0; i < n; i++) {
      char v = getChar();
      if (v != literal.charAt(i)) {
        throw new ParseException("bad srtext", position);
      }
    }
  }
private void eatLiteral(String literal) throws ParseException {
    int n = literal.length();
    for (int i = 0; i < n; i++) {
      char v = getChar();
      if (v != literal.charAt(i)) {
        throw new ParseException("bad srtext", position);
      }
    }
  }
private void eatLiteral ( String literal ) throws ParseException { int n = literal . length ( ) ; for ( int i = 0 ; i < n ; i ++ ) { char v = getChar ( ) ; if ( v != literal . charAt ( i ) ) { throw new ParseException ( "bad srtext" , position ) ; } } }
_more_

@param literal _more_
@throws ParseException _more_
_more_