Enum rtlola_parser::ast::LitKind [−][src]
Expand description
The Ast representation of literals
Variants
Str(String)
A string literal ("foo"
)
Tuple Fields of Str
0: String
RawStr(String)
A raw string literal (r#" x " a \ff "#
)
Tuple Fields of RawStr
0: String
A numeric value with optional postfix part (42
, 1.3
, 1Hz
, 100sec
)
Stores as a string to have lossless representation
Bool(bool)
A boolean literal (true
)
Tuple Fields of Bool
0: bool
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for LitKind
impl UnwindSafe for LitKind
Blanket Implementations
Mutably borrows from an owned value. Read more