SyntaxNode.FindTokenCore Méthode

Définition

Surcharges

FindTokenCore(Int32, Boolean)

Recherche un jeton descendant de ce nœud dont l’étendue inclut la position fournie.

FindTokenCore(Int32, Func<SyntaxTrivia,Boolean>)

Recherche un jeton descendant de ce nœud dont l’étendue inclut la position fournie.

FindTokenCore(Int32, Boolean)

Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs

Recherche un jeton descendant de ce nœud dont l’étendue inclut la position fournie.

protected:
 virtual Microsoft::CodeAnalysis::SyntaxToken FindTokenCore(int position, bool findInsideTrivia);
protected virtual Microsoft.CodeAnalysis.SyntaxToken FindTokenCore (int position, bool findInsideTrivia);
abstract member FindTokenCore : int * bool -> Microsoft.CodeAnalysis.SyntaxToken
override this.FindTokenCore : int * bool -> Microsoft.CodeAnalysis.SyntaxToken
Protected Overridable Function FindTokenCore (position As Integer, findInsideTrivia As Boolean) As SyntaxToken

Paramètres

position
Int32

Position du caractère du jeton par rapport au début du fichier.

findInsideTrivia
Boolean

True pour retourner des jetons qui font partie de la trivia. Si false trouve le jeton dont l’étendue complète (y compris la trivia) inclut la position.

Retours

S’applique à

FindTokenCore(Int32, Func<SyntaxTrivia,Boolean>)

Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs
Source:
SyntaxNode.cs

Recherche un jeton descendant de ce nœud dont l’étendue inclut la position fournie.

protected:
 virtual Microsoft::CodeAnalysis::SyntaxToken FindTokenCore(int position, Func<Microsoft::CodeAnalysis::SyntaxTrivia, bool> ^ stepInto);
protected virtual Microsoft.CodeAnalysis.SyntaxToken FindTokenCore (int position, Func<Microsoft.CodeAnalysis.SyntaxTrivia,bool> stepInto);
abstract member FindTokenCore : int * Func<Microsoft.CodeAnalysis.SyntaxTrivia, bool> -> Microsoft.CodeAnalysis.SyntaxToken
override this.FindTokenCore : int * Func<Microsoft.CodeAnalysis.SyntaxTrivia, bool> -> Microsoft.CodeAnalysis.SyntaxToken
Protected Overridable Function FindTokenCore (position As Integer, stepInto As Func(Of SyntaxTrivia, Boolean)) As SyntaxToken

Paramètres

position
Int32

Position du caractère du jeton par rapport au début du fichier.

stepInto
Func<SyntaxTrivia,Boolean>

Appliquée à chaque trivia structurée. Retourne la valeur false si les jetons inclus dans la trivia doivent être ignorés. Passez null pour ignorer toutes les trivia structurées.

Retours

S’applique à