Home
last modified time | relevance | path

Searched refs:LPAR (Results 1 – 25 of 28) sorted by relevance

12

/external/yapf/yapftests/
Dunwrapped_line_test.py38 toks = _MakeFormatTokenList([(token.DOT, '.'), (token.LPAR, '('),
46 toks = _MakeFormatTokenList([(token.DOT, '.'), (token.LPAR, '('),
53 uwl.AppendToken(_MakeFormatTokenLeaf(token.LPAR, '('))
59 uwl.AppendNode(pytree.Leaf(token.LPAR, '('))
Dpytree_utils_test.py39 leaf = pytree.Leaf(token.LPAR, '(')
43 leaf = pytree.Leaf(token.LPAR, '(')
90 lpar1 = pytree.Leaf(token.LPAR, '(')
91 lpar2 = pytree.Leaf(token.LPAR, '(')
153 self._leaf = pytree.Leaf(token.LPAR, '(')
/external/python/cpython2/Lib/lib2to3/pgen2/
Dtoken.py16 LPAR = 7 variable
/external/python/cpython2/Include/
Dtoken.h19 #define LPAR 7 macro
/external/python/cpython3/Lib/lib2to3/pgen2/
Dtoken.py16 LPAR = 7 variable
/external/python/cpython3/Include/
Dtoken.h19 #define LPAR 7 macro
/external/python/cpython3/Doc/library/
Dtokenize.rst253 1,13-1,14: LPAR '('
259 2,9-2,10: LPAR '('
266 4,9-4,10: LPAR '('
Dtoken.rst54 LPAR
/external/python/cpython2/Lib/
Dtoken.py18 LPAR = 7 variable
/external/python/cpython2/Lib/compiler/
Dtransformer.py110 self._atom_dispatch = {token.LPAR: self.atom_lpar,
220 assert nodelist[2][0] == token.LPAR
472 node = nodelist[idx + 1 + (nodelist[idx + 1][0] == token.LPAR)]
865 if node[1][0] == token.LPAR:
1029 if t == token.LPAR:
1070 if t == token.LPAR:
1242 if t == token.LPAR:
/external/python/cpython3/Lib/
Dtoken.py20 LPAR = 7 variable
Dtokenize.py46 '(': LPAR,
/external/python/cpython2/Doc/library/
Dtoken.rst53 LPAR
/external/python/cpython3/Lib/lib2to3/fixes/
Dfix_metaclass.py188 node.insert_child(2, Leaf(token.LPAR, '('))
/external/python/cpython2/Lib/lib2to3/fixes/
Dfix_metaclass.py188 node.insert_child(2, Leaf(token.LPAR, u'('))
/external/python/cpython3/Parser/
Dparser.c206 if (TYPE(ch) == LPAR)
Dpgen.c300 if (n->n_type == LPAR) { in compile_atom()
/external/python/cpython2/Parser/
Dparser.c200 if (TYPE(ch) == LPAR) in future_hack()
Dpgen.c301 if (n->n_type == LPAR) { in compile_atom()
/external/python/cpython2/Lib/lib2to3/
Dfixer_util.py22 return Leaf(token.LPAR, u"(")
/external/python/cpython3/Lib/lib2to3/
Dfixer_util.py20 return Leaf(token.LPAR, "(")
/external/yapf/yapf/yapflib/
Dsubtype_assigner.py403 token.LPAR, u'(', context=('', (first.get_lineno(), first.column - 1)))
/external/python/cpython2/Modules/
Dparsermodule.c971 #define validate_lparen(ch) validate_terminal(ch, LPAR, "(")
1977 if (res && TYPE(CHILD(tree, offset + 2)) == LPAR) in validate_import_from()
2529 case LPAR: in validate_atom()
2925 case LPAR: in validate_trailer()
/external/python/cpython3/Python/
Dast.c2151 case LPAR: /* some parenthesized expressions */ in ast_for_atom()
2357 if (TYPE(CHILD(n, 0)) == LPAR) { in ast_for_trailer()
2956 if (NCH(deep) > 0 && TYPE(CHILD(deep, 0)) == LPAR) { in ast_for_expr_stmt()
3336 case LPAR: in ast_for_import_stmt()
/external/python/cpython2/Python/
Dast.c1412 case LPAR: /* some parenthesized expressions */ in ast_for_atom()
1658 if (TYPE(CHILD(n, 0)) == LPAR) { in ast_for_trailer()
2596 case LPAR: in ast_for_import_stmt()

12