MCPcopy Create free account
hub / github.com/dprint/jsonc-parser / StringLit

Class StringLit

src/ast.rs:209–212  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

207/// Node surrounded in double quotes (ex. `"my string"`).
208#[derive(Debug, PartialEq, Clone)]
209pub struct StringLit<'a> {
210 pub range: Range,
211 pub value: Cow<'a, str>,
212}
213
214/// A string that's not in quotes.
215/// Usually the appearance of this would be a parsing error.

Callers 3

parse_valueFunction · 0.85
fromMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…