v8  3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Maybe< T > Struct Template Reference

#include <v8.h>

Collaboration diagram for Maybe< T >:

Public Member Functions

 Maybe ()
 
 Maybe (T t)
 
 Maybe (bool has, T t)
 

Data Fields

bool has_value
 
T value
 

Detailed Description

template<class T>
struct v8::Maybe< T >

A simple Maybe type, representing an object which may or may not have a value.

Definition at line 917 of file v8.h.

Constructor & Destructor Documentation

Maybe ( )
inline

Definition at line 918 of file v8.h.

Maybe ( T  t)
inlineexplicit

Definition at line 919 of file v8.h.

Maybe ( bool  has,
T  t 
)
inline

Definition at line 920 of file v8.h.

Field Documentation

bool has_value

Definition at line 922 of file v8.h.

Referenced by HGraphBuilder::BuildBinaryOperation(), and HGraphBuilder::TruncateToNumber().

T value

Definition at line 923 of file v8.h.

Referenced by HGraphBuilder::BuildBinaryOperation(), and HGraphBuilder::TruncateToNumber().


The documentation for this struct was generated from the following file: