#include "src/asmjs/asm-scanner.h"
#include "src/parsing/scanner-character-streams.h"
#include "src/parsing/scanner.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace v8 {
namespace internal {
#define TOK(t) …
class AsmJsScannerTest : public ::testing::Test { … };
TEST_F(AsmJsScannerTest, SimpleFunction) { … }
TEST_F(AsmJsScannerTest, JSKeywords) { … }
TEST_F(AsmJsScannerTest, JSOperatorsSpread) { … }
TEST_F(AsmJsScannerTest, JSOperatorsTight) { … }
TEST_F(AsmJsScannerTest, UsesOfAsm) { … }
TEST_F(AsmJsScannerTest, DefaultGlobalScope) { … }
TEST_F(AsmJsScannerTest, GlobalScope) { … }
TEST_F(AsmJsScannerTest, LocalScope) { … }
TEST_F(AsmJsScannerTest, Numbers) { … }
TEST_F(AsmJsScannerTest, UnsignedNumbers) { … }
TEST_F(AsmJsScannerTest, BadNumber) { … }
TEST_F(AsmJsScannerTest, Rewind1) { … }
TEST_F(AsmJsScannerTest, Comments) { … }
TEST_F(AsmJsScannerTest, TrailingCComment) { … }
TEST_F(AsmJsScannerTest, Seeking) { … }
TEST_F(AsmJsScannerTest, Newlines) { … }
}
}