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