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

Function operator_receiver_re

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

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

()

Source from the content-addressed store, hash-verified

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

Callers 1

extract_callMethod · 0.85

Calls 1

unwrapMethod · 0.60

Tested by

no test coverage detected