mirror of
https://github.com/Noratrieb/ub.git
synced 2026-01-14 16:45:05 +01:00
parse some things maybe
This commit is contained in:
parent
9e87a4ce91
commit
1bd5859f0c
8 changed files with 315 additions and 74 deletions
|
|
@ -1,6 +1,6 @@
|
|||
use logos::Logos;
|
||||
|
||||
#[derive(Logos, Debug, PartialEq)]
|
||||
#[derive(Logos, Debug, Clone, Hash, PartialEq, Eq)]
|
||||
pub enum Token<'a> {
|
||||
#[regex("//[^\n]*", logos::skip)]
|
||||
Comment,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue