Searched refs:optionalName (Results 1 – 3 of 3) sorted by relevance
41 Optional<String> optionalName = Optional.absent(); in testAbsent() local42 assertFalse(optionalName.isPresent()); in testAbsent()58 Optional<String> optionalName = Optional.fromNullable("bob"); in testFromNullable() local59 assertEquals("bob", optionalName.get()); in testFromNullable()
546 const auto &optionalName{std::get<0>(std::get<0>(a.t).statement.t)}; in PushConstructName() local547 if (optionalName) { in PushConstructName()548 constructNames_.emplace_back(optionalName->ToString()); in PushConstructName()553 const auto &optionalName{ in PushConstructName() local556 if (optionalName) { in PushConstructName()557 constructNames_.emplace_back(optionalName->ToString()); in PushConstructName()562 const auto &optionalName{std::get<0>(std::get<0>(a.t).statement.t)}; in PushConstructNameWithoutBlock() local563 if (optionalName) { in PushConstructNameWithoutBlock()564 constructNames_.emplace_back(optionalName->ToString()); in PushConstructNameWithoutBlock()574 const auto &optionalName{std::get<0>(std::get<0>(a.t).statement.t)}; in PopConstructNameIfPresent() local[all …]
58 Optional<String> optionalName = Optional.absent(); in testAbsent() local59 assertFalse(optionalName.isPresent()); in testAbsent()75 Optional<String> optionalName = Optional.fromNullable("bob"); in testFromNullable() local76 assertEquals("bob", optionalName.get()); in testFromNullable()