module

package
v0.0.0-...-4d4093a Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() pgs.Module

Types

type PrinterModule

type PrinterModule struct {
	*pgs.ModuleBase
}

func ASTPrinter

func ASTPrinter() *PrinterModule

func (*PrinterModule) Execute

func (p *PrinterModule) Execute(targets map[string]pgs.File, packages map[string]pgs.Package) []pgs.Artifact

func (*PrinterModule) Name

func (p *PrinterModule) Name() string

type PrinterVisitor

type PrinterVisitor struct {
	pgs.Visitor
	// contains filtered or unexported fields
}

func (PrinterVisitor) VisitEnum

func (v PrinterVisitor) VisitEnum(e pgs.Enum) (pgs.Visitor, error)

func (PrinterVisitor) VisitEnumValue

func (v PrinterVisitor) VisitEnumValue(ev pgs.EnumValue) (pgs.Visitor, error)

func (PrinterVisitor) VisitField

func (v PrinterVisitor) VisitField(f pgs.Field) (pgs.Visitor, error)

func (PrinterVisitor) VisitFile

func (v PrinterVisitor) VisitFile(f pgs.File) (pgs.Visitor, error)

func (PrinterVisitor) VisitMessage

func (v PrinterVisitor) VisitMessage(m pgs.Message) (pgs.Visitor, error)

func (PrinterVisitor) VisitMethod

func (v PrinterVisitor) VisitMethod(m pgs.Method) (pgs.Visitor, error)

func (PrinterVisitor) VisitPackage

func (v PrinterVisitor) VisitPackage(p pgs.Package) (pgs.Visitor, error)

func (PrinterVisitor) VisitService

func (v PrinterVisitor) VisitService(s pgs.Service) (pgs.Visitor, error)

Jump to

Keyboard shortcuts

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