CommentRule interface

Describes how comments for a language work.

Properties

blockComment

The block comment character pair, like /* block comment */

lineComment

The line comment token, like // this is a comment

Property Details

blockComment

The block comment character pair, like /* block comment */

blockComment?: CharacterPair

Property Value

lineComment

The line comment token, like // this is a comment

lineComment?: string

Property Value

string