1 | {"version":3,"file":"parser-util.js","sourceRoot":"","sources":["../src/parser-util.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;AAMH,oBAA2B,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,UAAU,EAAE,IAAI,EAAE,GAAG,EAAE,CAAU;IAChF,OAAO;QACH,GAAG,EAAE,YAAY;QACjB,IAAI,EAAE,IAAI;KACb,CAAC;AACN,CAAC;AALD,gCAKC;AAED,iBAAwB,CAAC,GAAG,CAAU;IAClC,OAAO;QACH,GAAG,EAAE,SAAS;KACjB,CAAC;AACN,CAAC;AAJD,0BAIC;AAED,kBAAyB,CAAC,GAAG,CAAU;IACnC,OAAO;QACH,GAAG,EAAE,UAAU;KAClB,CAAC;AACN,CAAC;AAJD,4BAIC;AAED,oBAA2B,CAAC,GAAG,CAAU;IACrC,OAAO;QACH,GAAG,EAAE,YAAY;KACpB,CAAC;AACN,CAAC;AAJD,gCAIC;AAED,kBAAyB,CAAC,GAAG,CAAU;IACnC,OAAO;QACH,GAAG,EAAE,UAAU;KAClB,CAAC;AACN,CAAC;AAJD,4BAIC;AAED,kBAAyB,CAAC,GAAG,CAAU;IACnC,OAAO;QACH,GAAG,EAAE,UAAU;KAClB,CAAC;AACN,CAAC;AAJD,4BAIC;AAED,qBAA4B,CAAC,EAAE,EAAE,CAAC,EAAE,GAAG,CAAyB;IAC5D,OAAO;QACH,GAAG,EAAE,aAAa;QAClB,QAAQ,EAAE,EAAE;KACf,CAAC;AACN,CAAC;AALD,kCAKC;AAED,mBAA0B,CAAC,EAAE,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,CAAqC;IAC5E,OAAO;QACH,GAAG,EAAE,WAAW;QAChB,QAAQ,EAAE,EAAE;KACf,CAAC;AACN,CAAC;AALD,8BAKC;AAED,oBAA2B,CAAC,GAAG,EAAE,CAAC,EAAE,EAAE,CAA+B;IACjE,OAAO;QACH,GAAG,EAAE,YAAY;QACjB,EAAE,EAAE,EA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