v8
3.11.10(node0.8.26)
V8 is Google's open source JavaScript engine
|
#include <ast.h>
Public Member Functions | |
bool | is_prefix () const |
bool | is_postfix () const |
Token::Value | op () const |
Token::Value | binary_op () |
Expression * | expression () const |
virtual int | position () const |
virtual void | MarkAsStatement () |
void | RecordTypeFeedback (TypeFeedbackOracle *oracle, Zone *znoe) |
virtual bool | IsMonomorphic () |
virtual SmallMapList * | GetReceiverTypes () |
int | AssignmentId () const |
int | CountId () const |
Public Member Functions inherited from Expression | |
virtual Expression * | AsExpression () |
virtual bool | IsValidLeftHandSide () |
virtual bool | ToBooleanIsTrue () |
virtual bool | ToBooleanIsFalse () |
virtual bool | IsPropertyName () |
virtual bool | ResultOverwriteAllowed () |
bool | IsSmiLiteral () |
bool | IsStringLiteral () |
bool | IsNullLiteral () |
Handle< Map > | GetMonomorphicReceiverType () |
unsigned | id () const |
unsigned | test_id () const |
Public Member Functions inherited from AstNode | |
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 TargetCollector * | AsTargetCollector () |
virtual BreakableStatement * | AsBreakableStatement () |
virtual IterationStatement * | AsIterationStatement () |
virtual MaterializedLiteral * | AsMaterializedLiteral () |
Public Member Functions inherited from ZoneObject | |
INLINE (void *operator new(size_t size, Zone *zone)) | |
void | operator delete (void *, size_t) |
void | operator delete (void *pointer, Zone *zone) |
Protected Member Functions | |
CountOperation (Isolate *isolate, Token::Value op, bool is_prefix, Expression *expr, int pos) | |
Protected Member Functions inherited from Expression | |
Expression (Isolate *isolate) | |
Friends | |
template<class > | |
class | AstNodeFactory |
Additional Inherited Members | |
Public Types inherited from Expression | |
enum | Context { kUninitialized, kEffect, kValue, kTest } |
Public Types inherited from AstNode | |
enum | Type { kInvalid = -1 } |
Static Public Attributes inherited from AstNode | |
static const int | kNoNumber = -1 |
static const int | kFunctionEntryId = 2 |
static const int | kDeclarationsId = 3 |
Static Protected Member Functions inherited from AstNode | |
static int | GetNextId (Isolate *isolate) |
static int | ReserveIdRange (Isolate *isolate, int n) |
|
inlineprotected |
|
inline |
Definition at line 1798 of file ast.h.
References v8::internal::ADD, and v8::internal::SUB.
|
inline |
|
inlinevirtual |
Reimplemented from Expression.
|
inlinevirtual |
Reimplemented from Expression.
|
inline |
|
inlinevirtual |
Reimplemented from Expression.
void RecordTypeFeedback | ( | TypeFeedbackOracle * | oracle, |
Zone * | znoe | ||
) |
Definition at line 458 of file ast.cc.
References v8::internal::kMaxKeyedPolymorphism.
|
friend |