Class: StarlarkCompiler::AST::Number
- Defined in:
- lib/starlark_compiler/ast.rb
Constant Summary
Constants inherited from Node
StarlarkCompiler::AST::Node::TYPE
Instance Attribute Summary collapse
-
#number ⇒ Object
readonly
Returns the value of attribute number.
Instance Method Summary collapse
-
#initialize(number) ⇒ Number
constructor
A new instance of Number.
Constructor Details
#initialize(number) ⇒ Number
Returns a new instance of Number.
94 95 96 |
# File 'lib/starlark_compiler/ast.rb', line 94 def initialize(number) @number = number end |
Instance Attribute Details
#number ⇒ Object (readonly)
Returns the value of attribute number.
93 94 95 |
# File 'lib/starlark_compiler/ast.rb', line 93 def number @number end |