interpreter

package
v0.0.0-...-8a85022 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2023 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Interpret

type Interpret interface {
	ToFile(output string) ([]string, error)
}

func NewInterpret

func NewInterpret(documents map[jsonschema.ID]parser.Component, templateStruct Template) Interpret

func NewInterpretDefaults

func NewInterpretDefaults(documents map[jsonschema.ID]parser.Component) (Interpret, error)

type Interpreter

type Interpreter struct {
	// contains filtered or unexported fields
}

func NewInterpreter

func NewInterpreter(parser parser.Parser) *Interpreter

func NewInterpreterDefaults

func NewInterpreterDefaults(packagename string) *Interpreter

func (*Interpreter) Interpret

func (s *Interpreter) Interpret(files []string) (Interpret, error)

type Template

type Template interface {
	Execute(io.Writer, interface{}) error
}

Jump to

Keyboard shortcuts

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