MCPcopy Create free account
hub / github.com/ronreiter/interactive-tutorials / pushContext

Function pushContext

static/js/codemirror/mode/sql/sql.js:113–120  ·  view source on GitHub ↗
(stream, state, type)

Source from the content-addressed store, hash-verified

111 }
112
113 function pushContext(stream, state, type) {
114 state.context = {
115 prev: state.context,
116 indent: stream.indentation(),
117 col: stream.column(),
118 type: type
119 };
120 }
121
122 function popContext(state) {
123 state.indent = state.context.indent;

Callers 1

sql.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected