Beispiel #1
0
 protected internal override SyntaxNode?RemoveNodesCore(
     IEnumerable <SyntaxNode> nodes,
     SyntaxRemoveOptions options
     )
 {
     return(SyntaxNodeRemover
            .RemoveNodes(this, nodes.Cast <CSharpSyntaxNode>(), options)
            .AsRootOfNewTreeWithOptionsFrom(this.SyntaxTree));
 }
Beispiel #2
0
 /// <summary>
 /// Removes child nodes.
 /// </summary>
 /// <param name="nodes"></param>
 /// <param name="options"></param>
 /// <returns></returns>
 protected internal override SyntaxNode?RemoveNodesCore(IEnumerable <SyntaxNode> nodes, SyntaxRemoveOptions options)
 => SyntaxNodeRemover.RemoveNodes(this, nodes.Cast <LuaSyntaxNode>(), options).AsRootOfNewTreeWithOptionsFrom(SyntaxTree);
Beispiel #3
0
 protected internal override SyntaxNode RemoveNodesCore(IEnumerable <SyntaxNode> nodes, SyntaxRemoveOptions options)
 {
     return(SyntaxNodeRemover.RemoveNodes(this, nodes.Cast <CSharpSyntaxNode>(), options));
 }