Home
last modified time | relevance | path

Searched defs:instanceof (Results 1 – 25 of 28) sorted by relevance

12

/third_party/typescript/tests/cases/conformance/expressions/binaryOperators/instanceofOperator/
DinstanceofOperatorWithInvalidOperands.ts14 var ra1 = a1 instanceof x; variable
15 var ra2 = a2 instanceof x; variable
16 var ra3 = a3 instanceof x; variable
17 var ra4 = a4 instanceof x; variable
18 var ra5 = 0 instanceof x; variable
19 var ra6 = true instanceof x; variable
20 var ra7 = '' instanceof x; variable
21 var ra8 = null instanceof x; variable
22 var ra9 = undefined instanceof x; variable
34 var rb1 = x instanceof b1; variable
[all …]
DinstanceofOperatorWithRHSIsSubtypeOfFunction.ts9 var r1 = x instanceof f1; variable
10 var r2 = x instanceof f2; variable
11 var r3 = x instanceof f3; variable
12 var r4 = x instanceof f4; variable
13 var r5 = x instanceof null; variable
14 var r6 = x instanceof undefined; variable
DinstanceofOperatorWithLHSIsObject.ts11 var r1 = a instanceof x1; variable
12 var r2 = b instanceof x2; variable
13 var r3 = c instanceof x1; variable
14 var r4 = d instanceof x1; variable
DinstanceofOperatorWithAny.ts3 var r: boolean = a instanceof a; variable
/third_party/jerryscript/tests/unit-core/
Dtest-native-instanceof.cpp39 test_instanceof (jerry_value_t instanceof, in test_instanceof()
89 …jerry_value_t instanceof = jerry_eval ((jerry_char_t *) instanceof_source, sizeof (instanceof_sour… variable
/third_party/typescript/tests/cases/conformance/es6/templates/
DtemplateStringInInstanceOfES6.ts2 var x = `abc${ 0 }def` instanceof String; variable
DtemplateStringInInstanceOf.ts1 var x = `abc${ 0 }def` instanceof String; variable
/third_party/typescript/tests/cases/conformance/expressions/typeGuards/
DtypeGuardOfFormInstanceOfOnInterface.ts38 var r2: D1 | C2 = c2Ord1 instanceof c1 && c2Ord1; // C2 | D1 variable
DtypeGuardOfFormInstanceOf.ts33 var r2: D1 | C2 = ctor2 instanceof C1 && ctor2; // C2 | D1 variable
DtypeGuardOfFromPropNameInUnionType.ts37 const y: string = x instanceof AWithOptionalProp constant
/third_party/typescript/tests/baselines/reference/
DtypeGuardFunctionOfFormThis.js4 return this instanceof LeadGuard; field in RoyalGuard
115 isLeader(): this is MimicLeader { return this instanceof MimicLeader; }; field in MimicGuard
DdeclarationEmitThisPredicatesWithPrivateName01.js4 return this instanceof D; field in C
DdeclarationEmitThisPredicates01.js4 return this instanceof D; field in C
DtypeGuardFunctionOfFormThisErrors.js4 return this instanceof LeadGuard; field in RoyalGuard
DpropertyNamesOfReservedWords.js34 instanceof; field in C
DconvertClassExpressionToFunctionFromObjectProperty1.js76 foo.instanceof = class { class in foo
362 foo.instanceof = /** @class */ (function () { function
DconstructorWithIncompleteTypeAnnotation.js377 …"var": number = 42, equals: function (x) { return x["var"] === 42; }, "instanceof": function () { … method
/third_party/typescript/src/testRunner/parallel/
Dworker.ts289 const error = err instanceof Error ? err : new Error("" + err); constant
/third_party/typescript/tests/cases/compiler/
DconvertKeywordsYes.ts157 instanceof; property
214 public instanceof = 0; property in bigClass
273 instanceof, enumerator
DconvertClassExpressionToFunctionFromObjectProperty2.ts75 instanceof: class { constant
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/TableGen/
DJSONBackend.cpp176 json::Object instanceof; in run() local
/third_party/typescript/tests/cases/conformance/types/objectTypeLiteral/propertySignatures/
DpropertyNamesOfReservedWords.ts33 instanceof; property in C
102 instanceof; property
241 instanceof, enumerator
/third_party/protobuf/php/tests/proto/
Dtest_reserved_enum_value_lower.proto45 instanceof = 39; enumerator
Dtest_reserved_message_lower.proto44 message instanceof {} message
/third_party/node/test/js-native-api/test_general/
Dtest_general.c50 bool instanceof; in doInstanceOf() local

12