Enum static_analyser::lex::TokenKind [] [src]

pub enum TokenKind {
    Integer(usize),
    Decimal(f64),
    Identifier(String),
    QuotedString(String),
    Asterisk,
    At,
    Carat,
    CloseParen,
    CloseSquare,
    Colon,
    Dot,
    End,
    Equals,
    Minus,
    OpenParen,
    OpenSquare,
    Plus,
    Semicolon,
    Slash,
}

Any valid token in the Delphi programming language.

Variants

Trait Implementations

impl Debug for TokenKind
[src]

Formats the value using the given formatter.

impl Clone for TokenKind
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for TokenKind
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl From<String> for TokenKind
[src]

Performs the conversion.

impl<'a> From<&'a str> for TokenKind
[src]

Performs the conversion.

impl From<usize> for TokenKind
[src]

Performs the conversion.

impl From<f64> for TokenKind
[src]

Performs the conversion.