@mudssky/jsutils
    Preparing search index...

    Interface SelectorDiagnosticContext

    未匹配选择器的诊断上下文信息

    interface SelectorDiagnosticContext {
        nearbyHtmlSnippet: string | null;
        nearestMatchedAncestor: string | null;
        parentClasses: string[];
        parentTag: string | null;
        siblings: { classes: string[]; tag: string }[];
    }
    Index

    Properties

    nearbyHtmlSnippet: string | null

    附近的 DOM 片段(outerHTML 截断)

    nearestMatchedAncestor: string | null

    最近的已匹配祖先选择器名称

    parentClasses: string[]

    父级元素 class 列表

    parentTag: string | null

    父级元素标签名

    siblings: { classes: string[]; tag: string }[]

    同级元素列表(标签名 + class 摘要)