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

Function tokenComment

mini-code-edit/cm/mode/plsql/plsql.js:93–103  ·  view source on GitHub ↗
(stream, state)

Source from the content-addressed store, hash-verified

91 }
92
93 function tokenComment(stream, state) {
94 var maybeEnd = false, ch;
95 while (ch = stream.next()) {
96 if (ch == "/" && maybeEnd) {
97 state.tokenize = tokenBase;
98 break;
99 }
100 maybeEnd = (ch == "*");
101 }
102 return ret("comment", "plsql-comment");
103 }
104
105 // Interface
106

Callers

nothing calls this directly

Calls 1

retFunction · 0.70

Tested by

no test coverage detected