Class: Doxyparser::Friend

Inherits:
Member show all
Defined in:
lib/nodes/friend.rb

Instance Attribute Summary

Attributes inherited from Member

#args, #definition, #location, #params, #static, #type

Attributes inherited from Node

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

Instance Method Summary collapse

Methods inherited from Member

#file

Methods inherited from Node

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

Methods included from Util

#del_prefix, #del_spaces, #do_filter, #escape_class_name, #escape_file_name, 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 Method Details

#is_class?Boolean

Returns:

  • (Boolean)


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

def is_class?
	args.nil? || args == ""
end

#is_qualified?Boolean

Returns:

  • (Boolean)


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

def is_qualified?
	basename.include? '::'
end