MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / operator_receiver_re

Function operator_receiver_re

codegraph-kernel/src/ccpp/mod.rs:126–129  ·  view source on GitHub ↗

Operator-call receiver: simple identifier / dotted member chain.

()

Source from the content-addressed store, hash-verified

124}
125/// Operator-call receiver: simple identifier / dotted member chain.
126fn operator_receiver_re() -> &'static Regex {
127 static RE: OnceLock<Regex> = OnceLock::new();
128 RE.get_or_init(|| Regex::new(r"^[A-Za-z_][A-Za-z0-9_.]*$").unwrap())
129}
130/// Symbolic operator tail (`/^[^\w\s]/` in JS).
131fn symbolic_op_re() -> &'static Regex {
132 static RE: OnceLock<Regex> = OnceLock::new();

Callers 1

extract_callMethod · 0.85

Calls 1

unwrapMethod · 0.60

Tested by

no test coverage detected