Partager via


CSharpCodeParser.IsSpacingToken(Boolean, Boolean) Méthode

Définition

Indique si les lignes et les commentaires servent d'espacements dans les jetons.

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)

Paramètres

includeNewLines
Boolean

true pour inclure de nouvelles lignes ; sinon, false.

includeComments
Boolean

true pour inclure des commentaires ; sinon, false.

Retours

La fonction qui indique l'espacement dans le jeton.

S’applique à