Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SplitLinesAndRemoveComments ¶
SplitLinesAndRemoveComments takes a multiline string, splits it into lines, and returns two equal-length arrays of strings: one with the original lines, and another one with the original lines minus any "// line comments" and "/* block comments */".
This should work for any language that uses C++-style comments, including TypeScript and Sass.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.