Class: Vertigo::FormalArg
- Defined in:
- lib/vertigo/ast_vertigo_rkgen.rb
Instance Attribute Summary collapse
-
#direction ⇒ Object
Returns the value of attribute direction.
-
#name ⇒ Object
Returns the value of attribute name.
-
#signal ⇒ Object
Returns the value of attribute signal.
-
#type ⇒ Object
Returns the value of attribute type.
Attributes inherited from AstNode
Instance Method Summary collapse
-
#initialize(signal = nil, direction = nil, name = nil, type = nil) ⇒ FormalArg
constructor
A new instance of FormalArg.
Methods inherited from AstNode
Constructor Details
#initialize(signal = nil, direction = nil, name = nil, type = nil) ⇒ FormalArg
Returns a new instance of FormalArg.
106 107 108 |
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 106 def initialize signal=nil,direction=nil,name=nil,type=nil @signal,@direction,@name,@type=signal,direction,name,type end |
Instance Attribute Details
#direction ⇒ Object
Returns the value of attribute direction.
105 106 107 |
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 105 def direction @direction end |
#name ⇒ Object
Returns the value of attribute name.
105 106 107 |
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 105 def name @name end |
#signal ⇒ Object
Returns the value of attribute signal.
105 106 107 |
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 105 def signal @signal end |
#type ⇒ Object
Returns the value of attribute type.
105 106 107 |
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 105 def type @type end |