V8 Project
|
#include <ast.h>
Classes | |
class | IdGen |
Public Types | |
enum | NodeType { kInvalid = -1 } |
Public Member Functions | |
void * | operator new (size_t size, Zone *zone) |
AstNode (int position) | |
virtual | ~AstNode () |
virtual void | Accept (AstVisitor *v)=0 |
virtual NodeType | node_type () const =0 |
int | position () const |
virtual TargetCollector * | AsTargetCollector () |
virtual BreakableStatement * | AsBreakableStatement () |
virtual IterationStatement * | AsIterationStatement () |
virtual MaterializedLiteral * | AsMaterializedLiteral () |
![]() | |
INLINE (void *operator new(size_t size, Zone *zone)) | |
void | operator delete (void *, size_t) |
void | operator delete (void *pointer, Zone *zone) |
Static Protected Member Functions | |
static TypeFeedbackId | reuse (BailoutId id) |
Private Member Functions | |
void * | operator new (size_t size) |
Private Attributes | |
int | position_ |
Friends | |
class | CaseClause |
|
inlinevirtual |
|
pure virtual |
Implemented in v8::internal::FINAL< kOperandKind, kNumCachedOperands >.
Referenced by v8::internal::compiler::AstGraphBuilder::VisitForEffect(), v8::internal::compiler::AstGraphBuilder::VisitForTest(), v8::internal::compiler::AstGraphBuilder::VisitForValue(), and v8::internal::Scope::VisitIllegalRedeclaration().
|
inlinevirtual |
Reimplemented in v8::internal::BreakableStatement.
Definition at line 233 of file ast.h.
References NULL.
|
inlinevirtual |
Reimplemented in v8::internal::IterationStatement.
Definition at line 234 of file ast.h.
References NULL.
|
inlinevirtual |
Reimplemented in v8::internal::MaterializedLiteral.
Definition at line 235 of file ast.h.
References NULL.
Referenced by v8::internal::CompileTimeValue::IsCompileTimeValue().
|
inlinevirtual |
Reimplemented in v8::internal::FINAL< kOperandKind, kNumCachedOperands >.
Definition at line 232 of file ast.h.
References NULL.
|
pure virtual |
Implemented in v8::internal::FINAL< kOperandKind, kNumCachedOperands >.
|
private |
|
inline |
|
inline |
Definition at line 218 of file ast.h.
References position_.
Referenced by v8::internal::CheckAndDeclareArrowParameter(), v8::internal::Parser::Declare(), v8::internal::Parser::DesugarLetBindingsInForStatement(), v8::internal::ParserTraits::GetIterator(), v8::internal::FullCodeGenerator::SetExpressionPosition(), and v8::internal::FullCodeGenerator::SetStatementPosition().
|
inlinestaticprotected |
|
private |
Definition at line 251 of file ast.h.
Referenced by position().