parser

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Parser

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

func NewParser

func NewParser(pkg *packages.Package, set *token.FileSet) *Parser

func (Parser) FindFnObject

func (p Parser) FindFnObject(name string) *ast.Object

func (Parser) GeneratorNames

func (p Parser) GeneratorNames() (names []string)

func (Parser) ParseGenerator

func (p Parser) ParseGenerator(lit *ast.CompositeLit, genName string) (*generators.Generator, error)

Jump to

Keyboard shortcuts

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