V8 API Reference, 7.2.502.16 (for Deno 0.2.4)
v8::internal::ObjectLiteral Class Referencefinal
Inheritance diagram for v8::internal::ObjectLiteral:
v8::internal::AggregateLiteral v8::internal::MaterializedLiteral v8::internal::Expression v8::internal::AstNode v8::internal::ZoneObject

Classes

struct  Accessors
 

Public Types

enum  Flags { kFastElements = 1 << 3, kHasNullPrototype = 1 << 4 }
 
typedef ObjectLiteralProperty Property
 
- Public Types inherited from v8::internal::AggregateLiteral
enum  Flags { kNoFlags = 0, kIsShallow = 1, kDisableMementos = 1 << 1, kNeedsInitialAllocationSite = 1 << 2 }
 
- Public Types inherited from v8::internal::Expression
enum  Context { kUninitialized, kEffect, kValue, kTest }
 
- Public Types inherited from v8::internal::AstNode
enum  NodeType : uint8_t { AST_NODE_LIST =(DECLARE_TYPE_ENUM) }
 

Public Member Functions

Handle< ObjectBoilerplateDescriptionboilerplate_description () const
 
int properties_count () const
 
const ZonePtrList< Property > * properties () const
 
bool has_elements () const
 
bool has_rest_property () const
 
bool fast_elements () const
 
bool has_null_prototype () const
 
bool is_empty () const
 
bool IsEmptyObjectLiteral () const
 
int InitDepthAndFlags ()
 
Handle< ObjectBoilerplateDescriptionGetOrBuildBoilerplateDescription (Isolate *isolate)
 
void BuildBoilerplateDescription (Isolate *isolate)
 
void CalculateEmitStore (Zone *zone)
 
bool IsFastCloningSupported () const
 
int ComputeFlags (bool disable_mementos=false) const
 
int EncodeLiteralType ()
 
 STATIC_ASSERT (static_cast< int >(AggregateLiteral::kNeedsInitialAllocationSite)< static_cast< int >(kFastElements))
 
- Public Member Functions inherited from v8::internal::AggregateLiteral
bool is_initialized () const
 
int depth () const
 
bool is_shallow () const
 
bool needs_initial_allocation_site () const
 
int ComputeFlags (bool disable_mementos=false) const
 
bool is_simple () const
 
- Public Member Functions inherited from v8::internal::MaterializedLiteral
bool IsSimple () const
 
- Public Member Functions inherited from v8::internal::Expression
bool IsValidReferenceExpression () const
 
bool ToBooleanIsTrue () const
 
bool ToBooleanIsFalse () const
 
bool IsPropertyName () const
 
bool IsAnonymousFunctionDefinition () const
 
bool IsConciseMethodDefinition () const
 
bool IsAccessorFunctionDefinition () const
 
bool IsSmiLiteral () const
 
bool IsNumberLiteral () const
 
bool IsStringLiteral () const
 
bool IsNullLiteral () const
 
bool IsTheHoleLiteral () const
 
bool IsUndefinedLiteral () const
 
bool IsCompileTimeValue ()
 
bool IsPattern ()
 
bool is_parenthesized () const
 
void mark_parenthesized ()
 
- Public Member Functions inherited from v8::internal::AstNode
void * operator new (size_t size, Zone *zone)
 
NodeType node_type () const
 
int position () const
 
BreakableStatementAsBreakableStatement ()
 
IterationStatementAsIterationStatement ()
 
MaterializedLiteralAsMaterializedLiteral ()
 
- Public Member Functions inherited from v8::internal::ZoneObject
void * operator new (size_t size, Zone *zone)
 
void operator delete (void *, size_t)
 
void operator delete (void *pointer, Zone *zone)
 

Friends

class AstNodeFactory
 

Additional Inherited Members

- Protected Member Functions inherited from v8::internal::AggregateLiteral
 AggregateLiteral (int pos, NodeType type)
 
void set_is_simple (bool is_simple)
 
void set_depth (int depth)
 
void set_needs_initial_allocation_site (bool required)
 
- Protected Member Functions inherited from v8::internal::MaterializedLiteral
 MaterializedLiteral (int pos, NodeType type)
 
int InitDepthAndFlags ()
 
bool NeedsInitialAllocationSite ()
 
void BuildConstants (Isolate *isolate)
 
Handle< ObjectGetBoilerplateValue (Expression *expression, Isolate *isolate)
 
- Protected Member Functions inherited from v8::internal::Expression
 Expression (int pos, NodeType type)
 
- Protected Member Functions inherited from v8::internal::AstNode
 AstNode (int position, NodeType type)
 
- Protected Attributes inherited from v8::internal::AstNode
uint32_t bit_field_
 
- Static Protected Attributes inherited from v8::internal::AggregateLiteral
static const uint8_t kNextBitFieldIndex = IsSimpleField::kNext
 
- Static Protected Attributes inherited from v8::internal::Expression
static const uint8_t kNextBitFieldIndex = IsParenthesizedField::kNext
 
- Static Protected Attributes inherited from v8::internal::AstNode
static const uint8_t kNextBitFieldIndex = NodeTypeField::kNext
 

Detailed Description

Definition at line 1378 of file ast.h.


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