Versions in this module Expand all Collapse all v0 v0.1.2 Aug 3, 2024 v0.1.1 Jun 2, 2024 v0.1.0 Mar 4, 2024 Changes in this version + type AnonymousFuncStmt struct + Body Body + Params Params + Returns Returns + func (afs AnonymousFuncStmt) Code() string + type Body []Statement + func (b Body) GetCode() string + type CallStmt struct + Args ListCommaStmt + CallName string + Caller Statement + func (cs CallStmt) Code() string + type Chain struct + Args ListCommaStmt + CallName string + type ChainStmt []Chain + func (cs ChainStmt) ChainCall(chain Chain) ChainStmt + func (cs ChainStmt) Code() string + type DeclColonStmt struct + Left ListCommaStmt + Right Statement + func (dcs DeclColonStmt) Code() string + type DeclVarStmt struct + Name string + Type Type + Value Statement + func (dvs DeclVarStmt) Code() string + type ForRangeBlockStmt struct + Body Body + Key string + RangeName string + Value string + func (rbs ForRangeBlockStmt) Code() string + type IdentType string + func (st IdentType) RealName() string + type IfBlockStmt struct + Body Body + Condition []Statement + func (ibt IfBlockStmt) Code() string + type InterfaceMethod struct + Comment string + Name string + Params Params + Returns Returns + func (im *InterfaceMethod) GetCode() string + type InterfaceMethods []InterfaceMethod + func (ims InterfaceMethods) GetCode() string + type InterfaceType struct + Methods InterfaceMethods + Name string + func (it InterfaceType) RealName() string + type ListCommaStmt []Statement + func (lcs ListCommaStmt) Code() string + type MapPair struct + Key Statement + Value Statement + func (mp MapPair) Code() string + type MapStmt struct + Name string + Pair []MapPair + func (ms MapStmt) Code() string + type MapType struct + KeyType Type + ValueType Type + func (mt MapType) RealName() string + type MethodReceiver struct + Name string + Type Type + func (mr *MethodReceiver) GetCode() string + type Param struct + Name string + Type Type + func (p *Param) GetCode() string + type Params []Param + func (ps Params) GetCode() string + type RawStmt string + func (rs RawStmt) Code() string + type ReturnStmt struct + ListCommaStmt ListCommaStmt + func (rs ReturnStmt) Code() string + type Returns []Type + func (rs Returns) GetCode() string + type SelectorExprType struct + Sel string + X string + func (set SelectorExprType) RealName() string + type SliceAppendStmt struct + AppendData Statement + SliceName string + func (sas SliceAppendStmt) Code() string + type SliceAppendsStmt []SliceAppendStmt + func (sas SliceAppendsStmt) Code() string + type SliceStmt struct + Name string + Values []MapPair + func (ss SliceStmt) Code() string + type SliceType struct + ElementType Type + func (st SliceType) RealName() string + type StarExprType struct + RealType Type + func (set StarExprType) RealName() string + type Statement interface + Code func() string + type StructField struct + Name string + Tag reflect.StructTag + Type Type + func (sf *StructField) GetCode() string + type StructFields []StructField + func (sfs StructFields) GetCode() string + type Type interface + RealName func() string