Class: Rhdl::Expression

Inherits:
Object
  • Object
show all
Defined in:
lib/rhdl/expression.rb

Direct Known Subclasses

BinOp, UnOp, Variable

Instance Method Summary collapse

Instance Method Details

#!Object



11
12
13
# File 'lib/rhdl/expression.rb', line 11

def !()
  UnOp.new(self, "!")
end

#&(rhs) ⇒ Object



7
8
9
# File 'lib/rhdl/expression.rb', line 7

def &(rhs)
  BinOp.new(self, rhs, "&")
end

#fanout(check_context, statement) ⇒ Object



19
20
21
# File 'lib/rhdl/expression.rb', line 19

def fanout(check_context, statement)
  raise "fanout(check_context, statement) not implemented"
end

#generateObject



15
16
17
# File 'lib/rhdl/expression.rb', line 15

def generate
  "<notimpl>"
end

#get_output_type(check_context) ⇒ Object



23
24
25
# File 'lib/rhdl/expression.rb', line 23

def get_output_type(check_context)
  raise "get_output_type(check_context) not implemented"
end

#varnamesObject



3
4
5
# File 'lib/rhdl/expression.rb', line 3

def varnames
  []
end