code: func (body Body) Vars(params VarVisitorParams) VarSet {
  	vis := NewVarVisitor().WithParams(params)
  	Walk(vis, body)
  	return vis.Vars()
  }
docs: // Vars returns a VarSet containing variables in body. The params can be set to
  // control which vars are included.