parser

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCommentText

func GetCommentText(s string) string

Types

type Info

type Info struct {
	Pkg   PkgInfo
	Types []TypeInfo

	GeneratedFilePath string
}

type Parser

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

func NewParser

func NewParser() *Parser

func (*Parser) ParseFile

func (p *Parser) ParseFile(fname string) (Info, error)

type PkgInfo

type PkgInfo struct {
	Name string
	Path string
}

type TypeInfo

type TypeInfo struct {
	Name string
}

Jump to

Keyboard shortcuts

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