util/docs/template/publish.js
function isaTopLevelObject($) {return (
    ($.is("CONSTRUCTOR") && $.name.match(/^[A-Z][A-Za-z]+/)) ||
    ($.is("FUNCTION") && $.name.match(/^[A-Z][A-Za-z]+/)) ||
    $.comment.getTag("enum")[0] ||
    $.comment.getTag("interface")[0] ||
    $.isNamespace
  );}
function isaTopLevelObject($) {return (
    ($.is("CONSTRUCTOR") && $.name.match(/^[A-Z][A-Za-z]+/)) ||
    ($.is("FUNCTION") && $.name.match(/^[A-Z][A-Za-z]+/)) ||
    $.comment.getTag("enum")[0] ||
    $.comment.getTag("interface")[0] ||
    $.isNamespace
  );}
function isaTopLevelObject ( $ ) { return ( ( $ . is ( "CONSTRUCTOR" ) && $ . name . match ( / ^[A-Z][A-Za-z]+ / ) ) || ( $ . is ( "FUNCTION" ) && $ . name . match ( / ^[A-Z][A-Za-z]+ / ) ) || $ . comment . getTag ( "enum" ) [ 0 ] || $ . comment . getTag ( "interface" ) [ 0 ] || $ . isNamespace ) ; }
Find the top-level objects - class, enum, function, interface, namespace
Find the top - level objects - class enum function interface namespace