klyn.code.ast.DeclarationNode.docComment
property
public property docComment as String
Description

Leading documentation comment attached to this declaration.

Returns

Documentation comment text.

Example
import klyn.code.ast

node = DeclarationNode(DeclarationKind.CLASS, "Box", "class Box", SourceRange(), "public", "", "A box container.")
assert node.docComment == "A box container."