v8
3.11.10(node0.8.26)
V8 is Google's open source JavaScript engine
|
#include <ast.h>
Public Types | |
enum | Type { ANONYMOUS_EXPRESSION, NAMED_EXPRESSION, DECLARATION } |
enum | ParameterFlag { kNoDuplicateParameters = 0, kHasDuplicateParameters = 1 } |
enum | IsFunctionFlag { kGlobalOrEval, kIsFunction } |
Public Types inherited from Expression | |
enum | Context { kUninitialized, kEffect, kValue, kTest } |
Public Types inherited from AstNode | |
enum | Type { kInvalid = -1 } |
Protected Member Functions | |
FunctionLiteral (Isolate *isolate, Handle< String > name, Scope *scope, ZoneList< Statement * > *body, int materialized_literal_count, int expected_property_count, int handler_count, bool has_only_simple_this_property_assignments, Handle< FixedArray > this_property_assignments, int parameter_count, Type type, ParameterFlag has_duplicate_parameters, IsFunctionFlag is_function) | |
Protected Member Functions inherited from Expression | |
Expression (Isolate *isolate) | |
Friends | |
template<class > | |
class | AstNodeFactory |
Additional Inherited Members | |
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) |
enum IsFunctionFlag |
enum ParameterFlag |
enum Type |
|
inlineprotected |
bool AllowsLazyCompilation | ( | ) |
Definition at line 154 of file ast.cc.
References Scope::AllowsLazyCompilation(), and FunctionLiteral::scope().
Referenced by Compiler::BuildFunctionInfo(), and Compiler::SetFunctionInfo().
|
inline |
Definition at line 2088 of file ast.h.
Referenced by Compiler::CompileLazy(), and Compiler::SetFunctionInfo().
Definition at line 2069 of file ast.h.
References v8::internal::name_.
int end_position | ( | ) | const |
Definition at line 164 of file ast.cc.
References Scope::end_position(), and FunctionLiteral::scope().
Referenced by Compiler::SetFunctionInfo().
|
inline |
Definition at line 2057 of file ast.h.
Referenced by Compiler::BuildFunctionInfo(), and Compiler::CompileLazy().
|
inline |
Definition at line 2089 of file ast.h.
Referenced by Compiler::CompileLazy(), and Compiler::SetFunctionInfo().
|
inline |
Definition at line 2047 of file ast.h.
Referenced by Compiler::SetFunctionInfo().
|
inline |
Definition at line 2082 of file ast.h.
Referenced by Compiler::SetFunctionInfo().
|
inline |
Definition at line 2059 of file ast.h.
Referenced by Compiler::CompileLazy(), and Compiler::SetFunctionInfo().
Definition at line 2074 of file ast.h.
Referenced by Compiler::SetFunctionInfo().
|
inline |
Definition at line 2052 of file ast.h.
Referenced by Compiler::SetFunctionInfo().
|
inline |
Definition at line 2053 of file ast.h.
References v8::internal::CLASSIC_MODE.
|
inline |
Definition at line 2051 of file ast.h.
Referenced by Compiler::SetFunctionInfo().
|
inline |
Definition at line 2086 of file ast.h.
Referenced by Compiler::SetFunctionInfo().
LanguageMode language_mode | ( | ) | const |
Definition at line 169 of file ast.cc.
References Scope::language_mode(), and FunctionLiteral::scope().
Referenced by Compiler::SetFunctionInfo().
|
inline |
Definition at line 2056 of file ast.h.
Referenced by Compiler::BuildFunctionInfo().
Definition at line 2043 of file ast.h.
References v8::internal::name_.
Referenced by Compiler::BuildFunctionInfo(), and BASE_EMBEDDED< Visitor >::NewObjectLiteralProperty().
|
inline |
Definition at line 2065 of file ast.h.
Referenced by Compiler::SetFunctionInfo().
|
inline |
Definition at line 2044 of file ast.h.
Referenced by FunctionLiteral::AllowsLazyCompilation(), Compiler::BuildFunctionInfo(), FunctionLiteral::end_position(), FunctionLiteral::language_mode(), Compiler::SetFunctionInfo(), and FunctionLiteral::start_position().
|
inline |
int start_position | ( | ) | const |
Definition at line 159 of file ast.cc.
References FunctionLiteral::scope(), and Scope::start_position().
Referenced by Compiler::SetFunctionInfo().
|
inline |
Definition at line 2062 of file ast.h.
Referenced by Compiler::CompileLazy(), and Compiler::SetFunctionInfo().
|
friend |