github.com/zxy12/golang151_with_comment@v0.0.0-20190507085033-721809559d3c/go/types/go12.go (about) 1 // Copyright 2013 The Go Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style 3 // license that can be found in the LICENSE file. 4 5 // +build go1.2 6 7 package types 8 9 import "go/ast" 10 11 func slice3(x *ast.SliceExpr) bool { 12 return x.Slice3 13 } 14 15 func sliceMax(x *ast.SliceExpr) ast.Expr { 16 return x.Max 17 }