Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/
Dsymtable.c1019 if (!symtable_add_def(st, s->v.ClassDef.name, DEF_LOCAL)) in symtable_visit_stmt()
1021 VISIT_SEQ(st, expr, s->v.ClassDef.bases); in symtable_visit_stmt()
1022 if (s->v.ClassDef.decorator_list) in symtable_visit_stmt()
1023 VISIT_SEQ(st, expr, s->v.ClassDef.decorator_list); in symtable_visit_stmt()
1024 if (!symtable_enter_block(st, s->v.ClassDef.name, ClassBlock, in symtable_visit_stmt()
1028 st->st_private = s->v.ClassDef.name; in symtable_visit_stmt()
1029 VISIT_SEQ_IN_BLOCK(st, stmt, s->v.ClassDef.body, s); in symtable_visit_stmt()
Dcompile.c1420 asdl_seq* decos = s->v.ClassDef.decorator_list; in compiler_class()
1426 ADDOP_O(c, LOAD_CONST, s->v.ClassDef.name, consts); in compiler_class()
1428 n = asdl_seq_LEN(s->v.ClassDef.bases); in compiler_class()
1430 VISIT_SEQ(c, expr, s->v.ClassDef.bases); in compiler_class()
1432 if (!compiler_enter_scope(c, s->v.ClassDef.name, (void *)s, in compiler_class()
1436 c->u->u_private = s->v.ClassDef.name; in compiler_class()
1454 if (!compiler_body(c, s->v.ClassDef.body)) { in compiler_class()
1475 if (!compiler_nameop(c, s->v.ClassDef.name, Store)) in compiler_class()
DPython-ast.c1052 ClassDef(identifier name, asdl_seq * bases, asdl_seq * body, asdl_seq * in ClassDef() function
1065 p->v.ClassDef.name = name; in ClassDef()
1066 p->v.ClassDef.bases = bases; in ClassDef()
1067 p->v.ClassDef.body = body; in ClassDef()
1068 p->v.ClassDef.decorator_list = decorator_list; in ClassDef()
2211 value = ast2obj_identifier(o->v.ClassDef.name); in ast2obj_stmt()
2216 value = ast2obj_list(o->v.ClassDef.bases, ast2obj_expr); in ast2obj_stmt()
2221 value = ast2obj_list(o->v.ClassDef.body, ast2obj_stmt); in ast2obj_stmt()
2226 value = ast2obj_list(o->v.ClassDef.decorator_list, in ast2obj_stmt()
3676 *out = ClassDef(name, bases, body, decorator_list, lineno, in obj2ast_stmt()
Dast.c3201 return ClassDef(classname, NULL, s, decorator_seq, LINENO(n), in ast_for_classdef()
3212 return ClassDef(classname, NULL, s, decorator_seq, LINENO(n), in ast_for_classdef()
3227 return ClassDef(classname, bases, s, decorator_seq, in ast_for_classdef()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Python/
Dsymtable.c1021 if (!symtable_add_def(st, s->v.ClassDef.name, DEF_LOCAL)) in symtable_visit_stmt()
1023 VISIT_SEQ(st, expr, s->v.ClassDef.bases); in symtable_visit_stmt()
1024 if (s->v.ClassDef.decorator_list) in symtable_visit_stmt()
1025 VISIT_SEQ(st, expr, s->v.ClassDef.decorator_list); in symtable_visit_stmt()
1026 if (!symtable_enter_block(st, s->v.ClassDef.name, ClassBlock, in symtable_visit_stmt()
1030 st->st_private = s->v.ClassDef.name; in symtable_visit_stmt()
1031 VISIT_SEQ_IN_BLOCK(st, stmt, s->v.ClassDef.body, s); in symtable_visit_stmt()
Dcompile.c1443 asdl_seq* decos = s->v.ClassDef.decorator_list; in compiler_class()
1449 ADDOP_O(c, LOAD_CONST, s->v.ClassDef.name, consts); in compiler_class()
1451 n = asdl_seq_LEN(s->v.ClassDef.bases); in compiler_class()
1453 VISIT_SEQ(c, expr, s->v.ClassDef.bases); in compiler_class()
1455 if (!compiler_enter_scope(c, s->v.ClassDef.name, (void *)s, in compiler_class()
1459 c->u->u_private = s->v.ClassDef.name; in compiler_class()
1477 if (!compiler_body(c, s->v.ClassDef.body)) { in compiler_class()
1498 if (!compiler_nameop(c, s->v.ClassDef.name, Store)) in compiler_class()
DPython-ast.c1069 ClassDef(identifier name, asdl_seq * bases, asdl_seq * body, asdl_seq * in ClassDef() function
1082 p->v.ClassDef.name = name; in ClassDef()
1083 p->v.ClassDef.bases = bases; in ClassDef()
1084 p->v.ClassDef.body = body; in ClassDef()
1085 p->v.ClassDef.decorator_list = decorator_list; in ClassDef()
2228 value = ast2obj_identifier(o->v.ClassDef.name); in ast2obj_stmt()
2233 value = ast2obj_list(o->v.ClassDef.bases, ast2obj_expr); in ast2obj_stmt()
2238 value = ast2obj_list(o->v.ClassDef.body, ast2obj_stmt); in ast2obj_stmt()
2243 value = ast2obj_list(o->v.ClassDef.decorator_list, in ast2obj_stmt()
3693 *out = ClassDef(name, bases, body, decorator_list, lineno, in obj2ast_stmt()
Dast.c3218 return ClassDef(classname, NULL, s, decorator_seq, LINENO(n), in ast_for_classdef()
3229 return ClassDef(classname, NULL, s, decorator_seq, LINENO(n), in ast_for_classdef()
3244 return ClassDef(classname, bases, s, decorator_seq, in ast_for_classdef()
/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.asdl14 | ClassDef(identifier name, expr* bases, stmt* body, expr* decorator_list)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Include/
DPython-ast.h84 } ClassDef; member
387 #define ClassDef(a0, a1, a2, a3, a4, a5, a6) _Py_ClassDef(a0, a1, a2, a3, a4, a5, a6) macro
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Include/
DPython-ast.h84 } ClassDef; member
387 #define ClassDef(a0, a1, a2, a3, a4, a5, a6) _Py_ClassDef(a0, a1, a2, a3, a4, a5, a6) macro