printer

package
v1.8.2 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2019 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Printer

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

func New

func New() *Printer

func (*Printer) PrintArgumentsDefinition added in v1.2.0

func (p *Printer) PrintArgumentsDefinition(ref int)

func (*Printer) PrintArgumentsDefinitionInline added in v1.2.0

func (p *Printer) PrintArgumentsDefinitionInline(ref int)

func (*Printer) PrintDescription added in v1.2.0

func (p *Printer) PrintDescription(ref document.ByteSliceReference, linePrefix ...[]byte)

func (*Printer) PrintDirectiveDefinition added in v1.2.0

func (p *Printer) PrintDirectiveDefinition(ref int)

func (*Printer) PrintDirectiveLocations added in v1.2.0

func (p *Printer) PrintDirectiveLocations(locations []int)

func (*Printer) PrintEnumTypeDefinition added in v1.2.0

func (p *Printer) PrintEnumTypeDefinition(ref int)

func (*Printer) PrintEnumValueDefinition added in v1.2.0

func (p *Printer) PrintEnumValueDefinition(definition document.EnumValueDefinition)

func (*Printer) PrintExecutableSchema

func (p *Printer) PrintExecutableSchema(out io.Writer) error

func (*Printer) PrintFieldDefinition added in v1.2.0

func (p *Printer) PrintFieldDefinition(definition document.FieldDefinition)

func (*Printer) PrintInputObjectTypeDefinition added in v1.2.0

func (p *Printer) PrintInputObjectTypeDefinition(ref int)

func (*Printer) PrintInputValueDefinition added in v1.2.0

func (p *Printer) PrintInputValueDefinition(definition document.InputValueDefinition)

func (*Printer) PrintInputValueDefinitionInline added in v1.2.0

func (p *Printer) PrintInputValueDefinitionInline(definition document.InputValueDefinition)

func (*Printer) PrintInterfaceTypeDefinition added in v1.2.0

func (p *Printer) PrintInterfaceTypeDefinition(ref int)

func (*Printer) PrintObjectTypeDefinition added in v1.2.0

func (p *Printer) PrintObjectTypeDefinition(ref int)

func (*Printer) PrintScalarTypeDefinition added in v1.2.0

func (p *Printer) PrintScalarTypeDefinition(ref int)

func (*Printer) PrintSchemaDefinition added in v1.2.0

func (p *Printer) PrintSchemaDefinition(index int)

func (*Printer) PrintSimpleField added in v1.2.0

func (p *Printer) PrintSimpleField(name []byte, value document.ByteSliceReference)

func (*Printer) PrintType added in v1.2.0

func (p *Printer) PrintType(ref int)

func (*Printer) PrintTypeSystemDefinition added in v1.2.0

func (p *Printer) PrintTypeSystemDefinition(out io.Writer) error

func (*Printer) PrintUnionTypeDefinition added in v1.2.0

func (p *Printer) PrintUnionTypeDefinition(ref int)

func (*Printer) PrintValue added in v1.2.0

func (p *Printer) PrintValue(ref int)

func (*Printer) SetInput

func (p *Printer) SetInput(parser *parser.Parser, l *lookup.Lookup, w *lookup.Walker)

Jump to

Keyboard shortcuts

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