SyntaxNode.DescendantTrivia 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
DescendantTrivia(TextSpan, Func<SyntaxNode,Boolean>, Boolean) |
获取与后代节点和令牌关联的所有琐事的列表。 |
DescendantTrivia(Func<SyntaxNode,Boolean>, Boolean) |
获取与后代节点和令牌关联的所有琐事的列表。 |
DescendantTrivia(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
- Source:
- SyntaxNode.cs
获取与后代节点和令牌关联的所有琐事的列表。
public System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.SyntaxTrivia> DescendantTrivia (Microsoft.CodeAnalysis.Text.TextSpan span, Func<Microsoft.CodeAnalysis.SyntaxNode,bool> descendIntoChildren = default, bool descendIntoTrivia = false);
public System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.SyntaxTrivia> DescendantTrivia (Microsoft.CodeAnalysis.Text.TextSpan span, Func<Microsoft.CodeAnalysis.SyntaxNode,bool>? descendIntoChildren = default, bool descendIntoTrivia = false);
member this.DescendantTrivia : Microsoft.CodeAnalysis.Text.TextSpan * Func<Microsoft.CodeAnalysis.SyntaxNode, bool> * bool -> seq<Microsoft.CodeAnalysis.SyntaxTrivia>
Public Function DescendantTrivia (span As TextSpan, Optional descendIntoChildren As Func(Of SyntaxNode, Boolean) = Nothing, Optional descendIntoTrivia As Boolean = false) As IEnumerable(Of SyntaxTrivia)
参数
- span
- TextSpan
- descendIntoChildren
- Func<SyntaxNode,Boolean>
- descendIntoTrivia
- Boolean
返回
适用于
DescendantTrivia(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
- Source:
- SyntaxNode.cs
获取与后代节点和令牌关联的所有琐事的列表。
public System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.SyntaxTrivia> DescendantTrivia (Func<Microsoft.CodeAnalysis.SyntaxNode,bool> descendIntoChildren = default, bool descendIntoTrivia = false);
public System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.SyntaxTrivia> DescendantTrivia (Func<Microsoft.CodeAnalysis.SyntaxNode,bool>? descendIntoChildren = default, bool descendIntoTrivia = false);
member this.DescendantTrivia : Func<Microsoft.CodeAnalysis.SyntaxNode, bool> * bool -> seq<Microsoft.CodeAnalysis.SyntaxTrivia>
Public Function DescendantTrivia (Optional descendIntoChildren As Func(Of SyntaxNode, Boolean) = Nothing, Optional descendIntoTrivia As Boolean = false) As IEnumerable(Of SyntaxTrivia)
参数
- descendIntoChildren
- Func<SyntaxNode,Boolean>
- descendIntoTrivia
- Boolean