[][src]Module moore_svlog_syntax::token

Defines all tokens that may result from performing lexical analysis on a SystemVerilog source file. This module is inspired heavily by the tokens used in the Rust compiler.

Re-exports

pub use self::DelimToken::*;
pub use self::Lit::*;
pub use self::Token::*;

Enums

DelimToken

A delimiter token such as parentheses or brackets.

Kw
Lit

Abstract literals such as strings.

Op

Operator symbols.

Precedence

Expression precedence. Note that a few kinds of expression are right-associative rather than the default left-associative.

TimeUnit

The unit of a time literal.

Token

A primary token emitted by the lexer.

Functions

find_keyword