Home
last modified time | relevance | path

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

/external/chromium-trace/catapult/common/py_utils/py_utils/refactor/annotated_symbol/
Dclass_definition.py26 if statement.type == symbol.classdef:
29 statement.children[-1].type == symbol.classdef):
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/rewriter/
DClassDefRewriter.java61 public RewrittenClassDef(@Nonnull ClassDef classdef) { in RewrittenClassDef() argument
62 this.classDef = classdef; in RewrittenClassDef()
/external/python/cpython2/Grammar/
DGrammar24 decorated: decorators (classdef | funcdef)
65 compound_stmt: if_stmt | while_stmt | for_stmt | try_stmt | with_stmt | funcdef | classdef | decora…
120 classdef: 'class' NAME ['(' [testlist] ')'] ':' suite
/external/python/cpython3/Lib/lib2to3/
DGrammar.txt17 decorated: decorators (classdef | funcdef | async_funcdef)
68 compound_stmt: if_stmt | while_stmt | for_stmt | try_stmt | with_stmt | funcdef | classdef | decora…
128 classdef: 'class' NAME ['(' [arglist] ')'] ':' suite
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/Grammar/
DGrammar17 decorated: decorators (classdef | funcdef | async_funcdef)
70 compound_stmt: if_stmt | while_stmt | for_stmt | try_stmt | with_stmt | funcdef | classdef | decora…
123 classdef: 'class' NAME ['(' [arglist] ')'] ':' suite
/external/python/cpython2/Lib/lib2to3/
DGrammar.txt36 decorated: decorators (classdef | funcdef)
85 compound_stmt: if_stmt | while_stmt | for_stmt | try_stmt | with_stmt | funcdef | classdef | decora…
144 classdef: 'class' NAME ['(' [arglist] ')'] ':' suite
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/cpython3/Include/
Dgraminit.h80 #define classdef 333 macro
/external/python/cpython2/Include/
Dgraminit.h76 #define classdef 329 macro
/external/python/cpython2/Lib/
Dsymbol.py86 classdef = 329 variable
/external/yapf/yapftests/
Dcomment_splicer_test.py293 classdef = tree.children[0]
294 class_suite = classdef.children[6]
/external/python/cpython3/Lib/
Dsymbol.py90 classdef = 333 variable
/external/python/cpython2/Lib/compiler/
Dtransformer.py164 if n == symbol.classdef:
165 return self.classdef(node[1:])
240 elif nodelist[1][0] == symbol.classdef:
242 cls = self.classdef(nodelist[1][1:])
294 def classdef(self, nodelist): member in Transformer
1458 symbol.classdef,
/external/python/cpython2/Demo/parser/
Dexample.py55 elif cstmt[0] == symbol.classdef:
/external/antlr/runtime/JavaScript/tests/functional/
DPython.g231 | classdef
363 classdef: 'class' NAME (LPAREN testlist RPAREN)? COLON suite
/external/python/cpython2/Doc/reference/
Dcompound_stmts.rst51 : | `classdef`
447 decorated: decorators (classdef | funcdef)
563 classdef: "class" `classname` [`inheritance`] ":" `suite`
/external/python/cpython2/Python/
Dast.c933 TYPE(CHILD(n, 1)) == classdef); in ast_for_decorated()
937 } else if (TYPE(CHILD(n, 1)) == classdef) { in ast_for_decorated()
3208 REQ(n, classdef); in ast_for_classdef()
3312 case classdef: in ast_for_stmt()
/external/python/cpython2/Modules/
Dparsermodule.c1104 int res = (validate_ntype(tree, classdef) && in validate_class()
1653 || (ntype == classdef) in validate_compound_stmt()
3162 case classdef: in validate_node()
/external/python/cpython3/Python/
Dast.c1676 TYPE(CHILD(n, 1)) == classdef); in ast_for_decorated()
1680 } else if (TYPE(CHILD(n, 1)) == classdef) { in ast_for_decorated()
3911 REQ(n, classdef); in ast_for_classdef()
4024 case classdef: in ast_for_stmt()
/external/python/cpython3/Doc/reference/
Dcompound_stmts.rst54 : | `classdef`
640 classdef: [`decorators`] "class" `classname` [`inheritance`] ":" `suite`