v8  3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SingletonLogger Class Reference

#include <preparse-data.h>

Inheritance diagram for SingletonLogger:
Collaboration diagram for SingletonLogger:

Public Member Functions

 SingletonLogger ()
 
virtual ~SingletonLogger ()
 
void Reset ()
 
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)
 
bool has_error ()
 
int start ()
 
int end ()
 
int literals ()
 
int properties ()
 
StrictMode strict_mode ()
 
const char * message ()
 
const char * argument_opt ()
 
- Public Member Functions inherited from ParserRecorder
 ParserRecorder ()
 
virtual ~ParserRecorder ()
 
bool ShouldLogSymbols ()
 
virtual void LogOneByteSymbol (int start, Vector< const uint8_t > literal)
 
virtual void LogTwoByteSymbol (int start, Vector< const uint16_t > literal)
 
virtual void PauseRecording ()
 
virtual void ResumeRecording ()
 

Additional Inherited Members

- Protected Attributes inherited from ParserRecorder
bool should_log_symbols_
 

Detailed Description

Definition at line 81 of file preparse-data.h.

Constructor & Destructor Documentation

SingletonLogger ( )
inline

Definition at line 83 of file preparse-data.h.

virtual ~SingletonLogger ( )
inlinevirtual

Definition at line 84 of file preparse-data.h.

Member Function Documentation

const char* argument_opt ( )
inline

Definition at line 136 of file preparse-data.h.

References ASSERT.

Referenced by SingletonLogger::LogMessage().

int end ( )
inline

Definition at line 119 of file preparse-data.h.

Referenced by SingletonLogger::LogFunction(), and SingletonLogger::LogMessage().

bool has_error ( )
inline

Definition at line 116 of file preparse-data.h.

int literals ( )
inline

Definition at line 120 of file preparse-data.h.

References ASSERT.

Referenced by SingletonLogger::LogFunction().

virtual void LogFunction ( int  start,
int  end,
int  literals,
int  properties,
StrictMode  strict_mode 
)
inlinevirtual
virtual void LogMessage ( int  start,
int  end,
const char *  message,
const char *  argument_opt 
)
inlinevirtual
const char* message ( )
inline

Definition at line 132 of file preparse-data.h.

References ASSERT.

Referenced by SingletonLogger::LogMessage().

int properties ( )
inline

Definition at line 124 of file preparse-data.h.

References ASSERT.

Referenced by SingletonLogger::LogFunction().

void Reset ( )
inline

Definition at line 86 of file preparse-data.h.

int start ( )
inline

Definition at line 118 of file preparse-data.h.

Referenced by SingletonLogger::LogFunction(), and SingletonLogger::LogMessage().

StrictMode strict_mode ( )
inline

Definition at line 128 of file preparse-data.h.

References ASSERT.

Referenced by SingletonLogger::LogFunction().


The documentation for this class was generated from the following file: