Home
last modified time | relevance | path

Searched refs:JoinedStr (Results 1 – 10 of 10) sorted by relevance

/external/python/cpython3/Lib/test/
Dtest_fstring.py85 self.assertEqual(type(t.body[1].value), ast.JoinedStr)
113 self.assertEqual(type(t.body[0].value), ast.JoinedStr)
117 self.assertEqual(type(t.body[1].value), ast.JoinedStr)
166 self.assertEqual(type(t.body[1].value), ast.JoinedStr)
177 self.assertEqual(type(binop.right), ast.JoinedStr)
215 self.assertEqual(type(t.body[1].value), ast.JoinedStr)
288 self.assertEqual(type(t.body[1].value), ast.JoinedStr)
/external/python/cpython3/Parser/
DPython.asdl81 | JoinedStr(expr* values)
/external/python/cpython3/Include/
DPython-ast.h316 } JoinedStr; member
576 #define JoinedStr(a0, a1, a2, a3) _Py_JoinedStr(a0, a1, a2, a3) macro
/external/tensorflow/tensorflow/tools/compatibility/
Dtf_upgrade_v2.py1703 allowed_types += [ast.JoinedStr]
/external/python/cpython3/Python/
Dast_unparse.c615 PyObject *body = build_fstring_body(e->v.JoinedStr.values, is_format_spec); in append_joinedstr()
Dast_opt.c589 CALL_SEQ(astfold_expr, expr_ty, node_->v.JoinedStr.values); in astfold_expr()
Dcompile.c3584 VISIT_SEQ(c, expr, e->v.JoinedStr.values); in compiler_joined_str()
3585 if (asdl_seq_LEN(e->v.JoinedStr.values) != 1) in compiler_joined_str()
3586 ADDOP_I(c, BUILD_STRING, asdl_seq_LEN(e->v.JoinedStr.values)); in compiler_joined_str()
Dsymtable.c1465 VISIT_SEQ(st, expr, e->v.JoinedStr.values); in symtable_visit_expr()
DPython-ast.c2153 JoinedStr(asdl_seq * values, int lineno, int col_offset, PyArena *arena) in JoinedStr() function
2160 p->v.JoinedStr.values = values; in JoinedStr()
3332 value = ast2obj_list(o->v.JoinedStr.values, ast2obj_expr); in ast2obj_expr()
6747 *out = JoinedStr(values, lineno, col_offset, arena); in obj2ast_expr()
Dast.c316 return validate_exprs(exp->v.JoinedStr.values, Load, 0); in validate_expr()
5050 return JoinedStr(seq, LINENO(n), n->n_col_offset, c->c_arena); in FstringParser_Finish()