Documentation ¶
Index ¶
- func Render(w *iou.IndentWriter, n Node)
- func RenderString(n Node) string
- type Addr
- type Array
- type Assign
- type Binary
- type BinaryOp
- type Blank
- type Block
- type Call
- type Const
- type Consts
- type Decl
- type Decls
- type Deref
- type Expr
- func Add(args ...Expr) Expr
- func And(args ...Expr) Expr
- func BitAnd(args ...Expr) Expr
- func BitOr(args ...Expr) Expr
- func BitXor(args ...Expr) Expr
- func Dec(arg Expr) Expr
- func Div(args ...Expr) Expr
- func Eq(args ...Expr) Expr
- func ExprOf(o any) Expr
- func Gt(args ...Expr) Expr
- func Gte(args ...Expr) Expr
- func Inc(arg Expr) Expr
- func Inv(arg Expr) Expr
- func Lt(args ...Expr) Expr
- func Lte(args ...Expr) Expr
- func Mod(args ...Expr) Expr
- func Mul(args ...Expr) Expr
- func Ne(args ...Expr) Expr
- func Neg(arg Expr) Expr
- func Not(arg Expr) Expr
- func Or(args ...Expr) Expr
- func Sub(args ...Expr) Expr
- type ExprStmt
- type Exprs
- type Func
- type FuncExpr
- type FuncType
- type Goto
- type Ident
- type If
- type Import
- type Imports
- type Index
- type Label
- type Lit
- type Map
- type NameType
- type Node
- type Package
- type Param
- type Paren
- type Ptr
- type Raw
- type Return
- type Select
- type ShortVar
- type Slice
- type Stmt
- type StmtDecl
- type Stmts
- type Struct
- type StructField
- type Type
- type TypeAssert
- type Unary
- type UnaryOp
- type Var
- type Vars
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Render ¶
func Render(w *iou.IndentWriter, n Node)
func RenderString ¶
Types ¶
type ExprStmt ¶
type ExprStmt struct { Expr Expr // contains filtered or unexported fields }
func ExprStmtOf ¶
type FuncExpr ¶
type FuncExpr struct { Func Func // contains filtered or unexported fields }
func FuncExprOf ¶
type FuncType ¶
type FuncType struct { Func Func // contains filtered or unexported fields }
func FuncTypeOf ¶
type NameType ¶
type NameType struct { Name Ident // contains filtered or unexported fields }
func NameTypeOf ¶
type ShortVar ¶
func ShortVarOf ¶
type StmtDecl ¶
type StmtDecl struct { Stmt Stmt // contains filtered or unexported fields }
func StmtDeclOf ¶
type Struct ¶
type Struct struct { Name Ident Fields []StructField // contains filtered or unexported fields }
type StructField ¶
type TypeAssert ¶
func TypeAssertOf ¶
func TypeAssertOf(value, type_ any) TypeAssert
Click to show internal directories.
Click to hide internal directories.