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
LiteralBuffer Class Reference

#include <scanner.h>

Public Member Functions

 LiteralBuffer ()
 
 ~LiteralBuffer ()
 
 INLINE (void AddChar(uint32_t code_unit))
 
bool is_one_byte ()
 
bool is_contextual_keyword (Vector< const char > keyword)
 
Vector< const uint16_t > two_byte_literal ()
 
Vector< const uint8_t > one_byte_literal ()
 
int length ()
 
void Reset ()
 

Detailed Description

Definition at line 215 of file scanner.h.

Constructor & Destructor Documentation

LiteralBuffer ( )
inline

Definition at line 217 of file scanner.h.

~LiteralBuffer ( )
inline

Definition at line 219 of file scanner.h.

References Vector< T >::Dispose(), and Vector< T >::length().

Member Function Documentation

INLINE ( void   AddCharuint32_t code_unit)
inline
bool is_contextual_keyword ( Vector< const char >  keyword)
inline
bool is_one_byte ( )
inline

Definition at line 240 of file scanner.h.

Referenced by LiteralBuffer::is_contextual_keyword().

int length ( )
inline

Definition at line 262 of file scanner.h.

Vector<const uint8_t> one_byte_literal ( )
inline

Definition at line 255 of file scanner.h.

References ASSERT, and Vector< T >::start().

void Reset ( )
inline

Definition at line 266 of file scanner.h.

Vector<const uint16_t> two_byte_literal ( )
inline

Definition at line 247 of file scanner.h.

References ASSERT, and Vector< T >::start().


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