parser

package
v0.0.0-...-9a2eab4 Latest Latest
Warning

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

Go to latest
Published: May 1, 2022 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ImportAst

func ImportAst(url string) (pipe4ast.NodeList, error)

Types

type Ctx

type Ctx struct {
	Package StructCtx
	// contains filtered or unexported fields
}

type NodeCtx

type NodeCtx struct {
	*pipe4ast.Node

	Err string
}

func (*NodeCtx) StructType

func (c *NodeCtx) StructType() *StructCtx

func (*NodeCtx) TypeCtx

func (c *NodeCtx) TypeCtx() *TypeCtx

func (*NodeCtx) Visit

func (c *NodeCtx) Visit(n ast.Node) (w ast.Visitor)

type StructCtx

type StructCtx struct {
	*pipe4ast.NodeList

	Err string
}

func (*StructCtx) NewNode

func (c *StructCtx) NewNode() *NodeCtx

func (*StructCtx) Visit

func (c *StructCtx) Visit(n ast.Node) (w ast.Visitor)

type TypeCtx

type TypeCtx struct {
	*pipe4ast.Type

	Err string
}

func (*TypeCtx) Visit

func (c *TypeCtx) Visit(n ast.Node) (w ast.Visitor)

Directories

Path Synopsis
examples

Jump to

Keyboard shortcuts

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