Searched refs:ast (Results 1 - 25 of 190) sorted by relevance

12345678

/external/chromium_org/mojo/public/tools/bindings/pylib/mojom_tests/parse/
H A Dparser_unittest.py24 import mojom.parse.ast as ast namespace
41 expected = ast.Mojom(
42 ast.Module(('IDENTIFIER', 'my_module'), None),
43 ast.ImportList(),
51 expected = ast.Mojom(
52 ast.Module(('IDENTIFIER', 'my_module'), None),
53 ast.ImportList(),
145 expected = ast.Mojom(
146 ast
[all...]
H A Dast_unittest.py24 import mojom.parse.ast as ast namespace
27 class _TestNode(ast.NodeBase):
38 class _TestNodeList(ast.NodeListBase):
50 node1 = ast.NodeBase(filename="hello.mojom", lineno=123)
51 node2 = ast.NodeBase()
/external/lldb/source/Symbol/
H A DClangASTContext.cpp343 ASTContext *ast = getASTContext(); local
344 if (ast)
345 return ast->getExternalSource () != NULL;
352 ASTContext *ast = getASTContext(); local
353 if (ast)
355 ast->setExternalSource (ast_source_ap);
356 ast->getTranslationUnitDecl()->setHasExternalLexicalStorage(true);
357 //ast->getTranslationUnitDecl()->setHasExternalVisibleStorage(true);
364 ASTContext *ast = getASTContext(); local
366 if (ast)
529 QualTypeMatchesBitSize(const uint64_t bit_size, ASTContext *ast, QualType qual_type) argument
543 GetBuiltinTypeForEncodingAndBitSize(ASTContext *ast, Encoding encoding, uint32_t bit_size) argument
670 GetBasicType(ASTContext *ast, const ConstString &name) argument
695 GetBasicType(ASTContext *ast, lldb::BasicType basic_type) argument
811 ASTContext *ast = getASTContext(); local
1021 GetUnknownAnyType(clang::ASTContext *ast) argument
1031 ASTContext *ast = getASTContext(); local
1041 GetTranslationUnitDecl(clang::ASTContext *ast) argument
1082 ASTContext *ast = type1.GetASTContext(); local
1108 ASTContext *ast = m_ast_ap.get(); local
1120 ASTContext *ast = m_ast_ap.get(); local
1136 ASTContext *ast = getASTContext(); local
1179 CreateTemplateParameterList(ASTContext *ast, const ClangASTContext::TemplateParameterInfos &template_param_infos, llvm::SmallVector<NamedDecl *, 8> &template_param_decls) argument
1238 ASTContext *ast = getASTContext(); local
1285 ASTContext *ast = getASTContext(); local
1361 ASTContext *ast = getASTContext(); local
1382 ASTContext *ast = getASTContext(); local
1676 FieldIsBitfield( ASTContext *ast, FieldDecl* field, uint32_t& bitfield_bit_size ) argument
1740 ASTContext *ast = getASTContext(); local
1802 ASTContext *ast = getASTContext(); local
1908 ASTContext *ast = getASTContext(); local
1955 CreateFunctionType(ASTContext *ast, const ClangASTType& result_type, const ClangASTType *args, unsigned num_args, bool is_variadic, unsigned type_quals) argument
1984 ASTContext *ast = getASTContext(); local
2014 ASTContext *ast = getASTContext(); local
2058 ASTContext *ast = getASTContext(); local
2130 GetFloatTypeFromBitSize(clang::ASTContext *ast, size_t bit_size) argument
2148 GetCompleteDecl(clang::ASTContext *ast, clang::Decl *decl) argument
2199 SetMetadata(clang::ASTContext *ast, const void *object, ClangASTMetadata &metadata) argument
2211 GetMetadata(clang::ASTContext *ast, const void *object) argument
[all...]
/external/chromium_org/mojo/public/tools/bindings/pylib/mojom/parse/
H A Dtranslate.py10 from . import ast namespace
68 assert isinstance(attribute_list, ast.AttributeList)
75 assert isinstance(enum_value, ast.EnumValue)
79 assert isinstance(enum, ast.Enum)
84 assert isinstance(const, ast.Const)
97 assert isinstance(struct_field, ast.StructField)
104 assert isinstance(struct, ast.Struct)
108 ast.StructField),
109 'enums': _MapTreeForType(_EnumToDict, struct.body, ast.Enum),
111 ast
[all...]
H A Dparser.py29 from . import ast namespace
75 p[0] = ast.Mojom(p[2], p[1], p[4])
79 p[0] = ast.Mojom(None, p[1], p[2])
83 p[0] = ast.ImportList()
94 p[0] = ast.Import(eval(p[2]))
98 p[0] = ast.Module(p[3], p[1], filename=self.filename, lineno=p.lineno(2))
126 p[0] = ast.AttributeList()
134 p[0] = ast.AttributeList(p[1])
144 p[0] = ast.Attribute(p[1], p[3], filename=self.filename, lineno=p.lineno(1))
153 p[0] = ast
[all...]
/external/antlr/antlr-3.4/runtime/Ruby/test/functional/ast-output/
H A Dconstruction.rb376 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)"
406 ast_test :input => "return;", :rule => :r5, :ast => "return"
408 ast_test :input => "return 2+3;", :rule => :r5, :ast => "(return (+ 2 3))"
410 ast_test :input => "3", :rule => :r6, :ast
[all...]
/external/chromium_org/ppapi/generators/
H A Didl_generator.py63 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)
106 releasestr = ast
[all...]
H A Dgenerator.py41 ast = ParseFiles(filenames)
42 if ast.errors:
43 print 'Found %d errors. Aborting build.\n' % ast.errors
45 return Generator.Run(ast)
/external/javassist/src/main/javassist/compiler/ast/
H A DArrayInit.java16 package javassist.compiler.ast;
H A DKeyword.java16 package javassist.compiler.ast;
H A DMember.java16 package javassist.compiler.ast;
H A DStringL.java16 package javassist.compiler.ast;
H A DSymbol.java16 package javassist.compiler.ast;
H A DVariable.java16 package javassist.compiler.ast;
H A DAssignExpr.java16 package javassist.compiler.ast;
H A DBinExpr.java16 package javassist.compiler.ast;
H A DFieldDecl.java16 package javassist.compiler.ast;
H A DInstanceOfExpr.java16 package javassist.compiler.ast;
/external/lldb/include/lldb/Symbol/
H A DClangNamespaceDecl.h27 ClangNamespaceDecl (clang::ASTContext *ast, clang::NamespaceDecl *namespace_decl) : argument
28 m_ast (ast),
75 SetASTContext (clang::ASTContext *ast) argument
77 m_ast = ast;
/external/chromium_org/third_party/jinja2/
H A Dmeta.py33 def find_undeclared_variables(ast):
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):
65 >>> ast = env.parse('{% extends "layout.html" %}{% include helper %}')
66 >>> list(meta.find_referenced_templates(ast))
72 for node in ast.find_all((nodes.Extends, nodes.FromImport, nodes.Import,
/external/javassist/src/main/javassist/compiler/
H A DNoFieldException.java18 import javassist.compiler.ast.ASTree;
H A DProceedHandler.java19 import javassist.compiler.ast.ASTList;
/external/chromium_org/mojo/public/tools/bindings/generators/
H A Drun_cpp_generator.py6 import ast namespace
19 dict = ast.literal_eval(s)
/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/swingui/runner/
H A DTestSuiteAdapter.java88 public static ITestCaseOutput createAstOutput(String ast) { argument
89 if(ast == null) throw new IllegalArgumentException("null");
90 return new TestCaseOutputAST(ast);
/external/chromium_org/third_party/WebKit/Source/bindings/scripts/
H A Didl_reader.py78 ast = blink_idl_parser.parse_file(self.parser, idl_filename)
79 if not ast:
82 definitions = IdlDefinitions(idl_file_basename, ast)

Completed in 461 milliseconds

12345678