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

Function nextComment

mini-code-edit/cm/mode/smalltalk/smalltalk.js:79–82  ·  view source on GitHub ↗
(stream, context)

Source from the content-addressed store, hash-verified

77 };
78
79 var nextComment = function(stream, context) {
80 stream.eatWhile(/[^"]/);
81 return new Token('comment', stream.eat('"') ? context.parent : context, true);
82 };
83
84 var nextString = function(stream, context) {
85 stream.eatWhile(/[^']/);

Callers 1

nextFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected