Lines Matching refs:env

385     def eval(self, env):  argument
393 def eval(self, env): argument
431 def eval(self, env): argument
474 def eval(self, env): argument
494 def eval(self, env): argument
497 return env[self.name].eval(env)
498 return self.value.eval(env)
504 def eval(self, env): argument
506 return List(item.eval(env) for item in self)
518 def eval(self, env): argument
520 return Dict((key, value.eval(env)) for key, value in self.items())
539 def eval(self, env): argument
541 lhs = self.lhs.eval(env)
542 rhs = self.rhs.eval(env)
782 def find_sub_files_from_env(cls, rootdir, env, use_subdirs, argument
789 if 'build' in env:
791 for filename in env['build'].eval(env))
793 sub_name = env['subname'] if 'subname' in env else default_sub_name
795 if 'subdirs' in env:
796 for path in env['subdirs'].eval(env):
799 if 'optional_subdirs' in env:
800 for path in env['optional_subdirs'].eval(env):
807 def _read_file(path, env): argument
811 parser = Parser(Lexer(content, path=path), env)
816 def _parse_file(self, path, env, evaluate): argument
818 modules, sub_env = self._read_file(path, env)
820 modules = [(ident, attrs.eval(env)) for ident, attrs in modules]
825 def _parse_file_recursive(self, path, env, evaluate, use_subdirs): argument
830 sub_env = self._parse_file(path, env, evaluate)
848 def _scan_and_parse_all_file_recursive(self, filename, path, env, evaluate): argument
854 envs = [(rootdir, env)]
855 assert env is not None
886 def parse_file(self, path, env=None, evaluate=True, argument
890 if env is None:
891 env = {}
895 sub_env = self._read_file(path, env)[1]
898 self._parse_file_recursive(path, env, evaluate, True)
901 default_sub_name, path, env, evaluate)