Class: RubyRTL::Indexed
Instance Attribute Summary collapse
-
#lhs ⇒ Object
Returns the value of attribute lhs.
-
#rhs ⇒ Object
Returns the value of attribute rhs.
Attributes inherited from Sig
#name, #subscript_of, #subsignals, #type
Attributes inherited from Ast
Instance Method Summary collapse
-
#initialize(lhs, rhs, type) ⇒ Indexed
constructor
A new instance of Indexed.
Methods inherited from Sig
#!=, #!@, #&, #*, #+, #-, #-@, #/, #<, #<=, #==, #>, #>=, #[], #^, #coerce, #treat_int, #|
Methods inherited from Ast
Constructor Details
#initialize(lhs, rhs, type) ⇒ Indexed
Returns a new instance of Indexed.
165 166 167 168 |
# File 'lib/ruby_rtl/dsl.rb', line 165 def initialize lhs,rhs,type super("foo",type) @lhs,@rhs=lhs,rhs end |
Instance Attribute Details
#lhs ⇒ Object
Returns the value of attribute lhs.
164 165 166 |
# File 'lib/ruby_rtl/dsl.rb', line 164 def lhs @lhs end |
#rhs ⇒ Object
Returns the value of attribute rhs.
164 165 166 |
# File 'lib/ruby_rtl/dsl.rb', line 164 def rhs @rhs end |