Searched refs:classdef (Results 1 – 13 of 13) sorted by relevance
/external/chromium-trace/catapult/common/py_utils/py_utils/refactor/annotated_symbol/ |
D | class_definition.py | 28 if statement.type == symbol.classdef: 31 statement.children[-1].type == symbol.classdef):
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/rewriter/ |
D | ClassDefRewriter.java | 61 public RewrittenClassDef(@Nonnull ClassDef classdef) { in RewrittenClassDef() argument 62 this.classDef = classdef; in RewrittenClassDef()
|
/external/python/cpython2/Grammar/ |
D | Grammar | 24 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/ |
D | Grammar.txt | 36 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
|
D | fixer_util.py | 236 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/ |
D | graminit.h | 76 #define classdef 329 macro
|
/external/python/cpython2/Lib/ |
D | symbol.py | 86 classdef = 329 variable
|
/external/python/cpython2/Demo/parser/ |
D | example.py | 55 elif cstmt[0] == symbol.classdef:
|
/external/python/cpython2/Lib/compiler/ |
D | transformer.py | 164 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/ |
D | Python.g | 231 | classdef 363 classdef: 'class' NAME (LPAREN testlist RPAREN)? COLON suite
|
/external/python/cpython2/Doc/reference/ |
D | compound_stmts.rst | 51 : | `classdef` 447 decorated: decorators (classdef | funcdef) 563 classdef: "class" `classname` [`inheritance`] ":" `suite`
|
/external/python/cpython2/Python/ |
D | ast.c | 933 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/ |
D | parsermodule.c | 1062 int res = (validate_ntype(tree, classdef) && in validate_class() 1611 || (ntype == classdef) in validate_compound_stmt() 3120 case classdef: in validate_node()
|