Debian Codegraph @

third_party/rust/fluent-syntax/src/parser/macros.rs

raw
1 macro_rules! get_byte {
2 ($s:expr, $idx:expr) => {
3 $s.source.as_ref().as_bytes().get($idx)
4 };
5 }
6
7 macro_rules! get_current_byte {
8 ($s:expr) => {
9 $s.source.as_ref().as_bytes().get($s.ptr)
10 };
11 }