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

Function operator_receiver_re

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

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

()

Source from the content-addressed store, hash-verified

155}
156/// Operator-call receiver: simple identifier / dotted member chain.
157fn operator_receiver_re() -> &'static Regex {
158 static RE: OnceLock<Regex> = OnceLock::new();
159 RE.get_or_init(|| Regex::new(r"^[A-Za-z_][A-Za-z0-9_.]*$").unwrap())
160}
161/// Symbolic operator tail (`/^[^\w\s]/` in JS).
162fn symbolic_op_re() -> &'static Regex {
163 static RE: OnceLock<Regex> = OnceLock::new();

Callers 1

extract_callMethod · 0.85

Calls 1

unwrapMethod · 0.60

Tested by

no test coverage detected