Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CaseComponent ¶
CaseComponent is a result of parsing an expression with type effe.Case
func (CaseComponent) Name ¶
func (c CaseComponent) Name() *ast.Ident
type DecisionComponent ¶
type DecisionComponent struct { Cases []*CaseComponent Tag ast.Expr TagName *ast.Ident TagType ast.Expr Failure *SimpleComponent }
DecisionComponent is a result of parsing an expression with type effe.Wrap
func (DecisionComponent) Name ¶
func (d DecisionComponent) Name() *ast.Ident
type GenerateResult ¶
type GenerateResult struct { // PkgPath is the package's PkgPath. PkgPath string // OutputPath is the path where the generated output should be written. // May be empty if there were errors. OutputPath string // Errs is a slice of errors identified during generation. Errs []error }
GenerateResult stores the result for a package from a call to Generate.
type SimpleComponent ¶
type SimpleComponent struct { Input *ast.FieldList Output *ast.FieldList FuncName *ast.Ident OriginalFuncName *ast.Ident Deps *ast.FieldList }
Based component type declared with effe.Step. It must be a function with a specific format.
func (SimpleComponent) Name ¶
func (s SimpleComponent) Name() *ast.Ident
type WrapComponent ¶
type WrapComponent struct { Before *SimpleComponent Success *SimpleComponent Failure *SimpleComponent Children []Component }
WrapComponent is a result of parsing an expression with type effe.Wrap
func (WrapComponent) Name ¶
func (w WrapComponent) Name() *ast.Ident
Click to show internal directories.
Click to hide internal directories.