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

Function macro_tok_text

codegraph-kernel/src/rustlang.rs:1900–1902  ·  view source on GitHub ↗
(t: Node, src: &'s str)

Source from the content-addressed store, hash-verified

1898}
1899
1900fn macro_tok_text<'s>(t: Node, src: &'s str) -> &'s str {
1901 &src[t.byte_range()]
1902}
1903
1904/// `/^(?:[A-Za-z_]\w*|\d+)$/`.
1905fn is_field_text(s: &str) -> bool {

Callers 8

macro_is_nameFunction · 0.85
rust_macro_arg_refsFunction · 0.85
macro_capture_valueFunction · 0.85
macro_binds_codeFunction · 0.85
macro_uses_anyFunction · 0.85
macro_parse_chainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected