(state)
| 117 | return state.context = new Context(state.indented, col, type, null, state.context); |
| 118 | } |
| 119 | function popContext(state) { |
| 120 | if (!state.context.prev) return; |
| 121 | var t = state.context.type; |
| 122 | if (t == ")" || t == "]" || t == "}") |
| 123 | state.indented = state.context.indented; |
| 124 | return state.context = state.context.prev; |
| 125 | } |
| 126 | |
| 127 | // Interface |
| 128 |