MCPcopy Create free account
hub / github.com/coooodeer/parse-rust / ParserCache

Class ParserCache

src/parser.rs:18–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16use std::sync::{Arc, Mutex};
17
18struct ParserCache {
19 insensitive: HashMap<String, Arc<Parser>>,
20 sensitive: HashMap<String, Arc<Parser>>,
21}
22
23impl ParserCache {
24 fn map(&self, case_sensitive: bool) -> &HashMap<String, Arc<Parser>> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected