(stream, state)
| 246 | return attributeWrapper(stream, state); |
| 247 | } |
| 248 | function attributeWrapperValue(stream, state) { |
| 249 | var ch = stream.peek(); |
| 250 | if (ch == '"' || ch == "\'") { |
| 251 | state.tokenize = readQuoted(ch, "string", true, false, attributeWrapper); |
| 252 | stream.next(); |
| 253 | return state.tokenize(stream, state); |
| 254 | } |
| 255 | if (ch == '[') { |
| 256 | return startRubySplat(attributeWrapper)(stream, state); |
| 257 | } |
| 258 | if (stream.match(/^(true|false|nil)\b/)) { |
| 259 | state.tokenize = attributeWrapper; |
| 260 | return "keyword"; |
| 261 | } |
| 262 | return startRubySplat(attributeWrapper)(stream, state); |
| 263 | } |
| 264 | |
| 265 | function startAttributeWrapperMode(state, endQuote, tokenize) { |
| 266 | state.stack = { |
nothing calls this directly
no test coverage detected