OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:eval_ctx
(Results
1 - 10
of
10
) sorted by null
/external/libchrome/third_party/jinja2/
nodes.py
397
def as_const(self,
eval_ctx
=None):
406
the `
eval_ctx
` parameter was added.
421
def as_const(self,
eval_ctx
=None):
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):
441
eval_ctx
= get_eval_context(self,
eval_ctx
)
[
all
...]
optimizer.py
35
def fold(self, node,
eval_ctx
=None):
39
return nodes.Const.from_untrusted(node.as_const(
eval_ctx
),
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):
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:
331
self.writeline('if context.
eval_ctx
.autoescape:')
340
elif frame.
eval_ctx
.autoescape
[
all
...]
asyncfilters.py
78
async def do_join(
eval_ctx
, value, d=u'', attribute=None):
79
return filters.do_join(
eval_ctx
, await auto_to_seq(value), d, attribute)
nativetypes.py
80
const = child.as_const(frame.
eval_ctx
)
90
if frame.
eval_ctx
.autoescape:
182
self.write('context.
eval_ctx
, ')
filters.py
116
def do_replace(
eval_ctx
, s, old, new, count=None):
133
if not
eval_ctx
.autoescape:
378
def do_join(
eval_ctx
, value, d=u'', attribute=None):
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,
522
policies =
eval_ctx
.environment.policies
531
if
eval_ctx
.autoescape:
1047
def do_tojson(
eval_ctx
, value, indent=None):
1072
policies =
eval_ctx
.environment.policie
[
all
...]
environment.py
439
context=None,
eval_ctx
=None):
459
if
eval_ctx
is None:
461
eval_ctx
= context.
eval_ctx
463
eval_ctx
= EvalContext(self)
464
args.insert(0,
eval_ctx
)
[
all
...]
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:
ext.py
141
if __context.
eval_ctx
.autoescape:
152
if __context.
eval_ctx
.autoescape:
asyncsupport.py
86
if self._context.
eval_ctx
.autoescape:
Completed in 116 milliseconds