TokenizerBackedParser<TTokenizer,TSymbol,TSymbolType>.ReadWhile Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Reads a token while the condition is not reached.
protected internal System.Collections.Generic.IEnumerable<TSymbol> ReadWhile (Func<TSymbol,bool> condition);
member this.ReadWhile : Func<'Symbol, bool (requires 'Symbol :> System.Web.Razor.Tokenizer.Symbols.SymbolBase<'SymbolType>)> -> seq<'Symbol (requires 'Symbol :> System.Web.Razor.Tokenizer.Symbols.SymbolBase<'SymbolType>)>
Protected Friend Function ReadWhile (condition As Func(Of TSymbol, Boolean)) As IEnumerable(Of TSymbol)
Parameters
Returns
IEnumerable<TSymbol>
The token to read.