Class: Vertigo::ComponentInstance
- Defined in:
- lib/vertigo/ast_vertigo_rkgen.rb
Instance Attribute Summary collapse
-
#generic_map ⇒ Object
Returns the value of attribute generic_map.
-
#name ⇒ Object
Returns the value of attribute name.
-
#port_map ⇒ Object
Returns the value of attribute port_map.
Attributes inherited from AstNode
Instance Method Summary collapse
-
#initialize(name = nil, generic_map = nil, port_map = nil) ⇒ ComponentInstance
constructor
A new instance of ComponentInstance.
Methods inherited from AstNode
Constructor Details
#initialize(name = nil, generic_map = nil, port_map = nil) ⇒ ComponentInstance
Returns a new instance of ComponentInstance.
162 163 164 |
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 162 def initialize name=nil,generic_map=nil,port_map=nil @name,@generic_map,@port_map=name,generic_map,port_map end |
Instance Attribute Details
#generic_map ⇒ Object
Returns the value of attribute generic_map.
161 162 163 |
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 161 def generic_map @generic_map end |
#name ⇒ Object
Returns the value of attribute name.
161 162 163 |
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 161 def name @name end |
#port_map ⇒ Object
Returns the value of attribute port_map.
161 162 163 |
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 161 def port_map @port_map end |