(state, col, type)
| 119 | this.prev = prev; |
| 120 | } |
| 121 | function pushContext(state, col, type) { |
| 122 | var indent = state.indented; |
| 123 | if (state.context && state.context.type == "statement") |
| 124 | indent = state.context.indented; |
| 125 | return state.context = new Context(indent, col, type, null, state.context); |
| 126 | } |
| 127 | function popContext(state) { |
| 128 | var t = state.context.type; |
| 129 | if (t == ")" || t == "]" || t == "}") |