SyntaxNode.DescendantTokens 方法

定义

重载

DescendantTokens(Func<SyntaxNode,Boolean>, Boolean)

获取此节点跨度中的所有令牌的列表。

DescendantTokens(TextSpan, Func<SyntaxNode,Boolean>, Boolean)

获取此节点全范围中的所有令牌的列表。

DescendantTokens(Func<SyntaxNode,Boolean>, 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

获取此节点跨度中的所有令牌的列表。

public System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.SyntaxToken> DescendantTokens (Func<Microsoft.CodeAnalysis.SyntaxNode,bool> descendIntoChildren = default, bool descendIntoTrivia = false);
public System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.SyntaxToken> DescendantTokens (Func<Microsoft.CodeAnalysis.SyntaxNode,bool>? descendIntoChildren = default, bool descendIntoTrivia = false);
member this.DescendantTokens : Func<Microsoft.CodeAnalysis.SyntaxNode, bool> * bool -> seq<Microsoft.CodeAnalysis.SyntaxToken>
Public Function DescendantTokens (Optional descendIntoChildren As Func(Of SyntaxNode, Boolean) = Nothing, Optional descendIntoTrivia As Boolean = false) As IEnumerable(Of SyntaxToken)

参数

descendIntoChildren
Func<SyntaxNode,Boolean>
descendIntoTrivia
Boolean

返回

适用于

DescendantTokens(TextSpan, Func<SyntaxNode,Boolean>, 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

获取此节点全范围中的所有令牌的列表。

public System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.SyntaxToken> DescendantTokens (Microsoft.CodeAnalysis.Text.TextSpan span, Func<Microsoft.CodeAnalysis.SyntaxNode,bool> descendIntoChildren = default, bool descendIntoTrivia = false);
public System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.SyntaxToken> DescendantTokens (Microsoft.CodeAnalysis.Text.TextSpan span, Func<Microsoft.CodeAnalysis.SyntaxNode,bool>? descendIntoChildren = default, bool descendIntoTrivia = false);
member this.DescendantTokens : Microsoft.CodeAnalysis.Text.TextSpan * Func<Microsoft.CodeAnalysis.SyntaxNode, bool> * bool -> seq<Microsoft.CodeAnalysis.SyntaxToken>
Public Function DescendantTokens (span As TextSpan, Optional descendIntoChildren As Func(Of SyntaxNode, Boolean) = Nothing, Optional descendIntoTrivia As Boolean = false) As IEnumerable(Of SyntaxToken)

参数

span
TextSpan
descendIntoChildren
Func<SyntaxNode,Boolean>
descendIntoTrivia
Boolean

返回

适用于