jsdoc

package
v0.1.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 10, 2026 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Overview

Package jsdoc parses JSDoc comment blocks (/** ... */) into structured DocComment values. It handles @param {type} name, @returns, @deprecated, @see, @example, @throws, @typedef, and @callback tags.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Parser

type Parser struct{}

Parser implements docparser.Parser for JSDoc comments.

func New

func New() *Parser

New returns a new JSDoc parser.

func (*Parser) Parse

func (p *Parser) Parse(raw string) *docparser.DocComment

Parse parses a /** ... */ JSDoc block into a DocComment.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL