Home
last modified time | relevance | path

Searched refs:funcdef (Results 1 – 21 of 21) sorted by relevance

/external/yapf/yapftests/
Dcomment_splicer_test.py254 funcdef = class_suite.children[3]
255 toplevel_comment = funcdef.children[0]
270 funcdef = tree.children[0]
271 block_comment_1 = funcdef.children[0]
274 block_comment_2 = funcdef.children[1]
/external/clang/test/Sema/
Dmerge-decls.c10 int funcdef() in funcdef() function
15 int funcdef();
/external/chromium-trace/catapult/common/py_utils/py_utils/refactor/annotated_symbol/
Dfunction_definition.py26 if statement.type == symbol.funcdef:
29 statement.children[-1].type == symbol.funcdef):
/external/python/cpython2/Lib/hotshot/
Dlog.py179 funcdef = symbol.funcdef
190 if sym == funcdef:
/external/python/cpython3/Lib/lib2to3/
DGrammar.txt17 decorated: decorators (classdef | funcdef | async_funcdef)
18 async_funcdef: ASYNC funcdef
19 funcdef: 'def' NAME parameters ['->' test] ':' suite
108 compound_stmt: if_stmt | while_stmt | for_stmt | try_stmt | with_stmt | funcdef | classdef | decora…
109 async_stmt: ASYNC (funcdef | with_stmt | for_stmt)
Dfixer_util.py257 if parent.type in (syms.funcdef, syms.classdef):
360 _def_syms = {syms.classdef, syms.funcdef}
403 _block_syms = {syms.funcdef, syms.classdef, syms.trailer}
/external/python/cpython3/Lib/test/
Dtest_type_comments.py7 funcdef = """\ variable
248 for tree in self.parse_all(funcdef):
251 tree = self.classic_parse(funcdef)
/external/python/cpython2/Grammar/
DGrammar24 decorated: decorators (classdef | funcdef)
25 funcdef: 'def' NAME parameters ':' suite
65 compound_stmt: if_stmt | while_stmt | for_stmt | try_stmt | with_stmt | funcdef | classdef | decora…
/external/python/cpython2/Lib/lib2to3/
DGrammar.txt36 decorated: decorators (classdef | funcdef)
37 funcdef: 'def' NAME parameters ['->' test] ':' suite
85 compound_stmt: if_stmt | while_stmt | for_stmt | try_stmt | with_stmt | funcdef | classdef | decora…
Dfixer_util.py236 if parent.type in (syms.funcdef, syms.classdef):
339 _def_syms = set([syms.classdef, syms.funcdef])
382 _block_syms = set([syms.funcdef, syms.classdef, syms.trailer])
/external/python/cpython2/Include/
Dgraminit.h9 #define funcdef 262 macro
/external/python/cpython2/Lib/
Dsymbol.py19 funcdef = 262 variable
/external/elfutils/doc/
Delfutils.sgml153 <funcdef>Elf_Data *<function>elf_getdata</function></funcdef>
199 <funcdef>off_t <function>elf_update</function></funcdef>
/external/python/cpython2/Demo/parser/
Dexample.py52 if cstmt[0] == symbol.funcdef:
/external/python/cpython2/Lib/compiler/
Dtransformer.py162 if n == symbol.funcdef:
163 return self.funcdef(node[1:])
237 if nodelist[1][0] == symbol.funcdef:
239 return self.funcdef(n)
247 def funcdef(self, nodelist): member in Transformer
1457 symbol.funcdef,
/external/antlr/runtime/JavaScript/tests/functional/
DPython.g90 funcdef
230 | funcdef
/external/python/cpython2/Doc/reference/
Dcompound_stmts.rst50 : | `funcdef`
447 decorated: decorators (classdef | funcdef)
450 funcdef: "def" `funcname` "(" [`parameter_list`] ")" ":" `suite`
/external/python/cpython2/Modules/
Dparsermodule.c1652 || (ntype == funcdef) in validate_compound_stmt()
2740 int ok = (validate_ntype(tree, funcdef) in validate_funcdef()
2761 if (TYPE(RCHILD(tree, -1)) == funcdef) in validate_decorated()
3156 case funcdef: in validate_node()
/external/python/cpython2/Python/
Dast.c901 REQ(n, funcdef); in ast_for_funcdef()
932 assert(TYPE(CHILD(n, 1)) == funcdef || in ast_for_decorated()
935 if (TYPE(CHILD(n, 1)) == funcdef) { in ast_for_decorated()
3310 case funcdef: in ast_for_stmt()
/external/python/cpython3/Doc/reference/
Dcompound_stmts.rst55 : | `funcdef`
1119 funcdef: [`decorators`] "def" `funcname` "(" [`parameter_list`] ")"
/external/mksh/src/
Dcheck.t9032 name: aliases-funcdef-1
9044 name: aliases-funcdef-2
9056 name: aliases-funcdef-3
9068 name: aliases-funcdef-4