|
V8 Project
|
#include <parser.h>
Collaboration diagram for v8::internal::ParseData: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().
Here is the call graph for this function:
|
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().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
| int v8::internal::ParseData::FunctionCount | ( | ) |
Definition at line 200 of file parser.cc.
References FunctionsSize().
Here is the call graph for this function:
|
private |
Definition at line 252 of file parser.cc.
References Data(), and v8::internal::PreparseDataConstants::kFunctionsSizeOffset.
Referenced by FunctionCount(), and IsSane().
Here is the call graph for this function:
Here is the caller graph for this function:| 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().
Here is the call graph for this function:
Here is the caller graph for this function:| bool v8::internal::ParseData::HasError | ( | ) |
Definition at line 237 of file parser.cc.
References Data(), and v8::internal::PreparseDataConstants::kHasErrorOffset.
Referenced by IsSane().
Here is the call graph for this function:
Here is the caller graph for this function:| 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().
Here is the call graph for this function:
Here is the caller graph for this function:
|
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().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlineprivate |
Definition at line 84 of file parser.h.
References v8::internal::ScriptData::length(), and script_data_.
Referenced by GetFunctionEntry(), Initialize(), and IsSane().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 242 of file parser.cc.
References Data(), and v8::internal::PreparseDataConstants::kMagicOffset.
Referenced by IsSane().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 247 of file parser.cc.
References Data(), and v8::internal::PreparseDataConstants::kVersionOffset.
Referenced by IsSane().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 90 of file parser.h.
Referenced by GetFunctionEntry(), and Initialize().
|
private |