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

Function postcommaToken

static/editor.md/lib/codemirror/mode/erlang/erlang.js:555–560  ·  view source on GitHub ↗
(state)

Source from the content-addressed store, hash-verified

553 }
554
555 function postcommaToken(state) {
556 var objs = state.tokenStack.slice(0,-1);
557 var i = getTokenIndex(objs,"type",["open_paren"]);
558
559 return truthy(objs[i]) ? objs[i] : false;
560 }
561
562 function defaultToken(state) {
563 var objs = state.tokenStack;

Callers 1

indenterFunction · 0.85

Calls 2

getTokenIndexFunction · 0.85
truthyFunction · 0.85

Tested by

no test coverage detected