/** * Returns a successful parse result. * * @param value the value of the parse result * @param position the position of the parse result */ public Success success(Object value, int position) { return new Success(buffer, position, value); }
/** * Returns a successful parse result. * * @param value the value of the parse result * @param position the position of the parse result */ public Success success(Object value, int position) { return new Success(buffer, position, value); }