Lines Matching refs:n_col_offset
667 tmp = Py_BuildValue("(OiiN)", c->c_filename, LINENO(n), n->n_col_offset + 1, loc); in ast_error()
851 asdl_seq_SET(stmts, 0, Pass(n->n_lineno, n->n_col_offset, in PyAST_FromNodeObject()
1027 e->col_offset = n->n_col_offset; in copy_location()
1326 ret = arg(name, annotation, NULL, LINENO(n), n->n_col_offset, in ast_for_arg()
1385 arg = arg(argname, annotation, NULL, LINENO(ch), ch->n_col_offset, in handle_keywordonly_args()
1777 … LINENO(n0), n0->n_col_offset, end_lineno, end_col_offset, c->c_arena); in ast_for_funcdef_impl()
1780 LINENO(n), n->n_col_offset, end_lineno, end_col_offset, c->c_arena); in ast_for_funcdef_impl()
1889 return NamedExpr(target, value, LINENO(n), n->n_col_offset, n->n_end_lineno, in ast_for_namedexpr()
1918 return Lambda(args, expression, LINENO(n), n->n_col_offset, in ast_for_lambdef()
1938 return IfExp(expression, body, orelse, LINENO(n), n->n_col_offset, in ast_for_ifexpr()
2140 return GeneratorExp(elt, comps, LINENO(n), n->n_col_offset, in ast_for_itercomp()
2143 return ListComp(elt, comps, LINENO(n), n->n_col_offset, in ast_for_itercomp()
2146 return SetComp(elt, comps, LINENO(n), n->n_col_offset, in ast_for_itercomp()
2209 return DictComp(key, value, comps, LINENO(n), n->n_col_offset, in ast_for_dictcomp()
2243 return Dict(keys, values, LINENO(n), n->n_col_offset, in ast_for_dictdisplay()
2287 return Set(elts, LINENO(n), n->n_col_offset, in ast_for_setdisplay()
2307 return Constant(Py_None, NULL, LINENO(n), n->n_col_offset, in ast_for_atom()
2310 return Constant(Py_True, NULL, LINENO(n), n->n_col_offset, in ast_for_atom()
2313 return Constant(Py_False, NULL, LINENO(n), n->n_col_offset, in ast_for_atom()
2320 return Name(name, Load, LINENO(n), n->n_col_offset, in ast_for_atom()
2368 return Constant(pynum, NULL, LINENO(n), n->n_col_offset, in ast_for_atom()
2372 return Constant(Py_Ellipsis, NULL, LINENO(n), n->n_col_offset, in ast_for_atom()
2378 return Tuple(NULL, Load, LINENO(n), n->n_col_offset, in ast_for_atom()
2399 return List(NULL, Load, LINENO(n), n->n_col_offset, in ast_for_atom()
2408 return List(elts, Load, LINENO(n), n->n_col_offset, in ast_for_atom()
2423 return Dict(NULL, NULL, LINENO(n), n->n_col_offset, in ast_for_atom()
2518 return Slice(lower, upper, step, LINENO(n), n->n_col_offset, in ast_for_slice()
2546 result = BinOp(expr1, newoperator, expr2, LINENO(n), n->n_col_offset, in ast_for_binop()
2566 LINENO(n), n->n_col_offset, in ast_for_binop()
2588 return Call(left_expr, NULL, NULL, LINENO(start), start->n_col_offset, in ast_for_trailer()
2599 LINENO(start), start->n_col_offset, in ast_for_trailer()
2610 return Subscript(left_expr, slc, Load, LINENO(start), start->n_col_offset, in ast_for_trailer()
2627 e = Tuple(elts, Load, LINENO(n), n->n_col_offset, in ast_for_trailer()
2633 Load, LINENO(start), start->n_col_offset, in ast_for_trailer()
2651 return UnaryOp(UAdd, expression, LINENO(n), n->n_col_offset, in ast_for_factor()
2655 return UnaryOp(USub, expression, LINENO(n), n->n_col_offset, in ast_for_factor()
2659 return UnaryOp(Invert, expression, LINENO(n), n->n_col_offset, in ast_for_factor()
2693 return Await(e, LINENO(n), n->n_col_offset, in ast_for_atom_expr()
2708 return Await(e, LINENO(n), n->n_col_offset, in ast_for_atom_expr()
2732 e = BinOp(e, Pow, f, LINENO(n), n->n_col_offset, in ast_for_power()
2749 return Starred(tmp, Load, LINENO(n), n->n_col_offset, in ast_for_starred()
2813 return BoolOp(And, seq, LINENO(n), n->n_col_offset, in ast_for_expr()
2817 return BoolOp(Or, seq, LINENO(n), n->n_col_offset, in ast_for_expr()
2829 return UnaryOp(Not, expression, LINENO(n), n->n_col_offset, in ast_for_expr()
2870 return Compare(expression, ops, cmps, LINENO(n), n->n_col_offset, in ast_for_expr()
2910 return YieldFrom(exp, LINENO(n), n->n_col_offset, in ast_for_expr()
2912 return Yield(exp, LINENO(n), n->n_col_offset, in ast_for_expr()
3024 chch->n_col_offset, in ast_for_call()
3039 kw = keyword(NULL, e, chch->n_lineno, chch->n_col_offset, in ast_for_call()
3121 kw = keyword(key, e, chch->n_lineno, chch->n_col_offset, in ast_for_call()
3131 return Call(func, args, keywords, LINENO(start), start->n_col_offset, in ast_for_call()
3155 return Tuple(tmp, Load, LINENO(n), n->n_col_offset, in ast_for_testlist()
3179 return Expr(e, LINENO(n), n->n_col_offset, in ast_for_expr_stmt()
3221 return AugAssign(expr1, newoperator, expr2, LINENO(n), n->n_col_offset, in ast_for_expr_stmt()
3289 LINENO(n), n->n_col_offset, in ast_for_expr_stmt()
3304 LINENO(n), n->n_col_offset, in ast_for_expr_stmt()
3355 return Assign(targets, expression, type_comment, LINENO(n), n->n_col_offset, in ast_for_expr_stmt()
3395 return Delete(expr_list, LINENO(n), n->n_col_offset, in ast_for_del_stmt()
3418 return Break(LINENO(n), n->n_col_offset, in ast_for_flow_stmt()
3421 return Continue(LINENO(n), n->n_col_offset, in ast_for_flow_stmt()
3427 return Expr(exp, LINENO(n), n->n_col_offset, in ast_for_flow_stmt()
3432 return Return(NULL, LINENO(n), n->n_col_offset, in ast_for_flow_stmt()
3438 return Return(expression, LINENO(n), n->n_col_offset, in ast_for_flow_stmt()
3443 return Raise(NULL, NULL, LINENO(n), n->n_col_offset, in ast_for_flow_stmt()
3455 return Raise(expression, cause, LINENO(n), n->n_col_offset, in ast_for_flow_stmt()
3598 col_offset = n->n_col_offset; in ast_for_import_stmt()
3718 return Global(s, LINENO(n), n->n_col_offset, in ast_for_global_stmt()
3740 return Nonlocal(s, LINENO(n), n->n_col_offset, in ast_for_nonlocal_stmt()
3753 return Assert(expression, NULL, LINENO(n), n->n_col_offset, in ast_for_assert_stmt()
3766 return Assert(expr1, expr2, LINENO(n), n->n_col_offset, in ast_for_assert_stmt()
3883 return If(expression, suite_seq, NULL, LINENO(n), n->n_col_offset, in ast_for_if_stmt()
3907 return If(expression, seq1, seq2, LINENO(n), n->n_col_offset, in ast_for_if_stmt()
3945 CHILD(n, NCH(n) - 7)->n_col_offset, in ast_for_if_stmt()
3971 CHILD(n, off - 1)->n_col_offset, in ast_for_if_stmt()
3983 LINENO(n), n->n_col_offset, in ast_for_if_stmt()
4010 return While(expression, suite_seq, NULL, LINENO(n), n->n_col_offset, in ast_for_while_stmt()
4028 return While(expression, seq1, seq2, LINENO(n), n->n_col_offset, in ast_for_while_stmt()
4104 LINENO(n0), n0->n_col_offset, in ast_for_for_stmt()
4108 LINENO(n), n->n_col_offset, in ast_for_for_stmt()
4127 exc->n_col_offset, in ast_for_except_clause()
4143 exc->n_col_offset, in ast_for_except_clause()
4163 exc->n_col_offset, in ast_for_except_clause()
4247 return Try(body, handlers, orelse, finally, LINENO(n), n->n_col_offset, in ast_for_try_stmt()
4320 return AsyncWith(items, body, type_comment, LINENO(n0), n0->n_col_offset, in ast_for_with_stmt()
4323 return With(items, body, type_comment, LINENO(n), n->n_col_offset, in ast_for_with_stmt()
4350 LINENO(n), n->n_col_offset, in ast_for_classdef()
4366 LINENO(n), n->n_col_offset, in ast_for_classdef()
4378 dummy = Name(dummy_name, Load, LINENO(n), n->n_col_offset, in ast_for_classdef()
4398 decorator_seq, LINENO(n), n->n_col_offset, in ast_for_classdef()
4424 return Pass(LINENO(n), n->n_col_offset, in ast_for_stmt()
4681 n->n_col_offset = n->n_col_offset + col_offset; in fstring_shift_node_locations()
4706 int cols = parent->n_col_offset; in fstring_fix_node_location()
5168 n->n_col_offset, n->n_end_lineno, in fstring_find_expr()
5460 return Constant(s, kind, LINENO(n), n->n_col_offset, in make_str_node_and_del()
5609 return JoinedStr(seq, LINENO(n), n->n_col_offset, in FstringParser_Finish()
5828 return Constant(bytes_str, NULL, LINENO(n), n->n_col_offset, in parsestrplus()