Home
last modified time | relevance | path

Searched refs:n_col_offset (Results 1 – 9 of 9) sorted by relevance

/external/python/cpython2/Python/
Dast.c285 asdl_seq_SET(stmts, 0, Pass(n->n_lineno, n->n_col_offset, in PyAST_FromNode()
634 arg = Name(arg_id, Store, LINENO(child), child->n_col_offset, in compiler_complex_args()
653 result = Tuple(args, Store, LINENO(n), n->n_col_offset, c->c_arena); in compiler_complex_args()
761 name = Name(id, Param, LINENO(ch), ch->n_col_offset, in ast_for_arguments()
814 col_offset = n->n_col_offset; in ast_for_dotted_name()
856 n->n_col_offset, c->c_arena); in ast_for_decorator()
916 n->n_col_offset, c->c_arena); in ast_for_funcdef()
944 thing->col_offset = n->n_col_offset; in ast_for_decorated()
973 return Lambda(args, expression, LINENO(n), n->n_col_offset, c->c_arena); in ast_for_lambdef()
992 return IfExp(expression, body, orelse, LINENO(n), n->n_col_offset, in ast_for_ifexpr()
[all …]
/external/python/cpython3/Python/
Dast.c667 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()
[all …]
/external/python/cpython3/Parser/
Dnode.c17 n->n_col_offset = 0; in PyNode_New()
132 n->n_col_offset = col_offset; in PyNode_AddChild()
/external/python/cpython2/Include/
Dnode.h14 int n_col_offset; member
/external/python/cpython3/Include/
Dnode.h14 int n_col_offset; member
/external/python/cpython2/Parser/
Dnode.c109 n->n_col_offset = col_offset; in PyNode_AddChild()
/external/python/cpython3/Modules/
Dparsermodule.c142 w = PyLong_FromLong(n->n_col_offset); in node2tuple()
/external/python/cpython3/Misc/NEWS.d/
D3.9.0b1.rst65 Initialize ``n->n_col_offset``. (Patch by Joannah Nanjekye)
/external/python/cpython2/Modules/
Dparsermodule.c127 (void) addelem(result, 2 + lineno, PyInt_FromLong(n->n_col_offset)); in node2tuple()