Enum moore_svlog::token::Lit [−][src]
pub enum Lit {
Str(Name),
BasedInteger(Option<Name>, bool, char, Name),
UnbasedUnsized(char),
Number(Name, Option<Name>),
Time(Name, Option<Name>, TimeUnit),
}
Expand description
Abstract literals such as strings.
Variants
Str(Name)
Tuple Fields of Str
0: Name
UnbasedUnsized(char)
One of '0
, '1
, 'x
, and 'z
.
Tuple Fields of UnbasedUnsized
0: char
A number given as integer and optional fractional part.
A time literal given as integer part, fractional part, and unit.
Trait Implementations
Apply a function to this node.
Auto Trait Implementations
impl RefUnwindSafe for Lit
impl UnwindSafe for Lit
Blanket Implementations
Mutably borrows from an owned value. Read more