Lines Matching refs:isIdentifierHead
54 TEST(CharInfoTest, isIdentifierHead) { in TEST() argument
55 EXPECT_TRUE(isIdentifierHead('a')); in TEST()
56 EXPECT_TRUE(isIdentifierHead('A')); in TEST()
57 EXPECT_TRUE(isIdentifierHead('z')); in TEST()
58 EXPECT_TRUE(isIdentifierHead('Z')); in TEST()
59 EXPECT_TRUE(isIdentifierHead('_')); in TEST()
61 EXPECT_FALSE(isIdentifierHead('0')); in TEST()
62 EXPECT_FALSE(isIdentifierHead('.')); in TEST()
63 EXPECT_FALSE(isIdentifierHead('`')); in TEST()
64 EXPECT_FALSE(isIdentifierHead('\0')); in TEST()
66 EXPECT_FALSE(isIdentifierHead('$')); in TEST()
67 EXPECT_TRUE(isIdentifierHead('$', /*AllowDollar=*/true)); in TEST()
69 EXPECT_FALSE(isIdentifierHead('\x80')); in TEST()
70 EXPECT_FALSE(isIdentifierHead('\xc2')); in TEST()
71 EXPECT_FALSE(isIdentifierHead('\xff')); in TEST()