Class: Vertigo::EntityInstance

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(full_name = nil, arch_name = nil, generic_map = nil, port_map = nil) ⇒ EntityInstance

Returns a new instance of EntityInstance.



148
149
150
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 148

def initialize full_name=nil,arch_name=nil,generic_map=nil,port_map=nil
  @full_name,@arch_name,@generic_map,@port_map=full_name,arch_name,generic_map,port_map
end

Instance Attribute Details

#arch_nameObject

Returns the value of attribute arch_name.



147
148
149
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 147

def arch_name
  @arch_name
end

#full_nameObject

Returns the value of attribute full_name.



147
148
149
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 147

def full_name
  @full_name
end

#generic_mapObject

Returns the value of attribute generic_map.



147
148
149
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 147

def generic_map
  @generic_map
end

#port_mapObject

Returns the value of attribute port_map.



147
148
149
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 147

def port_map
  @port_map
end