v8
3.14.5(node0.10.28)
V8 is Google's open source JavaScript engine
|
#include <scanner.h>
Data Structures | |
class | LiteralScope |
struct | Location |
Public Types | |
typedef unibrow::Utf8InputBuffer< 1024 > | Utf8Decoder |
Static Public Member Functions | |
static bool | IsIdentifier (unibrow::CharacterStream *buffer) |
Static Public Attributes | |
static const int | kNoOctalLocation = -1 |
static const int | kCharacterLookaheadBufferSize = 1 |
typedef unibrow::Utf8InputBuffer<1024> Utf8Decoder |
|
explicit |
Definition at line 41 of file scanner.cc.
|
inline |
Definition at line 399 of file scanner.h.
References Scanner::Location::invalid().
|
inline |
Definition at line 327 of file scanner.h.
Referenced by PreParser::PreParseLazyFunction().
void Initialize | ( | Utf16CharacterStream * | source | ) |
Definition at line 48 of file scanner.cc.
Referenced by Parser::ParseProgram(), v8::Preparse(), TEST(), TestParserSync(), TestScanRegExp(), and TestStreamScanner().
|
inline |
Definition at line 345 of file scanner.h.
References ASSERT_NOT_NULL.
Referenced by TestScanRegExp().
|
inline |
Definition at line 381 of file scanner.h.
References ASSERT_NOT_NULL.
|
static |
|
inline |
Definition at line 337 of file scanner.h.
References ASSERT_NOT_NULL.
Referenced by TestScanRegExp().
|
inline |
Definition at line 354 of file scanner.h.
References Scanner::Location::beg_pos, Scanner::Location::end_pos, and Scanner::location().
|
inline |
Definition at line 349 of file scanner.h.
References ASSERT_NOT_NULL.
Definition at line 341 of file scanner.h.
References ASSERT_NOT_NULL.
|
inline |
Definition at line 330 of file scanner.h.
Referenced by Scanner::literal_contains_escapes(), PreParser::PreParseLazyFunction(), and TestStreamScanner().
Token::Value Next | ( | ) |
Definition at line 224 of file scanner.cc.
Referenced by TEST(), TestScanRegExp(), and TestStreamScanner().
|
inline |
Definition at line 373 of file scanner.h.
References ASSERT_NOT_NULL.
|
inline |
Definition at line 385 of file scanner.h.
References ASSERT_NOT_NULL.
Definition at line 377 of file scanner.h.
References ASSERT_NOT_NULL.
|
inline |
Definition at line 367 of file scanner.h.
Referenced by PreParser::PreParseLazyFunction(), and TestScanRegExp().
|
inline |
Definition at line 369 of file scanner.h.
Referenced by PreParser::PreParseLazyFunction().
Definition at line 667 of file scanner.cc.
bool ScanRegExpFlags | ( | ) |
Definition at line 1070 of file scanner.cc.
References Scanner::LiteralScope::Complete(), and UnicodeCache::IsIdentifierPart().
bool ScanRegExpPattern | ( | bool | seen_equal | ) |
Definition at line 993 of file scanner.cc.
References Scanner::LiteralScope::Complete(), and UnicodeCache::IsLineTerminator().
Referenced by TestScanRegExp().
void SeekForward | ( | int | pos | ) |
Definition at line 593 of file scanner.cc.
References ASSERT, ASSERT_EQ, Utf16CharacterStream::pos(), and Utf16CharacterStream::SeekForward().
Referenced by TestStreamScanner().
|
inline |
Definition at line 416 of file scanner.h.
References v8::internal::modules().
Referenced by Parser::Parser(), and TEST().
|
inline |
Definition at line 410 of file scanner.h.
Referenced by Parser::Parser(), TEST(), and TestParserSync().
|
inline |