Lines Matching defs:Fold
2131 // Fold is a C++17 fold-expression. Arg2 is nil for a unary operator.
2132 type Fold struct {
2139 func (f *Fold) print(ps *printState) {
2172 func (f *Fold) Traverse(fn func(AST) bool) {
2182 func (f *Fold) Copy(fn func(AST) AST, skip func(AST) bool) AST {
2204 f = &Fold{Left: f.Left, Op: op, Arg1: arg1, Arg2: arg2}
2211 func (f *Fold) GoString() string {
2215 func (f *Fold) goString(indent int, field string) string {