Class: Vertigo::RangedType
- Defined in:
- lib/vertigo/ast_vertigo_rkgen.rb
Instance Attribute Summary collapse
-
#range ⇒ Object
Returns the value of attribute range.
-
#type ⇒ Object
Returns the value of attribute type.
Attributes inherited from AstNode
Instance Method Summary collapse
-
#initialize(type = nil, range = nil) ⇒ RangedType
constructor
A new instance of RangedType.
Methods inherited from AstNode
Constructor Details
#initialize(type = nil, range = nil) ⇒ RangedType
Returns a new instance of RangedType.
428 429 430 |
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 428 def initialize type=nil,range=nil @type,@range=type,range end |
Instance Attribute Details
#range ⇒ Object
Returns the value of attribute range.
427 428 429 |
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 427 def range @range end |
#type ⇒ Object
Returns the value of attribute type.
427 428 429 |
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 427 def type @type end |