MCPcopy Create free account
hub / github.com/LaBatata101/sith-language-server / is_raw_string

Method is_raw_string

crates/sith_python_parser/src/token.rs:753–755  ·  view source on GitHub ↗

Returns `true` if the token is a raw string.

(self)

Source from the content-addressed store, hash-verified

751
752 /// Returns `true` if the token is a raw string.
753 pub(crate) const fn is_raw_string(self) -> bool {
754 self.intersects(TokenFlags::RAW_STRING)
755 }
756
757 /// Converts this type to [`AnyStringFlags`], setting the equivalent flags.
758 pub(crate) fn as_any_string_flags(self) -> AnyStringFlags {

Callers 4

parse_fstring_middleMethod · 0.45
parse_bytesMethod · 0.45
parse_stringMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected