MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / pushContext

Function pushContext

lib/web/CodeMirror/mode/sql/sql.js:157–164  ·  view source on GitHub ↗
(stream, state, type)

Source from the content-addressed store, hash-verified

155 }
156
157 function pushContext(stream, state, type) {
158 state.context = {
159 prev: state.context,
160 indent: stream.indentation(),
161 col: stream.column(),
162 type: type
163 };
164 }
165
166 function popContext(state) {
167 state.indent = state.context.indent;

Callers 1

sql.jsFile · 0.70

Calls 2

indentationMethod · 0.80
columnMethod · 0.80

Tested by

no test coverage detected