Simplifier.Expand Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Expand(SyntaxToken, SemanticModel, Workspace, Func<SyntaxNode,Boolean>, CancellationToken) |
Expand qualifying parts of the specified subtree, annotating the parts using the Annotation annotation. |
Expand<TNode>(TNode, SemanticModel, Workspace, Func<SyntaxNode,Boolean>, Boolean, CancellationToken) |
Expand qualifying parts of the specified subtree, annotating the parts using the Annotation annotation. |
Expand(SyntaxToken, SemanticModel, Workspace, 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 Microsoft.CodeAnalysis.SyntaxToken Expand (Microsoft.CodeAnalysis.SyntaxToken token, Microsoft.CodeAnalysis.SemanticModel semanticModel, Microsoft.CodeAnalysis.Workspace workspace, Func<Microsoft.CodeAnalysis.SyntaxNode,bool> expandInsideNode = default, System.Threading.CancellationToken cancellationToken = default);
public static Microsoft.CodeAnalysis.SyntaxToken Expand (Microsoft.CodeAnalysis.SyntaxToken token, Microsoft.CodeAnalysis.SemanticModel semanticModel, Microsoft.CodeAnalysis.Workspace workspace, Func<Microsoft.CodeAnalysis.SyntaxNode,bool>? expandInsideNode = default, System.Threading.CancellationToken cancellationToken = default);
static member Expand : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SemanticModel * Microsoft.CodeAnalysis.Workspace * Func<Microsoft.CodeAnalysis.SyntaxNode, bool> * System.Threading.CancellationToken -> Microsoft.CodeAnalysis.SyntaxToken
Public Shared Function Expand (token As SyntaxToken, semanticModel As SemanticModel, workspace As Workspace, Optional expandInsideNode As Func(Of SyntaxNode, Boolean) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As SyntaxToken
Parameters
- token
- SyntaxToken
- semanticModel
- SemanticModel
- workspace
- Workspace
- expandInsideNode
- Func<SyntaxNode,Boolean>
- cancellationToken
- CancellationToken
Returns
Applies to
Expand<TNode>(TNode, SemanticModel, Workspace, 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 TNode Expand<TNode> (TNode node, Microsoft.CodeAnalysis.SemanticModel semanticModel, Microsoft.CodeAnalysis.Workspace workspace, Func<Microsoft.CodeAnalysis.SyntaxNode,bool> expandInsideNode = default, bool expandParameter = false, System.Threading.CancellationToken cancellationToken = default) where TNode : Microsoft.CodeAnalysis.SyntaxNode;
public static TNode Expand<TNode> (TNode node, Microsoft.CodeAnalysis.SemanticModel semanticModel, Microsoft.CodeAnalysis.Workspace workspace, Func<Microsoft.CodeAnalysis.SyntaxNode,bool>? expandInsideNode = default, bool expandParameter = false, System.Threading.CancellationToken cancellationToken = default) where TNode : Microsoft.CodeAnalysis.SyntaxNode;
static member Expand : 'Node * Microsoft.CodeAnalysis.SemanticModel * Microsoft.CodeAnalysis.Workspace * Func<Microsoft.CodeAnalysis.SyntaxNode, bool> * bool * System.Threading.CancellationToken -> 'Node (requires 'Node :> Microsoft.CodeAnalysis.SyntaxNode)
Public Shared Function Expand(Of TNode As SyntaxNode) (node As TNode, semanticModel As SemanticModel, workspace As Workspace, Optional expandInsideNode As Func(Of SyntaxNode, Boolean) = Nothing, Optional expandParameter As Boolean = false, Optional cancellationToken As CancellationToken = Nothing) As TNode
Type Parameters
- TNode
Parameters
- node
- TNode
- semanticModel
- SemanticModel
- workspace
- Workspace
- expandInsideNode
- Func<SyntaxNode,Boolean>
- expandParameter
- Boolean
- cancellationToken
- CancellationToken
Returns
TNode
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
.NET