Home
last modified time | relevance | path

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

/external/clang/test/CoverageMapping/
Dmacroscopes.cpp23 #define simple_stmt ++x macro
67 simple_stmt; local
75 simple_stmt;
/external/python/cpython2/Grammar/
DGrammar18 single_input: NEWLINE | simple_stmt | compound_stmt NEWLINE
33 stmt: simple_stmt | compound_stmt
34 simple_stmt: small_stmt (';' small_stmt)* [';'] NEWLINE
78 suite: simple_stmt | NEWLINE INDENT stmt+ DEDENT
/external/python/cpython2/Lib/lib2to3/fixes/
Dfix_metaclass.py35 elif node.type == syms.simple_stmt and node.children:
84 new_stmt = Node(syms.simple_stmt, [new_expr])
110 if simple_node.type == syms.simple_stmt and simple_node.children:
Dfix_map.py63 if node.parent.type == syms.simple_stmt:
Dfix_exitfunc.py70 new = pytree.Node(syms.simple_stmt, [new_import])
Dfix_raise.py84 new = pytree.Node(syms.simple_stmt, [Name(u"raise")] + with_tb)
Dfix_next.py96 if node.type == syms.simple_stmt or node.parent is None:
Dfix_tuple_params.py75 new_lines.append(pytree.Node(syms.simple_stmt,
/external/python/cpython2/Lib/lib2to3/
DGrammar.txt31 single_input: NEWLINE | simple_stmt | compound_stmt NEWLINE
52 stmt: simple_stmt | compound_stmt
53 simple_stmt: small_stmt (';' small_stmt)* [';'] NEWLINE
99 suite: simple_stmt | NEWLINE INDENT stmt+ DEDENT
Dfixer_util.py298 return (node.type == syms.simple_stmt and node.children and
322 if (node.type == syms.simple_stmt and node.children and
336 root.insert_child(insert_pos, Node(syms.simple_stmt, children))
369 elif child.type == syms.simple_stmt:
/external/python/cpython2/Include/
Dgraminit.h15 #define simple_stmt 268 macro
/external/python/cpython2/Lib/
Dsymbol.py25 simple_stmt = 268 variable
/external/antlr/antlr-3.4/runtime/JavaScript/tests/functional/
DPython.g78 | simple_stmt
124 stmt: simple_stmt
128 simple_stmt
253 suite: simple_stmt
/external/python/cpython2/Demo/parser/
Dexample.py170 (symbol.simple_stmt,
/external/python/cpython2/Python/
Dast.c189 case simple_stmt: in num_stmts()
261 REQ(ch, simple_stmt); in PyAST_FromNode()
305 REQ(n, simple_stmt); in PyAST_FromNode()
2754 if (TYPE(CHILD(n, 0)) == simple_stmt) { in ast_for_suite()
2786 REQ(ch, simple_stmt); in ast_for_suite()
3255 if (TYPE(n) == simple_stmt) { in ast_for_stmt()
/external/python/cpython2/Lib/compiler/
Dtransformer.py323 def simple_stmt(self, nodelist): member in Transformer
1417 if n == symbol.stmt or n == symbol.simple_stmt \
1462 symbol.simple_stmt,
/external/python/cpython2/Lib/lib2to3/tests/
Dtest_util.py27 node = Node(fixer_util.syms.simple_stmt, node)
/external/python/cpython2/Modules/
Dparsermodule.c947 VALIDATER(stmt); VALIDATER(simple_stmt);
1519 if (TYPE(tree) == simple_stmt) in validate_stmt()
1535 int res = (validate_ntype(tree, simple_stmt) in validate_simple_stmt()
3158 case simple_stmt: in validate_node()
/external/python/cpython2/Doc/reference/
Dcompound_stmts.rst55 stmt_list: `simple_stmt` (";" `simple_stmt`)* [";"]
Dsimple_stmts.rst15 simple_stmt: `expression_stmt`
/external/autotest/contrib/
Dcoverage.py685 elif tree[i][0] == symbol.simple_stmt: