(mode, state)
| 5534 | } |
| 5535 | |
| 5536 | function callBlankLine(mode, state) { |
| 5537 | if (mode.blankLine) return mode.blankLine(state); |
| 5538 | if (!mode.innerMode) return; |
| 5539 | var inner = CodeMirror.innerMode(mode, state); |
| 5540 | if (inner.mode.blankLine) return inner.mode.blankLine(inner.state); |
| 5541 | } |
| 5542 | |
| 5543 | // Run the given mode's parser over a line, calling f for each token. |
| 5544 | function runMode(cm, text, mode, state, f, lineClasses, forceToEnd) { |
no outgoing calls
no test coverage detected