(bailing = true)
| 169 | rules = []; |
| 170 | |
| 171 | constructor(bailing = true) { |
| 172 | if (bailing) { |
| 173 | const _parse = this.parse.bind(this); |
| 174 | this.parse = (...args) => { |
| 175 | try { |
| 176 | return _parse(...args); |
| 177 | } catch (e) { |
| 178 | console.warn('CSSParser bailed', e); |
| 179 | return []; |
| 180 | } |
| 181 | }; |
| 182 | } |
| 183 | } |
| 184 | |
| 185 | parse(input) { |
| 186 | const checkToken = (a, b) => !this.escaping && this.stringState === StringState.None && a === b; |
nothing calls this directly
no outgoing calls
no test coverage detected