MCPcopy Create free account
hub / github.com/clojure-rs/ClojureRS / try_read_keyword

Function try_read_keyword

src/reader.rs:437–445  ·  view source on GitHub ↗

Perhaps generalize this into reader macros Tries to parse &str into Value::Keyword Example Successes: :a => Value::Keyword(Keyword { sym: Symbol { name: "a" }) :cat-dog => Value::Keyword(Keyword { sym: Symbol { name: "cat-dog" }) Example Failures: :12 :'a

(input: &str)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

symbol_parserFunction · 0.85
to_valueMethod · 0.45

Tested by

no test coverage detected