[][src]Enum mini_haskell::lexeme::LexemeType

pub enum LexemeType {
    Whitespace,
    Identifier,
    Operator,
    QIdentifier,
    QOperator,
    Integer,
    Float,
    CharLiteral,
    StringLiteral,
    ReservedId,
    ReservedOp,
    Comma,
    Semicolon,
    Backtick,
    OpenCurlyBracket,
    CloseCurlyBracket,
    OpenParenthesis,
    CloseParenthesis,
    OpenSquareBracket,
    CloseSquareBracket,
}

Lexeme type labels.

Variants

Whitespace

Whitespaces.

Identifier

Identifiers.

Operator

Operators.

QIdentifier

Qualified Identifiers.

QOperator

Qualified Operators.

Integer

Integers.

Float

Rationals.

CharLiteral

Character literals.

StringLiteral

String literals.

ReservedId

Reserved keywords.

ReservedOp

Reserved operators.

Comma

Commas (,).

Semicolon

Semicolons (;).

Backtick

Back-ticks (`).

OpenCurlyBracket

Open curly brackets ({).

CloseCurlyBracket

Close curly brackets (}).

OpenParenthesis

Open parenthesis (().

CloseParenthesis

Close parenthesis ()).

OpenSquareBracket

Open square brackets ([).

CloseSquareBracket

Close square brackets (]).

Trait Implementations

impl Clone for LexemeType[src]

impl Copy for LexemeType[src]

impl Debug for LexemeType[src]

impl Eq for LexemeType[src]

impl PartialEq<LexemeType> for LexemeType[src]

impl StructuralEq for LexemeType[src]

impl StructuralPartialEq for LexemeType[src]

Auto Trait Implementations

impl RefUnwindSafe for LexemeType

impl Send for LexemeType

impl Sync for LexemeType

impl Unpin for LexemeType

impl UnwindSafe for LexemeType

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.