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

Function pushContext

static/editor.md/lib/codemirror/mode/go/go.js:116–118  ·  view source on GitHub ↗
(state, col, type)

Source from the content-addressed store, hash-verified

114 this.prev = prev;
115 }
116 function pushContext(state, col, type) {
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;

Callers 1

go.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected