mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-11 14:16:42 +01:00
EdnProvide
This commit is contained in:
parent
794d4210c6
commit
fc06fb863b
7 changed files with 126 additions and 61 deletions
9
input/src/edn_input.rs
Normal file
9
input/src/edn_input.rs
Normal 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
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue