Documentation
¶
Index ¶
- type Function
- type FunctionBodyMaker
- type FunctionGroup
- type Generator
- type Implement
- type Parser
- func (p *Parser) Config() (juice.IConfiguration, error)
- func (p *Parser) Namespace() (string, error)
- func (p *Parser) Output() (io.Writer, error)
- func (p *Parser) TypeInterface() (*ast.InterfaceType, *ast.File, error)
- func (p *Parser) WithConfig(cfg string) *Parser
- func (p *Parser) WithImpl(impl string) *Parser
- func (p *Parser) WithNamespace(namespace string) *Parser
- func (p *Parser) WithOutput(output string) *Parser
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Function ¶
type Function struct {
// contains filtered or unexported fields
}
func (*Function) Params ¶
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 ¶
type FunctionGroup []*Function
func (FunctionGroup) String ¶
func (f FunctionGroup) String() string
type Generator ¶
type Generator struct {
// contains filtered or unexported fields
}
func NewGenerator ¶
func NewGenerator(namespace string, cfg juice.IConfiguration, impl *Implement) *Generator
type Implement ¶
type Implement struct {
// contains filtered or unexported fields
}
func NewImplement ¶
func (*Implement) Imports ¶
func (i *Implement) Imports() astlite.ImportGroup
type Parser ¶
type Parser struct {
// contains filtered or unexported fields
}
func (*Parser) TypeInterface ¶
func (*Parser) WithConfig ¶
func (*Parser) WithNamespace ¶
func (*Parser) WithOutput ¶
Click to show internal directories.
Click to hide internal directories.