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

Function keywords

lib/web/CodeMirror/mode/php/php.js:14–18  ·  view source on GitHub ↗
(str)

Source from the content-addressed store, hash-verified

12 "use strict";
13
14 function keywords(str) {
15 var obj = {}, words = str.split(" ");
16 for (var i = 0; i < words.length; ++i) obj[words[i]] = true;
17 return obj;
18 }
19
20 // Helper for phpString
21 function matchSequence(list, end, escapes) {

Callers 1

php.jsFile · 0.70

Calls 1

splitMethod · 0.45

Tested by

no test coverage detected