Consume token method defaults to consumeToken. Used mainly for performance reasons. Provided methods are consumeToken and consumeTokenFast. Custom consume method may be employed as well.

Examples:


  {
    // do not record error reporting information in recover rules
    consumeTokenMethod(".*_recover")="consumeTokenFast"

    // do not record error reporting information in expression parsing,
    // no one really needs to know that + - * / are expected at any offset
    consumeTokenMethod(".*_expr|.*_op|value_expression")="consumeTokenFast"
  }