Module moore_svlog_syntax::token
[−]
[src]
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.
Reexports
pub use self::DelimToken::*; |
pub use self::Token::*; |
pub use self::Lit::*; |
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. |
| Token |
A primary token emitted by the lexer. |
Functions
| find_keyword |