backends

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GolangGenerator

type GolangGenerator struct {
	chars.Indent
	// contains filtered or unexported fields
}

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)

Jump to

Keyboard shortcuts

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