(type, stream, state)
| 209 | } |
| 210 | |
| 211 | function baseState(type, stream, state) { |
| 212 | if (type == "openTag") { |
| 213 | state.tagStart = stream.column(); |
| 214 | return tagNameState; |
| 215 | } else if (type == "closeTag") { |
| 216 | return closeTagNameState; |
| 217 | } else { |
| 218 | return baseState; |
| 219 | } |
| 220 | } |
| 221 | function tagNameState(type, stream, state) { |
| 222 | if (type == "word") { |
| 223 | state.tagName = stream.current(); |
nothing calls this directly
no outgoing calls
no test coverage detected