public withLineComments(comments as ArrayList<String>) as LanguageProfile
Configures single-line comment prefixes.
| Parameter | Description |
|---|---|
comments | List of line comment prefixes (e.g. ["#"] or ["//"]). |
this for fluent chaining.
import klyn.code
p = LanguageProfile("sql", "SQL").withLineComments(["--", "#"])