CSharpCodeParser.IsSpacingToken(Boolean, Boolean) Method

Definition

Indicates whether the lines and comments is spacing token.

protected static Func<System.Web.Razor.Tokenizer.Symbols.CSharpSymbol,bool> IsSpacingToken (bool includeNewLines, bool includeComments);
static member IsSpacingToken : bool * bool -> Func<System.Web.Razor.Tokenizer.Symbols.CSharpSymbol, bool>
Protected Shared Function IsSpacingToken (includeNewLines As Boolean, includeComments As Boolean) As Func(Of CSharpSymbol, Boolean)

Parameters

includeNewLines
Boolean

true to include new lines; otherwise, false.

includeComments
Boolean

true to include comments; otherwise, false.

Returns

The function that indicates the spacing token.

Applies to