]> 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 .gitignore (#1063)
[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     namedexpr_test: int
61     not_test: int
62     old_comp_for: int
63     old_comp_if: int
64     old_comp_iter: int
65     old_lambdef: int
66     old_test: int
67     or_test: int
68     parameters: int
69     pass_stmt: int
70     power: int
71     print_stmt: int
72     raise_stmt: int
73     return_stmt: int
74     shift_expr: int
75     simple_stmt: int
76     single_input: int
77     sliceop: int
78     small_stmt: int
79     star_expr: int
80     stmt: int
81     subscript: int
82     subscriptlist: int
83     suite: int
84     term: int
85     test: int
86     testlist: int
87     testlist1: int
88     testlist_gexp: int
89     testlist_safe: int
90     testlist_star_expr: int
91     tfpdef: int
92     tfplist: int
93     tname: int
94     trailer: int
95     try_stmt: int
96     typedargslist: int
97     varargslist: int
98     vfpdef: int
99     vfplist: int
100     vname: int
101     while_stmt: int
102     with_item: int
103     with_stmt: int
104     with_var: int
105     xor_expr: int
106     yield_arg: int
107     yield_expr: int
108     yield_stmt: int
109
110 class pattern_symbols(Symbols):
111     Alternative: int
112     Alternatives: int
113     Details: int
114     Matcher: int
115     NegatedUnit: int
116     Repeater: int
117     Unit: int
118
119 python_grammar: Grammar
120 python_grammar_no_print_statement: Grammar
121 python_grammar_no_print_statement_no_exec_statement: Grammar
122 python_grammar_no_print_statement_no_exec_statement_async_keywords: Grammar
123 python_grammar_no_exec_statement: Grammar
124 pattern_grammar: Grammar
125
126 def initialize(cache_dir: Union[str, os.PathLike, None]) -> None: ...