Class: RubyRTL::SigDecl

Inherits:
Ast
  • Object
show all
Defined in:
lib/ruby_rtl/ast.rb

Instance Attribute Summary collapse

Attributes inherited from Ast

#comments

Instance Method Summary collapse

Methods inherited from Ast

#accept

Constructor Details

#initialize(name, sig) ⇒ SigDecl

Returns a new instance of SigDecl.



64
65
66
# File 'lib/ruby_rtl/ast.rb', line 64

def initialize name,sig
  @name,@sig=name,sig
end

Instance Attribute Details

#nameObject

Returns the value of attribute name.



63
64
65
# File 'lib/ruby_rtl/ast.rb', line 63

def name
  @name
end

#sigObject

Returns the value of attribute sig.



63
64
65
# File 'lib/ruby_rtl/ast.rb', line 63

def sig
  @sig
end