Method | Description | |
---|---|---|
Create ( string content ) : TestRefactoringContext | ||
GetLineByOffset ( int offset ) : IDocumentLine | ||
GetLocation ( int offset ) : TextLocation | ||
GetOffset ( TextLocation location ) : int | ||
GetText ( ISegment segment ) : string | ||
GetText ( int offset, int length ) : string | ||
StartScript ( ) : Script | ||
Supports ( System.Version version ) : bool | ||
TestRefactoringContext ( IDocument document, TextLocation location, ICSharpCode.NRefactory.CSharp.Resolver.CSharpAstResolver resolver ) : System |
Method | Description | |
---|---|---|
Print ( AstNode node ) : void |
public static Create ( string content ) : TestRefactoringContext | ||
content | string | |
return | TestRefactoringContext |
public GetLineByOffset ( int offset ) : IDocumentLine | ||
offset | int | |
return | IDocumentLine |
public GetLocation ( int offset ) : TextLocation | ||
offset | int | |
return | TextLocation |
public GetOffset ( TextLocation location ) : int | ||
location | TextLocation | |
return | int |
public GetText ( int offset, int length ) : string | ||
offset | int | |
length | int | |
return | string |
public Supports ( System.Version version ) : bool | ||
version | System.Version | |
return | bool |
public TestRefactoringContext ( IDocument document, TextLocation location, ICSharpCode.NRefactory.CSharp.Resolver.CSharpAstResolver resolver ) : System | ||
document | IDocument | |
location | TextLocation | |
resolver | ICSharpCode.NRefactory.CSharp.Resolver.CSharpAstResolver | |
return | System |