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

Function stateStack

static/editor.md/lib/codemirror/mode/clojure/clojure.js:65–69  ·  view source on GitHub ↗
(indent, type, prev)

Source from the content-addressed store, hash-verified

63 };
64
65 function stateStack(indent, type, prev) { // represents a state stack object
66 this.indent = indent;
67 this.type = type;
68 this.prev = prev;
69 }
70
71 function pushStack(state, indent, type) {
72 state.indentStack = new stateStack(indent, type, state.indentStack);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected