HomeSort by relevance Sort by last modified time
    Searched refs:eval_ctx (Results 1 - 6 of 6) sorted by null

  /external/opencv3/3rdparty/jinja2/
nodes.py 354 def as_const(self, eval_ctx=None):
363 the `eval_ctx` parameter was added.
378 def as_const(self, eval_ctx=None):
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):
398 eval_ctx = get_eval_context(self, eval_ctx)
    [all...]
compiler.py 141 def __init__(self, eval_ctx, parent=None):
142 self.eval_ctx = eval_ctx
212 return Frame(self.eval_ctx, self)
437 if frame.eval_ctx.volatile:
438 self.writeline('if context.eval_ctx.autoescape:')
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)
    [all...]
runtime.py 109 __slots__ = ('parent', 'vars', 'environment', 'eval_ctx', 'exported_vars',
116 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:
environment.py 406 context=None, eval_ctx=None):
421 if eval_ctx is None:
423 eval_ctx = context.eval_ctx
425 eval_ctx = EvalContext(self)
426 args.insert(0, eval_ctx)
    [all...]
filters.py 101 def do_replace(eval_ctx, s, old, new, count=None):
118 if not eval_ctx.autoescape:
291 def do_join(eval_ctx, value, d=u'', attribute=None):
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):
425 if eval_ctx.autoescape:
ext.py 139 if __context.eval_ctx.autoescape:
150 if __context.eval_ctx.autoescape:

Completed in 1170 milliseconds