Home
last modified time | relevance | path

Searched refs:comp_for (Results 1 – 11 of 11) sorted by relevance

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/
DGrammar.txt130 listmaker: (test|star_expr) ( comp_for | (',' (test|star_expr))* [','] )
131 testlist_gexp: (test|star_expr) ( comp_for | (',' (test|star_expr))* [','] )
139 dictsetmaker: ( (test ':' test (comp_for | (',' test ':' test)* [','])) |
140 (test (comp_for | (',' test)* [','])) )
147 argument: test [comp_for] | test '=' test # Really [keyword '='] test
149 comp_iter: comp_for | comp_if
150 comp_for: 'for' exprlist 'in' testlist_safe [comp_iter]
Dfixer_util.py107 inner = Node(syms.listmaker, [xp, Node(syms.comp_for, inner_args)])
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Grammar/
DGrammar109 testlist_comp: test ( comp_for | (',' test)* [','] )
117 dictorsetmaker: ( (test ':' test (comp_for | (',' test ':' test)* [','])) |
118 (test (comp_for | (',' test)* [','])) )
127 argument: test [comp_for] | test '=' test
133 comp_iter: comp_for | comp_if
134 comp_for: 'for' exprlist 'in' or_test [comp_iter]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Include/
Dgraminit.h83 #define comp_for 336 macro
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Include/
Dgraminit.h83 #define comp_for 336 macro
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Dsymbol.py93 comp_for = 336 variable
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Python/
Dast.c1171 REQ(n, comp_for); in count_comp_fors()
1179 if (TYPE(n) == comp_for) in count_comp_fors()
1208 if (TYPE(CHILD(n, 0)) == comp_for) in count_comp_ifs()
1239 REQ(n, comp_for); in ast_for_comprehension()
1465 } else if (TYPE(CHILD(ch, 1)) == comp_for) { in ast_for_atom()
1468 } else if (NCH(ch) > 3 && TYPE(CHILD(ch, 3)) == comp_for) { in ast_for_atom()
2001 else if (TYPE(CHILD(ch, 1)) == comp_for) in ast_for_call()
2046 else if (TYPE(CHILD(ch, 1)) == comp_for) { in ast_for_call()
2123 assert(TYPE(CHILD(n, 1)) != comp_for); in ast_for_testlist()
2146 if (NCH(n) > 1 && TYPE(CHILD(n, 1)) == comp_for) in ast_for_testlist_comp()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/
Dast.c1171 REQ(n, comp_for); in count_comp_fors()
1179 if (TYPE(n) == comp_for) in count_comp_fors()
1208 if (TYPE(CHILD(n, 0)) == comp_for) in count_comp_ifs()
1239 REQ(n, comp_for); in ast_for_comprehension()
1465 } else if (TYPE(CHILD(ch, 1)) == comp_for) { in ast_for_atom()
1468 } else if (NCH(ch) > 3 && TYPE(CHILD(ch, 3)) == comp_for) { in ast_for_atom()
1996 else if (TYPE(CHILD(ch, 1)) == comp_for) in ast_for_call()
2041 else if (TYPE(CHILD(ch, 1)) == comp_for) { in ast_for_call()
2118 assert(TYPE(CHILD(n, 1)) != comp_for); in ast_for_testlist()
2141 if (NCH(n) > 1 && TYPE(CHILD(n, 1)) == comp_for) in ast_for_testlist_comp()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/compiler/
Dtransformer.py587 if len(nodelist) == 2 and nodelist[1][0] == symbol.comp_for:
1222 elif nodelist[1][0] == symbol.comp_for:
1226 elif len(nodelist) > 3 and nodelist[3][0] == symbol.comp_for:
1284 and len(node) == 3 and node[2][0] == symbol.comp_for:
1296 if len(nodelist) == 3 and nodelist[2][0] == symbol.comp_for:
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
Dparsermodule.c941 VALIDATER(testlist1); VALIDATER(comp_for);
1352 if (res && TYPE(CHILD(tree, 0)) == comp_for) in validate_comp_iter()
2564 if (nch == 2 && TYPE(CHILD(tree, 1)) == comp_for) in validate_testlist_comp()
2754 if (NCH(ch) == 2 && TYPE(CHILD(ch, 1)) == comp_for) { in validate_arglist()
3001 else if (ok && TYPE(CHILD(tree, 1)) == comp_for) { in validate_dictorsetmaker()
3008 else if (ok && NCH(tree) > 3 && TYPE(CHILD(tree, 3)) == comp_for) { in validate_dictorsetmaker()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/
Dparsermodule.c970 VALIDATER(testlist1); VALIDATER(comp_for);
1381 if (res && TYPE(CHILD(tree, 0)) == comp_for) in validate_comp_iter()
2593 if (nch == 2 && TYPE(CHILD(tree, 1)) == comp_for) in validate_testlist_comp()
2783 if (NCH(ch) == 2 && TYPE(CHILD(ch, 1)) == comp_for) { in validate_arglist()
3030 else if (ok && TYPE(CHILD(tree, 1)) == comp_for) { in validate_dictorsetmaker()
3037 else if (ok && NCH(tree) > 3 && TYPE(CHILD(tree, 3)) == comp_for) { in validate_dictorsetmaker()