Skip to content

Doc

Doc holds the documentation details for a specific program element like a variable, function, macro, or example.

new Doc(kind, name?, type?, signature?, description?, children?): Doc

DocKind

Kind specifies the type of documentation element.

string = ""

Name is the identifier of the documented element.

string = ""

Type is the CEL type associated with the element.

string = ""

Signature represents the function or overload signature.

string = ""

Description holds the textual description of the element.

Doc[] = []

Children holds nested documentation elements.

Doc

readonly children: Doc[] = []

Children holds nested documentation elements.


readonly description: string = ""

Description holds the textual description of the element.


readonly kind: DocKind

Kind specifies the type of documentation element.


readonly name: string = ""

Name is the identifier of the documented element.


readonly signature: string = ""

Signature represents the function or overload signature.


readonly type: string = ""

Type is the CEL type associated with the element.