|
V8 Project
|
#include <ast-value-factory.h>
Inheritance diagram for v8::internal::AstRawString:
Collaboration diagram for v8::internal::AstRawString:Public Member Functions | |
| virtual int | length () const OVERRIDE |
| virtual void | Internalize (Isolate *isolate) OVERRIDE |
| bool | AsArrayIndex (uint32_t *index) const |
| const unsigned char * | raw_data () const |
| bool | is_one_byte () const |
| bool | IsOneByteEqualTo (const char *data) const |
| uint16_t | FirstCharacter () const |
| uint32_t | hash () const |
Public Member Functions inherited from v8::internal::AstString | |
| virtual | ~AstString () |
| bool | IsEmpty () const |
| Handle< String > | string () const |
Public Member Functions inherited from v8::internal::ZoneObject | |
| INLINE (void *operator new(size_t size, Zone *zone)) | |
| void | operator delete (void *, size_t) |
| void | operator delete (void *pointer, Zone *zone) |
Static Public Member Functions | |
| static bool | Compare (void *a, void *b) |
Private Member Functions | |
| AstRawString (bool is_one_byte, const Vector< const byte > &literal_bytes, uint32_t hash) | |
| AstRawString () | |
Private Attributes | |
| bool | is_one_byte_ |
| Vector< const byte > | literal_bytes_ |
| uint32_t | hash_ |
Friends | |
| class | AstValueFactory |
| class | AstRawStringInternalizationKey |
Additional Inherited Members | |
Protected Attributes inherited from v8::internal::AstString | |
| Handle< String > | string_ |
Definition at line 65 of file ast-value-factory.h.
|
inlineprivate |
Definition at line 101 of file ast-value-factory.h.
|
inlineprivate |
Definition at line 105 of file ast-value-factory.h.
Definition at line 98 of file ast-value-factory.cc.
References is_one_byte_, v8::internal::String::kMaxArrayIndexSize, v8::internal::Vector< T >::length(), literal_bytes_, v8::internal::AstString::string_, and v8::internal::StringToArrayIndex().
Referenced by v8::internal::AstValue::IsPropertyName().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 119 of file ast-value-factory.cc.
References hash_, is_one_byte_, v8::internal::Vector< T >::length(), length(), literal_bytes_, and v8::internal::Vector< T >::start().
Here is the call graph for this function:
|
inline |
Definition at line 83 of file ast-value-factory.h.
References is_one_byte_, literal_bytes_, and v8::internal::Vector< T >::start().
Here is the call graph for this function:
|
inline |
Definition at line 92 of file ast-value-factory.h.
References hash_.
Referenced by v8::internal::AstRawStringInternalizationKey::AsHandle(), and v8::internal::AstRawStringInternalizationKey::Hash().
Here is the caller graph for this function:
|
virtual |
Implements v8::internal::AstString.
Definition at line 87 of file ast-value-factory.cc.
References v8::internal::Isolate::factory(), v8::internal::Vector< T >::length(), literal_bytes_, v8::internal::StringTable::LookupKey(), and v8::internal::AstString::string_.
Referenced by v8::internal::AstValueFactory::GetString().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
| bool v8::internal::AstRawString::IsOneByteEqualTo | ( | const char * | data | ) | const |
Definition at line 109 of file ast-value-factory.cc.
References is_one_byte_, v8::internal::Vector< T >::length(), length(), literal_bytes_, and v8::internal::Vector< T >::start().
Referenced by v8::internal::ParserTraits::IsFutureStrictReserved().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinevirtual |
Implements v8::internal::AstString.
Definition at line 67 of file ast-value-factory.h.
References is_one_byte_, v8::internal::Vector< T >::length(), and literal_bytes_.
Referenced by v8::internal::CheckAndDeclareArrowParameter(), Compare(), v8::internal::Parser::Declare(), v8::internal::Interface::DoAdd(), v8::internal::Scanner::IdentifierIsFutureStrictReserved(), IsOneByteEqualTo(), and v8::internal::Scope::ResolveVariable().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 78 of file ast-value-factory.h.
References literal_bytes_, and v8::internal::Vector< T >::start().
Referenced by v8::internal::Parser::Declare(), v8::internal::Interface::DoAdd(), v8::internal::Scanner::IdentifierIsFutureStrictReserved(), and v8::internal::Scope::ResolveVariable().
Here is the call graph for this function:
Here is the caller graph for this function:
|
friend |
Definition at line 99 of file ast-value-factory.h.
|
friend |
Definition at line 98 of file ast-value-factory.h.
|
private |
Definition at line 113 of file ast-value-factory.h.
|
private |
Definition at line 109 of file ast-value-factory.h.
Referenced by AsArrayIndex(), v8::internal::AstRawStringInternalizationKey::AsHandle(), Compare(), FirstCharacter(), is_one_byte(), v8::internal::AstRawStringInternalizationKey::IsMatch(), IsOneByteEqualTo(), and length().
Definition at line 112 of file ast-value-factory.h.
Referenced by AsArrayIndex(), v8::internal::AstRawStringInternalizationKey::AsHandle(), Compare(), FirstCharacter(), Internalize(), v8::internal::AstRawStringInternalizationKey::IsMatch(), IsOneByteEqualTo(), length(), and raw_data().