parse(input) {
    try {
      this.parser(input);
      return true;
    } catch (e) {
      if (e instanceof this.errorClass) {
        return false;
      }
      // rethrow...
      throw e;
    }
  }
/**
   * @return boolean True when the grammar succesfully parses the string.
   */
@return boolean True when the grammar succesfully parses the string.
@return boolean True when the grammar succesfully parses the string .
parse(input) {
    try {
      this.parser(input);
      return true;
    } catch (e) {
      if (e instanceof this.errorClass) {
        return false;
      }
      throw e;
    }
  }
parse ( input ) { try { this . parser ( input ) ; return true ; } catch ( e ) { if ( e instanceof this . errorClass ) { return false ; } throw e ; } }
@return boolean True when the grammar succesfully parses the string.
@return boolean True when the grammar succesfully parses the string .
// rethrow...