Instance methods
%(other : NumberLiteral) : NumberLiteral
Source&(other : NumberLiteral) : NumberLiteral
Source*(other : NumberLiteral) : NumberLiteral
Source**(other : NumberLiteral) : NumberLiteral
Source+(other : NumberLiteral) : NumberLiteral
Source-(other : NumberLiteral) : NumberLiteral
Source//(other : NumberLiteral) : NumberLiteral
Source<(other : NumberLiteral) : BoolLiteral
Compares this node's value to another node's value.
Source<<(other : NumberLiteral) : NumberLiteral
Source<=(other : NumberLiteral) : BoolLiteral
Compares this node's value to another node's value.
Source<=>(other : NumberLiteral) : NumberLiteral
Compares this node's value to another node's value.
Source>(other : NumberLiteral) : BoolLiteral
Compares this node's value to another node's value.
Source>=(other : NumberLiteral) : BoolLiteral
Compares this node's value to another node's value.
Source>>(other : NumberLiteral) : NumberLiteral
Source^(other : NumberLiteral) : NumberLiteral
Source|(other : NumberLiteral) : NumberLiteral
Sourcekind
The type of the literal: :i32, :u16, :f32, :f64, etc.
Sourceto_number
Returns the value of this number without a type suffix.
Sourcezero?
Returns true if value is 0, false otherwise.
Source