Tokenizer<TSymbol,TSymbolType>.TakeAll(String, Boolean) 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.
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Takes the string if found in the lookahead buffer into the tokenizer buffer.
protected bool TakeAll (string expected, bool caseSensitive);
member this.TakeAll : string * bool -> bool
Protected Function TakeAll (expected As String, caseSensitive As Boolean) As Boolean
Parameters
- expected
- String
The string to match.
- caseSensitive
- Boolean
true to indicate comparison is case sensitive; otherwise, false.
Returns
true if the lookahead buffer contains the expected string; otherwise, false.