Documentation ¶
Index ¶
- type GolangGenerator
- func (this *GolangGenerator) Init(w io.Writer, config backends.CConfig)
- func (this *GolangGenerator) VisitBlockBegin(val *model.Block)
- func (this *GolangGenerator) VisitBlockEnd(val *model.Block)
- func (this *GolangGenerator) VisitConst(val *model.Var)
- func (this *GolangGenerator) VisitConstsBegin(val *model.ConstList)
- func (this *GolangGenerator) VisitConstsEnd(val *model.ConstList)
- func (this *GolangGenerator) VisitSentence(val *model.Sentence)
- func (this *GolangGenerator) VisitStructDefineBegin(val *model.Struct)
- func (this *GolangGenerator) VisitStructDefineEnd(val *model.Struct)
- func (this *GolangGenerator) VisitStructField(val *model.Struct)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GolangGenerator ¶
func NewGolangGenerator ¶
func NewGolangGenerator(w io.Writer, config backends.CConfig) *GolangGenerator
func (*GolangGenerator) Init ¶
func (this *GolangGenerator) Init(w io.Writer, config backends.CConfig)
func (*GolangGenerator) VisitBlockBegin ¶
func (this *GolangGenerator) VisitBlockBegin(val *model.Block)
func (*GolangGenerator) VisitBlockEnd ¶
func (this *GolangGenerator) VisitBlockEnd(val *model.Block)
func (*GolangGenerator) VisitConst ¶
func (this *GolangGenerator) VisitConst(val *model.Var)
func (*GolangGenerator) VisitConstsBegin ¶
func (this *GolangGenerator) VisitConstsBegin(val *model.ConstList)
func (*GolangGenerator) VisitConstsEnd ¶
func (this *GolangGenerator) VisitConstsEnd(val *model.ConstList)
func (*GolangGenerator) VisitSentence ¶
func (this *GolangGenerator) VisitSentence(val *model.Sentence)
func (*GolangGenerator) VisitStructDefineBegin ¶
func (this *GolangGenerator) VisitStructDefineBegin(val *model.Struct)
func (*GolangGenerator) VisitStructDefineEnd ¶
func (this *GolangGenerator) VisitStructDefineEnd(val *model.Struct)
func (*GolangGenerator) VisitStructField ¶
func (this *GolangGenerator) VisitStructField(val *model.Struct)
Click to show internal directories.
Click to hide internal directories.