Lines Matching refs:environment
70 def get_source(self, environment, template): argument
100 def load(self, environment, name, globals=None): argument
113 source, filename, uptodate = self.get_source(environment, name)
117 bcc = environment.bytecode_cache
119 bucket = bcc.get_bucket(environment, name, filename, source)
125 code = environment.compile(source, name, filename)
134 return environment.template_class.from_code(environment, code,
159 def get_source(self, environment, template): argument
221 def get_source(self, environment, template): argument
272 def get_source(self, environment, template): argument
303 def get_source(self, environment, template): argument
339 def get_source(self, environment, template): argument
342 return loader.get_source(environment, name)
349 def load(self, environment, name, globals=None): argument
352 return loader.load(environment, local_name)
383 def get_source(self, environment, template): argument
386 return loader.get_source(environment, template)
392 def load(self, environment, name, globals=None): argument
395 return loader.load(environment, name, globals)
456 def load(self, environment, name, globals=None): argument
470 return environment.template_class.from_module_dict(
471 environment, mod.__dict__, globals)