parser

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2025 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Option

type Option func(o *options)

func WithExcludes

func WithExcludes(excludes []string) Option

type Parser

type Parser struct {
	// contains filtered or unexported fields
}

func NewParser

func NewParser(opts ...Option) *Parser

func (*Parser) ParseFile

func (p *Parser) ParseFile(file *protogen.File) error

func (*Parser) ParseFiles

func (p *Parser) ParseFiles(files []*protogen.File) error

func (*Parser) Reset

func (p *Parser) Reset()

func (*Parser) StructAliases

func (p *Parser) StructAliases() []parser.TypeAlias

func (*Parser) Structs

func (p *Parser) Structs() []parser.Struct

Jump to

Keyboard shortcuts

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