Delen via


Simplifier.ExpandAsync Method

Definition

Overloads

ExpandAsync(SyntaxToken, Document, Func<SyntaxNode,Boolean>, CancellationToken)

Expand qualifying parts of the specified subtree, annotating the parts using the Annotation annotation.

ExpandAsync<TNode>(TNode, Document, Func<SyntaxNode,Boolean>, Boolean, CancellationToken)

Expand qualifying parts of the specified subtree, annotating the parts using the Annotation annotation.

ExpandAsync(SyntaxToken, Document, Func<SyntaxNode,Boolean>, CancellationToken)

Source:
Simplifier.cs
Source:
Simplifier.cs
Source:
Simplifier.cs
Source:
Simplifier.cs
Source:
Simplifier.cs
Source:
Simplifier.cs
Source:
Simplifier.cs
Source:
Simplifier.cs
Source:
Simplifier.cs
Source:
Simplifier.cs
Source:
Simplifier.cs
Source:
Simplifier.cs
Source:
Simplifier.cs
Source:
Simplifier.cs
Source:
Simplifier.cs
Source:
Simplifier.cs
Source:
Simplifier.cs
Source:
Simplifier.cs
Source:
Simplifier.cs
Source:
Simplifier.cs
Source:
Simplifier.cs
Source:
Simplifier.cs
Source:
Simplifier.cs
Source:
Simplifier.cs

Expand qualifying parts of the specified subtree, annotating the parts using the Annotation annotation.

public static System.Threading.Tasks.Task<Microsoft.CodeAnalysis.SyntaxToken> ExpandAsync (Microsoft.CodeAnalysis.SyntaxToken token, Microsoft.CodeAnalysis.Document document, Func<Microsoft.CodeAnalysis.SyntaxNode,bool> expandInsideNode = default, System.Threading.CancellationToken cancellationToken = default);
public static System.Threading.Tasks.Task<Microsoft.CodeAnalysis.SyntaxToken> ExpandAsync (Microsoft.CodeAnalysis.SyntaxToken token, Microsoft.CodeAnalysis.Document document, Func<Microsoft.CodeAnalysis.SyntaxNode,bool>? expandInsideNode = default, System.Threading.CancellationToken cancellationToken = default);
static member ExpandAsync : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.Document * Func<Microsoft.CodeAnalysis.SyntaxNode, bool> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.CodeAnalysis.SyntaxToken>
Public Shared Function ExpandAsync (token As SyntaxToken, document As Document, Optional expandInsideNode As Func(Of SyntaxNode, Boolean) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of SyntaxToken)

Parameters

token
SyntaxToken
document
Document
expandInsideNode
Func<SyntaxNode,Boolean>
cancellationToken
CancellationToken

Returns

Applies to

ExpandAsync<TNode>(TNode, Document, Func<SyntaxNode,Boolean>, Boolean, CancellationToken)

Source:
Simplifier.cs
Source:
Simplifier.cs
Source:
Simplifier.cs
Source:
Simplifier.cs
Source:
Simplifier.cs
Source:
Simplifier.cs
Source:
Simplifier.cs
Source:
Simplifier.cs
Source:
Simplifier.cs
Source:
Simplifier.cs
Source:
Simplifier.cs
Source:
Simplifier.cs
Source:
Simplifier.cs
Source:
Simplifier.cs
Source:
Simplifier.cs
Source:
Simplifier.cs
Source:
Simplifier.cs
Source:
Simplifier.cs
Source:
Simplifier.cs
Source:
Simplifier.cs
Source:
Simplifier.cs
Source:
Simplifier.cs
Source:
Simplifier.cs
Source:
Simplifier.cs

Expand qualifying parts of the specified subtree, annotating the parts using the Annotation annotation.

public static System.Threading.Tasks.Task<TNode> ExpandAsync<TNode> (TNode node, Microsoft.CodeAnalysis.Document document, Func<Microsoft.CodeAnalysis.SyntaxNode,bool> expandInsideNode = default, bool expandParameter = false, System.Threading.CancellationToken cancellationToken = default) where TNode : Microsoft.CodeAnalysis.SyntaxNode;
public static System.Threading.Tasks.Task<TNode> ExpandAsync<TNode> (TNode node, Microsoft.CodeAnalysis.Document document, Func<Microsoft.CodeAnalysis.SyntaxNode,bool>? expandInsideNode = default, bool expandParameter = false, System.Threading.CancellationToken cancellationToken = default) where TNode : Microsoft.CodeAnalysis.SyntaxNode;
static member ExpandAsync : 'Node * Microsoft.CodeAnalysis.Document * Func<Microsoft.CodeAnalysis.SyntaxNode, bool> * bool * System.Threading.CancellationToken -> System.Threading.Tasks.Task<'Node (requires 'Node :> Microsoft.CodeAnalysis.SyntaxNode)> (requires 'Node :> Microsoft.CodeAnalysis.SyntaxNode)
Public Shared Function ExpandAsync(Of TNode As SyntaxNode) (node As TNode, document As Document, Optional expandInsideNode As Func(Of SyntaxNode, Boolean) = Nothing, Optional expandParameter As Boolean = false, Optional cancellationToken As CancellationToken = Nothing) As Task(Of TNode)

Type Parameters

TNode

Parameters

node
TNode
document
Document
expandInsideNode
Func<SyntaxNode,Boolean>
expandParameter
Boolean
cancellationToken
CancellationToken

Returns

Task<TNode>

Applies to