(selector: string)
| 106 | } |
| 107 | |
| 108 | replaceAttributeSelector(selector: string): string | false { |
| 109 | let ret: ReturnType<SelectorsLibrary['replaceAttributeSelector']> = false; |
| 110 | |
| 111 | this.selectors.forEach((sel) => { |
| 112 | if (sel.isValidSelector(selector)) { |
| 113 | const res = sel.replaceAttributeSelector(selector); |
| 114 | |
| 115 | ret = res ? sel.selectorFirstChar() + res : res; |
| 116 | } |
| 117 | }); |
| 118 | |
| 119 | return ret; |
| 120 | } |
| 121 | |
| 122 | // With return values, specific logic |
| 123 | getAllRegex(opts: BaseLibraryOptions = {}): RegExp { |
nothing calls this directly
no test coverage detected