Searched refs:eval_ctx (Results 1 – 10 of 10) sorted by relevance
/external/libchrome/third_party/jinja2/ |
D | nodes.py | 397 def as_const(self, eval_ctx=None): argument 421 def as_const(self, eval_ctx=None): argument 422 eval_ctx = get_eval_context(self, eval_ctx) 429 return f(self.left.as_const(eval_ctx), self.right.as_const(eval_ctx)) 440 def as_const(self, eval_ctx=None): argument 441 eval_ctx = get_eval_context(self, eval_ctx) 448 return f(self.node.as_const(eval_ctx)) 493 def as_const(self, eval_ctx=None): argument 519 def as_const(self, eval_ctx=None): argument 520 eval_ctx = get_eval_context(self, eval_ctx) [all …]
|
D | compiler.py | 66 if self.optimized and not frame.eval_ctx.volatile: 67 new_node = self.optimizer.visit(node, frame.eval_ctx) 133 def __init__(self, eval_ctx, parent=None, level=None): argument 134 self.eval_ctx = eval_ctx 175 return Frame(self.eval_ctx, level=self.symbols.level + 1) 176 return Frame(self.eval_ctx, self) 330 if frame.eval_ctx.volatile: 340 elif frame.eval_ctx.autoescape: 697 eval_ctx = EvalContext(self.environment, self.name) 743 frame = Frame(eval_ctx) [all …]
|
D | filters.py | 116 def do_replace(eval_ctx, s, old, new, count=None): argument 133 if not eval_ctx.autoescape: 378 def do_join(eval_ctx, value, d=u'', attribute=None): argument 401 value = imap(make_attrgetter(eval_ctx.environment, attribute), value) 404 if not eval_ctx.autoescape: 499 def do_urlize(eval_ctx, value, trim_url_limit=None, nofollow=False, argument 522 policies = eval_ctx.environment.policies 531 if eval_ctx.autoescape: 1047 def do_tojson(eval_ctx, value, indent=None): argument 1072 policies = eval_ctx.environment.policies
|
D | optimizer.py | 35 def fold(self, node, eval_ctx=None): argument 39 return nodes.Const.from_untrusted(node.as_const(eval_ctx),
|
D | asyncfilters.py | 78 async def do_join(eval_ctx, value, d=u'', attribute=None): argument 79 return filters.do_join(eval_ctx, await auto_to_seq(value), d, attribute)
|
D | nativetypes.py | 80 const = child.as_const(frame.eval_ctx) 90 if frame.eval_ctx.autoescape:
|
D | runtime.py | 161 self.eval_ctx = EvalContext(self.environment, name) 258 args = (__self.eval_ctx,) + args 275 context.eval_ctx = self.eval_ctx 346 if self._context.eval_ctx.autoescape:
|
D | environment.py | 439 context=None, eval_ctx=None): argument 459 if eval_ctx is None: 461 eval_ctx = context.eval_ctx 463 eval_ctx = EvalContext(self) 464 args.insert(0, eval_ctx)
|
D | ext.py | 141 if __context.eval_ctx.autoescape: 152 if __context.eval_ctx.autoescape:
|
D | asyncsupport.py | 86 if self._context.eval_ctx.autoescape:
|