Class | RDoc::ClassModule |
In: |
code_objects.rb
parsers/parse_f95.rb |
Parent: | Context |
Extend ClassModule class for parse_f95.rb Original class is defined in code_objects.rb.
diagram | [RW] | |
superclass | [R] |
# File code_objects.rb, line 708 708: def initialize(name, superclass = nil) 709: @name = name 710: @diagram = nil 711: @superclass = superclass 712: @comment = "" 713: super() 714: end
# File code_objects.rb, line 743 743: def find_class_named(name) 744: return self if full_name == name 745: @classes.each_value {|c| return c if c.find_class_named(name) } 746: nil 747: end
# File parsers/parse_f95.rb, line 639 639: def find_file_named(name, method=nil, ignore_case=nil) 640: parent.find_file_named(name, method, ignore_case) 641: end
Return the fully qualified name of this class or module
# File code_objects.rb, line 717 717: def full_name 718: if @parent && @parent.full_name 719: @parent.full_name + "::" + @name 720: else 721: @name 722: end 723: end
# File code_objects.rb, line 725 725: def http_url(prefix) 726: path = full_name.split("::") 727: File.join(prefix, *path) + ".html" 728: end