VBCodeParser.KeywordTerminatedStatement Method

Indicates a keyword that terminates a statement.

Namespace:  System.Web.Razor.Parser
Assembly:  System.Web.Razor (in System.Web.Razor.dll)

protected virtual Func<bool> KeywordTerminatedStatement(
	VBKeyword start,
	VBKeyword terminator,
	bool supportsExit,
	bool supportsContinue
)

Parameters

start
Type: System.Web.Razor.Tokenizer.Symbols.VBKeyword
The start.
terminator
Type: System.Web.Razor.Tokenizer.Symbols.VBKeyword
The terminator.
supportsExit
Type: System.Boolean
true if the termination supports exit; otherwise, false.
supportsContinue
Type: System.Boolean
true if the termination supports continue; otherwise, false.

Return Value

Type: System.Func<Boolean>
The function that terminates the statement.
Show: