Struct lib_ruby_parser::nodes::Int [−][src]
Expand description
Represents an integer literal (i.e. 42)
Fields
value: StringString value of the literal, String("42") for 42
operator_l: Option<Loc>Location of unary - (but not +)
-42
~expression_l: LocLocation of the full expression
-42
~~~Implementations
Returns operator_l field
Returns expression_l field
Sets operator_l field
Sets expression_l field
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Int
impl UnwindSafe for Int
Blanket Implementations
Mutably borrows from an owned value. Read more