Class: Vertigo::ArrayDimDecl

Inherits:
AstNode
  • Object
show all
Defined in:
lib/vertigo/ast_vertigo_rkgen.rb

Instance Attribute Summary collapse

Attributes inherited from AstNode

#label, #pos

Instance Method Summary collapse

Methods inherited from AstNode

#accept, #str

Constructor Details

#initialize(type_mark = nil, range = nil) ⇒ ArrayDimDecl

Returns a new instance of ArrayDimDecl.



386
387
388
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 386

def initialize type_mark=nil,range=nil
  @type_mark,@range=type_mark,range
end

Instance Attribute Details

#rangeObject

Returns the value of attribute range.



385
386
387
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 385

def range
  @range
end

#type_markObject

Returns the value of attribute type_mark.



385
386
387
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 385

def type_mark
  @type_mark
end