]> git.madduck.net Git - etc/vim.git/blob - blib2to3/pygram.pyi

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

Add .eggs to default exclusions (#629)
[etc/vim.git] / blib2to3 / pygram.pyi
1 # Stubs for lib2to3.pygram (Python 3.6)
2
3 import os
4 from typing import Any, Union
5 from blib2to3.pgen2.grammar import Grammar
6
7 class Symbols:
8     def __init__(self, grammar: Grammar) -> None: ...
9
10 class python_symbols(Symbols):
11     and_expr: int
12     and_test: int
13     annassign: int
14     arglist: int
15     argument: int
16     arith_expr: int
17     assert_stmt: int
18     async_funcdef: int
19     async_stmt: int
20     atom: int
21     augassign: int
22     break_stmt: int
23     classdef: int
24     comp_for: int
25     comp_if: int
26     comp_iter: int
27     comp_op: int
28     comparison: int
29     compound_stmt: int
30     continue_stmt: int
31     decorated: int
32     decorator: int
33     decorators: int
34     del_stmt: int
35     dictsetmaker: int
36     dotted_as_name: int
37     dotted_as_names: int
38     dotted_name: int
39     encoding_decl: int
40     eval_input: int
41     except_clause: int
42     exec_stmt: int
43     expr: int
44     expr_stmt: int
45     exprlist: int
46     factor: int
47     file_input: int
48     flow_stmt: int
49     for_stmt: int
50     funcdef: int
51     global_stmt: int
52     if_stmt: int
53     import_as_name: int
54     import_as_names: int
55     import_from: int
56     import_name: int
57     import_stmt: int
58     lambdef: int
59     listmaker: int
60     not_test: int
61     old_comp_for: int
62     old_comp_if: int
63     old_comp_iter: int
64     old_lambdef: int
65     old_test: int
66     or_test: int
67     parameters: int
68     pass_stmt: int
69     power: int
70     print_stmt: int
71     raise_stmt: int
72     return_stmt: int
73     shift_expr: int
74     simple_stmt: int
75     single_input: int
76     sliceop: int
77     small_stmt: int
78     star_expr: int
79     stmt: int
80     subscript: int
81     subscriptlist: int
82     suite: int
83     term: int
84     test: int
85     testlist: int
86     testlist1: int
87     testlist_gexp: int
88     testlist_safe: int
89     testlist_star_expr: int
90     tfpdef: int
91     tfplist: int
92     tname: int
93     trailer: int
94     try_stmt: int
95     typedargslist: int
96     varargslist: int
97     vfpdef: int
98     vfplist: int
99     vname: int
100     while_stmt: int
101     with_item: int
102     with_stmt: int
103     with_var: int
104     xor_expr: int
105     yield_arg: int
106     yield_expr: int
107     yield_stmt: int
108
109 class pattern_symbols(Symbols):
110     Alternative: int
111     Alternatives: int
112     Details: int
113     Matcher: int
114     NegatedUnit: int
115     Repeater: int
116     Unit: int
117
118 python_grammar: Grammar
119 python_grammar_no_print_statement: Grammar
120 python_grammar_no_print_statement_no_exec_statement: Grammar
121 python_grammar_no_exec_statement: Grammar
122 pattern_grammar: Grammar
123
124 def initialize(cache_dir: Union[str, os.PathLike, None]) -> None: ...