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

Constructors

Link copied to clipboard
fun LineComment(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.

Inheritors

Link copied to clipboard
Link copied to clipboard