phpdoc

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 phpdoc parses PHPDoc comment blocks (/** ... */) into structured DocComment values. It handles @param, @return, @since, @deprecated, @see, @throws, and @example 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 PHPDoc comments.

func New

func New() *Parser

New returns a new PHPDoc parser.

func (*Parser) Parse

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

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

Jump to

Keyboard shortcuts

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