Home
last modified time | relevance | path

Searched refs:literal_chars (Results 1 – 4 of 4) sorted by relevance

/third_party/node/deps/v8/src/parsing/
Dscanner.h434 LiteralBuffer literal_chars; member
512 next().literal_chars.AddChar(c); in AddLiteralChar()
515 V8_INLINE void AddLiteralChar(char c) { next().literal_chars.AddChar(c); } in AddLiteralChar()
594 return current().literal_chars.one_byte_literal(); in literal_one_byte_string()
599 return current().literal_chars.two_byte_literal(); in literal_two_byte_string()
604 return current().literal_chars.is_one_byte(); in is_literal_one_byte()
610 return next().literal_chars.one_byte_literal(); in next_literal_one_byte_string()
614 return next().literal_chars.two_byte_literal(); in next_literal_two_byte_string()
618 return next().literal_chars.is_one_byte(); in is_next_literal_one_byte()
707 return token.literal_chars.length() != source_length; in LiteralContainsEscapes()
Dscanner.cc458 next().literal_chars.Start(); in ScanString()
497 next().literal_chars.Start(); in ScanPrivateName()
534 next().literal_chars.Start(); in ScanTemplateSpan()
749 next().literal_chars.Start(); in ScanNumber()
807 if (next().literal_chars.one_byte_literal().length() <= 10 && in ScanNumber()
928 if (can_be_keyword && next().literal_chars.is_one_byte()) { in ScanIdentifierOrKeywordInnerSlow()
929 base::Vector<const uint8_t> chars = next().literal_chars.one_byte_literal(); in ScanIdentifierOrKeywordInnerSlow()
961 next().literal_chars.Start(); in ScanRegExpPattern()
Dscanner-inl.h183 next().literal_chars.Start(); in ScanIdentifierOrKeyword()
300 next().literal_chars.one_byte_literal(); in ScanIdentifierOrKeywordInner()
/third_party/python/Lib/test/
Dtest_re.py1022 literal_chars = self.LITERAL_CHARS
1023 self.assertEqual(re.escape(literal_chars), literal_chars)
1036 literal_chars = self.LITERAL_CHARS.encode('ascii')
1037 self.assertEqual(re.escape(literal_chars), literal_chars)