@osaedasia/oresume
Version:
A user-friendly library for generating complete Single Page Applications (SPAs)
2 lines (1 loc) • 444 B
JavaScript
import{ParsedHtml as t}from"../../domain/models/ParsedHtml.js";class e{markedHtml;patterns;patternFound;patternServices;templateData;constructor(t,e,...r){this.patternServices=t,this.markedHtml="",this.patterns=[],this.patternFound=0,this.templateData={strings:e,values:r}}toParsedHtml(){return new t(this.markedHtml,this.patterns)}findPattern(t,e){return this.patterns.find((r=>r.index===t&&r.type===e.type))}}export{e as HtmlParsingContext};