Class: Doxyparser::Member

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

Direct Known Subclasses

Enum, Friend, Function, Typedef, Variable

Instance Attribute Summary collapse

Attributes inherited from Node

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

Instance Method Summary collapse

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

#argsObject (readonly)

Returns the value of attribute args.



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

def args
  @args
end

#definitionObject (readonly)

Returns the value of attribute definition.



6
7
8
# File 'lib/nodes/member.rb', line 6

def definition
  @definition
end

#locationObject (readonly)

Returns the value of attribute location.



5
6
7
# File 'lib/nodes/member.rb', line 5

def location
  @location
end

#paramsObject (readonly)

Returns the value of attribute params.



10
11
12
# File 'lib/nodes/member.rb', line 10

def params
  @params
end

#staticObject (readonly)

Returns the value of attribute static.



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

def static
  @static
end

#typeObject (readonly)

Returns the value of attribute type.



8
9
10
# File 'lib/nodes/member.rb', line 8

def type
  @type
end

Instance Method Details

#fileHFile

Returns header file where the declaration of this member was done.

Returns:

  • (HFile)

    header file where the declaration of this member was done



13
14
15
# File 'lib/nodes/member.rb', line 13

def file
  Doxyparser::HFile.new(:name => @filename, :dir => @dir)
end