v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::MaterializedLiteral Class Reference

#include <ast.h>

Inheritance diagram for v8::internal::MaterializedLiteral:
Collaboration diagram for v8::internal::MaterializedLiteral:

Public Member Functions

bool IsSimple () const
 
- Public Member Functions inherited from v8::internal::Expression
bool IsValidReferenceExpression () const
 
bool IsPrivateName () const
 
bool ToBooleanIsTrue () const
 
bool ToBooleanIsFalse () const
 
bool IsPropertyName () const
 
bool IsAnonymousFunctionDefinition () const
 
bool IsConciseMethodDefinition () const
 
bool IsAccessorFunctionDefinition () const
 
bool IsSmiLiteral () const
 
V8_EXPORT_PRIVATE bool IsNumberLiteral () const
 
bool IsStringLiteral () const
 
bool IsConsStringLiteral () const
 
bool IsNullLiteral () const
 
bool IsBooleanLiteral () const
 
bool IsTheHoleLiteral () const
 
bool IsUndefinedLiteral () const
 
bool IsNullOrUndefinedLiteral () const
 
bool IsLiteralButNotNullOrUndefined () const
 
bool IsCompileTimeValue ()
 
bool IsPattern ()
 
bool is_parenthesized () const
 
void mark_parenthesized ()
 
void clear_parenthesized ()
 
- Public Member Functions inherited from v8::internal::AstNode
NodeType node_type () const
 
int position () const
 
IterationStatementAsIterationStatement ()
 
MaterializedLiteralAsMaterializedLiteral ()
 
- Public Member Functions inherited from v8::internal::ZoneObject
void * operator new (size_t, Zone *)=delete
 
void * operator new (size_t size, void *ptr)
 
void operator delete (void *, size_t)
 
void operator delete (void *pointer, Zone *zone)=delete
 

Protected Member Functions

 MaterializedLiteral (int pos, NodeType type)
 
bool NeedsInitialAllocationSite ()
 
- 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)
 

Friends

class CompileTimeValue
 
class LiteralBoilerplateBuilder
 
class ArrayLiteralBoilerplateBuilder
 
class ObjectLiteralBoilerplateBuilder
 

Additional Inherited Members

- Public Types inherited from v8::internal::Expression
enum  Context { kUninitialized , kEffect , kValue , kTest }
 
- Public Types inherited from v8::internal::AstNode
enum  NodeType : uint8_t
 
- Protected Types inherited from v8::internal::Expression
template<class T , int size>
using NextBitField = IsParenthesizedField::Next<T, size>
 
- Protected Types inherited from v8::internal::AstNode
template<class T , int size>
using NextBitField = NodeTypeField::Next<T, size>
 
- Protected Attributes inherited from v8::internal::AstNode
uint32_t bit_field_
 

Detailed Description

Definition at line 1092 of file ast.h.

Constructor & Destructor Documentation

◆ MaterializedLiteral()

v8::internal::MaterializedLiteral::MaterializedLiteral ( int pos,
NodeType type )
inlineprotected

Definition at line 1099 of file ast.h.

Member Function Documentation

◆ IsSimple()

bool v8::internal::MaterializedLiteral::IsSimple ( ) const

Definition at line 759 of file ast.cc.

◆ NeedsInitialAllocationSite()

bool v8::internal::MaterializedLiteral::NeedsInitialAllocationSite ( )
protected

Definition at line 777 of file ast.cc.

Friends And Related Symbol Documentation

◆ ArrayLiteralBoilerplateBuilder

friend class ArrayLiteralBoilerplateBuilder
friend

Definition at line 1106 of file ast.h.

◆ CompileTimeValue

friend class CompileTimeValue
friend

Definition at line 1103 of file ast.h.

◆ LiteralBoilerplateBuilder

friend class LiteralBoilerplateBuilder
friend

Definition at line 1105 of file ast.h.

◆ ObjectLiteralBoilerplateBuilder

friend class ObjectLiteralBoilerplateBuilder
friend

Definition at line 1107 of file ast.h.


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