| 22920 | } |
| 22921 | |
| 22922 | class htmlAttributeParser extends ParserBackedParticle { |
| 22923 | createParserPool() { |
| 22924 | return new Particle.ParserPool(errorParser, undefined, undefined) |
| 22925 | } |
| 22926 | get htmlAttributeNameAtom() { |
| 22927 | return this.getAtom(0) |
| 22928 | } |
| 22929 | get attributeValueAtom() { |
| 22930 | return this.getAtomsFrom(1) |
| 22931 | } |
| 22932 | get isTileAttribute() { |
| 22933 | return true |
| 22934 | } |
| 22935 | get isAttributeParser() { |
| 22936 | return true |
| 22937 | } |
| 22938 | _toHtml() { |
| 22939 | return "" |
| 22940 | } |
| 22941 | getTextContent() { |
| 22942 | return "" |
| 22943 | } |
| 22944 | getAttribute() { |
| 22945 | return ` ${this.cue}="${this.content}"` |
| 22946 | } |
| 22947 | } |
| 22948 | |
| 22949 | class stumpExtendedAttributeParser extends htmlAttributeParser { |
| 22950 | get stumpExtendedAttributeNameAtom() { |
nothing calls this directly
no outgoing calls
no test coverage detected