VBCodeParser.KeywordTerminatedStatement 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.
Indicates a keyword that terminates a statement.
protected virtual Func<bool> KeywordTerminatedStatement(System.Web.Razor.Tokenizer.Symbols.VBKeyword start, System.Web.Razor.Tokenizer.Symbols.VBKeyword terminator, bool supportsExit, bool supportsContinue);
abstract member KeywordTerminatedStatement : System.Web.Razor.Tokenizer.Symbols.VBKeyword * System.Web.Razor.Tokenizer.Symbols.VBKeyword * bool * bool -> Func<bool>
override this.KeywordTerminatedStatement : System.Web.Razor.Tokenizer.Symbols.VBKeyword * System.Web.Razor.Tokenizer.Symbols.VBKeyword * bool * bool -> Func<bool>
Protected Overridable Function KeywordTerminatedStatement (start As VBKeyword, terminator As VBKeyword, supportsExit As Boolean, supportsContinue As Boolean) As Func(Of Boolean)
Parameters
- start
- VBKeyword
The start.
- terminator
- VBKeyword
The terminator.
- supportsExit
- Boolean
true if the termination supports exit; otherwise, false.
- supportsContinue
- Boolean
true if the termination supports continue; otherwise, false.
Returns
The function that terminates the statement.