MCPcopy Create free account
hub / github.com/TruthHun/BookStack / words

Function words

static/editor.md/lib/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("and array begin case const div do downto else end file for forward integer " +
21 "boolean char function goto if in label mod nil not of or packed procedure " +
22 "program record repeat set string then to type until var while with");

Callers 1

pascal.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected