Lines Matching refs:environment
53 def new_context(environment, template_name, blocks, vars=None, argument
70 return Context(environment, parent, template_name, blocks)
112 def __init__(self, environment, parent, name, blocks): argument
115 self.environment = environment
116 self.eval_ctx = EvalContext(self.environment, name)
132 return self.environment.undefined('there is no parent block '
154 return self.environment.undefined(name=key)
191 args = (__self.environment,) + args
195 return __self.environment.undefined('value was undefined because '
201 context = new_context(self.environment, self.name, {},
266 return self._context.environment. \
380 def __init__(self, environment, func, name, arguments, defaults, argument
382 self._environment = environment