Lines Matching refs:errs
157 _, _, errs := ctx.parseOne(".", "Blueprint", r, parser.NewScope(nil), nil)
158 if len(errs) > 0 {
160 for _, err := range errs {
166 _, errs = ctx.ResolveDependencies(nil)
167 if len(errs) > 0 {
169 for _, err := range errs {
223 _, errs := ctx.ParseBlueprintsFiles("Blueprints", nil)
224 if len(errs) > 0 {
226 for _, err := range errs {
232 _, errs = ctx.ResolveDependencies(nil)
233 if len(errs) > 0 {
235 for _, err := range errs {
304 _, errs := ctx.ParseBlueprintsFiles("Blueprints", nil)
305 if len(errs) > 0 {
307 for _, err := range errs {
313 _, errs = ctx.ResolveDependencies(nil)
314 if len(errs) > 0 {
316 for _, err := range errs {
371 _, errs := ctx.ParseBlueprintsFiles("Blueprints", nil)
372 if len(errs) > 0 {
374 for _, err := range errs {
380 _, errs = ctx.ResolveDependencies(nil)
381 if len(errs) > 0 {
383 for _, err := range errs {
417 _, errs := ctx.ParseBlueprintsFiles("Blueprints", nil)
418 if len(errs) > 0 {
420 for _, err := range errs {
426 _, errs = ctx.ResolveDependencies(nil)
427 if len(errs) > 0 {
429 for _, err := range errs {
572 _, errs := ctx.WalkBlueprintsFiles(".", keys, func(file *parser.File) {})
578 if fmt.Sprintf("%s", expectedErrs) != fmt.Sprintf("%s", errs) {
579 t.Errorf("Incorrect errors; expected:\n%s\ngot:\n%s", expectedErrs, errs)
600 _, errs := ctx.ParseBlueprintsFiles("Blueprints", nil)
605 if fmt.Sprintf("%s", expectedErrs) != fmt.Sprintf("%s", errs) {
606 t.Errorf("Incorrect errors; expected:\n%s\ngot:\n%s", expectedErrs, errs)