C# Class Rubberduck.Parsing.VBA.StringExtensions

Afficher le fichier Open project: retailcoder/Rubberduck

Méthodes publiques

Méthode Description
HasComment ( this line, int &index ) : bool

Returns a value indicating whether line of code is/contains a comment.

NthIndexOf ( this line, char chr, int index ) : int
RemoveExtraSpacesLeavingIndentation ( this line ) : string
StripStringLiterals ( this line ) : string

Method Details

HasComment() public static méthode

Returns a value indicating whether line of code is/contains a comment.
public static HasComment ( this line, int &index ) : bool
line this The extended string.
index int The start index of the comment string.
Résultat bool

NthIndexOf() public static méthode

public static NthIndexOf ( this line, char chr, int index ) : int
line this
chr char
index int
Résultat int

RemoveExtraSpacesLeavingIndentation() public static méthode

public static RemoveExtraSpacesLeavingIndentation ( this line ) : string
line this
Résultat string

StripStringLiterals() public static méthode

public static StripStringLiterals ( this line ) : string
line this
Résultat string