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
PreparseDataConstants Struct Reference

#include <preparse-data-format.h>

Static Public Attributes

static const unsigned kMagicNumber = 0xBadDead
 
static const unsigned kCurrentVersion = 8
 
static const int kMagicOffset = 0
 
static const int kVersionOffset = 1
 
static const int kHasErrorOffset = 2
 
static const int kFunctionsSizeOffset = 3
 
static const int kSymbolCountOffset = 4
 
static const int kSizeOffset = 5
 
static const int kHeaderSize = 6
 
static const int kMessageStartPos = 0
 
static const int kMessageEndPos = 1
 
static const int kMessageArgCountPos = 2
 
static const int kMessageTextPos = 3
 
static const unsigned char kNumberTerminator = 0x80u
 

Detailed Description

Definition at line 36 of file preparse-data-format.h.

Field Documentation

const unsigned kCurrentVersion = 8
static
const int kHasErrorOffset = 2
static
const unsigned kMagicNumber = 0xBadDead
static
const int kMagicOffset = 0
static
const int kMessageArgCountPos = 2
static
const int kMessageEndPos = 1
static
const int kMessageStartPos = 0
static
const unsigned char kNumberTerminator = 0x80u
static

Definition at line 56 of file preparse-data-format.h.

Referenced by CompleteParserRecorder::ExtractData().

const int kSizeOffset = 5
static
const int kVersionOffset = 1
static

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