rune-langium / core/src / getSourceComments
Function: getSourceComments()
ts
function getSourceComments(source): readonly SourceComment[];Defined in: packages/core/src/api/source-comments.ts:13
Hidden comment tokens, in UTF-16 source coordinates; string literals are not comments.
Parameters
| Parameter | Type |
|---|---|
source | string |
Returns
readonly SourceComment[]