Natural Docs Version 1.2 |
NaturalDocs:: Parser:: ParsedTopicA class for parsed topics of source files. Summary
MembersThe object is a blessed arrayref with the following indexes.
New
Creates a new object. Parameters
ReturnsThe new object. Class
Returns the class of the topic. Applies to Name() only. Will be undef if global. Scope
Returns the scope the topic appears in. Applies to Body() only. Will be undef if global. Prototype
Returns the prototype if Type() is <TOPIC_FUNCTION> or <TOPIC_VARIABLE> and one is defined. Will be undef otherwise. Summary
Returns the topic summary, if it exists, formatted in NDMarkup. Body
Returns the topic’s body, formatted in NDMarkup. May be undef. SetBody
Replaces the topic’s body, formatted in NDMarkup. May be undef. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||
sub Type |
sub Name |
sub Class |
sub SetClass #(class) |
sub Scope |
sub SetScope #(scope) |
sub Prototype |
sub SetPrototype #(prototype) |
sub Summary |
sub Body |
sub SetBody #(body) |
sub LineNumber |