parser

package
v3.3.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Component

type Component struct {
	PackagePath  string
	PackageName  string
	FunctionName string
}

type Parser

type Parser struct {
	RootPath     string
	ModuleName   string
	Constructors map[string][]Component
	Updaters     map[string][]Component
}

func New

func New() *Parser

func (*Parser) ParseFile

func (p *Parser) ParseFile(path string, packagePath string) (map[string][]Component, map[string][]Component, error)

func (*Parser) ParseFromPath

func (p *Parser) ParseFromPath(path string) error

func (*Parser) ParseFromRoot

func (p *Parser) ParseFromRoot() error

func (*Parser) ReadModule

func (p *Parser) ReadModule() error

Jump to

Keyboard shortcuts

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