[I] LineComment
Range of a // comment, excluding the terminating line break.
Extends
Section titled “Extends”Properties
Section titled “Properties”| Property | Modifier | Type | Description | Inherited from |
|---|---|---|---|---|
end | readonly | number | The ending position measured in UTF-16 code units from the start of the full string. Exclusive. | TextRange.end |
kind | readonly | LineComment | Identifies a line-comment range rather than a block-comment range. | - |
pos | readonly | number | The starting position of the range measured in UTF-16 code units from the start of the full string. Inclusive. | TextRange.pos |