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

#include <ast.h>

Inheritance diagram for v8::internal::Suspend:
Collaboration diagram for v8::internal::Suspend:

Public Types

enum  OnAbruptResume { kOnExceptionThrow , kNoControl }
 
- Public Types inherited from v8::internal::Expression
enum  Context { kUninitialized , kEffect , kValue , kTest }
 
- Public Types inherited from v8::internal::AstNode
enum  NodeType : uint8_t
 

Public Member Functions

Expressionexpression () const
 
OnAbruptResume on_abrupt_resume () 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
 

Private Types

using OnAbruptResumeField = Expression::NextBitField<OnAbruptResume, 1>
 

Private Member Functions

 Suspend (NodeType node_type, Expression *expression, int pos, OnAbruptResume on_abrupt_resume)
 

Private Attributes

friend Zone
 
Expressionexpression_
 

Friends

class AstNodeFactory
 
class Yield
 
class YieldStar
 
class Await
 

Additional Inherited Members

- 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 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_
 

Detailed Description

Definition at line 2225 of file ast.h.

Member Typedef Documentation

◆ OnAbruptResumeField

Member Enumeration Documentation

◆ OnAbruptResume

Enumerator
kOnExceptionThrow 
kNoControl 

Definition at line 2232 of file ast.h.

Constructor & Destructor Documentation

◆ Suspend()

v8::internal::Suspend::Suspend ( NodeType node_type,
Expression * expression,
int pos,
OnAbruptResume on_abrupt_resume )
inlineprivate

Definition at line 2246 of file ast.h.

Here is the call graph for this function:

Member Function Documentation

◆ expression()

Expression * v8::internal::Suspend::expression ( ) const
inline

Definition at line 2234 of file ast.h.

◆ on_abrupt_resume()

OnAbruptResume v8::internal::Suspend::on_abrupt_resume ( ) const
inline

Definition at line 2235 of file ast.h.

Here is the call graph for this function:
Here is the caller graph for this function:

Friends And Related Symbol Documentation

◆ AstNodeFactory

friend class AstNodeFactory
friend

Definition at line 2240 of file ast.h.

◆ Await

friend class Await
friend

Definition at line 2244 of file ast.h.

◆ Yield

friend class Yield
friend

Definition at line 2242 of file ast.h.

◆ YieldStar

friend class YieldStar
friend

Definition at line 2243 of file ast.h.

Member Data Documentation

◆ expression_

Expression* v8::internal::Suspend::expression_
private

Definition at line 2252 of file ast.h.

◆ Zone

friend v8::internal::Suspend::Zone
private

Definition at line 2241 of file ast.h.


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