MCPcopy Create free account
hub / github.com/astral-sh/ruff / parse

Method parse

crates/ruff_python_parser/src/string.rs:500–506  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

498 }
499
500 fn parse(self) -> Result<StringType, LexicalError> {
501 if self.flags.is_byte_string() {
502 self.parse_bytes()
503 } else {
504 self.parse_string()
505 }
506 }
507}
508
509pub(crate) fn parse_string_literal(

Callers 1

parse_string_literalFunction · 0.45

Calls 3

is_byte_stringMethod · 0.80
parse_bytesMethod · 0.80
parse_stringMethod · 0.45

Tested by

no test coverage detected