MCPcopy Create free account
hub / github.com/nwutils/nw-sample-apps / popStateStack

Function popStateStack

mini-code-edit/cm/mode/xquery/xquery.js:423–427  ·  view source on GitHub ↗
(state)

Source from the content-addressed store, hash-verified

421 }
422
423 function popStateStack(state) {
424 var popped = state.stack.pop();
425 var reinstateTokenize = state.stack.length && state.stack[state.stack.length-1].tokenize
426 state.tokenize = reinstateTokenize || tokenBase;
427 }
428
429 // the interface for the mode API
430 return {

Callers 5

tokenBaseFunction · 0.85
tokenCommentFunction · 0.85
tokenStringFunction · 0.85
tokenTagFunction · 0.85
tokenAttributeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected