MCPcopy Create free account
hub / github.com/Tampermonkey/tampermonkey / jsTokenComment

Function jsTokenComment

src/cm/javascript.js:137–147  ·  view source on GitHub ↗
(stream, state)

Source from the content-addressed store, hash-verified

135 }
136
137 function jsTokenComment(stream, state) {
138 var maybeEnd = false, ch;
139 while (ch = stream.next()) {
140 if (ch == "/" && maybeEnd) {
141 state.tokenize = jsTokenBase;
142 break;
143 }
144 maybeEnd = (ch == "*");
145 }
146 return ret("comment", "comment");
147 }
148
149 // Parser
150

Callers

nothing calls this directly

Calls 1

retFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…