SegmentParser.withFunction constructor

const SegmentParser.withFunction(
  1. Parser parse
)

Creates a user defined SegmentParser

Implementation

const factory SegmentParser.withFunction(Parser parse) = _CustomSegmentParser;