docCommentOf
docCommentOf(
definition):string|undefined
Defined in: libs/language/src/typeqlite-doc-comments.ts:14
TypeDB’s doc comment: #! This represents a person on the line or lines directly above a definition. Returns
undefined when there is none.
It is read from the source text because comments are hidden from the AST.
Parameters
Section titled “Parameters”definition
Section titled “definition”$cstNode?
Section titled “$cstNode?”{ offset: number; root: { fullText: string; }; }
$cstNode.offset
Section titled “$cstNode.offset”number
$cstNode.root
Section titled “$cstNode.root”{ fullText: string; }
$cstNode.root.fullText
Section titled “$cstNode.root.fullText”string
Returns
Section titled “Returns”string | undefined
TypeDBLite is an independent open-source project, built on TypeDB with thanks. It is not affiliated with, sponsored by, or endorsed by TypeDB Ltd. Released under the MPL-2.0 license.