Documentation ¶
Index ¶
- Constants
- Variables
- func GenDefineSTCode(pSet *generator.PrototypeSet, td *maker_csharp.TmplDataCsDefineST, ...) (string, error)
- func GenFileForMessage(pSet *generator.PrototypeSet, origFn string) error
- func GenFileForSet(pSet *generator.PrototypeSet) error
- func PrepareTmplDataDefineSTField(pSet *generator.PrototypeSet, td *maker_csharp.TmplDataCsDefineSTField, ...) error
- type GeneratorConfig
Constants ¶
View Source
const TDCsJsonDefineSTBuiltin = `` /* 974-byte string literal not displayed */
View Source
const TDCsJsonDefineSTStructBuiltin = `` /* 352-byte string literal not displayed */
View Source
const TDCsOptionJsonNameKey = "CsJsonName"
Variables ¶
View Source
var TDCsJsonDefineST = &generator.TemplateDefine{ Name: "TDCsJsonDefineST", Filepath: "csharp_json_define_st.tmpl", WantTemplateData: "TmplDataCsDefineST", BuiltinTemplateText: TDCsJsonDefineSTBuiltin, }
View Source
var TDCsJsonDefineSTStruct = &generator.TemplateDefine{ Name: "TDCsJsonDefineSTStruct", Filepath: "csharp_define_st_struct.tmpl", WantTemplateData: "TmplDataCsDefineST", BuiltinTemplateText: TDCsJsonDefineSTStructBuiltin, }
Functions ¶
func GenDefineSTCode ¶ added in v0.3.0
func GenDefineSTCode(pSet *generator.PrototypeSet, td *maker_csharp.TmplDataCsDefineST, df *generator.DefineST) (string, error)
func GenFileForMessage ¶
func GenFileForMessage(pSet *generator.PrototypeSet, origFn string) error
func PrepareTmplDataDefineSTField ¶ added in v0.3.0
func PrepareTmplDataDefineSTField(pSet *generator.PrototypeSet, td *maker_csharp.TmplDataCsDefineSTField, field *generator.DefineSTField) error
Types ¶
type GeneratorConfig ¶
type GeneratorConfig struct {
*maker_csharp.Context
}
Click to show internal directories.
Click to hide internal directories.