Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/hokein/electron-sample-apps
/ chain
Function
chain
mini-code-editor/cm/mode/javascript/javascript.js:24–27 ·
view source on GitHub ↗
(stream, state, f)
Source
from the content-addressed store, hash-verified
22
var
isOperatorChar = /[+\-*&%=<>!?|]/;
23
24
function
chain(stream, state, f) {
25
state.tokenize = f;
26
return
f(stream, state);
27
}
28
29
function
nextUntilUnescaped(stream, end) {
30
var
escaped = false, next;
Callers
1
jsTokenBase
Function · 0.70
Calls
1
f
Function · 0.50
Tested by
no test coverage detected