Home
last modified time | relevance | path

Searched refs:new_ast (Results 1 – 25 of 32) sorted by relevance

12

/dports/devel/pytype/pytype-2021.9.9/pytype/pytd/
H A Dpytd_visitors_test.py34 new_ast = ast.Visit(pytd_visitors.RenameModuleVisitor(module_name,
37 self.assertEqual("other.name", new_ast.name)
38 self.assertTrue(new_ast.Lookup("other.name.SomeClass"))
39 self.assertTrue(new_ast.Lookup("other.name.constant"))
40 self.assertTrue(new_ast.Lookup("other.name.ModuleFunction"))
43 new_ast.Lookup("foo.bar.SomeClass")
57 new_ast = ast.Visit(pytd_visitors.RenameModuleVisitor(module_name,
60 some_class = new_ast.Lookup("other.name.SomeClass")
/dports/math/libpgmath/flang-d07daf3/tools/flang1/flang1exe/
H A Dinterf.c164 int new_ast, old_ast; member
319 static int new_ast(int);
4460 l1 = new_ast(l1); in fill_ast()
4461 l2 = new_ast(l2); in fill_ast()
4462 l3 = new_ast(l3); in fill_ast()
4730 i = new_ast(i); in fill_ast()
4736 j = new_ast(j); in fill_ast()
4814 pa->new_ast = ast; in fill_ast()
4830 new_ast(int old_ast) in new_ast() function
4849 if (pa->new_ast) in new_ast()
[all …]
H A Dbblock.c81 int new_ast; in bblock() local
94 new_ast = mk_stmt(A_CONTINUE, 0); in bblock()
95 add_stmt_after(new_ast, 0); in bblock()
127 new_ast = mk_stmt(A_CONTINUE, 0); in bblock()
141 new_ast = mk_stmt(A_CONTINUE, 0); in bblock()
201 new_ast = mk_stmt(A_GOTO, 0); in bblock()
203 A_L1P(new_ast, astlab); in bblock()
224 new_ast = mk_stmt(A_CONTINUE, 0); in bblock()
242 new_ast = mk_stmt(A_CONTINUE, 0); in bblock()
280 new_ast = mk_stmt(A_RETURN, 0); in bblock()
[all …]
H A Dsemfunc.c476 int new_ast = 0; in rewrite_cptr_references() local
503 return new_ast; in rewrite_cptr_references()
517 int new_ast = 0; in byvalue_ref_arg() local
534 if (new_ast) { in byvalue_ref_arg()
535 SST_ASTP(e1, new_ast); in byvalue_ref_arg()
813 int new_ast; in func_call2() local
944 if (A_TYPEG(new_ast) == A_ID && (!TARGETG(A_SPTRG(new_ast))) && in func_call2()
1336 if (A_TYPEG(new_ast) == A_ID && (!TARGETG(A_SPTRG(new_ast))) && in func_call2()
1512 int new_ast; in ptrfunc_call() local
1768 if (A_TYPEG(new_ast) == A_ID && (!TARGETG(A_SPTRG(new_ast))) && in ptrfunc_call()
[all …]
H A Dsemfin.c3565 int new_ast = 0; in init_derived_type() local
3587 new_ast = mk_func_node(A_CALL, func_ast, 3, argt); in init_derived_type()
3595 if (new_ast == 0) { in init_derived_type()
3599 new_ast = mk_assn_stmt(mk_id(sptr), mk_id(prototype), dtype); in init_derived_type()
3602 if (new_ast > 0) { in init_derived_type()
3604 std = add_stmt_after(new_ast, std); in init_derived_type()
/dports/cad/yosys/yosys-yosys-0.12/frontends/ast/
H A Dast.cc1489 AstNode *new_ast = ast->clone(); local
1550 delete new_ast;
1560 AstNode *new_ast = NULL; local
1580 if (!new_ast) {
1582 new_ast = mod->ast->clone();
1585 new_ast->str = modname;
1640 delete new_ast;
1649 AstNode *new_ast = NULL; local
1653 new_ast->str = modname;
1660 delete new_ast;
[all …]
H A Dast.h418 AST::AstNode *new_ast,
/dports/devel/rust-analyzer/rust-analyzer-2021-12-20/crates/ide_completion/src/
H A Dlib.rs190 let new_ast = scope.clone_for_update(); in resolve_completion_edits() localVariable
208 insert_use::insert_use(&new_ast, mod_path_to_ast(&import_path), &config.insert_use); in resolve_completion_edits()
212 algo::diff(scope.as_syntax_node(), new_ast.as_syntax_node()).into_text_edit(&mut import_insert); in resolve_completion_edits()
H A Ditem.rs368 let new_ast = self.scope.clone_for_update(); in to_text_edit() localVariable
369 insert_use::insert_use(&new_ast, mod_path_to_ast(&self.import.import_path), &cfg); in to_text_edit()
371 algo::diff(self.scope.as_syntax_node(), new_ast.as_syntax_node()) in to_text_edit()
/dports/lang/rust/rustc-1.58.1-src/src/tools/rust-analyzer/crates/ide_completion/src/
H A Dlib.rs190 let new_ast = scope.clone_for_update(); in resolve_completion_edits() localVariable
208 insert_use::insert_use(&new_ast, mod_path_to_ast(&import_path), &config.insert_use); in resolve_completion_edits()
212 algo::diff(scope.as_syntax_node(), new_ast.as_syntax_node()).into_text_edit(&mut import_insert); in resolve_completion_edits()
H A Ditem.rs366 let new_ast = self.scope.clone_for_update(); in to_text_edit() localVariable
367 insert_use::insert_use(&new_ast, mod_path_to_ast(&self.import.import_path), &cfg); in to_text_edit()
369 algo::diff(self.scope.as_syntax_node(), new_ast.as_syntax_node()) in to_text_edit()
/dports/math/z3/z3-z3-4.8.13/src/api/
H A Dapi_ast_vector.cpp118 ast * new_ast = translator(to_ast_vector_ref(v).get(i)); in Z3_ast_vector_translate() local
119 new_v->m_ast_vector.push_back(new_ast); in Z3_ast_vector_translate()
/dports/math/py-z3-solver/z3-z3-4.8.10/src/api/
H A Dapi_ast_vector.cpp117 ast * new_ast = translator(to_ast_vector_ref(v).get(i));
118 new_v->m_ast_vector.push_back(new_ast);
/dports/security/py-angr/angr-9.0.5405/angr/storage/memory_mixins/paged_memory/pages/
H A Dultra_page.py58new_ast = claripy.BVV(concrete_run, (end - result[-1][0]) * memory.state.arch.byte_width)
59 new_obj = SimMemoryObject(new_ast, result[-1][0], endness)
66new_ast = self._default_value(global_start_addr, size, name='%s_%x' % (memory.id, global_start_add…
67 new_item = SimMemoryObject(new_ast, global_start_addr, endness=endness)
H A Dlist_page.py64new_ast = self._default_value(global_start_addr, size, name='%s_%x' % (memory.id, global_start_add…
65 …new_item = SimMemoryObject(new_ast, global_start_addr, endness=endness, byte_width=memory.state.ar…
/dports/devel/stylua/StyLua-0.11.0/cargo-crates/full_moon-0.13.1/src/ast/
H A Dmod.rs2314 let new_ast = { in test_with_eof_safety() localVariable
2320 print(&new_ast); in test_with_eof_safety()
2325 let new_ast = { in test_with_nodes_safety() localVariable
2331 print(&new_ast); in test_with_nodes_safety()
2336 let new_ast = { in test_with_visitor_safety() localVariable
2349 print(&new_ast); in test_with_visitor_safety()
/dports/math/py-claripy/claripy-9.0.5405/claripy/frontend_mixins/
H A Dmodel_cache_mixin.py58 new_ast = ast.replace_dict(self.replacements, leaf_operation=self._leaf_op)
59 return backends.concrete.eval(new_ast, 1)[0]
/dports/devel/py-boolean.py/boolean.py-3.8/boolean/
H A Dboolean.py389 new_ast = [ast[0], operation, subexp]
390 if TRACE_PARSE: print(' --> start_op: ast[0] is None:', repr(new_ast))
391 return new_ast
/dports/lang/py-hy/hy-0.19.0/hy/
H A Dcmdline.py286 new_ast = ast.Module(
289 print(astor.to_source(new_ast))
/dports/devel/jsonnet/jsonnet-0.17.0/core/
H A Dvm.cpp2580 const AST *new_ast = (this->*bit->second)(loc, args); in evaluate() local
2581 if (new_ast != nullptr) { in evaluate()
2582 ast_ = new_ast; in evaluate()
/dports/devel/py-jsonnet/jsonnet-0.17.0/core/
H A Dvm.cpp2580 const AST *new_ast = (this->*bit->second)(loc, args); in evaluate() local
2581 if (new_ast != nullptr) { in evaluate()
2582 ast_ = new_ast; in evaluate()
/dports/lang/elixir-devel/elixir-1.13.1/lib/elixir/lib/
H A Dmacro.ex500 iex> new_ast = Macro.prewalk(ast, fn
507 iex> Code.eval_quoted(new_ast)
/dports/lang/fennel/fennel-1.0.0/bootstrap/
H A Dfennel.lua2542 …local new_ast = utils.list(utils.sym(":", nil, scope), utils.sym(table_with_method, nil, scope), m…
2543 return compile1(new_ast, scope, parent, opts)
/dports/devel/llvm12/llvm-project-12.0.1.src/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.cpp9691 std::unique_ptr<TypeSystemClang> new_ast; in GetIsolatedAST() local
9692 new_ast.reset(new SpecializedScratchAST(GetSpecializedASTName(feature), in GetIsolatedAST()
9694 m_isolated_asts[feature] = std::move(new_ast); in GetIsolatedAST()
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.cpp9691 std::unique_ptr<TypeSystemClang> new_ast; in GetIsolatedAST() local
9692 new_ast.reset(new SpecializedScratchAST(GetSpecializedASTName(feature), in GetIsolatedAST()
9694 m_isolated_asts[feature] = std::move(new_ast); in GetIsolatedAST()

12