mirror of https://github.com/python/cpython
47 lines
545 B
Plaintext
47 lines
545 B
Plaintext
|
test_grammar
|
||
|
1. Parser
|
||
|
1.1 Tokens
|
||
|
1.1.1 Backslashes
|
||
|
1.1.2 Numeric literals
|
||
|
1.1.2.1 Plain integers
|
||
|
1.1.2.2 Long integers
|
||
|
1.1.2.3 Floating point
|
||
|
1.1.3 String literals
|
||
|
1.2 Grammar
|
||
|
single_input
|
||
|
file_input
|
||
|
expr_input
|
||
|
eval_input
|
||
|
funcdef
|
||
|
simple_stmt
|
||
|
expr_stmt
|
||
|
print_stmt
|
||
|
1 2 3
|
||
|
1 2 3
|
||
|
1 1 1
|
||
|
del_stmt
|
||
|
pass_stmt
|
||
|
flow_stmt
|
||
|
break_stmt
|
||
|
continue_stmt
|
||
|
return_stmt
|
||
|
raise_stmt
|
||
|
import_stmt
|
||
|
global_stmt
|
||
|
exec_stmt
|
||
|
if_stmt
|
||
|
while_stmt
|
||
|
for_stmt
|
||
|
try_stmt
|
||
|
suite
|
||
|
test
|
||
|
comparison
|
||
|
binary mask ops
|
||
|
shift ops
|
||
|
additive ops
|
||
|
multiplicative ops
|
||
|
unary ops
|
||
|
selectors
|
||
|
atoms
|
||
|
classdef
|