5.3 数据结构
5.3.1 IR Tree 简介
5.3.2 IR Tree Node
// file: cmd/compile/internal/syntax/nodes.go
type CallExpr struct {
Fun Expr
ArgList []Expr // nil means no arguments
HasDots bool // last argument is followed by ...
expr
}// file: cmd/compile/internal/ir/expr.go
type CallExpr struct {
miniExpr
origNode
X Node
Args Nodes
KeepAlive []*Name // vars to be kept alive until call returns
IsDDD bool
Use CallUse
NoInline bool
PreserveClosure bool // disable directClosureCall for this call
}5.3.3 Name
5.3.4 Func
5.3.5 Node Op
5.3.6 types.Sym
5.3.7 types.Pkg
5.3.8 types.Type
最后更新于