Home
last modified time | relevance | path

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

/external/chromium-trace/catapult/common/py_utils/py_utils/refactor/annotated_symbol/
Dclass_definition.py28 if statement.type == symbol.classdef:
31 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/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/cpython2/Include/
Dgraminit.h76 #define classdef 329 macro
/external/python/cpython2/Lib/
Dsymbol.py86 classdef = 329 variable
/external/python/cpython2/Demo/parser/
Dexample.py55 elif cstmt[0] == symbol.classdef:
/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/antlr/antlr-3.4/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()
3206 REQ(n, classdef); in ast_for_classdef()
3310 case classdef: in ast_for_stmt()
/external/python/cpython2/Modules/
Dparsermodule.c1062 int res = (validate_ntype(tree, classdef) && in validate_class()
1611 || (ntype == classdef) in validate_compound_stmt()
3120 case classdef: in validate_node()