Base class for most Thrift::IDL subclasses.
my $comments = $obj->children_of_type('Thrift::IDL::Comment');
Returns an array ref of all child objects of the given class
my $Calculator_service = $document->array_search('Calculator', 'services', 'name');
Given a method $array_method which returns an array of objects on $self, return the object which has $value = $object->$method
A struct has children of type Thrift::IDL::Field and Thrift::IDL::Comment. Walk through all these children and associate the comments with the fields that preceeded them (if perl style) or with the field following.