Open sandboxFocus

Method UpdateTree

UpdateTree(SyntaxTree, SyntaxTree)

Updates a SyntaxTree.

Declaration
void UpdateTree(SyntaxTree transformedTree, SyntaxTree originalTree)
Parameters
Type Name Description
SyntaxTree transformedTree
SyntaxTree originalTree

UpdateTree(SyntaxNode, SyntaxTree)

Updates a SyntaxTree by passing the new root syntax node.

Declaration
void UpdateTree(SyntaxNode transformedRoot, SyntaxTree originalTree)
Parameters
Type Name Description
SyntaxNode transformedRoot
SyntaxTree originalTree