pub enum TokenKind {
Show 88 variants
Spec,
Repo,
Data,
Rule,
Unless,
Then,
Not,
And,
In,
As,
Uses,
With,
Meta,
Veto,
Now,
Past,
Future,
True,
False,
Yes,
No,
MeasureKw,
NumberKw,
TextKw,
DateKw,
TimeKw,
BooleanKw,
RatioKw,
Sqrt,
Sin,
Cos,
Tan,
Asin,
Acos,
Atan,
Log,
Exp,
Abs,
Floor,
Ceil,
Round,
List,
Key,
Find,
First,
Last,
Sum,
Avg,
Product,
Count,
Min,
Max,
Any,
All,
Where,
Sort,
Top,
Asc,
Desc,
Lower,
Upper,
Permille,
Is,
Plus,
Minus,
Star,
Slash,
Comma,
Percent,
PercentPercent,
Mod,
Caret,
Gt,
Lt,
Gte,
Lte,
Colon,
Arrow,
Ellipsis,
Dot,
LParen,
RParen,
NumberLit,
StringLit,
Commentary,
Identifier,
LogicalName,
Eof,
}Variants§
Spec
Repo
Data
Rule
Unless
Then
Not
And
In
As
Uses
With
Meta
Veto
Now
Past
Future
True
False
Yes
No
MeasureKw
NumberKw
TextKw
DateKw
TimeKw
BooleanKw
RatioKw
Sqrt
Sin
Cos
Tan
Asin
Acos
Atan
Log
Exp
Abs
Floor
Ceil
Round
List
Key
Find
First
Last
Sum
Avg
Product
Count
Min
Max
Any
All
Where
Sort
Top
Asc
Desc
Lower
Upper
Permille
Is
Plus
Minus
Star
Slash
Comma
Percent
PercentPercent
Mod
Caret
Gt
Lt
Gte
Lte
Colon
Arrow
Ellipsis
Dot
LParen
RParen
NumberLit
StringLit
Commentary
Identifier
LogicalName
Opaque spec / repo / registry name: optional @ + [A-Za-z0-9_./-]+.
Eof
Trait Implementations§
impl Eq for TokenKind
impl StructuralPartialEq for TokenKind
Auto Trait Implementations§
impl Freeze for TokenKind
impl RefUnwindSafe for TokenKind
impl Send for TokenKind
impl Sync for TokenKind
impl Unpin for TokenKind
impl UnsafeUnpin for TokenKind
impl UnwindSafe for TokenKind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.