#include "src/asmjs/asm-scanner.h"
#include <cinttypes>
#include "src/base/iterator.h"
#include "src/flags/flags.h"
#include "src/numbers/conversions.h"
#include "src/parsing/scanner.h"
#include "src/strings/char-predicates-inl.h"
namespace v8 {
namespace internal {
namespace {
static const int kMaxIdentifierCount = …;
}
AsmJsScanner::AsmJsScanner(Utf16CharacterStream* stream)
: … { … }
void AsmJsScanner::Next() { … }
void AsmJsScanner::Rewind() { … }
void AsmJsScanner::ResetLocals() { … }
#if DEBUG
std::string AsmJsScanner::Name(token_t token) const { … }
#endif
void AsmJsScanner::Seek(size_t pos) { … }
void AsmJsScanner::ConsumeIdentifier(base::uc32 ch) { … }
namespace {
bool IsValidImplicitOctal(std::string_view number) { … }
}
void AsmJsScanner::ConsumeNumber(base::uc32 ch) { … }
bool AsmJsScanner::ConsumeCComment() { … }
void AsmJsScanner::ConsumeCPPComment() { … }
void AsmJsScanner::ConsumeString(base::uc32 quote) { … }
void AsmJsScanner::ConsumeCompareOrShift(base::uc32 ch) { … }
bool AsmJsScanner::IsIdentifierStart(base::uc32 ch) { … }
bool AsmJsScanner::IsIdentifierPart(base::uc32 ch) { … }
bool AsmJsScanner::IsNumberStart(base::uc32 ch) { … }
}
}