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

Function tokenTranspose

static/editor.md/lib/codemirror/mode/octave/octave.js:46–54  ·  view source on GitHub ↗
(stream, state)

Source from the content-addressed store, hash-verified

44
45 // tokenizers
46 function tokenTranspose(stream, state) {
47 if (!stream.sol() && stream.peek() === '\'') {
48 stream.next();
49 state.tokenize = tokenBase;
50 return 'operator';
51 }
52 state.tokenize = tokenBase;
53 return tokenBase(stream, state);
54 }
55
56
57 function tokenComment(stream, state) {

Callers

nothing calls this directly

Calls 1

tokenBaseFunction · 0.70

Tested by

no test coverage detected