parse

package
v0.0.0-...-5f28f85 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const DirectiveStart = "cligen"

Variables

This section is empty.

Functions

This section is empty.

Types

type Function

type Function struct {
	Name        string
	UIName      string
	Directives  []string
	Signature   *Signature
	Description string
}

type Param

type Param struct {
	Name        string
	Description string
	Type        string
	IsPointer   bool
}

type Program

type Program struct {
	PackageName string
	Functions   map[string]*Function
}

func Directory

func Directory(dir string) (*Program, error)

type Signature

type Signature struct {
	Argument []*Param
	Return   []*Param
}

Jump to

Keyboard shortcuts

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