only-syntax 0.0.5

Syntax parsing and CST construction for the only task language.
Documentation
1
2
3
4
5
6
7
8
9
10
11
use smol_str::SmolStr;
use text_size::TextRange;

use crate::SyntaxKind;

#[derive(Debug, Clone, PartialEq, Eq)]
pub struct LexToken {
    pub kind: SyntaxKind,
    pub text: SmolStr,
    pub range: TextRange,
}