MCPcopy Create free account
hub / github.com/sql-js/sql.js / pushContext

Function pushContext

GUI/codemirror/mode/sql/sql.js:146–153  ·  view source on GitHub ↗
(stream, state, type)

Source from the content-addressed store, hash-verified

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

Callers 1

sql.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…