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

Function words

lib/web/CodeMirror/mode/pascal/pascal.js:15–19  ·  view source on GitHub ↗
(str)

Source from the content-addressed store, hash-verified

13
14CodeMirror.defineMode("pascal", function() {
15 function words(str) {
16 var obj = {}, words = str.split(" ");
17 for (var i = 0; i < words.length; ++i) obj[words[i]] = true;
18 return obj;
19 }
20 var keywords = words(
21 "absolute and array asm begin case const constructor destructor div do " +
22 "downto else end file for function goto if implementation in inherited " +

Callers 1

pascal.jsFile · 0.70

Calls 1

splitMethod · 0.45

Tested by

no test coverage detected