(stream, state)
| 225 | } |
| 226 | |
| 227 | function attributeWrapper(stream, state) { |
| 228 | if (stream.eat(state.stack.endQuote)) { |
| 229 | state.line = state.stack.line; |
| 230 | state.tokenize = state.stack.tokenize; |
| 231 | state.stack = state.stack.parent; |
| 232 | return null; |
| 233 | } |
| 234 | if (stream.match(wrappedAttributeNameRegexp)) { |
| 235 | state.tokenize = attributeWrapperAssign; |
| 236 | return "slimAttribute"; |
| 237 | } |
| 238 | stream.next(); |
| 239 | return null; |
| 240 | } |
| 241 | function attributeWrapperAssign(stream, state) { |
| 242 | if (stream.match(/^==?/)) { |
| 243 | state.tokenize = attributeWrapperValue; |
no outgoing calls
no test coverage detected