klyn.code.LanguageProfile.withLineComments
method
public withLineComments(comments as ArrayList<String>) as LanguageProfile
Description

Configures single-line comment prefixes.

Parameters
ParameterDescription
commentsList of line comment prefixes (e.g. ["#"] or ["//"]).
Returns

this for fluent chaining.

Example
import klyn.code

p = LanguageProfile("sql", "SQL").withLineComments(["--", "#"])