DocumentedDecl

struct DocumentedDecl

One decl with its attached leading comment group, in source order (Docs.tlk's attachment pass). ParseOutcome.docs carries these only when the parse ran through the documenting entry point.

Properties

let decl_start: Int

The declaration's inclusive starting byte offset.

let decl_end: Int

The declaration's exclusive ending byte offset.

let comments: [Comment]

The contiguous leading comment lines attached to this declaration.