ref<T> method

  1. @Deprecated('Use [ref0], [ref1], [ref2], ... instead.')
Parser<T> ref<T>(
  1. Function callback, [
  2. dynamic arg1 = undefined,
  3. dynamic arg2 = undefined,
  4. dynamic arg3 = undefined,
  5. dynamic arg4 = undefined,
  6. dynamic arg5 = undefined,
])
inherited

Reference to a production callback optionally parametrized with arg1, arg2, arg3, arg4, and arg5.

This function is deprecated because it doesn't work well in strong mode. Use ref0, ref1, ref2, ref3, ref4, or ref5 instead.

Implementation

@Deprecated('Use [ref0], [ref1], [ref2], ... instead.')
Parser<T> ref<T>(Function callback,
        [dynamic arg1 = undefined,
        dynamic arg2 = undefined,
        dynamic arg3 = undefined,
        dynamic arg4 = undefined,
        dynamic arg5 = undefined]) =>
    reference.ref(callback, arg1, arg2, arg3, arg4, arg5);