Preprocess a vector of code lines
Preprocess a vector of code lines.
# S3 method for SmartComments compile(this, lines, trim=TRUE, excludeComments=FALSE, ...)
TRUE, trailing whitespace characters are removed from every line of code, and contiguous empty lines are replaced with a single empty line.
TRUE, comments in the input lines, that is, also smart comments, are excluded.
When called, the compiler is reset.
Just before trimming is done, the validate() method is called. In the current class, this does nothing, but can be overridden in subclasses.
For more information see