Lines Matching refs:env
119 def _eval_string(s, env, expanded_vars, result_buf): argument
143 next_es = env.get_recursive(varname)
145 _eval_string(next_es, env, expanded_vars, result_buf)
150 def eval_string(s, env): argument
165 _eval_string(s, env, expanded_vars, result_buf)
169 def eval_path_strings(strs, env): argument
179 return [intern(os.path.normpath(eval_string(s, env))) for s in strs]
526 def _push_context(self, lexer, env): argument
536 self._env = env
564 def _parse_internal(self, path, encoding, env): argument
567 self._push_context(Lexer(fp, path, encoding), env)
742 env = BuildEvalEnv(bindings, rule_env)
744 build.explicit_outs = eval_path_strings(explicit_outs, env)
745 build.implicit_outs = eval_path_strings(implicit_outs, env)
746 build.explicit_ins = eval_path_strings(explicit_ins, env)
747 build.implicit_ins = eval_path_strings(implicit_ins, env)
748 build.prerequisites = eval_path_strings(prerequisites, env)
835 env = EvalEnv()
836 env.parent = self._env
838 env = self._env
839 self._parse_internal(path, self._lexer.encoding, env)