V8 Project
unibrow::ConnectorPunctuation Struct Reference

#include <unicode.h>

+ Collaboration diagram for unibrow::ConnectorPunctuation:

Static Public Member Functions

static bool Is (uchar c)
 

Detailed Description

Definition at line 218 of file unicode.h.

Member Function Documentation

◆ Is()

bool unibrow::ConnectorPunctuation::Is ( uchar  c)
static

Definition at line 852 of file unicode.cc.

852  {
853  int chunk_index = c >> 13;
854  switch (chunk_index) {
857  c);
860  c);
863  c);
864  default: return false;
865  }
866 }
static const int32_t kConnectorPunctuationTable1[3]
Definition: unicode.cc:847
static const int32_t kConnectorPunctuationTable7[5]
Definition: unicode.cc:850
static const uint16_t kConnectorPunctuationTable1Size
Definition: unicode.cc:846
static const int32_t kConnectorPunctuationTable0[1]
Definition: unicode.cc:844
static bool LookupPredicate(const int32_t *table, uint16_t size, uchar chr)
Look up a character in the unicode table using a mix of binary and interpolation search.
Definition: unicode.cc:53
static const uint16_t kConnectorPunctuationTable7Size
Definition: unicode.cc:849
static const uint16_t kConnectorPunctuationTable0Size
Definition: unicode.cc:843

References unibrow::kConnectorPunctuationTable0, unibrow::kConnectorPunctuationTable0Size, unibrow::kConnectorPunctuationTable1, unibrow::kConnectorPunctuationTable1Size, unibrow::kConnectorPunctuationTable7, unibrow::kConnectorPunctuationTable7Size, and unibrow::LookupPredicate().

Referenced by v8::internal::IdentifierPart::Is().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

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