MCPcopy Create free account
hub / github.com/sql-js/sql.js / tokenComment

Function tokenComment

GUI/codemirror/mode/sql/sql.js:130–144  ·  view source on GitHub ↗
(stream, state)

Source from the content-addressed store, hash-verified

128 };
129 }
130 function tokenComment(stream, state) {
131 while (true) {
132 if (stream.skipTo("*")) {
133 stream.next();
134 if (stream.eat("/")) {
135 state.tokenize = tokenBase;
136 break;
137 }
138 } else {
139 stream.skipToEnd();
140 break;
141 }
142 }
143 return "comment";
144 }
145
146 function pushContext(stream, state, type) {
147 state.context = {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…