]> git.madduck.net Git - etc/vim.git/blob - blib2to3/pgen2/token.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:

Test Windows, macOS and Linux on GitHub Actions (#1085)
[etc/vim.git] / blib2to3 / pgen2 / token.pyi
1 # Stubs for lib2to3.pgen2.token (Python 3.6)
2
3 import sys
4 from typing import Dict, Text
5
6 ENDMARKER: int
7 NAME: int
8 NUMBER: int
9 STRING: int
10 NEWLINE: int
11 INDENT: int
12 DEDENT: int
13 LPAR: int
14 RPAR: int
15 LSQB: int
16 RSQB: int
17 COLON: int
18 COMMA: int
19 SEMI: int
20 PLUS: int
21 MINUS: int
22 STAR: int
23 SLASH: int
24 VBAR: int
25 AMPER: int
26 LESS: int
27 GREATER: int
28 EQUAL: int
29 DOT: int
30 PERCENT: int
31 BACKQUOTE: int
32 LBRACE: int
33 RBRACE: int
34 EQEQUAL: int
35 NOTEQUAL: int
36 LESSEQUAL: int
37 GREATEREQUAL: int
38 TILDE: int
39 CIRCUMFLEX: int
40 LEFTSHIFT: int
41 RIGHTSHIFT: int
42 DOUBLESTAR: int
43 PLUSEQUAL: int
44 MINEQUAL: int
45 STAREQUAL: int
46 SLASHEQUAL: int
47 PERCENTEQUAL: int
48 AMPEREQUAL: int
49 VBAREQUAL: int
50 CIRCUMFLEXEQUAL: int
51 LEFTSHIFTEQUAL: int
52 RIGHTSHIFTEQUAL: int
53 DOUBLESTAREQUAL: int
54 DOUBLESLASH: int
55 DOUBLESLASHEQUAL: int
56 OP: int
57 COMMENT: int
58 NL: int
59 if sys.version_info >= (3,):
60     RARROW: int
61 if sys.version_info >= (3, 5):
62     AT: int
63     ATEQUAL: int
64     AWAIT: int
65     ASYNC: int
66 ERRORTOKEN: int
67 COLONEQUAL: int
68 N_TOKENS: int
69 NT_OFFSET: int
70 tok_name: Dict[int, Text]
71
72 def ISTERMINAL(x: int) -> bool: ...
73 def ISNONTERMINAL(x: int) -> bool: ...
74 def ISEOF(x: int) -> bool: ...