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

#include <scanner.h>

Public Types

typedef unibrow::Utf8Decoder< 512 > Utf8Decoder
 

Public Member Functions

 UnicodeCache ()
 
StaticResource< Utf8Decoder > * utf8_decoder ()
 
bool IsIdentifierStart (unibrow::uchar c)
 
bool IsIdentifierPart (unibrow::uchar c)
 
bool IsLineTerminator (unibrow::uchar c)
 
bool IsWhiteSpace (unibrow::uchar c)
 
bool IsWhiteSpaceOrLineTerminator (unibrow::uchar c)
 

Detailed Description

Definition at line 132 of file scanner.h.

Member Typedef Documentation

Definition at line 135 of file scanner.h.

Constructor & Destructor Documentation

UnicodeCache ( )
inline

Definition at line 134 of file scanner.h.

Member Function Documentation

bool IsIdentifierPart ( unibrow::uchar  c)
inline

Definition at line 142 of file scanner.h.

Referenced by Scanner::ScanRegExpFlags().

bool IsIdentifierStart ( unibrow::uchar  c)
inline

Definition at line 141 of file scanner.h.

bool IsLineTerminator ( unibrow::uchar  c)
inline

Definition at line 143 of file scanner.h.

References Predicate< T, size >::get().

Referenced by Scanner::ScanRegExpPattern().

bool IsWhiteSpace ( unibrow::uchar  c)
inline

Definition at line 144 of file scanner.h.

bool IsWhiteSpaceOrLineTerminator ( unibrow::uchar  c)
inline

Definition at line 145 of file scanner.h.

Referenced by v8::internal::AdvanceToNonspace(), and v8::internal::RUNTIME_FUNCTION().

StaticResource<Utf8Decoder>* utf8_decoder ( )
inline

Definition at line 137 of file scanner.h.

Referenced by Heap::AllocateStringFromUtf8Slow().


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