Lines Matching defs:scope
1852 VarCheckSyntax(VarAssignOp op, const char *uvalue, GNode *scope)
1857 scope, VARE_PARSE);
1866 VarAssign_EvalSubst(GNode *scope, const char *name, const char *uvalue,
1880 if (!Var_ExistsExpand(scope, name))
1881 Var_SetExpand(scope, name, "");
1883 evalue = Var_Subst(uvalue, scope,
1887 Var_SetExpand(scope, name, evalue);
1894 VarAssign_EvalShell(const char *name, const char *uvalue, GNode *scope,
1904 Var_SetExpand(scope, name, output);
1927 GNode *scope, FStr *out_true_avalue)
1932 Var_AppendExpand(scope, name, uvalue);
1934 VarAssign_EvalSubst(scope, name, uvalue, &avalue);
1936 VarAssign_EvalShell(name, uvalue, scope, &avalue);
1939 if (op == VAR_DEFAULT && Var_ExistsExpand(scope, name))
1943 Var_SetExpand(scope, name, uvalue);
1969 /* Perform the variable assignment in the given scope. */
1971 Parse_Var(VarAssign *var, GNode *scope)
1975 VarCheckSyntax(var->op, var->value, scope);
1976 if (VarAssign_Eval(var->varname, var->op, var->value, scope, &avalue)) {
2845 Parse_VarAssign(const char *line, bool finishDependencyGroup, GNode *scope)
2853 Parse_Var(&var, scope);