Share via


VBCodeParser.KeywordTerminatedStatement 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

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.

Applies to