import p from "./javadoclike.es.js";
import t from "./php.es.js";
r.displayName = "phpdoc";
r.aliases = [];
function r(a) {
  a.register(p), a.register(t), (function(e) {
    var o = /(?:\b[a-zA-Z]\w*|[|\\[\]])+/.source;
    e.languages.phpdoc = e.languages.extend("javadoclike", {
      parameter: {
        pattern: RegExp(
          "(@(?:global|param|property(?:-read|-write)?|var)\\s+(?:" + o + "\\s+)?)\\$\\w+"
        ),
        lookbehind: !0
      }
    }), e.languages.insertBefore("phpdoc", "keyword", {
      "class-name": [
        {
          pattern: RegExp(
            "(@(?:global|package|param|property(?:-read|-write)?|return|subpackage|throws|var)\\s+)" + o
          ),
          lookbehind: !0,
          inside: {
            keyword: /\b(?:array|bool|boolean|callback|double|false|float|int|integer|mixed|null|object|resource|self|string|true|void)\b/,
            punctuation: /[|\\[\]()]/
          }
        }
      ]
    }), e.languages.javadoclike.addSupport("php", e.languages.phpdoc);
  })(a);
}
export {
  r as default
};
//# sourceMappingURL=phpdoc.es.js.map
