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

Function hookIdentifier

GUI/codemirror/mode/sql/sql.js:206–214  ·  view source on GitHub ↗
(stream)

Source from the content-addressed store, hash-verified

204
205 // `identifier`
206 function hookIdentifier(stream) {
207 // MySQL/MariaDB identifiers
208 // ref: http://dev.mysql.com/doc/refman/5.6/en/identifier-qualifiers.html
209 var ch;
210 while ((ch = stream.next()) != null) {
211 if (ch == "`" && !stream.eat("`")) return "variable-2";
212 }
213 return null;
214 }
215
216 // variable token
217 function hookVar(stream) {

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…