MCPcopy Create free account
hub / github.com/TruthHun/BookStack / pushContext

Function pushContext

static/editor.md/lib/codemirror/mode/ecl/ecl.js:140–142  ·  view source on GitHub ↗
(state, col, type)

Source from the content-addressed store, hash-verified

138 this.prev = prev;
139 }
140 function pushContext(state, col, type) {
141 return state.context = new Context(state.indented, col, type, null, state.context);
142 }
143 function popContext(state) {
144 var t = state.context.type;
145 if (t == ")" || t == "]" || t == "}")

Callers 1

ecl.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected