v8  3.11.10(node0.8.26)
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_ascii ()
 
Vector< const uc16utf16_literal ()
 
Vector< const char > ascii_literal ()
 
int length ()
 
void Reset ()
 

Detailed Description

Definition at line 173 of file scanner.h.

Constructor & Destructor Documentation

LiteralBuffer ( )
inline

Definition at line 175 of file scanner.h.

~LiteralBuffer ( )
inline

Definition at line 177 of file scanner.h.

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

Member Function Documentation

Vector<const char> ascii_literal ( )
inline

Definition at line 208 of file scanner.h.

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

INLINE ( void   AddCharuint32_t code_unit)
inline
bool is_ascii ( )
inline

Definition at line 198 of file scanner.h.

int length ( )
inline

Definition at line 215 of file scanner.h.

void Reset ( )
inline

Definition at line 219 of file scanner.h.

Vector<const uc16> utf16_literal ( )
inline

Definition at line 200 of file scanner.h.

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


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