Searched refs:JoinedStr (Results 1 – 12 of 12) sorted by relevance
/third_party/python/Lib/test/ |
D | test_fstring.py | 98 self.assertEqual(type(t.body[1].value), ast.JoinedStr) 126 self.assertEqual(type(t.body[0].value), ast.JoinedStr) 130 self.assertEqual(type(t.body[1].value), ast.JoinedStr) 181 self.assertEqual(type(t.body[1].value), ast.JoinedStr) 192 self.assertEqual(type(binop.right), ast.JoinedStr) 227 self.assertEqual(type(t.body[1].value), ast.JoinedStr) 287 self.assertEqual(type(t.body[0].value), ast.JoinedStr) 322 self.assertEqual(type(t.body[1].value), ast.JoinedStr) 383 self.assertEqual(type(fstring), ast.JoinedStr)
|
D | test_unparse.py | 327 self.check_invalid(ast.JoinedStr(values=[ast.Constant(value=100)]))
|
/third_party/python/Parser/ |
D | Python.asdl | 78 | JoinedStr(expr* values)
|
/third_party/python/Tools/i18n/ |
D | pygettext.py | 350 if not isinstance(maybe_fstring, ast.JoinedStr):
|
/third_party/python/Doc/library/ |
D | ast.rst | 170 isolated otherwise it appears in :class:`JoinedStr`. 181 * ``format_spec`` is a :class:`JoinedStr` node representing the formatting 186 .. class:: JoinedStr(values) 195 body=JoinedStr( 209 format_spec=JoinedStr(
|
/third_party/python/Include/internal/ |
D | pycore_ast.h | 437 } JoinedStr; member
|
/third_party/python/Python/ |
D | ast_unparse.c | 646 PyObject *body = build_fstring_body(e->v.JoinedStr.values, is_format_spec); in append_joinedstr()
|
D | ast_opt.c | 567 CALL_SEQ(astfold_expr, expr, node_->v.JoinedStr.values); in astfold_expr()
|
D | ast.c | 322 ret = validate_exprs(state, exp->v.JoinedStr.values, Load, 0); in validate_expr()
|
D | compile.c | 4312 Py_ssize_t value_count = asdl_seq_LEN(e->v.JoinedStr.values); in compiler_joined_str() 4322 for (Py_ssize_t i = 0; i < asdl_seq_LEN(e->v.JoinedStr.values); i++) { in compiler_joined_str() 4323 VISIT(c, expr, asdl_seq_GET(e->v.JoinedStr.values, i)); in compiler_joined_str() 4329 VISIT_SEQ(c, expr, e->v.JoinedStr.values); in compiler_joined_str() 4330 if (asdl_seq_LEN(e->v.JoinedStr.values) != 1) { in compiler_joined_str() 4331 ADDOP_I(c, BUILD_STRING, asdl_seq_LEN(e->v.JoinedStr.values)); in compiler_joined_str()
|
D | symtable.c | 1694 VISIT_SEQ(st, expr, e->v.JoinedStr.values); in symtable_visit_expr()
|
D | Python-ast.c | 3000 p->v.JoinedStr.values = values; in _PyAST_JoinedStr() 4478 value = ast2obj_list(state, (asdl_seq*)o->v.JoinedStr.values, in ast2obj_expr()
|