VBCodeParser.EndTerminatedStatement Method

Definition

Overloads

EndTerminatedStatement(VBKeyword, Boolean, Boolean, String)

Ends a termination of statement.

EndTerminatedStatement(VBKeyword, Boolean, Boolean)

Ends a termination of statement.

EndTerminatedStatement(VBKeyword, Boolean, Boolean, String)

Ends a termination of statement.

protected virtual Func<bool> EndTerminatedStatement (System.Web.Razor.Tokenizer.Symbols.VBKeyword keyword, bool supportsExit, bool supportsContinue, string blockName);
abstract member EndTerminatedStatement : System.Web.Razor.Tokenizer.Symbols.VBKeyword * bool * bool * string -> Func<bool>
override this.EndTerminatedStatement : System.Web.Razor.Tokenizer.Symbols.VBKeyword * bool * bool * string -> Func<bool>
Protected Overridable Function EndTerminatedStatement (keyword As VBKeyword, supportsExit As Boolean, supportsContinue As Boolean, blockName As String) As Func(Of Boolean)

Parameters

keyword
VBKeyword

The keyword.

supportsExit
Boolean

true if the termination supports exit; otherwise, false.

supportsContinue
Boolean

true if the termination supports continue; otherwise, false.

blockName
String

The block name.

Returns

The function that ends the termination.

Applies to

EndTerminatedStatement(VBKeyword, Boolean, Boolean)

Ends a termination of statement.

protected virtual Func<bool> EndTerminatedStatement (System.Web.Razor.Tokenizer.Symbols.VBKeyword keyword, bool supportsExit, bool supportsContinue);
abstract member EndTerminatedStatement : System.Web.Razor.Tokenizer.Symbols.VBKeyword * bool * bool -> Func<bool>
override this.EndTerminatedStatement : System.Web.Razor.Tokenizer.Symbols.VBKeyword * bool * bool -> Func<bool>
Protected Overridable Function EndTerminatedStatement (keyword As VBKeyword, supportsExit As Boolean, supportsContinue As Boolean) As Func(Of Boolean)

Parameters

keyword
VBKeyword

The keyword.

supportsExit
Boolean

true if the termination supports exit; otherwise, false.

supportsContinue
Boolean

true if the termination supports continue; otherwise, false.

Returns

The function that ends the termination.

Applies to