EdnProvide

This commit is contained in:
🪞👃🪞 2025-01-12 13:32:11 +01:00
parent 794d4210c6
commit fc06fb863b
7 changed files with 126 additions and 61 deletions

9
input/src/edn_input.rs Normal file
View file

@ -0,0 +1,9 @@
use crate::*;
use EdnItem::*;
pub trait EdnInput: Input {
fn matches (&self, token: &str) -> bool;
fn get_event <S: AsRef<str>> (_: &EdnItem<S>) -> Option<Self::Event> {
None
}
}