V8 API Reference, 7.2.502.16 (for Deno 0.2.4)
v8::internal::compiler::Type Class Reference

Public Types

typedef BitsetType::bitset bitset
 

Public Member Functions

bool IsNone () const
 
bool IsInvalid () const
 
bool Is (Type that) const
 
bool Maybe (Type that) const
 
bool Equals (Type that) const
 
bool IsBitset () const
 
bool IsRange () const
 
bool IsHeapConstant () const
 
bool IsOtherNumberConstant () const
 
bool IsTuple () const
 
const HeapConstantTypeAsHeapConstant () const
 
const OtherNumberConstantTypeAsOtherNumberConstant () const
 
const RangeTypeAsRange () const
 
const TupleTypeAsTuple () const
 
double Min () const
 
double Max () const
 
Type GetRange () const
 
int NumConstants () const
 
bool operator== (Type other) const
 
bool operator!= (Type other) const
 
void PrintTo (std::ostream &os) const
 
bool IsUnionForTesting ()
 
bitset AsBitsetForTesting ()
 
const UnionTypeAsUnionForTesting ()
 
Type BitsetGlbForTesting ()
 
Type BitsetLubForTesting ()
 

Static Public Member Functions

static Type SignedSmall ()
 
static Type UnsignedSmall ()
 
static Type OtherNumberConstant (double value, Zone *zone)
 
static Type HeapConstant (JSHeapBroker *broker, Handle< i::Object > value, Zone *zone)
 
static Type HeapConstant (const HeapObjectRef &value, Zone *zone)
 
static Type Range (double min, double max, Zone *zone)
 
static Type Range (RangeType::Limits lims, Zone *zone)
 
static Type Tuple (Type first, Type second, Type third, Zone *zone)
 
static Type Union (int length, Zone *zone)
 
static Type NewConstant (JSHeapBroker *broker, Handle< i::Object > value, Zone *zone)
 
static Type NewConstant (double value, Zone *zone)
 
static Type Union (Type type1, Type type2, Zone *zone)
 
static Type Intersect (Type type1, Type type2, Zone *zone)
 
static Type For (HeapObjectType const &type)
 
static Type For (MapRef const &type)
 
static Type Invalid ()
 

Friends

template<class >
class Iterator
 
size_t hash_value (Type type)
 

Detailed Description

Definition at line 356 of file types.h.


The documentation for this class was generated from the following files: