| /arkcompiler/ets_runtime/test/typeinfer/automatedcases/ |
| D | controlFlowAliasingCatchVariablesuseunknownincatchvariablesfalse.ts | 23 const isString = typeof e === 'string'; constant 24 AssertType(isString, "boolean"); 30 if (isString) { 31 AssertType(isString, "boolean"); 52 const isString = typeof e === 'string'; constant 53 AssertType(isString, "boolean"); 64 if (isString) { 65 AssertType(isString, "boolean");
|
| D | typePredicatesInUnion2.ts | 21 declare function isString(x: any): x is string; 23 declare function f(p: typeof isString | typeof isNumber): void; 24 f(isString); 25 AssertType(f(isString), "void"); 27 AssertType(isString, "(any) => x is string");
|
| D | arrayEvery.ts | 26 const isString = (x: unknown): x is string => typeof x === 'string'; 27 AssertType(isString, "(unknown) => x is string"); 35 if (foo.every(isString)) {
|
| /arkcompiler/ets_runtime/test/moduletest/protobuf/ |
| D | minimal.js | 20 util.isString = function isString(value) { function
|
| D | longbits.js | 23 util.isString(value);
|
| /arkcompiler/ets_frontend/ts2panda/ts2abc/ |
| D | ts2abc.cpp | 317 if (record.isMember("name") && record["name"].isString()) { in ParseRecord() 325 if (metadata.isMember("attribute") && metadata["attribute"].isString()) { in ParseRecord() 361 if (ids[i].isString()) { in ParseInstructionIds() 387 if (ins.isMember("l") && ins["l"].isString()) { in ParseInstructionLabel() 413 if (debugPosInfo.isMember("w") && debugPosInfo["w"].isString()) { in ParseInstructionDebugInfo() 458 if (variable.isMember("n") && variable["n"].isString()) { in ParseVariablesDebugInfo() 462 if (variable.isMember("s") && variable["s"].isString()) { in ParseVariablesDebugInfo() 466 if (variable.isMember("st") && variable["st"].isString()) { in ParseVariablesDebugInfo() 491 if (function.isMember("sf") && function["sf"].isString()) { in ParseSourceFileInfo() 495 if (function.isMember("sc") && function["sc"].isString()) { in ParseSourceFileInfo() [all …]
|
| /arkcompiler/ets_runtime/ecmascript/compiler/builtins/ |
| D | builtins_stubs.cpp | 152 Label isString(env); in DECLARE_BUILTINS() local 170 Branch(IsString(thisValue), &isString, &slowPath); in DECLARE_BUILTINS() 171 Bind(&isString); in DECLARE_BUILTINS() 224 Label isString(env); in DECLARE_BUILTINS() local 246 Branch(IsString(thisValue), &isString, &slowPath); in DECLARE_BUILTINS() 247 Bind(&isString); in DECLARE_BUILTINS() 335 Label isString(env); in DECLARE_BUILTINS() local 367 Branch(IsString(thisValue), &isString, &slowPath); in DECLARE_BUILTINS() 368 Bind(&isString); in DECLARE_BUILTINS() 493 Label isString(env); in DECLARE_BUILTINS() local [all …]
|
| /arkcompiler/ets_runtime/ecmascript/compiler/type_inference/ |
| D | method_type_infer.h | 117 bool GetSuperProp(GateRef gate, uint64_t index, bool isString = true);
|
| D | method_type_infer.cpp | 956 bool MethodTypeInfer::GetSuperProp(GateRef gate, uint64_t index, bool isString) in GetSuperProp() argument 969 GlobalTSTypeRef type = isString ? in GetSuperProp()
|
| /arkcompiler/ets_runtime/ecmascript/compiler/ |
| D | stub_builder.cpp | 263 Label isString(env); in FindEntryFromNameDictionary() local 265 Branch(IsString(key), &isString, ¬String); in FindEntryFromNameDictionary() 266 Bind(&isString); in FindEntryFromNameDictionary() 372 Label isString(env); in FindEntryFromTransitionDictionary() local 374 Branch(IsString(key), &isString, ¬String); in FindEntryFromTransitionDictionary() 375 Bind(&isString); in FindEntryFromTransitionDictionary() 975 Label isString(env); in TaggedToElementKind() local 977 Branch(TaggedIsString(value), &isString, &isNonString); in TaggedToElementKind() 978 Bind(&isString); in TaggedToElementKind() 1393 Label isString(env); in TryToElementsIndex() local [all …]
|
| D | circuit_builder.cpp | 1401 Label isString(env_); in TaggedIsStringOrSymbol() local
|
| /arkcompiler/ets_frontend/testTs/ |
| D | test-case.patch | 3393 + const isString = typeof x === "string"; 3394 + if (isString) { 3403 + const isString = typeof x === "string"; 3404 + if (isString) { 3410 + const isString = typeof x === "string"; 3412 + if (isString || isNumber) { 3421 + const isString = typeof x === "string"; 3423 + const isStringOrNumber = isString || isNumber; 3438 + const isString = typeof obj.x === 'string'; 3439 + if (isString) { [all …]
|
| /arkcompiler/ets_frontend/legacy_bin/api8/src/ |
| D | index.js | 2 …isString(t)?'"'+Vt(t)+'"':""+t},e.makeIdentifierFromModuleName=function(t){return e.getBaseFileNam… property
|
| /arkcompiler/ets_frontend/es2panda/test/compiler/js/ |
| D | cocos_worker_test.js | 10280 isString: gt, property 10335 isString: gt, property
|