Method | 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 |
public static HasComment ( this line, int &index ) : bool | ||
line | this | The extended string. |
index | int | The start index of the comment string. |
return | bool |
public static NthIndexOf ( this line, char chr, int index ) : int | ||
line | this | |
chr | char | |
index | int | |
return | int |
public static RemoveExtraSpacesLeavingIndentation ( this line ) : string | ||
line | this | |
return | string |
public static StripStringLiterals ( this line ) : string | ||
line | this | |
return | string |