/arkcompiler/ets_runtime/test/typeinfer/automatedcases/destructuredDeclarationEmit/ |
D | foo.ts | 37 const arr: [0, 1, 2, ['a', 'b', 'c', [{def: 'def'}, {sec: 'sec'}]]] = [0, 1, 2, ['a', 'b', 'c', [{d… 39 AssertType(def, "string"); 41 AssertType([0, 1, 2, ['a', 'b', 'c', [{def: 'def'}, {sec: 'sec'}]]], "[0, 1, 2, ["a", "b", "c", [{ … 45 AssertType(['a', 'b', 'c', [{def: 'def'}, {sec: 'sec'}]], "["a", "b", "c", [{ def: "def"; }, { sec:… 49 AssertType([{def: 'def'}, {sec: 'sec'}], "[{ def: "def"; }, { sec: "sec"; }]"); 50 AssertType({def: 'def'}, "{ def: "def"; }"); 51 AssertType(def, "string");
|
D | index.ts | 47 AssertType(arr, "[0, 1, 2, ["a", "b", "c", [{ def: "def"; }, { sec: "sec"; }]]]");
|
/arkcompiler/ets_runtime/test/typeinfer/automatedcases/exportDefaultQualifiedNameNoError/ |
D | usage.ts | 21 import def from "./code"; 22 void def; 23 AssertType(void def, "undefined"); 24 AssertType(def, "number");
|
/arkcompiler/ets_runtime/test/typeinfer/automatedcases/ |
D | strictBooleanMemberAssignability.ts | 22 def: boolean 24 this.def = true 25 AssertType(this.def = true, "boolean"); 26 AssertType(this.def, "boolean");
|
D | asyncFunctionContextuallyTypedReturns.ts | 83 h(async v => v ? (def) => { } : Promise.reject()); 84 AssertType(h(async v => v ? (def) => { } : Promise.reject()), "void"); 86 AssertType(async v => v ? (def) => { } : Promise.reject(), "(boolean) => Promise<union>"); 88 AssertType(v ? (def) => { } : Promise.reject(), "union"); 90 AssertType((def) => { }, "(string) => void"); 91 AssertType(def, "string");
|
D | lateBoundConstraintTypeChecksCorrectly.ts | 44 const def: T[typeof fooProp] = x[fooProp]; constant 45 AssertType(def, "T[unique symbol]");
|
D | invalidThisEmitInContextualObjectLiteral.ts | 27 public m(def: IDef) { }
|
/arkcompiler/ets_frontend/arkguard/src/utils/ |
D | ScopeAnalyzer.ts | 168 addDefinition(def: Symbol): void; 246 function addDefinition(def: Symbol): void { 247 current.defs.add(def); 362 defSymbols.forEach((def: Symbol) => { 364 if (def.exportSymbol) { 365 current.exportNames.add(def.name); 368 current.addDefinition(def); 583 for (const def of current.defs) { constant 584 if (def.exportSymbol) { 585 if (!current.exportNames.has(def.name)) { [all …]
|
/arkcompiler/ets_frontend/arkguard/src/transformers/rename/ |
D | RenameIdentifierTransformer.ts | 169 scope.defs.forEach((def) => { 170 if (scope.importNames.has(def.name)) { 171 scope.defs.delete(def); 183 defs.forEach((def) => { 184 const original: string = def.name; 187 …if (reservedNames.includes(original) || scope.exportNames.has(def.name) || isSkippedGlobal(openTop… 189 mangledSymbolNames.set(def, mangled); 193 if (mangledSymbolNames.has(def)) { 210 mangledSymbolNames.set(def, mangled);
|
/arkcompiler/ets_frontend/ts2panda/templates/ |
D | irnodes.ts.erb | 15 % def get_node_kind(mnemonic) 19 % def insn2node(insn) 24 % def get_result_type(insn) 42 % def get_result_dst(insn) 53 % def is_VReg(name) 59 % def is_Acc(name) 65 % def is_Imm(name) 71 % def is_Id(name) 77 % def is_Call(insn) 87 % def is_CallRange(insn) [all …]
|
D | diagnostic.ts.erb | 92 % def convertPropertyName(origName) 130 % def createKey(name,code) 137 % def genReportsUnnecessary(reportsUnnecessary) 144 % def genElidedInCompatabilityPyramid(elidedInCompatabilityPyramid,reportsUnnecessary) 155 % def genReportsDeprecated(reportsDeprecated,argElidedInCompatabilityPyramid)
|
/arkcompiler/ets_frontend/es2panda/compiler/templates/ |
D | isa.h.erb | 1 % def get_node_kind(mnemonic) 5 % def get_format_name(mnemonic) 76 % def insn2node(insn) 81 % def is_Range(insn) 93 % def is_VReg(name) 99 % def is_Acc(name) 105 % def is_Imm(name) 111 % def is_Id(name) 117 % def get_operand_type(name, name_tmp, insn, map) 139 % def get_operands(sig) [all …]
|
D | formats.h.erb | 1 % def get_format_name(mnemonic) 4 % def get_format_item_name(mnemonic, index) 31 % def get_operand_kind(op, insn) 52 % def make_format(fmt, insn)
|
/arkcompiler/ets_frontend/es2panda/ir/expressions/ |
D | classExpression.h | 36 …explicit ClassExpression(ClassDefinition *def) : Expression(AstNodeType::CLASS_EXPRESSION), def_(d… in ClassExpression() argument
|
/arkcompiler/ets_frontend/es2panda/ir/statements/ |
D | classDeclaration.h | 34 explicit ClassDeclaration(ClassDefinition *def, ArenaVector<Decorator *> &&decorators) in ClassDeclaration() argument 35 : Statement(AstNodeType::CLASS_DECLARATION), def_(def), decorators_(std::move(decorators)) in ClassDeclaration()
|
/arkcompiler/runtime_core/compiler/optimizer/templates/ |
D | inst_builder_gen.cpp.erb | 20 def get_input_idx(index, kind) 30 def inputs 34 def has_dst? 38 def get_input_string(index) 47 def get_format 53 def get_type(type) 89 def get_template_by_inst(inst) 97 def get_template(mn) 137 def template(name, inst, indent, context = {}) 143 def get_cc(inst)
|
/arkcompiler/runtime_core/compiler/docs/ |
D | ir_builder.md | 78 def Run(graph, bytecode): 90 def BuildBasicBlocks(graph, bytecode): 108 def BuildInstruction(bb, bc_inst): 116 def SplitConstants(): 121 def FixInstructions():
|
/arkcompiler/ets_frontend/test/scripts/performance_test/ |
D | readme_zh.md | 21 def __init__(self): 27 def __init__(self):
|
D | readme.md | 21 def __init__(self): 27 def __init__(self):
|
/arkcompiler/ets_runtime/ecmascript/mem/ |
D | chunk_containers.h | 41 ChunkVector(size_t size, T def, Chunk *chunk) in ChunkVector() argument 42 : std::vector<T, ChunkAllocator<T>>(size, def, ChunkAllocator<T>(chunk)) in ChunkVector()
|
/arkcompiler/ets_runtime/ecmascript/compiler/ |
D | frame_states.cpp | 387 GateRef def = gateAcc_.GetValueIn(gate, id); in ComputeLiveOutBC() local 388 UpdateAccumulator(def); in ComputeLiveOutBC() 394 GateRef def = gateAcc_.GetValueIn(gate, i); in ComputeLiveOutBC() local 395 UpdateVirtualRegister(vreg, def); in ComputeLiveOutBC() 563 GateRef def = gateAcc_.GetValueIn(saveRegsGate, i); in UpdateVirtualRegistersOfSuspend() local 564 UpdateVirtualRegister(i, def); in UpdateVirtualRegistersOfSuspend()
|
/arkcompiler/runtime_core/assembler/templates/ |
D | ins_emit.h.erb | 37 % def type(insn) 42 % def op_size(insn) 46 % def operands(insn, regs = "regs")
|
/arkcompiler/runtime_core/docs/ |
D | on-stack-replacement.md | 105 def interpreter_work(): 115 def update_hotness(method: Method*, bytecode_offset: int) -> bool: 126 def osr_entry(method: Method*, bytecode_offset: int) -> bool:
|
/arkcompiler/runtime_core/libpandafile/templates/tests/ |
D | bytecode_emitter_tests_gen.h.erb | 162 % def opcode_full_name(i) 166 % def format_full_name(i) 204 % def get_min(width, is_signed) 220 % def get_max(width, is_signed)
|
/arkcompiler/runtime_core/libpandafile/templates/ |
D | bytecode_emitter_gen.h.erb | 50 % def opcode_full_name(i) 54 % def format_full_name(i)
|