Home
last modified time | relevance | path

Searched refs:parse_expression (Results 1 – 25 of 26) sorted by relevance

12

/external/tensorflow/tensorflow/python/autograph/core/
Dconverter_test.py79 'test_arg': parser.parse_expression('foo'),
80 'other_arg': parser.parse_expression('bar'),
100 parser.parse_expression('default'))
118 'test_arg': parser.parse_expression('foo'),
119 'other_arg': parser.parse_expression('bar'),
122 'test_arg': parser.parse_expression('foo'),
123 'other_arg': parser.parse_expression('baz'),
145 'test_arg': parser.parse_expression('foo'),
148 'test_arg': parser.parse_expression('bar'),
Dconverter.py205 return parser.parse_expression('ag__.STD')
216 return parser.parse_expression('({})'.format(', '.join(
221 recursive_val=parser.parse_expression(str(self.recursive)),
222 user_requested_val=parser.parse_expression(str(self.user_requested)),
223 internal_convert_user_code_val=parser.parse_expression(
/external/tensorflow/tensorflow/python/autograph/pyct/
Dtemplates_test.py43 ast_node = parser.parse_expression(expr_source)
162 foo=parser.parse_expression('a.b.c'))[0]
173 node = templates.replace(template, foo=parser.parse_expression('[a, b]'))[0]
184 node = templates.replace(template, foo=parser.parse_expression('(a, b)'))[0]
196 template, foo=parser.parse_expression('a + 2 * b / -c'))[0]
207 template, foo=parser.parse_expression('bar(([a, b],)).baz'))[0]
221 template, foo=parser.parse_expression('foo(a[b]).bar'))[0]
234 source = parser.parse_expression('f(d=3, f=5)')
254 source = parser.parse_expression('f()(b)')
265 source = parser.parse_expression('{\'bar\': 3}')
[all …]
Dast_util_test.py125 keywords = parser.parse_expression('f(a=b, c=1, d=\'e\')').keywords
135 node = parser.parse_expression(target_str)
136 pattern = parser.parse_expression(pattern_str)
140 node = parser.parse_expression(target_str)
141 pattern = parser.parse_expression(pattern_str)
Dtranspiler.py294 args.defaults[i] = parser.parse_expression('None')
297 args.kw_defaults[i] = parser.parse_expression('None')
Dqual_names.py274 node = parser.parse_expression(qn_str)
Dparser.py347 def parse_expression(src): function
Dparser_test.py334 node = parser.parse_expression('a.b')
Dast_util.py276 idx = parser.parse_expression(str(i))
/external/libchrome/third_party/jinja2/
Dparser.py197 test = self.parse_expression()
239 values.append(self.parse_expression())
249 nodes.Keyword('autoescape', self.parse_expression())
274 node.template = self.parse_expression()
288 node.template = self.parse_expression()
299 node.template = self.parse_expression()
306 node.template = self.parse_expression()
352 defaults.append(self.parse_expression())
366 node.call = self.parse_expression()
393 node.nodes.append(self.parse_expression())
[all …]
Dext.py246 variables[name.value] = var = parser.parse_expression()
Denvironment.py624 expr = parser.parse_expression()
/external/python/jinja/src/jinja2/
Dparser.py204 test = self.parse_expression()
242 values.append(self.parse_expression())
250 node.options = [nodes.Keyword("autoescape", self.parse_expression())]
274 node.template = self.parse_expression()
289 node.template = self.parse_expression()
301 node.template = self.parse_expression()
308 node.template = self.parse_expression()
358 defaults.append(self.parse_expression())
372 node.call = self.parse_expression()
397 node.nodes.append(self.parse_expression())
[all …]
Dext.py256 variables[name.value] = var = parser.parse_expression()
/external/python/jinja/docs/examples/
Dcache_extension.py23 args = [parser.parse_expression()]
28 args.append(parser.parse_expression())
/external/swiftshader/third_party/llvm-subzero/lib/Demangle/
DItaniumDemangle.cpp47 static const char *parse_expression(const char *first, const char *last, C &db);
508 const char *t1 = parse_expression(t, last, db); in parse_const_cast_expr()
534 const char *t1 = parse_expression(t, last, db); in parse_dynamic_cast_expr()
560 const char *t1 = parse_expression(t, last, db); in parse_reinterpret_cast_expr()
586 const char *t1 = parse_expression(t, last, db); in parse_static_cast_expr()
607 const char *t = parse_expression(first + 2, last, db); in parse_pack_expansion()
637 const char *t = parse_expression(first + 2, last, db); in parse_sizeof_expr_expr()
745 t = parse_expression(first + 2, last, db); in parse_typeid_expr()
764 const char *t = parse_expression(first + 2, last, db); in parse_throw_expr()
781 const char *t = parse_expression(first + 2, last, db); in parse_dot_star_expr()
[all …]
/external/tensorflow/tensorflow/python/autograph/converters/
Dlogical_expressions.py67 func_name=parser.parse_expression(func_name),
81 'func_name(arg)', func_name=parser.parse_expression(func_name), arg=arg)
Dfunctions.py103 parser.parse_expression('ag__.autograph_artifact'))
Dcall_trees.py158 return parser.parse_expression('None')
Dlists.py158 pop_element = parser.parse_expression('None')
Dreturn_statements.py234 retval = node.value if node.value else parser.parse_expression('None')
Dcontrol_flow.py351 extra_test_name = parser.parse_expression('None')
Dcontrol_flow_deprecated_py2.py520 extra_test_name = parser.parse_expression('None')
/external/python/jinja/tests/
Dtest_ext.py419 expr = parser.parse_expression()
/external/python/jinja/docs/
Dextensions.rst338 :members: parse_expression, parse_tuple, parse_assign_target,

12