Class: HDLRuby::High::RefThis
- Inherits:
-
Low::RefThis
- Object
- Base::Expression
- Low::Expression
- Low::Ref
- Low::RefThis
- HDLRuby::High::RefThis
- Includes:
- HRef
- Defined in:
- lib/HDLRuby/hruby_high.rb
Overview
Describes a this reference.
Constant Summary collapse
- High =
HDLRuby::High
Constants included from Low::Low2Symbol
Low::Low2Symbol::Low2SymbolPrefix, Low::Low2Symbol::Low2SymbolTable, Low::Low2Symbol::Symbol2LowTable
Instance Attribute Summary
Attributes inherited from Low::Expression
Attributes included from Low::Hparent
Instance Method Summary collapse
-
#behavior ⇒ Object
Gets the enclosing behavior if any.
-
#system ⇒ Object
Gets the enclosing system type.
-
#to_low ⇒ Object
Converts the this reference to HDLRuby::Low.
-
#to_ref ⇒ Object
Converts to a new reference.
Methods included from HRef
Methods inherited from Low::RefThis
#boolean_in_assign2select, #clone, #eql?, #explicit_types, #hash, #map_nodes!, #to_another_verilog, #to_c, #to_c_signal, #to_high
Methods inherited from Low::Ref
#each_node, #each_node_deep, #eql?, #explicit_types, #hash, #map_nodes!, #path_each, #to_c, #to_high, #to_vhdl
Methods inherited from Low::Expression
#boolean?, #break_types!, #clone, #each_node, #each_node_deep, #each_ref_deep, #eql?, #explicit_types, #extract_selects_to!, #hash, #initialize, #leftvalue?, #map_nodes!, #replace_expressions!, #replace_names!, #rightvalue?, #set_type!, #statement, #to_c, #to_high, #to_vhdl, #use_name?
Methods included from Low::Low2Symbol
Methods included from Low::Hparent
Constructor Details
This class inherits a constructor from HDLRuby::Low::Expression
Instance Method Details
#behavior ⇒ Object
Gets the enclosing behavior if any.
2912 2913 2914 |
# File 'lib/HDLRuby/hruby_high.rb', line 2912 def behavior return High.cur_behavior end |
#system ⇒ Object
Gets the enclosing system type.
2907 2908 2909 |
# File 'lib/HDLRuby/hruby_high.rb', line 2907 def system return High.cur_system end |
#to_low ⇒ Object
Converts the this reference to HDLRuby::Low.
2922 2923 2924 |
# File 'lib/HDLRuby/hruby_high.rb', line 2922 def to_low return HDLRuby::Low::RefThis.new end |
#to_ref ⇒ Object
Converts to a new reference.
2902 2903 2904 |
# File 'lib/HDLRuby/hruby_high.rb', line 2902 def to_ref return RefThis.new end |