MCPcopy Create free account
hub / github.com/feiyu563/PrometheusAlert / currentScope

Function currentScope

static/plugins/codemirror/mode/julia/julia.js:81–87  ·  view source on GitHub ↗
(state, n)

Source from the content-addressed store, hash-verified

79 }
80
81 function currentScope(state, n) {
82 if (typeof(n) === "undefined") { n = 0; }
83 if (state.scopes.length <= n) {
84 return null;
85 }
86 return state.scopes[state.scopes.length - (n + 1)];
87 }
88
89 // tokenizers
90 function tokenBase(stream, state) {

Callers 1

tokenBaseFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected