Class: RgGen::SystemVerilog::Common::Utility::FunctionDefinition
- Inherits:
-
StructureDefinition
- Object
- Core::Utility::CodeUtility::StructureDefinition
- StructureDefinition
- RgGen::SystemVerilog::Common::Utility::FunctionDefinition
- Defined in:
- lib/rggen/systemverilog/common/utility/function_definition.rb
Instance Method Summary collapse
Methods inherited from StructureDefinition
Constructor Details
This class inherits a constructor from RgGen::SystemVerilog::Common::Utility::StructureDefinition
Instance Method Details
#return_type(**attributes) ⇒ Object
12 13 14 15 16 |
# File 'lib/rggen/systemverilog/common/utility/function_definition.rb', line 12 def return_type(**attributes) attributes.empty? || (@return_type = DataObject.new(:variable, **attributes)) @return_type end |