v8
3.14.5(node0.10.28)
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 } |
enum | IsParenthesizedFlag { kIsParenthesized, kNotParenthesized } |
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, IsParenthesizedFlag is_parenthesized) | |
Protected Member Functions inherited from Expression | |
Expression (Isolate *isolate) | |
Additional Inherited Members | |
Static Protected Member Functions inherited from AstNode | |
static int | GetNextId (Isolate *isolate) |
static int | ReserveIdRange (Isolate *isolate, int n) |
static TypeFeedbackId | reuse (BailoutId id) |
enum IsFunctionFlag |
enum IsParenthesizedFlag |
enum ParameterFlag |
enum Type |
|
inlineprotected |
bool AllowsLazyCompilation | ( | ) |
Definition at line 151 of file ast.cc.
References Scope::AllowsLazyCompilation(), and FunctionLiteral::scope().
Referenced by Compiler::BuildFunctionInfo(), and Compiler::SetFunctionInfo().
bool AllowsLazyCompilationWithoutContext | ( | ) |
Definition at line 156 of file ast.cc.
References Scope::AllowsLazyCompilationWithoutContext(), and FunctionLiteral::scope().
Referenced by Compiler::BuildFunctionInfo(), and Compiler::SetFunctionInfo().
|
inline |
Definition at line 2010 of file ast.h.
Referenced by Compiler::SetFunctionInfo().
Definition at line 1979 of file ast.h.
Referenced by OptimizingCompiler::CreateGraph(), and Parser::ParseLazy().
int end_position | ( | ) | const |
Definition at line 166 of file ast.cc.
References Scope::end_position(), and FunctionLiteral::scope().
Referenced by Compiler::SetFunctionInfo().
|
inline |
Definition at line 1966 of file ast.h.
Referenced by Compiler::BuildFunctionInfo().
|
inline |
Definition at line 2011 of file ast.h.
Referenced by FullCodeGenerator::MakeCode(), and Compiler::SetFunctionInfo().
|
inline |
Definition at line 1956 of file ast.h.
Referenced by Compiler::SetFunctionInfo().
|
inline |
Definition at line 1992 of file ast.h.
Referenced by Compiler::SetFunctionInfo().
|
inline |
Definition at line 1968 of file ast.h.
Referenced by Compiler::SetFunctionInfo().
Definition at line 1984 of file ast.h.
Referenced by Compiler::SetFunctionInfo().
|
inline |
Definition at line 1961 of file ast.h.
Referenced by Compiler::SetFunctionInfo().
|
inline |
Definition at line 1962 of file ast.h.
References v8::internal::CLASSIC_MODE.
|
inline |
Definition at line 1960 of file ast.h.
Referenced by Compiler::SetFunctionInfo().
|
inline |
Definition at line 1996 of file ast.h.
Referenced by Compiler::SetFunctionInfo().
|
inline |
Definition at line 2003 of file ast.h.
Referenced by Compiler::BuildFunctionInfo().
LanguageMode language_mode | ( | ) | const |
Definition at line 171 of file ast.cc.
References Scope::language_mode(), and FunctionLiteral::scope().
Referenced by Compiler::CompileLazy(), and Compiler::SetFunctionInfo().
|
inline |
Definition at line 1965 of file ast.h.
Referenced by Compiler::BuildFunctionInfo().
Definition at line 1952 of file ast.h.
Referenced by Compiler::BuildFunctionInfo(), CodeGenerator::MakeCodePrologue(), and BASE_EMBEDDED< Visitor >::NewObjectLiteralProperty().
|
inline |
Definition at line 1974 of file ast.h.
Referenced by Compiler::SetFunctionInfo().
|
inline |
Definition at line 1953 of file ast.h.
Referenced by FunctionLiteral::AllowsLazyCompilation(), FunctionLiteral::AllowsLazyCompilationWithoutContext(), Scope::Analyze(), Compiler::BuildFunctionInfo(), FunctionLiteral::end_position(), FunctionLiteral::language_mode(), FullCodeGenerator::MakeCode(), Compiler::SetFunctionInfo(), and FunctionLiteral::start_position().
|
inline |
int start_position | ( | ) | const |
Definition at line 161 of file ast.cc.
References FunctionLiteral::scope(), and Scope::start_position().
Referenced by Compiler::SetFunctionInfo().
|
inline |
Definition at line 1971 of file ast.h.
Referenced by Compiler::SetFunctionInfo().