V8 Project
|
#include <parser.h>
Public Member Functions | |
ParseData (ScriptData *script_data) | |
void | Initialize () |
FunctionEntry | GetFunctionEntry (int start) |
int | FunctionCount () |
bool | HasError () |
unsigned * | Data () |
Private Member Functions | |
bool | IsSane () |
unsigned | Magic () |
unsigned | Version () |
int | FunctionsSize () |
int | Length () const |
DISALLOW_COPY_AND_ASSIGN (ParseData) | |
Private Attributes | |
ScriptData * | script_data_ |
int | function_index_ |
|
inlineexplicit |
Definition at line 65 of file parser.h.
References CHECK, v8::internal::IsAligned(), IsSane(), and v8::internal::ScriptData::length().
|
inline |
Definition at line 75 of file parser.h.
References v8::internal::ScriptData::data(), and script_data_.
Referenced by FunctionsSize(), GetFunctionEntry(), HasError(), Magic(), and Version().
|
private |
int v8::internal::ParseData::FunctionCount | ( | ) |
Definition at line 200 of file parser.cc.
References FunctionsSize().
|
private |
Definition at line 252 of file parser.cc.
References Data(), and v8::internal::PreparseDataConstants::kFunctionsSizeOffset.
Referenced by FunctionCount(), and IsSane().
FunctionEntry v8::internal::ParseData::GetFunctionEntry | ( | int | start | ) |
Definition at line 186 of file parser.cc.
References Data(), function_index_, and Length().
Referenced by v8::internal::Parser::SkipLazyFunctionBody().
bool v8::internal::ParseData::HasError | ( | ) |
Definition at line 237 of file parser.cc.
References Data(), and v8::internal::PreparseDataConstants::kHasErrorOffset.
Referenced by IsSane().
void v8::internal::ParseData::Initialize | ( | ) |
Definition at line 228 of file parser.cc.
References function_index_, v8::internal::PreparseDataConstants::kHeaderSize, and Length().
Referenced by v8::internal::Parser::ParseProgram().
|
private |
Definition at line 208 of file parser.cc.
References FunctionsSize(), HasError(), v8::internal::PreparseDataConstants::kCurrentVersion, v8::internal::PreparseDataConstants::kHeaderSize, v8::internal::PreparseDataConstants::kMagicNumber, Length(), Magic(), and Version().
Referenced by ParseData().
|
inlineprivate |
Definition at line 84 of file parser.h.
References v8::internal::ScriptData::length(), and script_data_.
Referenced by GetFunctionEntry(), Initialize(), and IsSane().
|
private |
Definition at line 242 of file parser.cc.
References Data(), and v8::internal::PreparseDataConstants::kMagicOffset.
Referenced by IsSane().
|
private |
Definition at line 247 of file parser.cc.
References Data(), and v8::internal::PreparseDataConstants::kVersionOffset.
Referenced by IsSane().
|
private |
Definition at line 90 of file parser.h.
Referenced by GetFunctionEntry(), and Initialize().
|
private |