sevki.org/build/parser

Index

Package Files

parser.go util.go

Variables

var (
    ErrConsumption = errors.New("consumption error")
    ErrNotSlice    = errors.New("isFunc")
)

type Parser

type Parser struct {
    Path string

    Decls chan ast.Decl

    Error error
    // contains filtered or unexported fields
}

func New

func New(name, path string, r io.Reader) *Parser

func (*Parser) Run

func (p *Parser) Run()

type TargetURL

type TargetURL struct {
    Package string
    Target  string
}

func NewTargetURLFromString

func NewTargetURLFromString(u string) (tu TargetURL)

func (TargetURL) BuildDir

func (u TargetURL) BuildDir(wd, p string) string

func (TargetURL) String

func (u TargetURL) String() string

Subdirectories

tests