Versions in this module Expand all Collapse all v1 v1.0.0 Mar 29, 2026 Changes in this version + type AssignmentArgs struct + ExprLeft string + ExprRight string + type Code struct + func NewCode() *Code + func (code *Code) Addr() *Code + func (code *Code) Assignment(a *AssignmentArgs) *Code + func (code *Code) BlockEnd() *Code + func (code *Code) Call(n string) *Code + func (code *Code) CompositeLit(LiteralType string) *Code + func (code *Code) Format() error + func (code *Code) Func1(a *Func1Args) *Code + func (code *Code) FuncEnd() *Code + func (code *Code) Ident(n string) *Code + func (code *Code) If(a *IfArgs) *Code + func (code *Code) IfErr(a *IfErrArgs) *Code + func (code *Code) KeyedElement(a *KeyedElementArgs) *Code + func (code *Code) LineComment(c string) *Code + func (code *Code) List() *Code + func (code *Code) Listln() *Code + func (code *Code) ParamEnd() *Code + func (code *Code) ParamEndln() *Code + func (code *Code) Return() *Code + func (code *Code) SelField(a *SelArgs) *Code + func (code *Code) SelMethod(a *SelArgs) *Code + func (code *Code) ShortVarDecl(a *ShortVarDeclArgs) *Code + func (code *Code) String() string + func (code *Code) Testvariables(t *Testvars) *Code + func (code *Code) TypeStruct(n string) *Code + func (code *Code) VarSpec(a *VarSpecArgs) *Code + type Codefile struct + func NewCodefile(dn tsfio.Directory, fn tsfio.Filename) (*Codefile, error) + func (cf *Codefile) Filepath() tsfio.Filename + func (cf *Codefile) FinishFile() error + func (cf *Codefile) Format() error + func (cf *Codefile) StartFile() error + func (cf *Codefile) String() string + func (cf *Codefile) WriteCode(c *Code) error + type Func1Args struct + Name string + Return string + Type string + Var string + type IfArgs struct + ExprLeft string + ExprRight string + Operator string + type IfErrArgs struct + Method string + Operator string + type KeyedElementArgs struct + Elem string + Key string + type SelArgs struct + Sel string + Val string + type ShortVarDeclArgs struct + Expr string + Ident string + type Testvars struct + Error int + Float int + Int int + String int + type VarSpecArgs struct + Ident string + Type string