C# Class ReSharper.ReJS.RemoveUnreachableCodeFix

Inheritance: QuickFixBase
Mostrar archivo Open project: hazzik/ReSharper.ReJS

Public Methods

Method Description
IsAvailable ( IUserDataHolder cache ) : bool
RemoveUnreachableCodeFix ( HeuristicallyUnreachableCodeWarning error ) : System
RemoveUnreachableCodeFix ( UnreachableCodeWarning error ) : System

Protected Methods

Method Description
ExecutePsiTransaction ( ISolution solution, IProgressIndicator progress ) : Action

Private Methods

Method Description
AdjustExpression ( ITreeRange range, ICompoundExpression expression ) : ITreeRange
AdjustExpression ( ITreeRange range, IJavaScriptExpression expression ) : ITreeRange
AdjustStatement ( ITreeRange range, IJavaScriptStatement statement ) : ITreeRange
AdjustTreeRange ( ITreeRange range ) : ITreeRange

Method Details

ExecutePsiTransaction() protected method

protected ExecutePsiTransaction ( ISolution solution, IProgressIndicator progress ) : Action
solution ISolution
progress IProgressIndicator
return Action

IsAvailable() public method

public IsAvailable ( IUserDataHolder cache ) : bool
cache IUserDataHolder
return bool

RemoveUnreachableCodeFix() public method

public RemoveUnreachableCodeFix ( HeuristicallyUnreachableCodeWarning error ) : System
error HeuristicallyUnreachableCodeWarning
return System

RemoveUnreachableCodeFix() public method

public RemoveUnreachableCodeFix ( UnreachableCodeWarning error ) : System
error UnreachableCodeWarning
return System