Home
last modified time | relevance | path

Searched refs:placeholder (Results 1 - 7 of 7) sorted by relevance

/arkcompiler/ets_frontend/es2panda/ir/ts/
H A DtsIndexSignature.cpp61 checker::ObjectType *placeholder = checker->Allocator()->New<checker::ObjectLiteralType>(desc); in Check() local
63 CHECK_NOT_NULL(placeholder); in Check()
65 placeholder->Desc()->numberIndexInfo = info; in Check()
67 placeholder->Desc()->stringIndexInfo = info; in Check()
70 checker->NodeCache().insert({this, placeholder}); in Check()
72 return placeholder; in Check()
/arkcompiler/ets_frontend/ets2panda/public/
H A Des2panda_lib.rb160 replacements = placeholders.map do |path, placeholder|
162 [placeholder, value]
216 clever_replacements += clever_placeholders.map do |_path, placeholder|
217 if placeholder.include?('.')
218 value = get_placeholder_value(found_change_type, placeholder)
219 [placeholder, value]
224 raise 'Unknown placeholder: ' + placeholder + "\n" unless is_known_replacement
277 def get_placeholder_value(found_change_type, placeholder)
278 path_to_value = placeholder
[all...]
/arkcompiler/ets_frontend/es2panda/typescript/core/
H A Dfunction.cpp410 Type *placeholder = allocator_->New<ArrayType>(GlobalAnyType()); in CheckFunctionParameter() local
411 CHECK_NOT_NULL(placeholder); in CheckFunctionParameter()
412 placeholder->SetVariable(std::get<0>(result)); in CheckFunctionParameter()
413 nodeCache_.insert({param, placeholder}); in CheckFunctionParameter()
/arkcompiler/ets_frontend/ets2panda/checker/ts/
H A Dfunction.cpp388 Type *placeholder = Allocator()->New<ArrayType>(GlobalAnyType()); in CheckFunctionParameter() local
389 placeholder->SetVariable(std::get<0>(result)); in CheckFunctionParameter()
390 param->SetTsType(placeholder); in CheckFunctionParameter()
/arkcompiler/ets_frontend/ets2panda/checker/
H A DTSAnalyzer.cpp75 checker::ObjectType *placeholder = checker->Allocator()->New<checker::ObjectLiteralType>(desc); in Check() local
78 placeholder->Desc()->numberIndexInfo = info; in Check()
80 placeholder->Desc()->stringIndexInfo = info; in Check()
83 node->SetTsType(placeholder); in Check()
84 return placeholder; in Check()
/arkcompiler/ets_frontend/ets2panda/parser/
H A DETSparser.cpp546 auto *placeholder = AllocNode<ir::TSInterfaceBody>(std::move(fieldDeclarations)); in ParseInnerRest() local
547 ParseClassFieldDefinition(memberName, memberModifiers, placeholder->BodyPtr()); in ParseInnerRest()
548 return placeholder; in ParseInnerRest()
/arkcompiler/ets_frontend/es2panda/test/compiler/js/
H A Dcocos_worker_test.js[all...]

Completed in 39 milliseconds