![]() |
v8
3.11.10(node0.8.26)
V8 is Google's open source JavaScript engine
|
#include <ast.h>
Public Types | |
enum | Type { kInvalid = -1 } |
Public Member Functions | |
void * | operator new (size_t size, Zone *zone) |
AstNode () | |
virtual | ~AstNode () |
virtual void | Accept (AstVisitor *v)=0 |
virtual Type | node_type () const |
virtual Declaration * | AsDeclaration () |
virtual Statement * | AsStatement () |
virtual Expression * | AsExpression () |
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 Public Attributes | |
static const int | kNoNumber = -1 |
static const int | kFunctionEntryId = 2 |
static const int | kDeclarationsId = 3 |
Static Protected Member Functions | |
static int | GetNextId (Isolate *isolate) |
static int | ReserveIdRange (Isolate *isolate, int n) |
Friends | |
class | CaseClause |
|
pure virtual |
Implemented in TargetCollector.
Referenced by BASE_EMBEDDED< Visitor >::Visit(), and Scope::VisitIllegalRedeclaration().
|
inlinevirtual |
Reimplemented in BreakableStatement.
Definition at line 226 of file ast.h.
References v8::internal::NULL.
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
Reimplemented in IterationStatement.
Definition at line 227 of file ast.h.
References v8::internal::NULL.
|
inlinevirtual |
Reimplemented in MaterializedLiteral.
Definition at line 228 of file ast.h.
References v8::internal::NULL.
Referenced by CompileTimeValue::IsCompileTimeValue(), and ObjectLiteral::Property::Property().
|
inlinevirtual |
|
inlinevirtual |
Reimplemented in TargetCollector.
Definition at line 225 of file ast.h.
References v8::internal::NULL.
|
inlinestaticprotected |
Definition at line 231 of file ast.h.
References AstNode::ReserveIdRange().
Referenced by BinaryOperation::BinaryOperation(), Assignment::Init(), and UnaryOperation::UnaryOperation().
|
inlinevirtual |
Definition at line 213 of file ast.h.
References AstNode::kInvalid.
|
inlinestaticprotected |
Definition at line 235 of file ast.h.
Referenced by AstNode::GetNextId().
|
friend |
|
static |
Definition at line 202 of file ast.h.
Referenced by HGraphBuilder::CreateGraph().
|
static |
Definition at line 198 of file ast.h.
Referenced by HEnvironment::CopyForInlining(), HGraphBuilder::CreateGraph(), and HGraph::HGraph().
|
static |
Definition at line 197 of file ast.h.
Referenced by HBasicBlock::AddLeaveInlined(), BinaryOperation::BinaryOperation(), Compiler::CompileLazy(), HBasicBlock::Goto(), HSimulate::HasAstId(), v8::internal::RUNTIME_FUNCTION(), and SharedFunctionInfo::VerifyBailoutId().