Comment
object Comment
Methods
stripComments
fun stripComments(source: CharSequence, context: ParseContext?): StripResult
Strips all comments from the source code.
Parameters
Name | Description |
---|---|
source: CharSequence
|
|
context: ParseContext?
|
ReturnValue
Name | Description |
---|---|
StripResult
|
Comments are effectively whitespace when it comes time to interpret the code.
From the docs: