Documentation ¶
Index ¶
- type InterpreterTemplateParams
- type Struct
- func GenerateInterpreter(parseCtx *parser.Context, str *ast.StructType, pkg string, name string, ...) ([]byte, *Struct, error)
- func ParseEmbeddedField(parseCtx *parser.Context, pkg string, astField *ast.Field) (*Struct, error)
- func ParseStruct(parseCtx *parser.Context, str *ast.StructType, pkg string, name string, ...) (*Struct, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Struct ¶
type Struct struct { Name string InterpreterPath string Schema schema.Schema Dependencies []parser.Dependency }
func GenerateInterpreter ¶
func GenerateInterpreter( parseCtx *parser.Context, str *ast.StructType, pkg string, name string, comments []*ast.Comment, ) ([]byte, *Struct, error)
GenerateInterpreter generates an interpreter for the given block
func ParseEmbeddedField ¶
Click to show internal directories.
Click to hide internal directories.