Class: Vertigo::InOut

Inherits:
AstNode 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(name = nil, type = nil, init = nil) ⇒ InOut

Returns a new instance of InOut.



78
79
80
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 78

def initialize name=nil,type=nil,init=nil
  @name,@type,@init=name,type,init
end

Instance Attribute Details

#initObject

Returns the value of attribute init.



77
78
79
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 77

def init
  @init
end

#nameObject

Returns the value of attribute name.



77
78
79
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 77

def name
  @name
end

#typeObject

Returns the value of attribute type.



77
78
79
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 77

def type
  @type
end