Lines Matching refs:Maybe
85 class Maybe; variable
1475 V8_WARN_UNUSED_RESULT Maybe<int> GetLineNumber(Local<Context> context) const;
1494 V8_WARN_UNUSED_RESULT Maybe<int> GetStartColumn(Local<Context> context) const;
1501 V8_WARN_UNUSED_RESULT Maybe<int> GetEndColumn(Local<Context> context) const;
2018 V8_WARN_UNUSED_RESULT Maybe<bool> BooleanValue(Local<Context> context) const;
2019 V8_WARN_UNUSED_RESULT Maybe<double> NumberValue(Local<Context> context) const;
2020 V8_WARN_UNUSED_RESULT Maybe<int64_t> IntegerValue(
2022 V8_WARN_UNUSED_RESULT Maybe<uint32_t> Uint32Value(
2024 V8_WARN_UNUSED_RESULT Maybe<int32_t> Int32Value(Local<Context> context) const;
2034 V8_WARN_UNUSED_RESULT Maybe<bool> Equals(Local<Context> context,
2638 V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
2643 V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
2653 V8_WARN_UNUSED_RESULT Maybe<bool> CreateDataProperty(Local<Context> context,
2656 V8_WARN_UNUSED_RESULT Maybe<bool> CreateDataProperty(Local<Context> context,
2666 V8_WARN_UNUSED_RESULT Maybe<bool> DefineOwnProperty(
2682 Maybe<bool> ForceSet(Local<Context> context, Local<Value> key,
2701 V8_WARN_UNUSED_RESULT Maybe<PropertyAttribute> GetPropertyAttributes(
2713 V8_WARN_UNUSED_RESULT Maybe<bool> Has(Local<Context> context,
2718 Maybe<bool> Delete(Local<Context> context, Local<Value> key);
2721 V8_WARN_UNUSED_RESULT Maybe<bool> Has(Local<Context> context, uint32_t index);
2725 Maybe<bool> Delete(Local<Context> context, uint32_t index);
2742 Maybe<bool> SetAccessor(Local<Context> context, Local<Name> name,
2760 Maybe<bool> HasPrivate(Local<Context> context, Local<Private> key);
2761 Maybe<bool> SetPrivate(Local<Context> context, Local<Private> key,
2763 Maybe<bool> DeletePrivate(Local<Context> context, Local<Private> key);
2798 V8_WARN_UNUSED_RESULT Maybe<bool> SetPrototype(Local<Context> context,
2858 V8_WARN_UNUSED_RESULT Maybe<bool> HasOwnProperty(Local<Context> context,
2862 V8_WARN_UNUSED_RESULT Maybe<bool> HasRealNamedProperty(Local<Context> context,
2866 V8_WARN_UNUSED_RESULT Maybe<bool> HasRealIndexedProperty(
2870 V8_WARN_UNUSED_RESULT Maybe<bool> HasRealNamedCallbackProperty(
2890 Maybe<PropertyAttribute> GetRealNamedPropertyAttributesInPrototypeChain(
2892 V8_WARN_UNUSED_RESULT Maybe<PropertyAttribute>
2912 Maybe<PropertyAttribute> GetRealNamedPropertyAttributes(
2914 V8_WARN_UNUSED_RESULT Maybe<PropertyAttribute> GetRealNamedPropertyAttributes(
3039 V8_WARN_UNUSED_RESULT Maybe<bool> Has(Local<Context> context,
3041 V8_WARN_UNUSED_RESULT Maybe<bool> Delete(Local<Context> context,
3072 V8_WARN_UNUSED_RESULT Maybe<bool> Has(Local<Context> context,
3074 V8_WARN_UNUSED_RESULT Maybe<bool> Delete(Local<Context> context,
3339 Maybe<bool> Resolve(Local<Context> context, Local<Value> value);
3343 Maybe<bool> Reject(Local<Context> context, Local<Value> value);
6446 friend class Maybe; variable
6467 class Maybe {
6482 V8_INLINE bool operator==(const Maybe& other) const {
6487 V8_INLINE bool operator!=(const Maybe& other) const {
6492 Maybe() : has_value(false) {} in Maybe() function
6493 explicit Maybe(const T& t) : has_value(true), value(t) {} in Maybe() function
6499 friend Maybe<U> Nothing();
6501 friend Maybe<U> Just(const U& u);
6506 inline Maybe<T> Nothing() { in Nothing()
6507 return Maybe<T>(); in Nothing()
6512 inline Maybe<T> Just(const T& t) { in Just()
6513 return Maybe<T>(t); in Just()