(stream, type, state)
| 2629 | } |
| 2630 | |
| 2631 | var Token = function (stream, type, state) { |
| 2632 | this.start = stream.start |
| 2633 | this.end = stream.pos |
| 2634 | this.string = stream.current() |
| 2635 | this.type = type || null |
| 2636 | this.state = state |
| 2637 | } |
| 2638 | |
| 2639 | // Utility for getTokenAt and getLineTokens |
| 2640 | function takeToken(cm, pos, precise, asArray) { |
nothing calls this directly
no outgoing calls
no test coverage detected