C# Class ICSharpCode.NRefactory.CSharp.Refactoring.ReplacementNodeHelper

Datei anzeigen Open project: 0xd4d/NRefactory Class Usage Examples

Public Methods

Method Description
AddReplacementAnnotation ( AstNode node, AstNode replacedNode ) : void
CloneWithReplacementAnnotation ( AstNode node, AstNode replacedNode ) : AstNode
CloneWithReplacementAnnotation ( Expression expression, AstNode replacedNode ) : Expression
GetAllReplacementAnnotations ( AstNode node ) : IEnumerable
GetReplacedNodes ( AstNode expression ) : IList

Method Details

AddReplacementAnnotation() public static method

public static AddReplacementAnnotation ( AstNode node, AstNode replacedNode ) : void
node AstNode
replacedNode AstNode
return void

CloneWithReplacementAnnotation() public static method

public static CloneWithReplacementAnnotation ( AstNode node, AstNode replacedNode ) : AstNode
node AstNode
replacedNode AstNode
return AstNode

CloneWithReplacementAnnotation() public static method

public static CloneWithReplacementAnnotation ( Expression expression, AstNode replacedNode ) : Expression
expression Expression
replacedNode AstNode
return Expression

GetAllReplacementAnnotations() public static method

public static GetAllReplacementAnnotations ( AstNode node ) : IEnumerable
node AstNode
return IEnumerable

GetReplacedNodes() public static method

public static GetReplacedNodes ( AstNode expression ) : IList
expression AstNode
return IList