LineComment

open class LineComment(prefix: String) : CommentSyntax

The String line prefix, first non-whitespace characters of the first line of the file or the first non-whitespace that represents the start of a line comment.

Author

Richard Arriaga

Inheritors

Constructors

Link copied to clipboard
constructor(prefix: String)

Functions

Link copied to clipboard
open override fun toggleComment(targetText: String, commentFullLine: Boolean, atMinTab: Boolean): String

Toggle a comment for the provided text.