Use variable annotations everywhere (#2909)

This commit is contained in:
Michael Lee
2019-04-13 01:40:52 -07:00
committed by Sebastian Rittau
parent b3c76aab49
commit efb67946f8
458 changed files with 9135 additions and 9135 deletions

View File

@@ -1,70 +1,70 @@
import sys
from typing import Dict
ENDMARKER = ... # type: int
NAME = ... # type: int
NUMBER = ... # type: int
STRING = ... # type: int
NEWLINE = ... # type: int
INDENT = ... # type: int
DEDENT = ... # type: int
LPAR = ... # type: int
RPAR = ... # type: int
LSQB = ... # type: int
RSQB = ... # type: int
COLON = ... # type: int
COMMA = ... # type: int
SEMI = ... # type: int
PLUS = ... # type: int
MINUS = ... # type: int
STAR = ... # type: int
SLASH = ... # type: int
VBAR = ... # type: int
AMPER = ... # type: int
LESS = ... # type: int
GREATER = ... # type: int
EQUAL = ... # type: int
DOT = ... # type: int
PERCENT = ... # type: int
ENDMARKER: int
NAME: int
NUMBER: int
STRING: int
NEWLINE: int
INDENT: int
DEDENT: int
LPAR: int
RPAR: int
LSQB: int
RSQB: int
COLON: int
COMMA: int
SEMI: int
PLUS: int
MINUS: int
STAR: int
SLASH: int
VBAR: int
AMPER: int
LESS: int
GREATER: int
EQUAL: int
DOT: int
PERCENT: int
if sys.version_info < (3,):
BACKQUOTE = ... # type: int
LBRACE = ... # type: int
RBRACE = ... # type: int
EQEQUAL = ... # type: int
NOTEQUAL = ... # type: int
LESSEQUAL = ... # type: int
GREATEREQUAL = ... # type: int
TILDE = ... # type: int
CIRCUMFLEX = ... # type: int
LEFTSHIFT = ... # type: int
RIGHTSHIFT = ... # type: int
DOUBLESTAR = ... # type: int
PLUSEQUAL = ... # type: int
MINEQUAL = ... # type: int
STAREQUAL = ... # type: int
SLASHEQUAL = ... # type: int
PERCENTEQUAL = ... # type: int
AMPEREQUAL = ... # type: int
VBAREQUAL = ... # type: int
CIRCUMFLEXEQUAL = ... # type: int
LEFTSHIFTEQUAL = ... # type: int
RIGHTSHIFTEQUAL = ... # type: int
DOUBLESTAREQUAL = ... # type: int
DOUBLESLASH = ... # type: int
DOUBLESLASHEQUAL = ... # type: int
AT = ... # type: int
BACKQUOTE: int
LBRACE: int
RBRACE: int
EQEQUAL: int
NOTEQUAL: int
LESSEQUAL: int
GREATEREQUAL: int
TILDE: int
CIRCUMFLEX: int
LEFTSHIFT: int
RIGHTSHIFT: int
DOUBLESTAR: int
PLUSEQUAL: int
MINEQUAL: int
STAREQUAL: int
SLASHEQUAL: int
PERCENTEQUAL: int
AMPEREQUAL: int
VBAREQUAL: int
CIRCUMFLEXEQUAL: int
LEFTSHIFTEQUAL: int
RIGHTSHIFTEQUAL: int
DOUBLESTAREQUAL: int
DOUBLESLASH: int
DOUBLESLASHEQUAL: int
AT: int
if sys.version_info >= (3,):
RARROW = ... # type: int
ELLIPSIS = ... # type: int
RARROW: int
ELLIPSIS: int
if sys.version_info >= (3, 5):
ATEQUAL = ... # type: int
AWAIT = ... # type: int
ASYNC = ... # type: int
OP = ... # type: int
ERRORTOKEN = ... # type: int
N_TOKENS = ... # type: int
NT_OFFSET = ... # type: int
tok_name = ... # type: Dict[int, str]
ATEQUAL: int
AWAIT: int
ASYNC: int
OP: int
ERRORTOKEN: int
N_TOKENS: int
NT_OFFSET: int
tok_name: Dict[int, str]
def ISTERMINAL(x: int) -> bool: ...
def ISNONTERMINAL(x: int) -> bool: ...