}
return false
}
+func (n *AddStringExpr) doChildrenWithHidden(do func(Node) bool) bool {
+ if doNodes(n.init, do) {
+ return true
+ }
+ if doNodes(n.List, do) {
+ return true
+ }
+ if n.Prealloc != nil && do(n.Prealloc) {
+ return true
+ }
+ return false
+}
func (n *AddStringExpr) editChildren(edit func(Node) Node) {
editNodes(n.init, edit)
editNodes(n.List, edit)
}
return false
}
+func (n *AddrExpr) doChildrenWithHidden(do func(Node) bool) bool {
+ if doNodes(n.init, do) {
+ return true
+ }
+ if n.X != nil && do(n.X) {
+ return true
+ }
+ if n.Prealloc != nil && do(n.Prealloc) {
+ return true
+ }
+ return false
+}
func (n *AddrExpr) editChildren(edit func(Node) Node) {
editNodes(n.init, edit)
if n.X != nil {
}
return false
}
+func (n *AssignListStmt) doChildrenWithHidden(do func(Node) bool) bool {
+ if doNodes(n.init, do) {
+ return true
+ }
+ if doNodes(n.Lhs, do) {
+ return true
+ }
+ if doNodes(n.Rhs, do) {
+ return true
+ }
+ return false
+}
func (n *AssignListStmt) editChildren(edit func(Node) Node) {
editNodes(n.init, edit)
editNodes(n.Lhs, edit)
}
return false
}
+func (n *AssignOpStmt) doChildrenWithHidden(do func(Node) bool) bool {
+ if doNodes(n.init, do) {
+ return true
+ }
+ if n.X != nil && do(n.X) {
+ return true
+ }
+ if n.Y != nil && do(n.Y) {
+ return true
+ }
+ return false
+}
func (n *AssignOpStmt) editChildren(edit func(Node) Node) {
editNodes(n.init, edit)
if n.X != nil {
}
return false
}
+func (n *AssignStmt) doChildrenWithHidden(do func(Node) bool) bool {
+ if doNodes(n.init, do) {
+ return true
+ }
+ if n.X != nil && do(n.X) {
+ return true
+ }
+ if n.Y != nil && do(n.Y) {
+ return true
+ }
+ return false
+}
func (n *AssignStmt) editChildren(edit func(Node) Node) {
editNodes(n.init, edit)
if n.X != nil {
}
return false
}
+func (n *BasicLit) doChildrenWithHidden(do func(Node) bool) bool {
+ if doNodes(n.init, do) {
+ return true
+ }
+ return false
+}
func (n *BasicLit) editChildren(edit func(Node) Node) {
editNodes(n.init, edit)
}
}
return false
}
+func (n *BinaryExpr) doChildrenWithHidden(do func(Node) bool) bool {
+ if doNodes(n.init, do) {
+ return true
+ }
+ if n.X != nil && do(n.X) {
+ return true
+ }
+ if n.Y != nil && do(n.Y) {
+ return true
+ }
+ if n.RType != nil && do(n.RType) {
+ return true
+ }
+ return false
+}
func (n *BinaryExpr) editChildren(edit func(Node) Node) {
editNodes(n.init, edit)
if n.X != nil {
}
return false
}
+func (n *BlockStmt) doChildrenWithHidden(do func(Node) bool) bool {
+ if doNodes(n.init, do) {
+ return true
+ }
+ if doNodes(n.List, do) {
+ return true
+ }
+ return false
+}
func (n *BlockStmt) editChildren(edit func(Node) Node) {
editNodes(n.init, edit)
editNodes(n.List, edit)
}
return false
}
+func (n *BranchStmt) doChildrenWithHidden(do func(Node) bool) bool {
+ if doNodes(n.init, do) {
+ return true
+ }
+ return false
+}
func (n *BranchStmt) editChildren(edit func(Node) Node) {
editNodes(n.init, edit)
}
if doNodes(n.Args, do) {
return true
}
+ if n.DeferAt != nil && do(n.DeferAt) {
+ return true
+ }
+ if doNames(n.KeepAlive, do) {
+ return true
+ }
+ return false
+}
+func (n *CallExpr) doChildrenWithHidden(do func(Node) bool) bool {
+ if doNodes(n.init, do) {
+ return true
+ }
+ if n.Fun != nil && do(n.Fun) {
+ return true
+ }
+ if doNodes(n.Args, do) {
+ return true
+ }
+ if n.DeferAt != nil && do(n.DeferAt) {
+ return true
+ }
+ if n.RType != nil && do(n.RType) {
+ return true
+ }
if doNames(n.KeepAlive, do) {
return true
}
n.Fun = edit(n.Fun).(Node)
}
editNodes(n.Args, edit)
+ if n.DeferAt != nil {
+ n.DeferAt = edit(n.DeferAt).(Node)
+ }
editNames(n.KeepAlive, edit)
}
func (n *CallExpr) editChildrenWithHidden(edit func(Node) Node) {
n.Fun = edit(n.Fun).(Node)
}
editNodes(n.Args, edit)
+ if n.DeferAt != nil {
+ n.DeferAt = edit(n.DeferAt).(Node)
+ }
if n.RType != nil {
n.RType = edit(n.RType).(Node)
}
}
return false
}
+func (n *CaseClause) doChildrenWithHidden(do func(Node) bool) bool {
+ if doNodes(n.init, do) {
+ return true
+ }
+ if n.Var != nil && do(n.Var) {
+ return true
+ }
+ if doNodes(n.List, do) {
+ return true
+ }
+ if doNodes(n.RTypes, do) {
+ return true
+ }
+ if doNodes(n.Body, do) {
+ return true
+ }
+ return false
+}
func (n *CaseClause) editChildren(edit func(Node) Node) {
editNodes(n.init, edit)
if n.Var != nil {
}
return false
}
+func (n *ClosureExpr) doChildrenWithHidden(do func(Node) bool) bool {
+ if doNodes(n.init, do) {
+ return true
+ }
+ if n.Prealloc != nil && do(n.Prealloc) {
+ return true
+ }
+ return false
+}
func (n *ClosureExpr) editChildren(edit func(Node) Node) {
editNodes(n.init, edit)
if n.Prealloc != nil {
}
return false
}
+func (n *CommClause) doChildrenWithHidden(do func(Node) bool) bool {
+ if doNodes(n.init, do) {
+ return true
+ }
+ if n.Comm != nil && do(n.Comm) {
+ return true
+ }
+ if doNodes(n.Body, do) {
+ return true
+ }
+ return false
+}
func (n *CommClause) editChildren(edit func(Node) Node) {
editNodes(n.init, edit)
if n.Comm != nil {
}
return false
}
+func (n *CompLitExpr) doChildrenWithHidden(do func(Node) bool) bool {
+ if doNodes(n.init, do) {
+ return true
+ }
+ if doNodes(n.List, do) {
+ return true
+ }
+ if n.RType != nil && do(n.RType) {
+ return true
+ }
+ if n.Prealloc != nil && do(n.Prealloc) {
+ return true
+ }
+ return false
+}
func (n *CompLitExpr) editChildren(edit func(Node) Node) {
editNodes(n.init, edit)
editNodes(n.List, edit)
}
return false
}
+func (n *ConvExpr) doChildrenWithHidden(do func(Node) bool) bool {
+ if doNodes(n.init, do) {
+ return true
+ }
+ if n.X != nil && do(n.X) {
+ return true
+ }
+ if n.TypeWord != nil && do(n.TypeWord) {
+ return true
+ }
+ if n.SrcRType != nil && do(n.SrcRType) {
+ return true
+ }
+ if n.ElemRType != nil && do(n.ElemRType) {
+ return true
+ }
+ if n.ElemElemRType != nil && do(n.ElemElemRType) {
+ return true
+ }
+ return false
+}
func (n *ConvExpr) editChildren(edit func(Node) Node) {
editNodes(n.init, edit)
if n.X != nil {
}
return false
}
+func (n *Decl) doChildrenWithHidden(do func(Node) bool) bool {
+ if n.X != nil && do(n.X) {
+ return true
+ }
+ return false
+}
func (n *Decl) editChildren(edit func(Node) Node) {
if n.X != nil {
n.X = edit(n.X).(*Name)
}
return false
}
+func (n *DynamicType) doChildrenWithHidden(do func(Node) bool) bool {
+ if doNodes(n.init, do) {
+ return true
+ }
+ if n.RType != nil && do(n.RType) {
+ return true
+ }
+ if n.ITab != nil && do(n.ITab) {
+ return true
+ }
+ return false
+}
func (n *DynamicType) editChildren(edit func(Node) Node) {
editNodes(n.init, edit)
if n.RType != nil {
}
return false
}
+func (n *DynamicTypeAssertExpr) doChildrenWithHidden(do func(Node) bool) bool {
+ if doNodes(n.init, do) {
+ return true
+ }
+ if n.X != nil && do(n.X) {
+ return true
+ }
+ if n.SrcRType != nil && do(n.SrcRType) {
+ return true
+ }
+ if n.RType != nil && do(n.RType) {
+ return true
+ }
+ if n.ITab != nil && do(n.ITab) {
+ return true
+ }
+ return false
+}
func (n *DynamicTypeAssertExpr) editChildren(edit func(Node) Node) {
editNodes(n.init, edit)
if n.X != nil {
}
return false
}
+func (n *ForStmt) doChildrenWithHidden(do func(Node) bool) bool {
+ if doNodes(n.init, do) {
+ return true
+ }
+ if n.Cond != nil && do(n.Cond) {
+ return true
+ }
+ if n.Post != nil && do(n.Post) {
+ return true
+ }
+ if doNodes(n.Body, do) {
+ return true
+ }
+ return false
+}
func (n *ForStmt) editChildren(edit func(Node) Node) {
editNodes(n.init, edit)
if n.Cond != nil {
if n.Call != nil && do(n.Call) {
return true
}
+ if n.DeferAt != nil && do(n.DeferAt) {
+ return true
+ }
+ return false
+}
+func (n *GoDeferStmt) doChildrenWithHidden(do func(Node) bool) bool {
+ if doNodes(n.init, do) {
+ return true
+ }
+ if n.Call != nil && do(n.Call) {
+ return true
+ }
+ if n.DeferAt != nil && do(n.DeferAt) {
+ return true
+ }
return false
}
func (n *GoDeferStmt) editChildren(edit func(Node) Node) {
if n.Call != nil {
n.Call = edit(n.Call).(Node)
}
+ if n.DeferAt != nil {
+ n.DeferAt = edit(n.DeferAt).(Expr)
+ }
}
func (n *GoDeferStmt) editChildrenWithHidden(edit func(Node) Node) {
editNodes(n.init, edit)
if n.Call != nil {
n.Call = edit(n.Call).(Node)
}
+ if n.DeferAt != nil {
+ n.DeferAt = edit(n.DeferAt).(Expr)
+ }
}
func (n *Ident) Format(s fmt.State, verb rune) { fmtNode(n, s, verb) }
}
return false
}
+func (n *Ident) doChildrenWithHidden(do func(Node) bool) bool {
+ if doNodes(n.init, do) {
+ return true
+ }
+ return false
+}
func (n *Ident) editChildren(edit func(Node) Node) {
editNodes(n.init, edit)
}
}
return false
}
+func (n *IfStmt) doChildrenWithHidden(do func(Node) bool) bool {
+ if doNodes(n.init, do) {
+ return true
+ }
+ if n.Cond != nil && do(n.Cond) {
+ return true
+ }
+ if doNodes(n.Body, do) {
+ return true
+ }
+ if doNodes(n.Else, do) {
+ return true
+ }
+ return false
+}
func (n *IfStmt) editChildren(edit func(Node) Node) {
editNodes(n.init, edit)
if n.Cond != nil {
}
return false
}
+func (n *IndexExpr) doChildrenWithHidden(do func(Node) bool) bool {
+ if doNodes(n.init, do) {
+ return true
+ }
+ if n.X != nil && do(n.X) {
+ return true
+ }
+ if n.Index != nil && do(n.Index) {
+ return true
+ }
+ if n.RType != nil && do(n.RType) {
+ return true
+ }
+ return false
+}
func (n *IndexExpr) editChildren(edit func(Node) Node) {
editNodes(n.init, edit)
if n.X != nil {
}
return false
}
+func (n *InlineMarkStmt) doChildrenWithHidden(do func(Node) bool) bool {
+ if doNodes(n.init, do) {
+ return true
+ }
+ return false
+}
func (n *InlineMarkStmt) editChildren(edit func(Node) Node) {
editNodes(n.init, edit)
}
}
return false
}
+func (n *InlinedCallExpr) doChildrenWithHidden(do func(Node) bool) bool {
+ if doNodes(n.init, do) {
+ return true
+ }
+ if doNodes(n.Body, do) {
+ return true
+ }
+ if doNodes(n.ReturnVars, do) {
+ return true
+ }
+ return false
+}
func (n *InlinedCallExpr) editChildren(edit func(Node) Node) {
editNodes(n.init, edit)
editNodes(n.Body, edit)
if n.Itab != nil && do(n.Itab) {
return true
}
- if n.RuntimeType != nil && do(n.RuntimeType) {
+ if n.RuntimeType != nil && do(n.RuntimeType) {
+ return true
+ }
+ if n.Hash != nil && do(n.Hash) {
+ return true
+ }
+ return false
+}
+func (n *InterfaceSwitchStmt) doChildrenWithHidden(do func(Node) bool) bool {
+ if doNodes(n.init, do) {
+ return true
+ }
+ if n.Case != nil && do(n.Case) {
+ return true
+ }
+ if n.Itab != nil && do(n.Itab) {
+ return true
+ }
+ if n.RuntimeType != nil && do(n.RuntimeType) {
+ return true
+ }
+ if n.Hash != nil && do(n.Hash) {
return true
}
return false
if n.RuntimeType != nil {
n.RuntimeType = edit(n.RuntimeType).(Node)
}
+ if n.Hash != nil {
+ n.Hash = edit(n.Hash).(Node)
+ }
}
func (n *InterfaceSwitchStmt) editChildrenWithHidden(edit func(Node) Node) {
editNodes(n.init, edit)
if n.RuntimeType != nil {
n.RuntimeType = edit(n.RuntimeType).(Node)
}
+ if n.Hash != nil {
+ n.Hash = edit(n.Hash).(Node)
+ }
}
func (n *JumpTableStmt) Format(s fmt.State, verb rune) { fmtNode(n, s, verb) }
}
return false
}
+func (n *JumpTableStmt) doChildrenWithHidden(do func(Node) bool) bool {
+ if doNodes(n.init, do) {
+ return true
+ }
+ if n.Idx != nil && do(n.Idx) {
+ return true
+ }
+ return false
+}
func (n *JumpTableStmt) editChildren(edit func(Node) Node) {
editNodes(n.init, edit)
if n.Idx != nil {
}
return false
}
+func (n *KeyExpr) doChildrenWithHidden(do func(Node) bool) bool {
+ if doNodes(n.init, do) {
+ return true
+ }
+ if n.Key != nil && do(n.Key) {
+ return true
+ }
+ if n.Value != nil && do(n.Value) {
+ return true
+ }
+ return false
+}
func (n *KeyExpr) editChildren(edit func(Node) Node) {
editNodes(n.init, edit)
if n.Key != nil {
}
return false
}
+func (n *LabelStmt) doChildrenWithHidden(do func(Node) bool) bool {
+ if doNodes(n.init, do) {
+ return true
+ }
+ return false
+}
func (n *LabelStmt) editChildren(edit func(Node) Node) {
editNodes(n.init, edit)
}
}
return false
}
+func (n *LinksymOffsetExpr) doChildrenWithHidden(do func(Node) bool) bool {
+ if doNodes(n.init, do) {
+ return true
+ }
+ return false
+}
func (n *LinksymOffsetExpr) editChildren(edit func(Node) Node) {
editNodes(n.init, edit)
}
}
return false
}
+func (n *LogicalExpr) doChildrenWithHidden(do func(Node) bool) bool {
+ if doNodes(n.init, do) {
+ return true
+ }
+ if n.X != nil && do(n.X) {
+ return true
+ }
+ if n.Y != nil && do(n.Y) {
+ return true
+ }
+ return false
+}
func (n *LogicalExpr) editChildren(edit func(Node) Node) {
editNodes(n.init, edit)
if n.X != nil {
}
return false
}
+func (n *MakeExpr) doChildrenWithHidden(do func(Node) bool) bool {
+ if doNodes(n.init, do) {
+ return true
+ }
+ if n.RType != nil && do(n.RType) {
+ return true
+ }
+ if n.Len != nil && do(n.Len) {
+ return true
+ }
+ if n.Cap != nil && do(n.Cap) {
+ return true
+ }
+ return false
+}
func (n *MakeExpr) editChildren(edit func(Node) Node) {
editNodes(n.init, edit)
if n.Len != nil {
}
return false
}
+func (n *NilExpr) doChildrenWithHidden(do func(Node) bool) bool {
+ if doNodes(n.init, do) {
+ return true
+ }
+ return false
+}
func (n *NilExpr) editChildren(edit func(Node) Node) {
editNodes(n.init, edit)
}
}
return false
}
+func (n *ParenExpr) doChildrenWithHidden(do func(Node) bool) bool {
+ if doNodes(n.init, do) {
+ return true
+ }
+ if n.X != nil && do(n.X) {
+ return true
+ }
+ return false
+}
func (n *ParenExpr) editChildren(edit func(Node) Node) {
editNodes(n.init, edit)
if n.X != nil {
}
return false
}
+func (n *RangeStmt) doChildrenWithHidden(do func(Node) bool) bool {
+ if doNodes(n.init, do) {
+ return true
+ }
+ if n.X != nil && do(n.X) {
+ return true
+ }
+ if n.RType != nil && do(n.RType) {
+ return true
+ }
+ if n.Key != nil && do(n.Key) {
+ return true
+ }
+ if n.Value != nil && do(n.Value) {
+ return true
+ }
+ if doNodes(n.Body, do) {
+ return true
+ }
+ if n.Prealloc != nil && do(n.Prealloc) {
+ return true
+ }
+ if n.KeyTypeWord != nil && do(n.KeyTypeWord) {
+ return true
+ }
+ if n.KeySrcRType != nil && do(n.KeySrcRType) {
+ return true
+ }
+ if n.ValueTypeWord != nil && do(n.ValueTypeWord) {
+ return true
+ }
+ if n.ValueSrcRType != nil && do(n.ValueSrcRType) {
+ return true
+ }
+ return false
+}
func (n *RangeStmt) editChildren(edit func(Node) Node) {
editNodes(n.init, edit)
if n.X != nil {
}
return false
}
+func (n *ResultExpr) doChildrenWithHidden(do func(Node) bool) bool {
+ if doNodes(n.init, do) {
+ return true
+ }
+ return false
+}
func (n *ResultExpr) editChildren(edit func(Node) Node) {
editNodes(n.init, edit)
}
}
return false
}
+func (n *ReturnStmt) doChildrenWithHidden(do func(Node) bool) bool {
+ if doNodes(n.init, do) {
+ return true
+ }
+ if doNodes(n.Results, do) {
+ return true
+ }
+ return false
+}
func (n *ReturnStmt) editChildren(edit func(Node) Node) {
editNodes(n.init, edit)
editNodes(n.Results, edit)
}
return false
}
+func (n *SelectStmt) doChildrenWithHidden(do func(Node) bool) bool {
+ if doNodes(n.init, do) {
+ return true
+ }
+ if doCommClauses(n.Cases, do) {
+ return true
+ }
+ if doNodes(n.Compiled, do) {
+ return true
+ }
+ return false
+}
func (n *SelectStmt) editChildren(edit func(Node) Node) {
editNodes(n.init, edit)
editCommClauses(n.Cases, edit)
}
return false
}
+func (n *SelectorExpr) doChildrenWithHidden(do func(Node) bool) bool {
+ if doNodes(n.init, do) {
+ return true
+ }
+ if n.X != nil && do(n.X) {
+ return true
+ }
+ if n.Prealloc != nil && do(n.Prealloc) {
+ return true
+ }
+ return false
+}
func (n *SelectorExpr) editChildren(edit func(Node) Node) {
editNodes(n.init, edit)
if n.X != nil {
}
return false
}
+func (n *SendStmt) doChildrenWithHidden(do func(Node) bool) bool {
+ if doNodes(n.init, do) {
+ return true
+ }
+ if n.Chan != nil && do(n.Chan) {
+ return true
+ }
+ if n.Value != nil && do(n.Value) {
+ return true
+ }
+ return false
+}
func (n *SendStmt) editChildren(edit func(Node) Node) {
editNodes(n.init, edit)
if n.Chan != nil {
}
return false
}
+func (n *SliceExpr) doChildrenWithHidden(do func(Node) bool) bool {
+ if doNodes(n.init, do) {
+ return true
+ }
+ if n.X != nil && do(n.X) {
+ return true
+ }
+ if n.Low != nil && do(n.Low) {
+ return true
+ }
+ if n.High != nil && do(n.High) {
+ return true
+ }
+ if n.Max != nil && do(n.Max) {
+ return true
+ }
+ return false
+}
func (n *SliceExpr) editChildren(edit func(Node) Node) {
editNodes(n.init, edit)
if n.X != nil {
}
return false
}
+func (n *SliceHeaderExpr) doChildrenWithHidden(do func(Node) bool) bool {
+ if doNodes(n.init, do) {
+ return true
+ }
+ if n.Ptr != nil && do(n.Ptr) {
+ return true
+ }
+ if n.Len != nil && do(n.Len) {
+ return true
+ }
+ if n.Cap != nil && do(n.Cap) {
+ return true
+ }
+ return false
+}
func (n *SliceHeaderExpr) editChildren(edit func(Node) Node) {
editNodes(n.init, edit)
if n.Ptr != nil {
}
return false
}
+func (n *StarExpr) doChildrenWithHidden(do func(Node) bool) bool {
+ if doNodes(n.init, do) {
+ return true
+ }
+ if n.X != nil && do(n.X) {
+ return true
+ }
+ return false
+}
func (n *StarExpr) editChildren(edit func(Node) Node) {
editNodes(n.init, edit)
if n.X != nil {
}
return false
}
+func (n *StringHeaderExpr) doChildrenWithHidden(do func(Node) bool) bool {
+ if doNodes(n.init, do) {
+ return true
+ }
+ if n.Ptr != nil && do(n.Ptr) {
+ return true
+ }
+ if n.Len != nil && do(n.Len) {
+ return true
+ }
+ return false
+}
func (n *StringHeaderExpr) editChildren(edit func(Node) Node) {
editNodes(n.init, edit)
if n.Ptr != nil {
}
return false
}
+func (n *StructKeyExpr) doChildrenWithHidden(do func(Node) bool) bool {
+ if doNodes(n.init, do) {
+ return true
+ }
+ if n.Value != nil && do(n.Value) {
+ return true
+ }
+ return false
+}
func (n *StructKeyExpr) editChildren(edit func(Node) Node) {
editNodes(n.init, edit)
if n.Value != nil {
}
return false
}
+func (n *SwitchStmt) doChildrenWithHidden(do func(Node) bool) bool {
+ if doNodes(n.init, do) {
+ return true
+ }
+ if n.Tag != nil && do(n.Tag) {
+ return true
+ }
+ if doCaseClauses(n.Cases, do) {
+ return true
+ }
+ if doNodes(n.Compiled, do) {
+ return true
+ }
+ return false
+}
func (n *SwitchStmt) editChildren(edit func(Node) Node) {
editNodes(n.init, edit)
if n.Tag != nil {
}
return false
}
+func (n *TailCallStmt) doChildrenWithHidden(do func(Node) bool) bool {
+ if doNodes(n.init, do) {
+ return true
+ }
+ if n.Call != nil && do(n.Call) {
+ return true
+ }
+ return false
+}
func (n *TailCallStmt) editChildren(edit func(Node) Node) {
editNodes(n.init, edit)
if n.Call != nil {
}
return false
}
+func (n *TypeAssertExpr) doChildrenWithHidden(do func(Node) bool) bool {
+ if doNodes(n.init, do) {
+ return true
+ }
+ if n.X != nil && do(n.X) {
+ return true
+ }
+ if n.ITab != nil && do(n.ITab) {
+ return true
+ }
+ return false
+}
func (n *TypeAssertExpr) editChildren(edit func(Node) Node) {
editNodes(n.init, edit)
if n.X != nil {
}
return false
}
+func (n *TypeSwitchGuard) doChildrenWithHidden(do func(Node) bool) bool {
+ if n.Tag != nil && do(n.Tag) {
+ return true
+ }
+ if n.X != nil && do(n.X) {
+ return true
+ }
+ return false
+}
func (n *TypeSwitchGuard) editChildren(edit func(Node) Node) {
if n.Tag != nil {
n.Tag = edit(n.Tag).(*Ident)
}
return false
}
+func (n *UnaryExpr) doChildrenWithHidden(do func(Node) bool) bool {
+ if doNodes(n.init, do) {
+ return true
+ }
+ if n.X != nil && do(n.X) {
+ return true
+ }
+ return false
+}
func (n *UnaryExpr) editChildren(edit func(Node) Node) {
editNodes(n.init, edit)
if n.X != nil {
func (n *typeNode) doChildren(do func(Node) bool) bool {
return false
}
+func (n *typeNode) doChildrenWithHidden(do func(Node) bool) bool {
+ return false
+}
func (n *typeNode) editChildren(edit func(Node) Node) {
}
func (n *typeNode) editChildrenWithHidden(edit func(Node) Node) {
_ = x[OEND-151]
}
-const _Op_name = "XXXNAMENONAMETYPELITERALNILADDSUBORXORADDSTRADDRANDANDAPPENDBYTES2STRBYTES2STRTMPRUNES2STRSTR2BYTESSTR2BYTESTMPSTR2RUNESSLICE2ARRSLICE2ARRPTRASAS2AS2DOTTYPEAS2FUNCAS2MAPRAS2RECVASOPCALLCALLFUNCCALLMETHCALLINTERCAPCLEARCLOSECLOSURECOMPLITMAPLITSTRUCTLITARRAYLITSLICELITPTRLITCONVCONVIFACECONVNOPCOPYDCLDCLFUNCDELETEDOTDOTPTRDOTMETHDOTINTERXDOTDOTTYPEDOTTYPE2EQNELTLEGEGTDEREFINDEXINDEXMAPKEYSTRUCTKEYLENMAKEMAKECHANMAKEMAPMAKESLICEMAKESLICECOPYMULDIVMODLSHRSHANDANDNOTNEWNOTBITNOTPLUSNEGORORPANICPRINTPRINTNPARENSENDSLICESLICEARRSLICESTRSLICE3SLICE3ARRSLICEHEADERSTRINGHEADERRECOVERRECOVERFPRECVRUNESTRSELRECV2MINMAXREALIMAGCOMPLEXUNSAFEADDUNSAFESLICEUNSAFESLICEDATAUNSAFESTRINGUNSAFESTRINGDATAMETHEXPRMETHVALUEBLOCKBREAKCASECONTINUEDEFERFALLFORGOTOIFLABELGORANGERETURNSELECTSWITCHTYPESWINLCALLMAKEFACEITABIDATASPTRCFUNCCHECKNILRESULTINLMARKLINKSYMOFFSETJUMPTABLEINTERFACESWITCHDYNAMICDOTTYPEDYNAMICDOTTYPE2DYNAMICTYPETAILCALLGETGGETCALLERPCGETCALLERSPEND"
+const _Op_name = "XXXNAMENONAMETYPELITERALNILADDSUBORXORADDSTRADDRANDANDAPPENDBYTES2STRBYTES2STRTMPRUNES2STRSTR2BYTESSTR2BYTESTMPSTR2RUNESSLICE2ARRSLICE2ARRPTRASAS2AS2DOTTYPEAS2FUNCAS2MAPRAS2RECVASOPCALLCALLFUNCCALLMETHCALLINTERCAPCLEARCLOSECLOSURECOMPLITMAPLITSTRUCTLITARRAYLITSLICELITPTRLITCONVCONVIFACECONVNOPCOPYDCLDCLFUNCDELETEDOTDOTPTRDOTMETHDOTINTERXDOTDOTTYPEDOTTYPE2EQNELTLEGEGTDEREFINDEXINDEXMAPKEYSTRUCTKEYLENMAKEMAKECHANMAKEMAPMAKESLICEMAKESLICECOPYMULDIVMODLSHRSHANDANDNOTNEWNOTBITNOTPLUSNEGORORPANICPRINTPRINTLNPARENSENDSLICESLICEARRSLICESTRSLICE3SLICE3ARRSLICEHEADERSTRINGHEADERRECOVERRECOVERFPRECVRUNESTRSELRECV2MINMAXREALIMAGCOMPLEXUNSAFEADDUNSAFESLICEUNSAFESLICEDATAUNSAFESTRINGUNSAFESTRINGDATAMETHEXPRMETHVALUEBLOCKBREAKCASECONTINUEDEFERFALLFORGOTOIFLABELGORANGERETURNSELECTSWITCHTYPESWINLCALLMAKEFACEITABIDATASPTRCFUNCCHECKNILRESULTINLMARKLINKSYMOFFSETJUMPTABLEINTERFACESWITCHDYNAMICDOTTYPEDYNAMICDOTTYPE2DYNAMICTYPETAILCALLGETGGETCALLERPCGETCALLERSPEND"
-var _Op_index = [...]uint16{0, 3, 7, 13, 17, 24, 27, 30, 33, 35, 38, 44, 48, 54, 60, 69, 81, 90, 99, 111, 120, 129, 141, 143, 146, 156, 163, 170, 177, 181, 185, 193, 201, 210, 213, 218, 223, 230, 237, 243, 252, 260, 268, 274, 278, 287, 294, 298, 301, 308, 314, 317, 323, 330, 338, 342, 349, 357, 359, 361, 363, 365, 367, 369, 374, 379, 387, 390, 399, 402, 406, 414, 421, 430, 443, 446, 449, 452, 455, 458, 461, 467, 470, 473, 479, 483, 486, 490, 495, 500, 506, 511, 515, 520, 528, 536, 542, 551, 562, 574, 581, 590, 594, 601, 609, 612, 615, 619, 623, 630, 639, 650, 665, 677, 693, 701, 710, 715, 720, 724, 732, 737, 741, 744, 748, 750, 755, 757, 762, 768, 774, 780, 786, 793, 801, 805, 810, 814, 819, 827, 833, 840, 853, 862, 877, 891, 906, 917, 925, 929, 940, 951, 954}
+var _Op_index = [...]uint16{0, 3, 7, 13, 17, 24, 27, 30, 33, 35, 38, 44, 48, 54, 60, 69, 81, 90, 99, 111, 120, 129, 141, 143, 146, 156, 163, 170, 177, 181, 185, 193, 201, 210, 213, 218, 223, 230, 237, 243, 252, 260, 268, 274, 278, 287, 294, 298, 301, 308, 314, 317, 323, 330, 338, 342, 349, 357, 359, 361, 363, 365, 367, 369, 374, 379, 387, 390, 399, 402, 406, 414, 421, 430, 443, 446, 449, 452, 455, 458, 461, 467, 470, 473, 479, 483, 486, 490, 495, 500, 507, 512, 516, 521, 529, 537, 543, 552, 563, 575, 582, 591, 595, 602, 610, 613, 616, 620, 624, 631, 640, 651, 666, 678, 694, 702, 711, 716, 721, 725, 733, 738, 742, 745, 749, 751, 756, 758, 763, 769, 775, 781, 787, 794, 802, 806, 811, 815, 820, 828, 834, 841, 854, 863, 878, 892, 907, 918, 926, 930, 941, 952, 955}
func (i Op) String() string {
if i >= Op(len(_Op_index)-1) {