Lines Matching refs:scope
875 func (c *Context) openAndParse(filename string, scope *parser.Scope, rootDir string,
908 file, subBlueprints, errs = c.parseOne(rootDir, filename, f, scope, parent)
934 …scope *parser.Scope, parent *fileParseContext) (file *parser.File, subBlueprints []fileParseContex…
941 scope.Remove("subdirs")
942 scope.Remove("optional_subdirs")
943 scope.Remove("build")
944 file, errs = parser.ParseAndEval(filename, reader, scope)
962 build, buildPos, err := getLocalStringListFromScope(scope, "build")
975 subBlueprintsName, _, err := getStringFromScope(scope, "subname")
992 …subBlueprintsAndScope[i] = fileParseContext{b, parser.NewScope(scope), parent, make(chan struct{})}
1081 func getLocalStringListFromScope(scope *parser.Scope, v string) ([]string, scanner.Position, error)…
1082 if assignment, local := scope.Get(v); assignment == nil || !local {
1111 func getStringFromScope(scope *parser.Scope, v string) (string, scanner.Position, error) {
1112 if assignment, _ := scope.Get(v); assignment == nil {
2279 scope := newLocalScope(nil, prefix)
2287 scope: scope,
2347 scope := newLocalScope(nil, singletonNamespacePrefix(info.name))
2353 scope: scope,