Class: Rubinius::AST::FixnumLiteral
- Inherits:
-
NumberLiteral
- Object
- Node
- NumberLiteral
- Rubinius::AST::FixnumLiteral
- Defined in:
- lib/compiler/ast/literals.rb
Instance Attribute Summary
Attributes inherited from NumberLiteral
Attributes inherited from Node
Instance Method Summary collapse
-
#initialize(line, value) ⇒ FixnumLiteral
constructor
A new instance of FixnumLiteral.
Methods inherited from NumberLiteral
Methods inherited from Node
#ascii_graph, #attributes, #children, match_arguments?, match_send?, #new_block_generator, #new_generator, #node_name, node_name, #pos, #set_child, #to_sexp, #transform, transform, transform_comment, transform_kind, transform_kind=, transform_name, #visit, #walk
Constructor Details
#initialize(line, value) ⇒ FixnumLiteral
Returns a new instance of FixnumLiteral.
95 96 97 98 |
# File 'lib/compiler/ast/literals.rb', line 95 def initialize(line, value) @line = line @value = value end |