Lines Matching refs:scope
953 func (c *Context) openAndParse(filename string, scope *parser.Scope, rootDir string,
986 file, subBlueprints, errs = c.parseOne(rootDir, filename, f, scope, parent)
1012 …scope *parser.Scope, parent *fileParseContext) (file *parser.File, subBlueprints []fileParseContex…
1019 scope.Remove("subdirs")
1020 scope.Remove("optional_subdirs")
1021 scope.Remove("build")
1022 file, errs = parser.ParseAndEval(filename, reader, scope)
1040 build, buildPos, err := getLocalStringListFromScope(scope, "build")
1053 subBlueprintsName, _, err := getStringFromScope(scope, "subname")
1070 …subBlueprintsAndScope[i] = fileParseContext{b, parser.NewScope(scope), parent, make(chan struct{})}
1159 func getLocalStringListFromScope(scope *parser.Scope, v string) ([]string, scanner.Position, error)…
1160 if assignment, local := scope.Get(v); assignment == nil || !local {
1189 func getStringFromScope(scope *parser.Scope, v string) (string, scanner.Position, error) {
1190 if assignment, _ := scope.Get(v); assignment == nil {
2469 scope := newLocalScope(nil, prefix)
2477 scope: scope,
2537 scope := newLocalScope(nil, singletonNamespacePrefix(info.name))
2543 scope: scope,