Debian Codegraph @

src/parser/macros.rs

raw symbols SCIP
1 macro_rules! get_byterust-analyzer cargo fluent-syntax 0.12.0 parser/macros/get_byte! {
2 ($s:expr, $idx:expr) => {
3 $s.source.as_ref().as_bytes().get($idx)
4 };
5 }
6
7 macro_rules! get_current_byterust-analyzer cargo fluent-syntax 0.12.0 parser/macros/get_current_byte! {
8 ($s:expr) => {
9 $s.source.as_ref().as_bytes().get($s.ptr)
10 };
11 }
12
13 macro_rules! get_remaining_bytesrust-analyzer cargo fluent-syntax 0.12.0 parser/macros/get_remaining_bytes! {
14 ($s:expr) => {
15 $s.source.as_ref().as_bytes().get($s.ptr..)
16 };
17 }