asto 0.1.0

Asto is a minimalist DSL for documenting CLI tools, built from the ground up in Rust.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use crate::core::types::AstoStructure;

#[derive(Debug, Copy, Clone)]
pub struct Token<'a> {
    
    pub value: &'a [u8],
    pub typeval: AstoStructure,

    pub start_ln: u32,
    pub start_col: u16,
    pub end_ln: u32, 
    pub end_col: u16

}