@eryx/eryxdoc/parse/doctags Module
JSON
Parses doc-comment tags from raw comment text.
Supported tags:
@yields Marks function as yieldable (no arguments)
@param [description] Parameter documentation (name must match a known param)
@param -- [desc] Parameter with explicit type override
@return [description] Return value documentation
@return -- [description] Return with explicit type
@error -- [description] Documents a possible error (type parsed if -- present)
@unreleased Marks as unreleased
@since Version when this was introduced
@deprecated Marks as deprecated
@deprecated [description] Deprecated with reason
@deprecated -- [desc] Deprecated at version with reason
@private Marks as private (excluded from public docs)
@ignore Totally excluded from generated documentation
@tag Adds a custom tag
API Reference
Types
name: string
description: string
typeOverride: string?
description: string
type: string?
description: string
type: string?
version: string?
description: string?
body: string
yields: boolean
unreleased: boolean
since: string?
private: boolean
ignore: boolean
tags: { string }