/external/antlr/runtime/JavaScript/tests/functional/ |
D | rhino-python.extensions | 32 This is an interesting lexical problem because multiple DEDENT 41 Here the "b" token on the left edge signals that a DEDENT is needed 44 ... 1 COLON NEWLINE INDENT PRINT a NEWLINE DEDENT b ASSIGN 3 ... 49 Upon NEWLINE token from the lexer, however, an INDENT or DEDENT token 63 A queue of tokens is built up to hold multiple DEDENT tokens that 104 off, and for each number popped off a DEDENT token is 105 generated. At the end of the file, a DEDENT token is generated 185 var dedent = new ANTLR.runtime.CommonToken(PythonParser.DEDENT, ""); 246 a a \n INDENT b b \n c \n DEDENT d \n EOF 251 a c \n INDENT b \n DEDENT c \n EOF [all …]
|
/external/python/cpython3/Lib/test/ |
D | test_tokenize.py | 645 DEDENT '' (4, 0) (4, 0) 646 DEDENT '' (4, 0) (4, 0) 824 DEDENT '' (4, 2) (4, 2) 832 DEDENT '' (6, 0) (6, 0) 833 DEDENT '' (6, 0) (6, 0) 858 DEDENT '' (3, 0) (3, 0) 906 DEDENT '' (7, 0) (7, 0) 944 DEDENT '' (7, 0) (7, 0)
|
/external/python/cpython3/Include/ |
D | token.h | 19 #define DEDENT 6 macro 84 (x) == DEDENT)
|
/external/autotest/utils/ |
D | reindent.py | 259 DEDENT=tokenize.DEDENT, argument 274 elif type == DEDENT:
|
/external/python/cpython3/Lib/ |
D | tabnanny.py | 279 DEDENT = tokenize.DEDENT 303 elif type == DEDENT:
|
D | tokenize.py | 200 elif tok_type == DEDENT: 246 elif toknum == DEDENT: 517 yield TokenInfo(DEDENT, '', (lnum, pos), (lnum, pos), line) 608 yield TokenInfo(DEDENT, '', (lnum, 0), (lnum, 0), '')
|
D | token.py | 12 DEDENT = 6 variable
|
/external/python/cpython2/Lib/ |
D | tabnanny.py | 275 DEDENT = tokenize.DEDENT 299 elif type == DEDENT:
|
D | tokenize.py | 213 elif tok_type == DEDENT: 256 elif toknum == DEDENT: 383 yield (DEDENT, '', (lnum, pos), (lnum, pos), line) 451 yield (DEDENT, '', (lnum, 0), (lnum, 0), '')
|
D | pyclbr.py | 45 from token import NAME, DEDENT, OP 156 if tokentype == DEDENT:
|
/external/python/cpython3/Tools/scripts/ |
D | reindent.py | 287 DEDENT=tokenize.DEDENT, argument 302 elif type == DEDENT:
|
/external/python/cpython2/Tools/scripts/ |
D | reindent.py | 289 DEDENT=tokenize.DEDENT, argument 304 elif type == DEDENT:
|
/external/python/cpython3/Tools/peg_generator/pegen/ |
D | metagrammar.gram | 52 | rulename memoflag? ":" alts NEWLINE INDENT more_alts DEDENT { 54 | rulename memoflag? ":" NEWLINE INDENT more_alts DEDENT {
|
/external/python/cpython2/Lib/lib2to3/fixes/ |
D | fix_metaclass.py | 137 if isinstance(node, Leaf) and node.type != token.DEDENT: 224 suite.children[-1].type == token.DEDENT):
|
/external/python/cpython3/Lib/lib2to3/fixes/ |
D | fix_metaclass.py | 137 if isinstance(node, Leaf) and node.type != token.DEDENT: 224 suite.children[-1].type == token.DEDENT):
|
/external/yapf/yapf/yapflib/ |
D | comment_splicer.py | 81 elif child.type == token.DEDENT: 121 if ancestor_at_indent.type == token.DEDENT:
|
/external/python/cpython3/Grammar/ |
D | Tokens | 7 DEDENT
|
/external/python/cpython2/Include/ |
D | token.h | 18 #define DEDENT 6 macro
|
/external/python/cpython2/Parser/ |
D | listnode.c | 43 case DEDENT: in list1node()
|
/external/python/cpython2/Lib/lib2to3/pgen2/ |
D | token.py | 15 DEDENT = 6 variable
|
D | tokenize.py | 229 elif toknum == DEDENT: 431 yield (DEDENT, '', (lnum, pos), (lnum, pos), line) 496 yield (DEDENT, '', (lnum, 0), (lnum, 0), '')
|
/external/python/cpython3/Lib/lib2to3/pgen2/ |
D | token.py | 15 DEDENT = 6 variable
|
D | tokenize.py | 217 elif toknum == DEDENT: 434 yield (DEDENT, '', (lnum, pos), (lnum, pos), line) 557 yield (DEDENT, '', (lnum, 0), (lnum, 0), '')
|
/external/ply/ply/example/GardenSnake/ |
D | GardenSnake.py | 230 def DEDENT(lineno): function 303 yield DEDENT(token.lineno) 314 yield DEDENT(token.lineno)
|
/external/python/cpython3/Parser/ |
D | listnode.c | 48 case DEDENT: in list1node()
|