(state,token)
| 415 | } |
| 416 | |
| 417 | function pushToken(state,token) { |
| 418 | |
| 419 | if (!(token.type == "comment" || token.type == "whitespace")) { |
| 420 | state.tokenStack = maybe_drop_pre(state.tokenStack,token); |
| 421 | state.tokenStack = maybe_drop_post(state.tokenStack); |
| 422 | } |
| 423 | } |
| 424 | |
| 425 | function maybe_drop_pre(s,token) { |
| 426 | var last = s.length-1; |
no test coverage detected