(state, type)
| 415 | } |
| 416 | |
| 417 | function isIn(state, type) { |
| 418 | return (state.stack.length && state.stack[state.stack.length - 1].type == type); |
| 419 | } |
| 420 | |
| 421 | function pushStateStack(state, newState) { |
| 422 | state.stack.push(newState); |
no outgoing calls
no test coverage detected