Share via


Tokenizer<TSymbol,TSymbolType>.TakeUntil Method

Definition

Parses the source document until the condition specified by predicate is met or end file is reached.

protected bool TakeUntil (Func<char,bool> predicate);
member this.TakeUntil : Func<char, bool> -> bool
Protected Function TakeUntil (predicate As Func(Of Char, Boolean)) As Boolean

Parameters

predicate
Func<Char,Boolean>

The predicate that specifies the processing condition.

Returns

true if the predicate condition is met; false if end of file is reached.

Applies to