Lines Matching refs:n_col_offset

686     tmp = Py_BuildValue("(OiiN)", c->c_filename, LINENO(n), n->n_col_offset, loc);  in ast_error()
832 asdl_seq_SET(stmts, 0, Pass(n->n_lineno, n->n_col_offset, in PyAST_FromNodeObject()
1237 ret = arg(name, annotation, LINENO(n), n->n_col_offset, c->c_arena); in ast_for_arg()
1295 arg = arg(argname, annotation, LINENO(ch), ch->n_col_offset, in handle_keywordonly_args()
1493 col_offset = n->n_col_offset; in ast_for_dotted_name()
1535 n->n_col_offset, c->c_arena); in ast_for_decorator()
1605 LINENO(n0), n0->n_col_offset, c->c_arena); in ast_for_funcdef_impl()
1608 LINENO(n), n->n_col_offset, c->c_arena); in ast_for_funcdef_impl()
1689 thing->col_offset = n->n_col_offset; in ast_for_decorated()
1719 return Lambda(args, expression, LINENO(n), n->n_col_offset, c->c_arena); in ast_for_lambdef()
1738 return IfExp(expression, body, orelse, LINENO(n), n->n_col_offset, in ast_for_ifexpr()
1933 return GeneratorExp(elt, comps, LINENO(n), n->n_col_offset, c->c_arena); in ast_for_itercomp()
1935 return ListComp(elt, comps, LINENO(n), n->n_col_offset, c->c_arena); in ast_for_itercomp()
1937 return SetComp(elt, comps, LINENO(n), n->n_col_offset, c->c_arena); in ast_for_itercomp()
1999 return DictComp(key, value, comps, LINENO(n), n->n_col_offset, c->c_arena); in ast_for_dictcomp()
2032 return Dict(keys, values, LINENO(n), n->n_col_offset, c->c_arena); in ast_for_dictdisplay()
2075 return Set(elts, LINENO(n), n->n_col_offset, c->c_arena); in ast_for_setdisplay()
2094 return NameConstant(Py_None, LINENO(n), n->n_col_offset, c->c_arena); in ast_for_atom()
2096 return NameConstant(Py_True, LINENO(n), n->n_col_offset, c->c_arena); in ast_for_atom()
2098 return NameConstant(Py_False, LINENO(n), n->n_col_offset, c->c_arena); in ast_for_atom()
2104 return Name(name, Load, LINENO(n), n->n_col_offset, c->c_arena); in ast_for_atom()
2147 return Num(pynum, LINENO(n), n->n_col_offset, c->c_arena); in ast_for_atom()
2150 return Ellipsis(LINENO(n), n->n_col_offset, c->c_arena); in ast_for_atom()
2155 return Tuple(NULL, Load, LINENO(n), n->n_col_offset, c->c_arena); in ast_for_atom()
2169 return List(NULL, Load, LINENO(n), n->n_col_offset, c->c_arena); in ast_for_atom()
2177 return List(elts, Load, LINENO(n), n->n_col_offset, c->c_arena); in ast_for_atom()
2190 return Dict(NULL, NULL, LINENO(n), n->n_col_offset, c->c_arena); in ast_for_atom()
2221 res->col_offset = n->n_col_offset; in ast_for_atom()
2321 result = BinOp(expr1, newoperator, expr2, LINENO(n), n->n_col_offset, in ast_for_binop()
2340 LINENO(next_oper), next_oper->n_col_offset, in ast_for_binop()
2360 n->n_col_offset, c->c_arena); in ast_for_trailer()
2369 LINENO(n), n->n_col_offset, c->c_arena); in ast_for_trailer()
2379 return Subscript(left_expr, slc, Load, LINENO(n), n->n_col_offset, in ast_for_trailer()
2405 Load, LINENO(n), n->n_col_offset, c->c_arena); in ast_for_trailer()
2416 e = Tuple(elts, Load, LINENO(n), n->n_col_offset, c->c_arena); in ast_for_trailer()
2420 Load, LINENO(n), n->n_col_offset, c->c_arena); in ast_for_trailer()
2436 return UnaryOp(UAdd, expression, LINENO(n), n->n_col_offset, in ast_for_factor()
2439 return UnaryOp(USub, expression, LINENO(n), n->n_col_offset, in ast_for_factor()
2443 n->n_col_offset, c->c_arena); in ast_for_factor()
2470 return Await(e, LINENO(n), n->n_col_offset, c->c_arena); in ast_for_atom_expr()
2487 return Await(e, LINENO(n), n->n_col_offset, c->c_arena); in ast_for_atom_expr()
2510 e = BinOp(e, Pow, f, LINENO(n), n->n_col_offset, c->c_arena); in ast_for_power()
2526 return Starred(tmp, Load, LINENO(n), n->n_col_offset, c->c_arena); in ast_for_starred()
2584 return BoolOp(And, seq, LINENO(n), n->n_col_offset, in ast_for_expr()
2587 return BoolOp(Or, seq, LINENO(n), n->n_col_offset, c->c_arena); in ast_for_expr()
2598 return UnaryOp(Not, expression, LINENO(n), n->n_col_offset, in ast_for_expr()
2639 n->n_col_offset, c->c_arena); in ast_for_expr()
2679 return YieldFrom(exp, LINENO(n), n->n_col_offset, c->c_arena); in ast_for_expr()
2680 return Yield(exp, LINENO(n), n->n_col_offset, c->c_arena); in ast_for_expr()
2787 chch->n_col_offset, in ast_for_call()
2883 return Tuple(tmp, Load, LINENO(n), n->n_col_offset, c->c_arena); in ast_for_testlist()
2905 return Expr(e, LINENO(n), n->n_col_offset, c->c_arena); in ast_for_expr_stmt()
2943 return AugAssign(expr1, newoperator, expr2, LINENO(n), n->n_col_offset, c->c_arena); in ast_for_expr_stmt()
3003 LINENO(n), n->n_col_offset, c->c_arena); in ast_for_expr_stmt()
3012 LINENO(n), n->n_col_offset, c->c_arena); in ast_for_expr_stmt()
3050 return Assign(targets, expression, LINENO(n), n->n_col_offset, c->c_arena); in ast_for_expr_stmt()
3089 return Delete(expr_list, LINENO(n), n->n_col_offset, c->c_arena); in ast_for_del_stmt()
3111 return Break(LINENO(n), n->n_col_offset, c->c_arena); in ast_for_flow_stmt()
3113 return Continue(LINENO(n), n->n_col_offset, c->c_arena); in ast_for_flow_stmt()
3118 return Expr(exp, LINENO(n), n->n_col_offset, c->c_arena); in ast_for_flow_stmt()
3122 return Return(NULL, LINENO(n), n->n_col_offset, c->c_arena); in ast_for_flow_stmt()
3127 return Return(expression, LINENO(n), n->n_col_offset, c->c_arena); in ast_for_flow_stmt()
3131 return Raise(NULL, NULL, LINENO(n), n->n_col_offset, c->c_arena); in ast_for_flow_stmt()
3142 return Raise(expression, cause, LINENO(n), n->n_col_offset, c->c_arena); in ast_for_flow_stmt()
3289 col_offset = n->n_col_offset; in ast_for_import_stmt()
3404 return Global(s, LINENO(n), n->n_col_offset, c->c_arena); in ast_for_global_stmt()
3425 return Nonlocal(s, LINENO(n), n->n_col_offset, c->c_arena); in ast_for_nonlocal_stmt()
3437 return Assert(expression, NULL, LINENO(n), n->n_col_offset, c->c_arena); in ast_for_assert_stmt()
3449 return Assert(expr1, expr2, LINENO(n), n->n_col_offset, c->c_arena); in ast_for_assert_stmt()
3544 return If(expression, suite_seq, NULL, LINENO(n), n->n_col_offset, in ast_for_if_stmt()
3567 return If(expression, seq1, seq2, LINENO(n), n->n_col_offset, in ast_for_if_stmt()
3604 CHILD(n, NCH(n) - 6)->n_col_offset, in ast_for_if_stmt()
3625 CHILD(n, off)->n_col_offset, c->c_arena)); in ast_for_if_stmt()
3635 LINENO(n), n->n_col_offset, c->c_arena); in ast_for_if_stmt()
3659 return While(expression, suite_seq, NULL, LINENO(n), n->n_col_offset, c->c_arena); in ast_for_while_stmt()
3675 return While(expression, seq1, seq2, LINENO(n), n->n_col_offset, c->c_arena); in ast_for_while_stmt()
3722 LINENO(n0), n0->n_col_offset, in ast_for_for_stmt()
3726 LINENO(n), n->n_col_offset, in ast_for_for_stmt()
3743 exc->n_col_offset, c->c_arena); in ast_for_except_clause()
3757 exc->n_col_offset, c->c_arena); in ast_for_except_clause()
3775 exc->n_col_offset, c->c_arena); in ast_for_except_clause()
3845 return Try(body, handlers, orelse, finally, LINENO(n), n->n_col_offset, c->c_arena); in ast_for_try_stmt()
3898 return AsyncWith(items, body, LINENO(n0), n0->n_col_offset, c->c_arena); in ast_for_with_stmt()
3900 return With(items, body, LINENO(n), n->n_col_offset, c->c_arena); in ast_for_with_stmt()
3923 LINENO(n), n->n_col_offset, c->c_arena); in ast_for_classdef()
3936 LINENO(n), n->n_col_offset, c->c_arena); in ast_for_classdef()
3947 dummy = Name(dummy_name, Load, LINENO(n), n->n_col_offset, c->c_arena); in ast_for_classdef()
3962 decorator_seq, LINENO(n), n->n_col_offset, c->c_arena); in ast_for_classdef()
3987 return Pass(LINENO(n), n->n_col_offset, c->c_arena); in ast_for_stmt()
4249 n->n_col_offset = n->n_col_offset + col_offset; in fstring_shift_node_locations()
4272 int cols = parent->n_col_offset; in fstring_fix_node_location()
4648 format_spec, LINENO(n), n->n_col_offset, in fstring_find_expr()
4895 return Str(s, LINENO(n), n->n_col_offset, c->c_arena); in make_str_node_and_del()
5050 return JoinedStr(seq, LINENO(n), n->n_col_offset, c->c_arena); in FstringParser_Finish()
5260 return Bytes(bytes_str, LINENO(n), n->n_col_offset, c->c_arena); in parsestrplus()