(state, type)
| 406 | } |
| 407 | |
| 408 | function isIn(state, type) { |
| 409 | return (state.stack.length && state.stack[state.stack.length - 1].type == type); |
| 410 | } |
| 411 | |
| 412 | function pushStateStack(state, newState) { |
| 413 | state.stack.push(newState); |
no outgoing calls
no test coverage detected