Documentation ¶
Index ¶
- func New() pgs.Module
- type PrinterModule
- type PrinterVisitor
- func (v PrinterVisitor) VisitEnum(e pgs.Enum) (pgs.Visitor, error)
- func (v PrinterVisitor) VisitEnumValue(ev pgs.EnumValue) (pgs.Visitor, error)
- func (v PrinterVisitor) VisitField(f pgs.Field) (pgs.Visitor, error)
- func (v PrinterVisitor) VisitFile(f pgs.File) (pgs.Visitor, error)
- func (v PrinterVisitor) VisitMessage(m pgs.Message) (pgs.Visitor, error)
- func (v PrinterVisitor) VisitMethod(m pgs.Method) (pgs.Visitor, error)
- func (v PrinterVisitor) VisitPackage(p pgs.Package) (pgs.Visitor, error)
- func (v PrinterVisitor) VisitService(s pgs.Service) (pgs.Visitor, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type PrinterModule ¶
type PrinterModule struct {
*pgs.ModuleBase
}
func ASTPrinter ¶
func ASTPrinter() *PrinterModule
func (*PrinterModule) Name ¶
func (p *PrinterModule) Name() string
type PrinterVisitor ¶
func (PrinterVisitor) VisitEnumValue ¶
func (PrinterVisitor) VisitField ¶
func (PrinterVisitor) VisitMessage ¶
func (PrinterVisitor) VisitMethod ¶
func (PrinterVisitor) VisitPackage ¶
func (PrinterVisitor) VisitService ¶
Click to show internal directories.
Click to hide internal directories.