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,
167 def get_source(self, environment, template): argument
231 def get_source(self, environment, template): argument
282 def get_source(self, environment, template): argument
313 def get_source(self, environment, template): argument
349 def get_source(self, environment, template): argument
352 return loader.get_source(environment, name)
359 def load(self, environment, name, globals=None): argument
362 return loader.load(environment, local_name, globals)
393 def get_source(self, environment, template): argument
396 return loader.get_source(environment, template)
402 def load(self, environment, name, globals=None): argument
405 return loader.load(environment, name, globals)
466 def load(self, environment, name, globals=None): argument
480 return environment.template_class.from_module_dict(
481 environment, mod.__dict__, globals)