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

#include <ast.h>

Inheritance diagram for v8::internal::Conditional:
Collaboration diagram for v8::internal::Conditional:

Public Member Functions

Expressioncondition () const
 
Expressionthen_expression () const
 
Expressionelse_expression () 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 Member Functions

 Conditional (Expression *condition, Expression *then_expression, Expression *else_expression, int position)
 

Private Attributes

friend Zone
 
Expressioncondition_
 
Expressionthen_expression_
 
Expressionelse_expression_
 

Friends

class AstNodeFactory
 

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 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 2145 of file ast.h.

Constructor & Destructor Documentation

◆ Conditional()

v8::internal::Conditional::Conditional ( Expression * condition,
Expression * then_expression,
Expression * else_expression,
int position )
inlineprivate

Definition at line 2155 of file ast.h.

Member Function Documentation

◆ condition()

Expression * v8::internal::Conditional::condition ( ) const
inline

Definition at line 2147 of file ast.h.

◆ else_expression()

Expression * v8::internal::Conditional::else_expression ( ) const
inline

Definition at line 2149 of file ast.h.

◆ then_expression()

Expression * v8::internal::Conditional::then_expression ( ) const
inline

Definition at line 2148 of file ast.h.

Friends And Related Symbol Documentation

◆ AstNodeFactory

friend class AstNodeFactory
friend

Definition at line 2152 of file ast.h.

Member Data Documentation

◆ condition_

Expression* v8::internal::Conditional::condition_
private

Definition at line 2162 of file ast.h.

◆ else_expression_

Expression* v8::internal::Conditional::else_expression_
private

Definition at line 2164 of file ast.h.

◆ then_expression_

Expression* v8::internal::Conditional::then_expression_
private

Definition at line 2163 of file ast.h.

◆ Zone

friend v8::internal::Conditional::Zone
private

Definition at line 2153 of file ast.h.


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