Home
last modified time | relevance | path

Searched refs:ast (Results 1 – 25 of 177) sorted by relevance

12345678

/external/chromium/testing/gmock/scripts/generator/cpp/
Dgmock_class.py36 from cpp import ast
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)
Dgmock_class_test.py30 from cpp import ast
52 builder = ast.BuilderFromSource(cpp_source, '<test>')
161 builder = ast.BuilderFromSource(cpp_source, filename)
/external/clang/test/ASTMerge/
Dcategory.m1 // RUN: %clang_cc1 -emit-pch -o %t.1.ast %S/Inputs/category1.m
2 // RUN: %clang_cc1 -emit-pch -o %t.2.ast %S/Inputs/category2.m
3 // RUN: %clang_cc1 -ast-merge %t.1.ast -ast-merge %t.2.ast -fsyntax-only %s 2>&1 | FileCheck %s
Dproperty.m1 // RUN: %clang_cc1 -emit-pch -o %t.1.ast %S/Inputs/property1.m
2 // RUN: %clang_cc1 -emit-pch -o %t.2.ast %S/Inputs/property2.m
3 // RUN: %clang_cc1 -ast-merge %t.1.ast -ast-merge %t.2.ast -fsyntax-only %s 2>&1 | FileCheck %s
Dinterface.m1 // RUN: %clang_cc1 -emit-pch -o %t.1.ast %S/Inputs/interface1.m
2 // RUN: %clang_cc1 -emit-pch -o %t.2.ast %S/Inputs/interface2.m
3 // RUN: %clang_cc1 -ast-merge %t.1.ast -ast-merge %t.2.ast -fsyntax-only %s 2>&1 | FileCheck %s
/external/mesa3d/src/glsl/
Dglsl_parser_extras.cpp306 ast_node *ast = exec_node_data(ast_node, n, link); in print() local
307 ast->print(); in print()
389 ast_node *ast = exec_node_data(ast_node, n, link); in print() local
390 ast->print(); in print()
425 ast_node *ast = exec_node_data(ast_node, n, link); in print() local
426 ast->print(); in print()
474 ast_node *ast = exec_node_data(ast_node, n, link); in print() local
475 ast->print(); in print()
553 ast_node *ast = exec_node_data(ast_node, ptr, link); in print() local
554 ast->print(); in print()
[all …]
Dmain.cpp66 ast_node *ast = exec_node_data(ast_node, n, link); in compile_shader() local
67 ast->print(); in compile_shader()
/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/swingui/runner/
DTestSuiteAdapter.java88 public static ITestCaseOutput createAstOutput(String ast) { in createAstOutput() argument
89 if(ast == null) throw new IllegalArgumentException("null"); in createAstOutput()
90 return new TestCaseOutputAST(ast); in createAstOutput()
/external/clang/test/Index/
DTestClassForwardDecl.m1 // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fblocks -emit-pch -x objective-c %s -o %t.ast
2 // RUN: c-index-test -test-file-scan %t.ast %s | FileCheck -check-prefix=scan %s
3 // RUN: c-index-test -test-load-tu %t.ast local | FileCheck -check-prefix=load %s
DTestClassDecl.m1 // RUN: c-index-test -write-pch %t.ast -fobjc-nonfragile-abi -fblocks -x objective-c %s
2 // RUN: c-index-test -test-file-scan %t.ast %s | FileCheck -check-prefix=scan %s
3 // RUN: c-index-test -test-load-tu %t.ast local | FileCheck -check-prefix=load %s
/external/clang/test/Coverage/
Dast-printing.m2 // RUN: %clang_cc1 -ast-print -fobjc-exceptions %s
3 // RUN: %clang_cc1 -ast-dump -fobjc-exceptions %s
/external/jsilver/src/com/google/clearsilver/jsilver/compiler/
DTemplateCompiler.java88 private Template compile(TemplateSyntaxTree ast, String templateName, EscapeMode mode) { in compile() argument
89 CharSequence javaSource = translateAstToJavaSource(ast, mode); in compile()
109 private CharSequence translateAstToJavaSource(TemplateSyntaxTree ast, EscapeMode mode) { in translateAstToJavaSource() argument
113 ast.apply(new TemplateTranslator(PACKAGE_NAME, CLASS_NAME, sourceBuffer, propagateStatus)); in translateAstToJavaSource()
/external/webkit/Source/WebCore/inspector/front-end/UglifyJS/
Dprocess.js70 function ast_walker(ast) { argument
206 function walk(ast) { argument
207 if (ast == null)
210 stack.push(ast);
211 var type = ast[0];
214 var ret = gen.apply(ast, ast.slice(1));
219 return gen.apply(ast, ast.slice(1));
358 function ast_add_scope(ast) { argument
420 return walk(ast);
460 function ast_mangle(ast, do_toplevel) { argument
[all …]
/external/clang/test/SemaObjC/
Dstatic-ivar-ref-1.m1 // RUN: %clang_cc1 -triple i386-unknown-unknown -ast-print %s 2>&1 | FileCheck %s
2 // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -ast-print %s 2>&1 | FileCheck %s
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/
DGrammarAST.java160 public void initialize(Tree ast) { in initialize() argument
161 GrammarAST t = ((GrammarAST)ast); in initialize()
421 public boolean equals(Object ast) { in equals() argument
422 if ( this == ast ) { in equals()
425 if ( !(ast instanceof GrammarAST) ) { in equals()
426 return this.getType() == ((Tree)ast).getType(); in equals()
428 GrammarAST t = (GrammarAST)ast; in equals()
/external/webkit/Source/WebCore/inspector/front-end/
DScriptFormatterWorker.js40 var ast = parse.parse(source);
47 return process.gen_code(ast, beautifyOptions);
/external/clang/test/PCH/
Dobjc_stmts.m3 // RUN: %clang_cc1 -include %S/objc_stmts.h -ast-dump -fobjc-exceptions -o - %s | FileCheck %s
8 // RUN: %clang_cc1 -include-pch %t -ast-dump -fobjc-exceptions -o - %s | FileCheck %s
/external/jsilver/src/com/google/clearsilver/jsilver/interpreter/
DOptimizingTemplateFactory.java51 private void optimize(TemplateSyntaxTree ast) { in optimize() argument
53 ast.apply(optimizer.getOptimizer()); in optimize()
/external/javassist/src/main/javassist/compiler/ast/
DArrayInit.java16 package javassist.compiler.ast;
DKeyword.java16 package javassist.compiler.ast;
DSymbol.java16 package javassist.compiler.ast;
DStringL.java16 package javassist.compiler.ast;
DVariable.java16 package javassist.compiler.ast;
/external/javassist/src/main/javassist/compiler/
DProceedHandler.java19 import javassist.compiler.ast.ASTList;
DNoFieldException.java18 import javassist.compiler.ast.ASTree;

12345678