pub enum Tok {
}Variants§
Number(f64)
Text(String)
Bool(bool)
Error(CellError)
Word(String)
A reference-looking or name-looking word, possibly sheet-qualified: A1, $B$2, A:A
is lexed as Word(A) Colon Word(A); Sheet1!A1 → Sheet(Some("Sheet1")) then Word.
Sheet(String, Option<String>)
Sheet prefix Sheet1!, 'My Sheet'!, Sheet1:Sheet3! (first, last).
Func(String)
Function name (word immediately followed by (), the ( is consumed.
Struct(String)
Structured reference body after a table name or bare: the raw text inside [...].
Op(&'static str)
LParen
RParen
LBrace
RBrace
Comma
Semicolon
Colon
Trim(TrimMode)
Trim reference range operator .:, :. or .:..
Space
Eof
Trait Implementations§
impl StructuralPartialEq for Tok
Auto Trait Implementations§
impl Freeze for Tok
impl RefUnwindSafe for Tok
impl Send for Tok
impl Sync for Tok
impl Unpin for Tok
impl UnsafeUnpin for Tok
impl UnwindSafe for Tok
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more