(source, state)
| 203 | } |
| 204 | |
| 205 | function beginParams(source, state) { |
| 206 | var ch = source.peek(), lastPlug; |
| 207 | if (ch == '{' || ch == '[') { |
| 208 | lastPlug = peekCommand(state); |
| 209 | lastPlug.openBracket(ch); |
| 210 | source.eat(ch); |
| 211 | setState(state, normal); |
| 212 | return "bracket"; |
| 213 | } |
| 214 | if (/[ \t\r]/.test(ch)) { |
| 215 | source.eat(ch); |
| 216 | return null; |
| 217 | } |
| 218 | setState(state, normal); |
| 219 | popCommand(state); |
| 220 | |
| 221 | return normal(source, state); |
| 222 | } |
| 223 | |
| 224 | return { |
| 225 | startState: function() { |
nothing calls this directly
no test coverage detected