Home | History | Annotate | Download | only in api

Lines Matching defs:Features

47 	nextFile   = flag.String("next", "", "optional filename of tentative upcoming API features for the next release. This file can be lazily maintained. It only affects the delta warnings from the -c file printed on success.")
178 for _, f := range w.Features() {
186 var features []string
189 features = append(features, f)
195 features = append(features, f2)
210 sort.Strings(features)
211 for _, f := range features {
223 fail = !compareAPI(bw, features, required, optional, exception,
227 // export emits the exported package features.
260 func compareAPI(w io.Writer, features, required, optional, exception []string, allowAdd bool) (ok bool) {
265 featureSet := set(features)
267 sort.Strings(features)
276 for len(required) > 0 || len(features) > 0 {
278 case len(features) == 0 || (len(required) > 0 && required[0] < features[0]):
293 case len(required) == 0 || (len(features) > 0 && required[0] > features[0]):
294 newFeature := take(&features)
297 // Delete it from the map so we can detect any upcoming features
308 take(&features)
350 features map[string]bool // set
358 features: map[string]bool{},
363 func (w *Walker) Features() (fs []string) {
364 for f := range w.features {
840 if _, dup := w.features[f]; dup {
843 w.features[f] = true