/third_party/typescript/tests/baselines/reference/ |
D | nullishCoalescingOperator1.js | 47 const maybeBool = false; 49 if (!(maybeBool ?? true)) { 53 if (maybeBool ?? true) { 86 var maybeBool = false; variable 87 if (!(maybeBool !== null && maybeBool !== void 0 ? maybeBool : true)) { 90 if (maybeBool !== null && maybeBool !== void 0 ? maybeBool : true) {
|
D | nullishCoalescingOperator1.types | 178 const maybeBool = false; 179 >maybeBool : false 182 if (!(maybeBool ?? true)) { 183 >!(maybeBool ?? true) : true 184 >(maybeBool ?? true) : false 185 >maybeBool ?? true : false 186 >maybeBool : false 194 if (maybeBool ?? true) { 195 >maybeBool ?? true : false 196 >maybeBool : false
|
D | nullishCoalescingOperator1.symbols | 131 const maybeBool = false; 132 >maybeBool : Symbol(maybeBool, Decl(nullishCoalescingOperator1.ts, 45, 5)) 134 if (!(maybeBool ?? true)) { 135 >maybeBool : Symbol(maybeBool, Decl(nullishCoalescingOperator1.ts, 45, 5)) 141 if (maybeBool ?? true) { 142 >maybeBool : Symbol(maybeBool, Decl(nullishCoalescingOperator1.ts, 45, 5))
|
/third_party/typescript/tests/cases/conformance/expressions/nullishCoalescingOperator/ |
D | nullishCoalescingOperator1.ts | 49 const maybeBool = false; 51 if (!(maybeBool ?? true)) { 55 if (maybeBool ?? true) {
|
/third_party/flatbuffers/tests/optional_scalars/ |
D | scalar-stuff.js | 148 maybeBool() { method in ScalarStuff 264 static addMaybeBool(builder, maybeBool) { argument 265 builder.addFieldInt8(31, +maybeBool, 0); 289 …justF32, maybeF32, defaultF32, justF64, maybeF64, defaultF64, justBool, maybeBool, defaultBool, ju… argument 332 if (maybeBool !== null) 333 ScalarStuff.addMaybeBool(builder, maybeBool);
|
D | ScalarStuff.kt | 175 val maybeBool : Boolean? constant 208 …tF64: Double, maybeF64: Double?, defaultF64: Double, justBool: Boolean, maybeBool: Boolean?, defau… in ScalarStuffBufferHasIdentifier() 238 maybeBool?.run { addMaybeBool(builder, maybeBool) } in ScalarStuffBufferHasIdentifier() 280 …fun addMaybeBool(builder: FlatBufferBuilder, maybeBool: Boolean) = builder.addBoolean(31, maybeBoo… in startScalarStuff()
|
D | scalar-stuff.ts | 185 maybeBool():boolean|null { method in ScalarStuff 338 static addMaybeBool(builder:flatbuffers.Builder, maybeBool:boolean) { 339 builder.addFieldInt8(31, +maybeBool, 0); 371 …tF64:number, maybeF64:number|null, defaultF64:number, justBool:boolean, maybeBool:boolean|null, de… 414 if (maybeBool !== null) 415 ScalarStuff.addMaybeBool(builder, maybeBool);
|
D | ScalarStuff.java | 61 …public boolean maybeBool() { int o = __offset(66); return o != 0 ? 0!=bb.get(o + bb_pos) : false; } in maybeBool() method in ScalarStuff 177 … void addMaybeBool(FlatBufferBuilder builder, boolean maybeBool) { builder.addBoolean(31, maybeBoo… in addMaybeBool() argument
|
D | ScalarStuff.cs | 169 …tic void AddMaybeBool(FlatBufferBuilder builder, bool? maybeBool) { builder.AddBool(31, maybeBool)… in AddMaybeBool()
|
/third_party/flatbuffers/tests/FlatBuffers.Test.Swift/Tests/FlatBuffers.Test.SwiftTests/ |
D | optional_scalars_generated.swift | 64 case maybeBool = 66 104 …public var maybeBool: Bool? { let o = _accessor.offset(VTOFFSET.maybeBool.v); return o == 0 ? true… variable 142 …public static func add(maybeBool: Bool?, _ fbb: inout FlatBufferBuilder) { fbb.add(element: maybeB… in add() 182 maybeBool: Bool? = nil, 220 optional_scalars_ScalarStuff.add(maybeBool: maybeBool, &fbb)
|
D | FlatBuffersTests.swift | 93 maybeBool: true, in testWriteOptionalValues() 100 XCTAssertEqual(scalarTable.maybeBool, true) in testWriteOptionalValues()
|
/third_party/flatbuffers/tests/ |
D | KotlinTest.kt | 511 assert(scalarStuff.maybeBool == null) in TestScalarOptional() 594 assert(scalarStuff.maybeBool == true) in TestScalarOptional()
|
D | JavaTest.java | 1267 TestEq(scalarStuff.maybeBool(), false); in TestScalarOptional() 1363 TestEq(scalarStuff.maybeBool(), true); in TestScalarOptional()
|