Home
last modified time | relevance | path

Searched refs:stmt_ty (Results 1 – 12 of 12) sorted by relevance

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Include/
DPython-ast.h7 typedef struct _stmt *stmt_ty; typedef
384 stmt_ty _Py_FunctionDef(identifier name, arguments_ty args, asdl_seq * body,
388 stmt_ty _Py_ClassDef(identifier name, asdl_seq * bases, asdl_seq * body,
392 stmt_ty _Py_Return(expr_ty value, int lineno, int col_offset, PyArena *arena);
394 stmt_ty _Py_Delete(asdl_seq * targets, int lineno, int col_offset, PyArena
397 stmt_ty _Py_Assign(asdl_seq * targets, expr_ty value, int lineno, int
400 stmt_ty _Py_AugAssign(expr_ty target, operator_ty op, expr_ty value, int
403 stmt_ty _Py_Print(expr_ty dest, asdl_seq * values, bool nl, int lineno, int
406 stmt_ty _Py_For(expr_ty target, expr_ty iter, asdl_seq * body, asdl_seq *
409 stmt_ty _Py_While(expr_ty test, asdl_seq * body, asdl_seq * orelse, int lineno,
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Include/
DPython-ast.h7 typedef struct _stmt *stmt_ty; typedef
384 stmt_ty _Py_FunctionDef(identifier name, arguments_ty args, asdl_seq * body,
388 stmt_ty _Py_ClassDef(identifier name, asdl_seq * bases, asdl_seq * body,
392 stmt_ty _Py_Return(expr_ty value, int lineno, int col_offset, PyArena *arena);
394 stmt_ty _Py_Delete(asdl_seq * targets, int lineno, int col_offset, PyArena
397 stmt_ty _Py_Assign(asdl_seq * targets, expr_ty value, int lineno, int
400 stmt_ty _Py_AugAssign(expr_ty target, operator_ty op, expr_ty value, int
403 stmt_ty _Py_Print(expr_ty dest, asdl_seq * values, bool nl, int lineno, int
406 stmt_ty _Py_For(expr_ty target, expr_ty iter, asdl_seq * body, asdl_seq *
409 stmt_ty _Py_While(expr_ty test, asdl_seq * body, asdl_seq * orelse, int lineno,
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/
Dfuture.c15 future_check_features(PyFutureFeatures *ff, stmt_ty s, const char *filename) in future_check_features()
82 stmt_ty s = (stmt_ty)asdl_seq_GET(mod->v.Module.body, i); in future_parse()
DPython-ast.c953 static int obj2ast_stmt(PyObject* obj, stmt_ty* out, PyArena* arena);
1023 stmt_ty
1027 stmt_ty p; in FunctionDef()
1038 p = (stmt_ty)PyArena_Malloc(arena, sizeof(*p)); in FunctionDef()
1051 stmt_ty
1055 stmt_ty p; in ClassDef()
1061 p = (stmt_ty)PyArena_Malloc(arena, sizeof(*p)); in ClassDef()
1074 stmt_ty
1077 stmt_ty p; in Return()
1078 p = (stmt_ty)PyArena_Malloc(arena, sizeof(*p)); in Return()
[all …]
Dast.c28 static stmt_ty ast_for_stmt(struct compiling *, const node *);
33 static stmt_ty ast_for_classdef(struct compiling *, const node *, asdl_seq *);
221 stmt_ty s; in PyAST_FromNode()
892 static stmt_ty
919 static stmt_ty
923 stmt_ty thing = NULL; in ast_for_decorated()
2168 static stmt_ty
2266 static stmt_ty
2323 static stmt_ty
2337 static stmt_ty
[all …]
Dcompile.c162 static int compiler_visit_stmt(struct compiler *, stmt_ty);
165 static int compiler_augassign(struct compiler *, stmt_ty);
179 static int compiler_with(struct compiler *, stmt_ty);
1160 compiler_isdocstring(stmt_ty s) in compiler_isdocstring()
1173 stmt_ty st; in compiler_body()
1177 st = (stmt_ty)asdl_seq_GET(stmts, 0); in compiler_body()
1186 VISIT(c, stmt, (stmt_ty)asdl_seq_GET(stmts, i)); in compiler_body()
1361 compiler_function(struct compiler *c, stmt_ty s) in compiler_function()
1367 stmt_ty st; in compiler_function()
1380 st = (stmt_ty)asdl_seq_GET(s->v.FunctionDef.body, 0); in compiler_function()
[all …]
Dsymtable.c167 static int symtable_visit_stmt(struct symtable *st, stmt_ty s);
241 (stmt_ty)asdl_seq_GET(seq, i))) in PySymtable_Build()
252 (stmt_ty)asdl_seq_GET(seq, i))) in PySymtable_Build()
999 symtable_visit_stmt(struct symtable *st, stmt_ty s) in symtable_visit_stmt()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Python/
Dfuture.c15 future_check_features(PyFutureFeatures *ff, stmt_ty s, const char *filename) in future_check_features()
75 stmt_ty s = (stmt_ty)asdl_seq_GET(mod->v.Module.body, i); in future_parse()
DPython-ast.c970 static int obj2ast_stmt(PyObject* obj, stmt_ty* out, PyArena* arena);
1040 stmt_ty
1044 stmt_ty p; in FunctionDef()
1055 p = (stmt_ty)PyArena_Malloc(arena, sizeof(*p)); in FunctionDef()
1068 stmt_ty
1072 stmt_ty p; in ClassDef()
1078 p = (stmt_ty)PyArena_Malloc(arena, sizeof(*p)); in ClassDef()
1091 stmt_ty
1094 stmt_ty p; in Return()
1095 p = (stmt_ty)PyArena_Malloc(arena, sizeof(*p)); in Return()
[all …]
Dast.c28 static stmt_ty ast_for_stmt(struct compiling *, const node *);
33 static stmt_ty ast_for_classdef(struct compiling *, const node *, asdl_seq *);
221 stmt_ty s; in PyAST_FromNode()
892 static stmt_ty
919 static stmt_ty
923 stmt_ty thing = NULL; in ast_for_decorated()
2173 static stmt_ty
2271 static stmt_ty
2328 static stmt_ty
2342 static stmt_ty
[all …]
Dcompile.c162 static int compiler_visit_stmt(struct compiler *, stmt_ty);
165 static int compiler_augassign(struct compiler *, stmt_ty);
179 static int compiler_with(struct compiler *, stmt_ty);
1183 compiler_isdocstring(stmt_ty s) in compiler_isdocstring()
1196 stmt_ty st; in compiler_body()
1200 st = (stmt_ty)asdl_seq_GET(stmts, 0); in compiler_body()
1209 VISIT(c, stmt, (stmt_ty)asdl_seq_GET(stmts, i)); in compiler_body()
1384 compiler_function(struct compiler *c, stmt_ty s) in compiler_function()
1390 stmt_ty st; in compiler_function()
1403 st = (stmt_ty)asdl_seq_GET(s->v.FunctionDef.body, 0); in compiler_function()
[all …]
Dsymtable.c169 static int symtable_visit_stmt(struct symtable *st, stmt_ty s);
243 (stmt_ty)asdl_seq_GET(seq, i))) in PySymtable_Build()
254 (stmt_ty)asdl_seq_GET(seq, i))) in PySymtable_Build()
1001 symtable_visit_stmt(struct symtable *st, stmt_ty s) in symtable_visit_stmt()