Skip to content

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 ​

ParameterType
sourcestring

Returns ​

readonly SourceComment[]

Core packages released under MIT. Studio app released under FSL-1.1-ALv2.