MCPcopy Create free account
hub / github.com/Paxa/postbird / pushContext

Function pushContext

public/codemirror/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.85

Calls 2

indentationMethod · 0.80
columnMethod · 0.80

Tested by

no test coverage detected