MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / identifier

Function identifier

lib/web/CodeMirror/mode/pegjs/pegjs.js:17–19  ·  view source on GitHub ↗
(stream)

Source from the content-addressed store, hash-verified

15 var jsMode = CodeMirror.getMode(config, "javascript");
16
17 function identifier(stream) {
18 return stream.match(/^[a-zA-Z_][a-zA-Z0-9_]*/);
19 }
20
21 return {
22 startState: function () {

Callers 1

pegjs.jsFile · 0.70

Calls 1

matchMethod · 0.45

Tested by

no test coverage detected