use crate::{ext::CScannerExt, Scanner, ScannerResult};
pub trait JsonCScannerExt<'text>: crate::private::Sealed {
fn scan_jsonc_line_comment(&mut self) -> ScannerResult<'text, &'text str>;
fn scan_jsonc_block_comment(&mut self) -> ScannerResult<'text, &'text str>;
}
impl<'text> JsonCScannerExt<'text> for Scanner<'text> {
#[inline]
fn scan_jsonc_line_comment(&mut self) -> ScannerResult<'text, &'text str> {
self.scan_c_line_comment()
}
#[inline]
fn scan_jsonc_block_comment(&mut self) -> ScannerResult<'text, &'text str> {
self.scan_c_block_comment()
}
}