Class: Vertigo::Alias

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(designator = nil, type = nil, name = nil, signature = nil) ⇒ Alias

Returns a new instance of Alias.



414
415
416
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 414

def initialize designator=nil,type=nil,name=nil,signature=nil
  @designator,@type,@name,@signature=designator,type,name,signature
end

Instance Attribute Details

#designatorObject

Returns the value of attribute designator.



413
414
415
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 413

def designator
  @designator
end

#nameObject

Returns the value of attribute name.



413
414
415
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 413

def name
  @name
end

#signatureObject

Returns the value of attribute signature.



413
414
415
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 413

def signature
  @signature
end

#typeObject

Returns the value of attribute type.



413
414
415
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 413

def type
  @type
end