Home
last modified time | relevance | path

Searched refs:pn_kind (Results 1 – 3 of 3) sorted by relevance

/AliOS-Things-master/components/py_engine/engine/py/
A Dparse.h88 size_t mp_parse_node_extract_list(mp_parse_node_t *pn, size_t pn_kind, mp_parse_node_t **nodes);
A Dcompile.c648 int pn_kind; in compile_funcdef_lambdef_param() local
650 pn_kind = -1; in compile_funcdef_lambdef_param()
653 pn_kind = MP_PARSE_NODE_STRUCT_KIND((mp_parse_node_struct_t *)pn); in compile_funcdef_lambdef_param()
656 if (pn_kind == PN_typedargslist_star || pn_kind == PN_varargslist_star) { in compile_funcdef_lambdef_param()
667 } else if (pn_kind == PN_typedargslist_dbl_star || pn_kind == PN_varargslist_dbl_star) { in compile_funcdef_lambdef_param()
674 if (pn_kind == -1) { in compile_funcdef_lambdef_param()
680 } else if (pn_kind == PN_typedargslist_name) { in compile_funcdef_lambdef_param()
689 assert(pn_kind == PN_varargslist_name); // should be in compile_funcdef_lambdef_param()
A Dparse.c348 size_t mp_parse_node_extract_list(mp_parse_node_t *pn, size_t pn_kind, mp_parse_node_t **nodes) { in mp_parse_node_extract_list() argument
357 if (MP_PARSE_NODE_STRUCT_KIND(pns) != pn_kind) { in mp_parse_node_extract_list()

Completed in 13 milliseconds