VBCodeParser.KeywordTerminatedStatement(VBKeyword, VBKeyword, Boolean, Boolean) VBCodeParser.KeywordTerminatedStatement(VBKeyword, VBKeyword, Boolean, Boolean) VBCodeParser.KeywordTerminatedStatement(VBKeyword, VBKeyword, Boolean, Boolean) Method

Definition

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 VBKeyword VBKeyword

The start.

terminator
VBKeyword VBKeyword VBKeyword

The terminator.

supportsExit
Boolean Boolean Boolean

true if the termination supports exit; otherwise, false.

supportsContinue
Boolean Boolean Boolean

true if the termination supports continue; otherwise, false.

Returns

The function that terminates the statement.

Applies to