Class: Doxyparser::Param

Inherits:
Node
  • Object
show all
Defined in:
lib/nodes/param.rb

Overview

Each of the input parameters of a Function

Instance Attribute Summary collapse

Attributes inherited from Node

#basename, #dir, #doc, #name, #node, #parent

Method Summary

Methods inherited from Node

#==, #eql?, #escaped_name, #initialize, #to_s, #to_str

Methods included from Util

#del_prefix_class, #del_prefix_file, #del_spaces, #do_filter, #escape_all, #escape_class_name, #escape_const_ref_ptr, escape_const_ref_ptr, #escape_file_name, #escape_template, home_dir, #match, read_file, write_file

Constructor Details

This class inherits a constructor from Doxyparser::Node

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Doxyparser::Node

Instance Attribute Details

#declnameObject (readonly)

Declared name of parameter



9
10
11
# File 'lib/nodes/param.rb', line 9

def declname
  @declname
end

#typeObject (readonly)

Type of parameter



7
8
9
# File 'lib/nodes/param.rb', line 7

def type
  @type
end

#valueObject (readonly)

Default value of parameter



11
12
13
# File 'lib/nodes/param.rb', line 11

def value
  @value
end