templates

package
v0.0.0-...-fac7d4f Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2017 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package templates contains the valyala/quicktemplate based code generation templates used by chromedp-gen.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CommandDoFuncTemplate

func CommandDoFuncTemplate(c *internal.Type, d *internal.Domain, domains []*internal.Domain) string

func CommandFuncTemplate

func CommandFuncTemplate(c *internal.Type, d *internal.Domain, domains []*internal.Domain) string

func CommandOptionFuncTemplate

func CommandOptionFuncTemplate(t *internal.Type, c *internal.Type, d *internal.Domain, domains []*internal.Domain) string

func CommandTemplate

func CommandTemplate(c *internal.Type, d *internal.Domain, domains []*internal.Domain) string

func DomainTemplate

func DomainTemplate(d *internal.Domain, domains []*internal.Domain) string

func ExtraCDPTypes

func ExtraCDPTypes() string

func ExtraExceptionDetailsTemplate

func ExtraExceptionDetailsTemplate() string

func ExtraFixStringUnmarshaler

func ExtraFixStringUnmarshaler(typ, parseFunc, extra string) string

func ExtraFrameTemplate

func ExtraFrameTemplate() string

func ExtraMethodTypeDomainDecoder

func ExtraMethodTypeDomainDecoder() string

func ExtraNodeTemplate

func ExtraNodeTemplate() string

func ExtraTimestampTemplate

func ExtraTimestampTemplate(t *internal.Type, d *internal.Domain) string

func ExtraUtilTemplate

func ExtraUtilTemplate(domains []*internal.Domain) string

func FileHeader

func FileHeader(pkgName string, d *internal.Domain) string

func FileImportTemplate

func FileImportTemplate(m map[string]string) string

func FileVarTemplate

func FileVarTemplate(name, value, desc string) string

func StreamCommandDoFuncTemplate

func StreamCommandDoFuncTemplate(qw422016 *qt422016.Writer, c *internal.Type, d *internal.Domain, domains []*internal.Domain)

func StreamCommandFuncTemplate

func StreamCommandFuncTemplate(qw422016 *qt422016.Writer, c *internal.Type, d *internal.Domain, domains []*internal.Domain)

func StreamCommandOptionFuncTemplate

func StreamCommandOptionFuncTemplate(qw422016 *qt422016.Writer, t *internal.Type, c *internal.Type, d *internal.Domain, domains []*internal.Domain)

func StreamCommandTemplate

func StreamCommandTemplate(qw422016 *qt422016.Writer, c *internal.Type, d *internal.Domain, domains []*internal.Domain)

func StreamDomainTemplate

func StreamDomainTemplate(qw422016 *qt422016.Writer, d *internal.Domain, domains []*internal.Domain)

func StreamExtraCDPTypes

func StreamExtraCDPTypes(qw422016 *qt422016.Writer)

func StreamExtraExceptionDetailsTemplate

func StreamExtraExceptionDetailsTemplate(qw422016 *qt422016.Writer)

func StreamExtraFixStringUnmarshaler

func StreamExtraFixStringUnmarshaler(qw422016 *qt422016.Writer, typ, parseFunc, extra string)

func StreamExtraFrameTemplate

func StreamExtraFrameTemplate(qw422016 *qt422016.Writer)

func StreamExtraMethodTypeDomainDecoder

func StreamExtraMethodTypeDomainDecoder(qw422016 *qt422016.Writer)

func StreamExtraNodeTemplate

func StreamExtraNodeTemplate(qw422016 *qt422016.Writer)

func StreamExtraTimestampTemplate

func StreamExtraTimestampTemplate(qw422016 *qt422016.Writer, t *internal.Type, d *internal.Domain)

func StreamExtraUtilTemplate

func StreamExtraUtilTemplate(qw422016 *qt422016.Writer, domains []*internal.Domain)

func StreamFileHeader

func StreamFileHeader(qw422016 *qt422016.Writer, pkgName string, d *internal.Domain)

func StreamFileImportTemplate

func StreamFileImportTemplate(qw422016 *qt422016.Writer, m map[string]string)

func StreamFileVarTemplate

func StreamFileVarTemplate(qw422016 *qt422016.Writer, name, value, desc string)

func StreamTypeTemplate

func StreamTypeTemplate(qw422016 *qt422016.Writer, t *internal.Type, prefix, suffix string, d *internal.Domain, domains []*internal.Domain, v interface{}, noExposeOverride, omitOnlyWhenOptional bool)

func TypeTemplate

func TypeTemplate(t *internal.Type, prefix, suffix string, d *internal.Domain, domains []*internal.Domain, v interface{}, noExposeOverride, omitOnlyWhenOptional bool) string

func WriteCommandDoFuncTemplate

func WriteCommandDoFuncTemplate(qq422016 qtio422016.Writer, c *internal.Type, d *internal.Domain, domains []*internal.Domain)

func WriteCommandFuncTemplate

func WriteCommandFuncTemplate(qq422016 qtio422016.Writer, c *internal.Type, d *internal.Domain, domains []*internal.Domain)

func WriteCommandOptionFuncTemplate

func WriteCommandOptionFuncTemplate(qq422016 qtio422016.Writer, t *internal.Type, c *internal.Type, d *internal.Domain, domains []*internal.Domain)

func WriteCommandTemplate

func WriteCommandTemplate(qq422016 qtio422016.Writer, c *internal.Type, d *internal.Domain, domains []*internal.Domain)

func WriteDomainTemplate

func WriteDomainTemplate(qq422016 qtio422016.Writer, d *internal.Domain, domains []*internal.Domain)

func WriteExtraCDPTypes

func WriteExtraCDPTypes(qq422016 qtio422016.Writer)

func WriteExtraExceptionDetailsTemplate

func WriteExtraExceptionDetailsTemplate(qq422016 qtio422016.Writer)

func WriteExtraFixStringUnmarshaler

func WriteExtraFixStringUnmarshaler(qq422016 qtio422016.Writer, typ, parseFunc, extra string)

func WriteExtraFrameTemplate

func WriteExtraFrameTemplate(qq422016 qtio422016.Writer)

func WriteExtraMethodTypeDomainDecoder

func WriteExtraMethodTypeDomainDecoder(qq422016 qtio422016.Writer)

func WriteExtraNodeTemplate

func WriteExtraNodeTemplate(qq422016 qtio422016.Writer)

func WriteExtraTimestampTemplate

func WriteExtraTimestampTemplate(qq422016 qtio422016.Writer, t *internal.Type, d *internal.Domain)

func WriteExtraUtilTemplate

func WriteExtraUtilTemplate(qq422016 qtio422016.Writer, domains []*internal.Domain)

func WriteFileHeader

func WriteFileHeader(qq422016 qtio422016.Writer, pkgName string, d *internal.Domain)

func WriteFileImportTemplate

func WriteFileImportTemplate(qq422016 qtio422016.Writer, m map[string]string)

func WriteFileVarTemplate

func WriteFileVarTemplate(qq422016 qtio422016.Writer, name, value, desc string)

func WriteTypeTemplate

func WriteTypeTemplate(qq422016 qtio422016.Writer, t *internal.Type, prefix, suffix string, d *internal.Domain, domains []*internal.Domain, v interface{}, noExposeOverride, omitOnlyWhenOptional bool)

Types

This section is empty.

Jump to

Keyboard shortcuts

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