# File lib/rd/document-struct.rb, line 42
    def match?(parent, child)
      parent.is_a? @parent and child.is_a? @child
    end