Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommandParser ¶
CommandParser defines the interface for parsing command.
func NewCommandParserGroup ¶
func NewCommandParserGroup(group []CommandParser) CommandParser
NewCommandParserGroup creates a new CommandParserGroup which wraps multiple CommandParser.
type CommandParserGroup ¶
type CommandParserGroup struct { CommandParsers []CommandParser // contains filtered or unexported fields }
CommandParserGroup wraps multiple CommandParser.
func (*CommandParserGroup) Parse ¶
func (c *CommandParserGroup) Parse() error
Parse parses all CommandParser.
func (*CommandParserGroup) RegisterCommand ¶
func (c *CommandParserGroup) RegisterCommand(cmd *flag.FlagSet)
RegisterCommand registers all CommandParser.
type ConfigPathParser ¶
type ConfigPathParser struct {
// contains filtered or unexported fields
}
func (*ConfigPathParser) Parse ¶
func (t *ConfigPathParser) Parse() error
func (*ConfigPathParser) RegisterCommand ¶
func (t *ConfigPathParser) RegisterCommand(cmd *flag.FlagSet)
type Function ¶
type Function struct {
// contains filtered or unexported fields
}
func (*Function) Params ¶ added in v1.2.5
func (f *Function) Params() ast.ValueGroup
func (*Function) Results ¶
func (f *Function) Results() ast.ValueGroup
type FunctionBodyMaker ¶
type FunctionBodyMaker struct {
// contains filtered or unexported fields
}
func (*FunctionBodyMaker) Make ¶
func (f *FunctionBodyMaker) Make() error
type FunctionGroup ¶ added in v1.2.5
type FunctionGroup []*Function
func (FunctionGroup) String ¶ added in v1.2.5
func (f FunctionGroup) String() string
type ImplNameParser ¶
type ImplNameParser struct {
// contains filtered or unexported fields
}
func (*ImplNameParser) Parse ¶
func (t *ImplNameParser) Parse() error
func (*ImplNameParser) RegisterCommand ¶
func (t *ImplNameParser) RegisterCommand(cmd *flag.FlagSet)
type Implement ¶
type Implement struct {
// contains filtered or unexported fields
}
func (*Implement) Imports ¶
func (i *Implement) Imports() astlite.ImportGroup
type NamespaceParser ¶
type NamespaceParser struct {
// contains filtered or unexported fields
}
func (*NamespaceParser) Parse ¶
func (t *NamespaceParser) Parse() error
func (*NamespaceParser) RegisterCommand ¶
func (t *NamespaceParser) RegisterCommand(cmd *flag.FlagSet)
type OutputPathParser ¶
type OutputPathParser struct {
// contains filtered or unexported fields
}
func (*OutputPathParser) Parse ¶
func (t *OutputPathParser) Parse() error
func (*OutputPathParser) RegisterCommand ¶
func (t *OutputPathParser) RegisterCommand(cmd *flag.FlagSet)
type TypeNameParser ¶
type TypeNameParser struct {
// contains filtered or unexported fields
}
func (*TypeNameParser) Parse ¶
func (t *TypeNameParser) Parse() error
func (*TypeNameParser) RegisterCommand ¶
func (t *TypeNameParser) RegisterCommand(cmd *flag.FlagSet)
Click to show internal directories.
Click to hide internal directories.