Lines Matching refs:environment
71 def get_source(self, environment, template): argument
102 def load(self, environment, name, globals=None): argument
115 source, filename, uptodate = self.get_source(environment, name)
119 bcc = environment.bytecode_cache
121 bucket = bcc.get_bucket(environment, name, filename, source)
127 code = environment.compile(source, name, filename)
136 return environment.template_class.from_code(
137 environment, code, globals, uptodate
176 def get_source(self, environment, template): argument
244 def get_source(self, environment, template): argument
303 def get_source(self, environment, template): argument
334 def get_source(self, environment, template): argument
370 def get_source(self, environment, template): argument
373 return loader.get_source(environment, name)
380 def load(self, environment, name, globals=None): argument
383 return loader.load(environment, local_name, globals)
414 def get_source(self, environment, template): argument
417 return loader.get_source(environment, template)
423 def load(self, environment, name, globals=None): argument
426 return loader.load(environment, name, globals)
488 def load(self, environment, name, globals=None): argument
502 return environment.template_class.from_module_dict(
503 environment, mod.__dict__, globals