Home | History | Annotate | Download | only in Basic

Lines Matching refs:isIdentifierBody

74 TEST(CharInfoTest, isIdentifierBody) {
75 EXPECT_TRUE(isIdentifierBody('a'));
76 EXPECT_TRUE(isIdentifierBody('A'));
77 EXPECT_TRUE(isIdentifierBody('z'));
78 EXPECT_TRUE(isIdentifierBody('Z'));
79 EXPECT_TRUE(isIdentifierBody('_'));
81 EXPECT_TRUE(isIdentifierBody('0'));
82 EXPECT_FALSE(isIdentifierBody('.'));
83 EXPECT_FALSE(isIdentifierBody('`'));
84 EXPECT_FALSE(isIdentifierBody('\0'));
86 EXPECT_FALSE(isIdentifierBody('$'));
87 EXPECT_TRUE(isIdentifierBody('$', /*AllowDollar=*/true));
89 EXPECT_FALSE(isIdentifierBody('\x80'));
90 EXPECT_FALSE(isIdentifierBody('\xc2'));
91 EXPECT_FALSE(isIdentifierBody('\xff'));