v8
3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
|
#include <preparse-data.h>
Data Structures | |
struct | Key |
Public Member Functions | |
CompleteParserRecorder () | |
virtual | ~CompleteParserRecorder () |
virtual void | LogFunction (int start, int end, int literals, int properties, StrictMode strict_mode) |
virtual void | LogMessage (int start, int end, const char *message, const char *argument_opt) |
virtual void | PauseRecording () |
virtual void | ResumeRecording () |
virtual void | LogOneByteSymbol (int start, Vector< const uint8_t > literal) |
virtual void | LogTwoByteSymbol (int start, Vector< const uint16_t > literal) |
Vector< unsigned > | ExtractData () |
Public Member Functions inherited from ParserRecorder | |
ParserRecorder () | |
virtual | ~ParserRecorder () |
bool | ShouldLogSymbols () |
Friends | |
struct | CompleteParserRecorderFriend |
Additional Inherited Members | |
Protected Attributes inherited from ParserRecorder | |
bool | should_log_symbols_ |
Definition at line 155 of file preparse-data.h.
Definition at line 67 of file preparse-data.cc.
References ASSERT_EQ, PreparseDataConstants::kCurrentVersion, PreparseDataConstants::kFunctionsSizeOffset, PreparseDataConstants::kHasErrorOffset, PreparseDataConstants::kHeaderSize, PreparseDataConstants::kMagicNumber, PreparseDataConstants::kMagicOffset, PreparseDataConstants::kSizeOffset, PreparseDataConstants::kSymbolCountOffset, PreparseDataConstants::kVersionOffset, and ParserRecorder::should_log_symbols_.
|
inlinevirtual |
Definition at line 163 of file preparse-data.h.
Vector< unsigned > ExtractData | ( | ) |
Definition at line 155 of file preparse-data.cc.
References Collector< T, growth_factor, max_growth >::AddBlock(), PreparseDataConstants::kFunctionsSizeOffset, PreparseDataConstants::kHeaderSize, PreparseDataConstants::kNumberTerminator, PreparseDataConstants::kSymbolCountOffset, OS::MemCopy(), Vector< T >::New(), Collector< T, growth_factor, max_growth >::size(), Vector< T >::start(), Vector< T >::SubVector(), and Collector< T, growth_factor, max_growth >::WriteTo().
Referenced by PreParserApi::PreParse(), TEST(), and TestParserSyncWithFlags().
|
inlinevirtual |
Implements ParserRecorder.
Definition at line 165 of file preparse-data.h.
References Collector< T, growth_factor, max_growth >::Add().
|
virtual |
Implements ParserRecorder.
Definition at line 90 of file preparse-data.cc.
References Collector< T, growth_factor, max_growth >::Add(), v8::internal::CStrVector(), PreparseDataConstants::kHasErrorOffset, PreparseDataConstants::kMessageArgCountPos, PreparseDataConstants::kMessageEndPos, PreparseDataConstants::kMessageStartPos, PreparseDataConstants::kMessageTextPos, v8::internal::NULL, Collector< T, growth_factor, max_growth >::Reset(), ParserRecorder::should_log_symbols_, and v8::internal::STATIC_ASSERT().
|
virtual |
Reimplemented from ParserRecorder.
Definition at line 118 of file preparse-data.cc.
References ASSERT, and ParserRecorder::should_log_symbols_.
|
virtual |
Reimplemented from ParserRecorder.
Definition at line 126 of file preparse-data.cc.
References ASSERT, and ParserRecorder::should_log_symbols_.
|
inlinevirtual |
Reimplemented from ParserRecorder.
Definition at line 185 of file preparse-data.h.
References ASSERT, and ParserRecorder::should_log_symbols_.
|
inlinevirtual |
Reimplemented from ParserRecorder.
Definition at line 190 of file preparse-data.h.
References ASSERT, and ParserRecorder::should_log_symbols_.
|
friend |
Definition at line 207 of file preparse-data.h.