Home
last modified time | relevance | path

Searched refs:n_col_offset (Results 1 – 8 of 8) 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.c686 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()
[all …]
/external/python/cpython2/Include/
Dnode.h14 int n_col_offset; member
/external/python/cpython3/Include/
Dnode.h14 int n_col_offset; member
/external/python/cpython3/Parser/
Dnode.c109 n->n_col_offset = col_offset; in PyNode_AddChild()
/external/python/cpython2/Parser/
Dnode.c109 n->n_col_offset = col_offset; in PyNode_AddChild()
/external/python/cpython3/Modules/
Dparsermodule.c146 w = PyLong_FromLong(n->n_col_offset); in node2tuple()
/external/python/cpython2/Modules/
Dparsermodule.c127 (void) addelem(result, 2 + lineno, PyInt_FromLong(n->n_col_offset)); in node2tuple()