C# Class PredictiveCodeSuggestions.AutoTemplates.Analyzers.UsingAnalyzer

Defines the UsingAnalyzer class.
Inheritance: BlockStatementAnalyzer
Mostra file Open project: JakobChristensen/Resharper.PredictiveCodeSuggestions

Public Methods

Method Description
CanHandle ( IStatement statement ) : bool

Determines whether this instance can handle the specified statement.

Handle ( IStatement statement ) : AutoTemplateScope

Handles the specified statement.

Protected Methods

Method Description
GetInnerStatement ( IStatement statement ) : IStatement

Gets the inner statement.

GetInsertPosition ( IStatement statement ) : DocumentRange

Gets the insert position.

Method Details

CanHandle() public method

Determines whether this instance can handle the specified statement.
public CanHandle ( IStatement statement ) : bool
statement IStatement The statement.
return bool

GetInnerStatement() protected method

Gets the inner statement.
protected GetInnerStatement ( IStatement statement ) : IStatement
statement IStatement The statement.
return IStatement

GetInsertPosition() protected method

Gets the insert position.
protected GetInsertPosition ( IStatement statement ) : DocumentRange
statement IStatement The statement.
return DocumentRange

Handle() public method

Handles the specified statement.
public Handle ( IStatement statement ) : AutoTemplateScope
statement IStatement The statement.
return AutoTemplateScope