MCPcopy Create free account
hub / github.com/TruthHun/BookStack / stateStack

Function stateStack

static/editor.md/lib/codemirror/mode/scheme/scheme.js:32–36  ·  view source on GitHub ↗
(indent, type, prev)

Source from the content-addressed store, hash-verified

30 var indentKeys = makeKeywords("define let letrec let* lambda");
31
32 function stateStack(indent, type, prev) { // represents a state stack object
33 this.indent = indent;
34 this.type = type;
35 this.prev = prev;
36 }
37
38 function pushStack(state, indent, type) {
39 state.indentStack = new stateStack(indent, type, state.indentStack);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected