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

Function pushContext

static/js/codemirror/mode/turtle/turtle.js:78–80  ·  view source on GitHub ↗
(state, type, col)

Source from the content-addressed store, hash-verified

76 }
77
78 function pushContext(state, type, col) {
79 state.context = {prev: state.context, indent: state.indent, col: col, type: type};
80 }
81 function popContext(state) {
82 state.indent = state.context.indent;
83 state.context = state.context.prev;

Callers 1

turtle.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected