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

Function pushContext

static/editor.md/lib/codemirror/mode/sql/sql.js:149–156  ·  view source on GitHub ↗
(stream, state, type)

Source from the content-addressed store, hash-verified

147 }
148
149 function pushContext(stream, state, type) {
150 state.context = {
151 prev: state.context,
152 indent: stream.indentation(),
153 col: stream.column(),
154 type: type
155 };
156 }
157
158 function popContext(state) {
159 state.indent = state.context.indent;

Callers 1

sql.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected