(str)
| 1 | (function() { |
| 2 | function keywords(str) { |
| 3 | var obj = {}, words = str.split(" "); |
| 4 | for (var i = 0; i < words.length; ++i) obj[words[i]] = true; |
| 5 | return obj; |
| 6 | } |
| 7 | function heredoc(delim) { |
| 8 | return function(stream, state) { |
| 9 | if (stream.match(delim)) state.tokenize = null; |