function metaSummary(meta) {
    if (meta.link) {
        const linkMeta = cache.identify(meta.link)
        if (linkMeta) meta = linkMeta
        else meta.type = 'link'
    }

    let type = meta.kind? meta.kind : meta.type
    if (type === 'function' && meta.inherited) {
        type = 'inherited function'
    }

    let usage = ''
    if (meta.type === 'function') {
        usage = (meta.data && meta.data.usage)? `${meta.data.usage}` : '()'
    }

    const head = (meta.data && meta.data.head)?
                ' - ' + md2html(meta.data.head, true) : ''

    let res = `<a href="#.${meta.path}">`
        + type + ' <b>' + meta.name + '</b></a>' + usage
        + head
    return res
}
// format a sinlge-line definition of a function or property
format a sinlge-line definition of a function or property
format a sinlge - line definition of a function or property
function metaSummary(meta) {
    if (meta.link) {
        const linkMeta = cache.identify(meta.link)
        if (linkMeta) meta = linkMeta
        else meta.type = 'link'
    }
    let type = meta.kind? meta.kind : meta.type
    if (type === 'function' && meta.inherited) {
        type = 'inherited function'
    }
    let usage = ''
    if (meta.type === 'function') {
        usage = (meta.data && meta.data.usage)? `${meta.data.usage}` : '()'
    }
    const head = (meta.data && meta.data.head)?
                ' - ' + md2html(meta.data.head, true) : ''
    let res = `<a href="#.${meta.path}">`
        + type + ' <b>' + meta.name + '</b></a>' + usage
        + head
    return res
}
function metaSummary ( meta ) { if ( meta . link ) { const linkMeta = cache . identify ( meta . link ) if ( linkMeta ) meta = linkMeta else meta . type = 'link' } let type = meta . kind ? meta . kind : meta . type if ( type === 'function' && meta . inherited ) { type = 'inherited function' } let usage = '' if ( meta . type === 'function' ) { usage = ( meta . data && meta . data . usage ) ? ` ${ meta . data . usage } ` : '()' } const head = ( meta . data && meta . data . head ) ? ' - ' + md2html ( meta . data . head , true ) : '' let res = ` ${ meta . path } ` + type + ' <b>' + meta . name + '</b></a>' + usage + head return res }
format a sinlge-line definition of a function or property
format a sinlge - line definition of a function or property