Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IdentifierModule ¶
type IdentifierModule struct { *pgs.ModuleBase // contains filtered or unexported fields }
IdentifierModule validates & generates code for accessing an identifier on a message
func NewIdentifierModule ¶
func NewIdentifierModule() *IdentifierModule
NewIdentifierModule creates a module for PG*
func (*IdentifierModule) Execute ¶
func (m *IdentifierModule) Execute(targets map[string]pgs.File, pkgs map[string]pgs.Package) []pgs.Artifact
Execute runs the generator
func (*IdentifierModule) InitContext ¶
func (m *IdentifierModule) InitContext(c pgs.BuildContext)
InitContext sets up module for use
func (*IdentifierModule) Name ¶
func (m *IdentifierModule) Name() string
Name identifies this module
Click to show internal directories.
Click to hide internal directories.