Home
last modified time | relevance | path

Searched refs:eval_ctx (Results 1 – 6 of 6) sorted by relevance

/external/libmojo/third_party/jinja2/
Dnodes.py354 def as_const(self, eval_ctx=None): argument
378 def as_const(self, eval_ctx=None): argument
379 eval_ctx = get_eval_context(self, eval_ctx)
386 return f(self.left.as_const(eval_ctx), self.right.as_const(eval_ctx))
397 def as_const(self, eval_ctx=None): argument
398 eval_ctx = get_eval_context(self, eval_ctx)
405 return f(self.node.as_const(eval_ctx))
438 def as_const(self, eval_ctx=None): argument
457 def as_const(self, eval_ctx=None): argument
458 eval_ctx = get_eval_context(self, eval_ctx)
[all …]
Dcompiler.py141 def __init__(self, eval_ctx, parent=None): argument
142 self.eval_ctx = eval_ctx
212 return Frame(self.eval_ctx, self)
437 if frame.eval_ctx.volatile:
446 elif frame.eval_ctx.autoescape:
759 eval_ctx = EvalContext(self.environment, self.name)
800 frame = Frame(eval_ctx)
829 block_frame = Frame(eval_ctx)
1235 const = child.as_const(frame.eval_ctx)
1243 if frame.eval_ctx.autoescape:
[all …]
Dfilters.py101 def do_replace(eval_ctx, s, old, new, count=None): argument
118 if not eval_ctx.autoescape:
291 def do_join(eval_ctx, value, d=u'', attribute=None): argument
314 value = imap(make_attrgetter(eval_ctx.environment, attribute), value)
317 if not eval_ctx.autoescape:
412 def do_urlize(eval_ctx, value, trim_url_limit=None, nofollow=False): argument
425 if eval_ctx.autoescape:
Druntime.py116 self.eval_ctx = EvalContext(self.environment, name)
189 args = (__self.eval_ctx,) + args
204 context.eval_ctx = self.eval_ctx
275 if self._context.eval_ctx.autoescape:
Denvironment.py406 context=None, eval_ctx=None): argument
421 if eval_ctx is None:
423 eval_ctx = context.eval_ctx
425 eval_ctx = EvalContext(self)
426 args.insert(0, eval_ctx)
Dext.py139 if __context.eval_ctx.autoescape:
150 if __context.eval_ctx.autoescape: