Home
last modified time | relevance | path

Searched refs:FunctionDef (Results 1 – 13 of 13) sorted by relevance

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/
Dsymtable.c1003 if (!symtable_add_def(st, s->v.FunctionDef.name, DEF_LOCAL)) in symtable_visit_stmt()
1005 if (s->v.FunctionDef.args->defaults) in symtable_visit_stmt()
1006 VISIT_SEQ(st, expr, s->v.FunctionDef.args->defaults); in symtable_visit_stmt()
1007 if (s->v.FunctionDef.decorator_list) in symtable_visit_stmt()
1008 VISIT_SEQ(st, expr, s->v.FunctionDef.decorator_list); in symtable_visit_stmt()
1009 if (!symtable_enter_block(st, s->v.FunctionDef.name, in symtable_visit_stmt()
1012 VISIT_IN_BLOCK(st, arguments, s->v.FunctionDef.args, s); in symtable_visit_stmt()
1013 VISIT_SEQ_IN_BLOCK(st, stmt, s->v.FunctionDef.body, s); in symtable_visit_stmt()
Dcompile.c1365 arguments_ty args = s->v.FunctionDef.args; in compiler_function()
1366 asdl_seq* decos = s->v.FunctionDef.decorator_list; in compiler_function()
1376 if (!compiler_enter_scope(c, s->v.FunctionDef.name, (void *)s, in compiler_function()
1380 st = (stmt_ty)asdl_seq_GET(s->v.FunctionDef.body, 0); in compiler_function()
1393 n = asdl_seq_LEN(s->v.FunctionDef.body); in compiler_function()
1396 st = (stmt_ty)asdl_seq_GET(s->v.FunctionDef.body, i); in compiler_function()
1411 return compiler_nameop(c, s->v.FunctionDef.name, Store); in compiler_function()
DPython-ast.c1024 FunctionDef(identifier name, arguments_ty args, asdl_seq * body, asdl_seq * in FunctionDef() function
1042 p->v.FunctionDef.name = name; in FunctionDef()
1043 p->v.FunctionDef.args = args; in FunctionDef()
1044 p->v.FunctionDef.body = body; in FunctionDef()
1045 p->v.FunctionDef.decorator_list = decorator_list; in FunctionDef()
2185 value = ast2obj_identifier(o->v.FunctionDef.name); in ast2obj_stmt()
2190 value = ast2obj_arguments(o->v.FunctionDef.args); in ast2obj_stmt()
2195 value = ast2obj_list(o->v.FunctionDef.body, ast2obj_stmt); in ast2obj_stmt()
2200 value = ast2obj_list(o->v.FunctionDef.decorator_list, in ast2obj_stmt()
3574 *out = FunctionDef(name, args, body, decorator_list, lineno, in obj2ast_stmt()
Dast.c915 return FunctionDef(name, args, body, decorator_seq, LINENO(n), in ast_for_funcdef()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Python/
Dsymtable.c1005 if (!symtable_add_def(st, s->v.FunctionDef.name, DEF_LOCAL)) in symtable_visit_stmt()
1007 if (s->v.FunctionDef.args->defaults) in symtable_visit_stmt()
1008 VISIT_SEQ(st, expr, s->v.FunctionDef.args->defaults); in symtable_visit_stmt()
1009 if (s->v.FunctionDef.decorator_list) in symtable_visit_stmt()
1010 VISIT_SEQ(st, expr, s->v.FunctionDef.decorator_list); in symtable_visit_stmt()
1011 if (!symtable_enter_block(st, s->v.FunctionDef.name, in symtable_visit_stmt()
1014 VISIT_IN_BLOCK(st, arguments, s->v.FunctionDef.args, s); in symtable_visit_stmt()
1015 VISIT_SEQ_IN_BLOCK(st, stmt, s->v.FunctionDef.body, s); in symtable_visit_stmt()
Dcompile.c1388 arguments_ty args = s->v.FunctionDef.args; in compiler_function()
1389 asdl_seq* decos = s->v.FunctionDef.decorator_list; in compiler_function()
1399 if (!compiler_enter_scope(c, s->v.FunctionDef.name, (void *)s, in compiler_function()
1403 st = (stmt_ty)asdl_seq_GET(s->v.FunctionDef.body, 0); in compiler_function()
1416 n = asdl_seq_LEN(s->v.FunctionDef.body); in compiler_function()
1419 st = (stmt_ty)asdl_seq_GET(s->v.FunctionDef.body, i); in compiler_function()
1434 return compiler_nameop(c, s->v.FunctionDef.name, Store); in compiler_function()
DPython-ast.c1041 FunctionDef(identifier name, arguments_ty args, asdl_seq * body, asdl_seq * in FunctionDef() function
1059 p->v.FunctionDef.name = name; in FunctionDef()
1060 p->v.FunctionDef.args = args; in FunctionDef()
1061 p->v.FunctionDef.body = body; in FunctionDef()
1062 p->v.FunctionDef.decorator_list = decorator_list; in FunctionDef()
2202 value = ast2obj_identifier(o->v.FunctionDef.name); in ast2obj_stmt()
2207 value = ast2obj_arguments(o->v.FunctionDef.args); in ast2obj_stmt()
2212 value = ast2obj_list(o->v.FunctionDef.body, ast2obj_stmt); in ast2obj_stmt()
2217 value = ast2obj_list(o->v.FunctionDef.decorator_list, in ast2obj_stmt()
3591 *out = FunctionDef(name, args, body, decorator_list, lineno, in obj2ast_stmt()
Dast.c915 return FunctionDef(name, args, body, decorator_seq, LINENO(n), in ast_for_funcdef()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Dast.py193 if not isinstance(node, (FunctionDef, ClassDef, Module)):
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
Dast.py193 if not isinstance(node, (FunctionDef, ClassDef, Module)):
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Parser/
DPython.asdl12 stmt = FunctionDef(identifier name, arguments args,
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Include/
DPython-ast.h77 } FunctionDef; member
383 #define FunctionDef(a0, a1, a2, a3, a4, a5, a6) _Py_FunctionDef(a0, a1, a2, a3, a4, a5, a6) macro
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Include/
DPython-ast.h77 } FunctionDef; member
383 #define FunctionDef(a0, a1, a2, a3, a4, a5, a6) _Py_FunctionDef(a0, a1, a2, a3, a4, a5, a6) macro