 
 # Extracts docs from QuickUI markup controls
 markupDocsExtractor = new DocsExtractor
+  baseClassName: ///
+    <prototype>               # Opening prototype tag
+    \s*                       # Optional whitespace
+    <                         # Open tag for base class instance
+    (\w+)                     # Group captures base class name
+  ///
   className: ///
     <script>                  # Opening script tag
     \s*                       # Whitespace

    :                         # Colon terminates identifier
  ///g
  commentText: /^\s*\*[ ]?(.*)/gm


extractors =

  # setters invoked on the base class.
  content: ( source ) ->
    match = @regexes.content.exec source
    # Return the first non-empty form of content which matched
    for i in [1..match.length]
      if match?[i]
        return match?[i]

  # Return the name for the control class defined in the source text.
  controlClassName: ( source ) ->
