(string, tabSize)
| 2315 | |
| 2316 | // The character stream used by a mode's parser. |
| 2317 | function StringStream(string, tabSize) { |
| 2318 | this.pos = this.start = 0; |
| 2319 | this.string = string; |
| 2320 | this.tabSize = tabSize || 8; |
| 2321 | } |
| 2322 | StringStream.prototype = { |
| 2323 | eol: function() {return this.pos >= this.string.length;}, |
| 2324 | sol: function() {return this.pos == 0;}, |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…