Class: Rubycc::Front::AST::IntLit
- Inherits:
-
Data
- Object
- Data
- Rubycc::Front::AST::IntLit
- Defined in:
- lib/rubycc/front/ast.rb
Overview
Integer literal. value is a Ruby Integer and type its Rubycc::Type,
fixed by the parser from the constant's base, suffix and magnitude
(6.4.4.1) — int/long or their unsigned forms; a character constant is
int.
Instance Attribute Summary collapse
-
#token ⇒ Object
readonly
Returns the value of attribute token.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Attribute Details
#token ⇒ Object (readonly)
Returns the value of attribute token
12 13 14 |
# File 'lib/rubycc/front/ast.rb', line 12 def token @token end |
#type ⇒ Object (readonly)
Returns the value of attribute type
12 13 14 |
# File 'lib/rubycc/front/ast.rb', line 12 def type @type end |
#value ⇒ Object (readonly)
Returns the value of attribute value
12 13 14 |
# File 'lib/rubycc/front/ast.rb', line 12 def value @value end |