HomeSort by relevance Sort by last modified time
    Searched refs:ast (Results 1 - 25 of 193) sorted by null

1 2 3 4 5 6 7 8

  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_ast.py 3 import ast namespace
183 if not isinstance(ast_node, ast.AST) or ast_node._fields is None:
185 if isinstance(ast_node, (ast.expr, ast.stmt, ast.excepthandler)):
198 x = ast.AST()
208 ast.AST(lineno=2
    [all...]
test_transformer.py 6 from compiler import transformer, ast namespace
20 self.assertIsInstance(a, ast.Module)
22 self.assertIsInstance(child1, ast.Stmt)
24 self.assertIsInstance(child2, ast.Assign)
26 # This actually tests the compiler, but it's a way to assure the ast
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_ast.py 3 import ast namespace
183 if not isinstance(ast_node, ast.AST) or ast_node._fields is None:
185 if isinstance(ast_node, (ast.expr, ast.stmt, ast.excepthandler)):
198 x = ast.AST()
208 ast.AST(lineno=2
    [all...]
test_transformer.py 6 from compiler import transformer, ast namespace
20 self.assertIsInstance(a, ast.Module)
22 self.assertIsInstance(child1, ast.Stmt)
24 self.assertIsInstance(child2, ast.Assign)
26 # This actually tests the compiler, but it's a way to assure the ast
  /prebuilts/tools/common/lombok-ast/
lombok-ast-0.2.1.jar 
lombok-ast-0.2.jar 
  /prebuilts/tools/common/m2/repository/com/android/tools/external/lombok/lombok-ast/0.2.1/
lombok-ast-0.2.1.jar 
  /prebuilts/sdk/tools/lib/
lombok-ast-0.2.jar 
  /external/antlr/antlr-3.4/runtime/Ruby/test/functional/ast-output/
construction.rb 12 output = AST;
78 : INT -> { ANTLR3::AST::CommonTree.new(ANTLR3::CommonToken.create(:type => FLOAT, :text => ($INT.text + ".0")))}
266 -> ^({ANTLR3::AST::CommonTree.new(ANTLR3::CommonToken.create(:type => FLOAT, :text => "1.0"))} ID)
376 expected_tree = opts[ :ast ]
394 ast_test :input => "1 + 2", :rule => :r1, :ast => "(+ 1 2)"
396 ast_test :input => "assert 2+3", :rule => :r2, :ast => "(assert (+ 2 3))"
398 ast_test :input => "assert 2+3 : 5", :rule => :r2, :ast => "(assert (+ 2 3) 5)"
400 ast_test :input => "if 1 fooze", :rule => :r3, :ast => "(if 1 fooze)"
402 ast_test :input => "if 1 fooze else fooze", :rule => :r3, :ast => "(if 1 fooze fooze)"
404 ast_test :input => "while 2 fooze", :rule => :r4, :ast => "(while 2 fooze)
    [all...]
  /external/chromium_org/ppapi/generators/
idl_generator.py 24 defines it to register the generator. After the AST is generated, call the
63 def Generate(self, ast, options):
69 print "Found releases: %s" % ast.releases
72 for filenode in ast.GetListOf('File'):
90 vmin = ast.releases[0]
92 vmax = ast.releases[-1]
94 vmin = ast.releases.index(vmin)
95 vmax = ast.releases.index(vmax) + 1
96 releases = ast.releases[vmin:vmax]
98 ret = self.GenerateRange(ast, releases, options
    [all...]
generator.py 41 ast = ParseFiles(filenames)
42 if ast.errors:
43 print 'Found %d errors. Aborting build.\n' % ast.errors
45 return Generator.Run(ast)
  /external/chromium_org/third_party/WebKit/Source/devtools/scripts/jsdoc-validator/src/org/chromium/devtools/jsdoc/
DoDidNodeVisitor.java 3 import com.google.javascript.rhino.head.ast.AstNode;
  /external/javassist/src/main/javassist/compiler/ast/
ArrayInit.java 16 package javassist.compiler.ast;
Keyword.java 16 package javassist.compiler.ast;
Member.java 16 package javassist.compiler.ast;
StringL.java 16 package javassist.compiler.ast;
Symbol.java 16 package javassist.compiler.ast;
Variable.java 16 package javassist.compiler.ast;
  /external/chromium_org/mojo/public/bindings/generators/
run_cpp_generator.py 6 import ast namespace
16 dict = ast.literal_eval(s)
  /external/chromium_org/third_party/WebKit/Source/devtools/scripts/jsdoc-validator/src/org/chromium/devtools/jsdoc/checks/
AstUtil.java 3 import com.google.javascript.rhino.head.ast.AstNode;
  /external/javassist/src/main/javassist/compiler/
NoFieldException.java 18 import javassist.compiler.ast.ASTree;
ProceedHandler.java 19 import javassist.compiler.ast.ASTList;
  /external/chromium/testing/gmock/scripts/generator/cpp/
gmock_class.py 36 from cpp import ast namespace
52 function_type = ast.FUNCTION_VIRTUAL | ast.FUNCTION_PURE_VIRTUAL
53 ctor_or_dtor = ast.FUNCTION_CTOR | ast.FUNCTION_DTOR
58 if (isinstance(node, ast.Function) and
63 if node.modifiers & ast.FUNCTION_CONST:
109 if (isinstance(node, ast.Class) and node.body and
178 builder = ast.BuilderFromSource(source, filename)
  /external/chromium_org/third_party/jinja2/
meta.py 33 def find_undeclared_variables(ast):
34 """Returns a set of all variables in the AST that will be looked up from
41 >>> ast = env.parse('{% set foo = 42 %}{{ bar + foo }}')
42 >>> meta.find_undeclared_variables(ast)
52 codegen = TrackingCodeGenerator(ast.environment)
53 codegen.visit(ast)
57 def find_referenced_templates(ast):
58 """Finds all the referenced templates from the AST. This will return an
65 >>> ast = env.parse('{% extends "layout.html" %}{% include helper %}')
66 >>> list(meta.find_referenced_templates(ast))
    [all...]
  /external/chromium_org/build/win/importlibs/
filter_export_list.py 7 import ast namespace
44 master_exports = ast.literal_eval(f.read())

Completed in 183 milliseconds

1 2 3 4 5 6 7 8