C# Class Rubberduck.VBEditor.Extensions.CodeModuleExtensions

VBE CodeModule extension methods.
Afficher le fichier Open project: retailcoder/Rubberduck

Méthodes publiques

Méthode Description
Clear ( this module ) : void

Deletes all lines from the CodeModule

GetSanitizedCode ( this module ) : string[]

Gets an array of strings where each element is a line of code in the Module, with line numbers stripped and any other pre-processing that needs to be done.

Lines ( this module ) : string

Returns all of the code in a Module as a string.

Private Methods

Méthode Description
HasNumberedLine ( string codeLine, int &lineNumber ) : bool
StripLineNumbers ( string lines ) : void

Method Details

Clear() public static méthode

Deletes all lines from the CodeModule
public static Clear ( this module ) : void
module this
Résultat void

GetSanitizedCode() public static méthode

Gets an array of strings where each element is a line of code in the Module, with line numbers stripped and any other pre-processing that needs to be done.
public static GetSanitizedCode ( this module ) : string[]
module this
Résultat string[]

Lines() public static méthode

Returns all of the code in a Module as a string.
public static Lines ( this module ) : string
module this
Résultat string