Home > prsc > streamingStar
Creates a StreamingParser that tries to apply the given StreamingParser zero or more times in sequence. Values produced during each iteration are only yielded whenever the inner parser matches successfully.
Signature:
export declare function streamingStar<T>(parser: StreamingParser<T>): StreamingParser<T>;
Parameter | Type | Description |
---|---|---|
parser | StreamingParser<T> | StreamingParser to apply repeatedly |
Returns: