다음을 통해 공유


SyntaxNodeExtensions.GetCurrentNodes 메서드

정의

오버로드

GetCurrentNodes<TNode>(SyntaxNode, IEnumerable<TNode>)

원래 추적된 노드에 해당하는 하위 트리 내의 노드를 가져옵니다. TrackNodes를 사용하여 노드 추적을 시작합니다.

GetCurrentNodes<TNode>(SyntaxNode, TNode)

원래 추적된 노드에 해당하는 하위 트리 내의 노드를 가져옵니다. TrackNodes를 사용하여 노드 추적을 시작합니다.

GetCurrentNodes<TNode>(SyntaxNode, IEnumerable<TNode>)

Source:
SyntaxNodeExtensions.cs
Source:
SyntaxNodeExtensions.cs
Source:
SyntaxNodeExtensions.cs
Source:
SyntaxNodeExtensions.cs
Source:
SyntaxNodeExtensions.cs
Source:
SyntaxNodeExtensions.cs
Source:
SyntaxNodeExtensions.cs
Source:
SyntaxNodeExtensions.cs
Source:
SyntaxNodeExtensions.cs
Source:
SyntaxNodeExtensions.cs
Source:
SyntaxNodeExtensions.cs
Source:
SyntaxNodeExtensions.cs
Source:
SyntaxNodeExtensions.cs
Source:
SyntaxNodeExtensions.cs
Source:
SyntaxNodeExtensions.cs
Source:
SyntaxNodeExtensions.cs
Source:
SyntaxNodeExtensions.cs
Source:
SyntaxNodeExtensions.cs
Source:
SyntaxNodeExtensions.cs
Source:
SyntaxNodeExtensions.cs
Source:
SyntaxNodeExtensions.cs
Source:
SyntaxNodeExtensions.cs
Source:
SyntaxNodeExtensions.cs

원래 추적된 노드에 해당하는 하위 트리 내의 노드를 가져옵니다. TrackNodes를 사용하여 노드 추적을 시작합니다.

public:
generic <typename TNode>
 where TNode : Microsoft::CodeAnalysis::SyntaxNode[System::Runtime::CompilerServices::Extension]
 static System::Collections::Generic::IEnumerable<TNode> ^ GetCurrentNodes(Microsoft::CodeAnalysis::SyntaxNode ^ root, System::Collections::Generic::IEnumerable<TNode> ^ nodes);
[System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.CodeAnalysis.SyntaxNodeExtensions+<GetCurrentNodes>d__41<>))]
public static System.Collections.Generic.IEnumerable<TNode> GetCurrentNodes<TNode> (this Microsoft.CodeAnalysis.SyntaxNode root, System.Collections.Generic.IEnumerable<TNode> nodes) where TNode : Microsoft.CodeAnalysis.SyntaxNode;
[<System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.CodeAnalysis.SyntaxNodeExtensions+<GetCurrentNodes>d__41<>))>]
static member GetCurrentNodes : Microsoft.CodeAnalysis.SyntaxNode * seq<'Node (requires 'Node :> Microsoft.CodeAnalysis.SyntaxNode)> -> seq<'Node (requires 'Node :> Microsoft.CodeAnalysis.SyntaxNode)> (requires 'Node :> Microsoft.CodeAnalysis.SyntaxNode)
<Extension()>
Public Iterator Function GetCurrentNodes(Of TNode As SyntaxNode) (root As SyntaxNode, nodes As IEnumerable(Of TNode)) As IEnumerable(Of TNode)

형식 매개 변수

TNode

매개 변수

root
SyntaxNode

원래 추적된 노드에 해당하는 현재 노드를 포함하는 하위 트리의 루트입니다.

nodes
IEnumerable<TNode>

원래 추적된 하나 이상의 노드 인스턴스입니다.

반환

IEnumerable<TNode>
특성

적용 대상

GetCurrentNodes<TNode>(SyntaxNode, TNode)

Source:
SyntaxNodeExtensions_Tracking.cs
Source:
SyntaxNodeExtensions_Tracking.cs
Source:
SyntaxNodeExtensions_Tracking.cs
Source:
SyntaxNodeExtensions_Tracking.cs
Source:
SyntaxNodeExtensions_Tracking.cs
Source:
SyntaxNodeExtensions_Tracking.cs
Source:
SyntaxNodeExtensions_Tracking.cs
Source:
SyntaxNodeExtensions_Tracking.cs
Source:
SyntaxNodeExtensions_Tracking.cs
Source:
SyntaxNodeExtensions_Tracking.cs
Source:
SyntaxNodeExtensions_Tracking.cs
Source:
SyntaxNodeExtensions_Tracking.cs
Source:
SyntaxNodeExtensions_Tracking.cs
Source:
SyntaxNodeExtensions_Tracking.cs
Source:
SyntaxNodeExtensions_Tracking.cs
Source:
SyntaxNodeExtensions_Tracking.cs
Source:
SyntaxNodeExtensions_Tracking.cs
Source:
SyntaxNodeExtensions_Tracking.cs
Source:
SyntaxNodeExtensions_Tracking.cs
Source:
SyntaxNodeExtensions_Tracking.cs
Source:
SyntaxNodeExtensions_Tracking.cs
Source:
SyntaxNodeExtensions_Tracking.cs
Source:
SyntaxNodeExtensions_Tracking.cs

원래 추적된 노드에 해당하는 하위 트리 내의 노드를 가져옵니다. TrackNodes를 사용하여 노드 추적을 시작합니다.

public:
generic <typename TNode>
 where TNode : Microsoft::CodeAnalysis::SyntaxNode[System::Runtime::CompilerServices::Extension]
 static System::Collections::Generic::IEnumerable<TNode> ^ GetCurrentNodes(Microsoft::CodeAnalysis::SyntaxNode ^ root, TNode node);
public static System.Collections.Generic.IEnumerable<TNode> GetCurrentNodes<TNode> (this Microsoft.CodeAnalysis.SyntaxNode root, TNode node) where TNode : Microsoft.CodeAnalysis.SyntaxNode;
static member GetCurrentNodes : Microsoft.CodeAnalysis.SyntaxNode * 'Node -> seq<'Node (requires 'Node :> Microsoft.CodeAnalysis.SyntaxNode)> (requires 'Node :> Microsoft.CodeAnalysis.SyntaxNode)
<Extension()>
Public Function GetCurrentNodes(Of TNode As SyntaxNode) (root As SyntaxNode, node As TNode) As IEnumerable(Of TNode)

형식 매개 변수

TNode

매개 변수

root
SyntaxNode

원래 추적된 노드에 해당하는 현재 노드를 포함하는 하위 트리의 루트입니다.

node
TNode

원래 추적된 노드 인스턴스입니다.

반환

IEnumerable<TNode>

적용 대상