Struct lib_ruby_parser::nodes::Float [−][src]
#[repr(C)]pub struct Float { pub value: String, pub operator_l: Option<Loc>, pub expression_l: Loc, }
Expand description
Represents a float literal (i.e. 42.5)
Fields
value: StringString value of the literal, String("42.5") for 42.5
operator_l: Option<Loc>Location of unary - (but not +)
-42.5
~
expression_l: LocLocation of the full expression
-42.5
~~~~~
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Floatimpl UnwindSafe for FloatBlanket Implementations
Mutably borrows from an owned value. Read more