Skip to main content

Module docblock

Module docblock 

Source

Structs§

DocMethod
DocParam
DocProperty
DocReturn
DocTemplate
DocThrows
DocTypeAlias
Docblock

Functions§

docblock_before
Scan source for a /** ... */ docblock that ends immediately before node_start (byte offset). Whitespace between the */ and the node is allowed; non-whitespace text in between disqualifies the block.
find_docblock
Walk an AST and return the parsed docblock for the declaration named word.
parse_docblock
Parse a raw docblock string (the full /** ... */ text, or just the inner content — either form is handled).