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 function KeywordTerminatedStatement(
	start : VBKeyword, 
	terminator : VBKeyword, 
	supportsExit : boolean, 
	supportsContinue : boolean
) : Func<boolean>

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: