Merge pull request #1214 from ajaxorg/test_all_modes
tests for all modes
This commit is contained in:
commit
e7a0a98f94
81 changed files with 18464 additions and 23158 deletions
|
|
@ -481,3 +481,12 @@ p.highlight_note a {
|
||||||
img {
|
img {
|
||||||
max-width: none;
|
max-width: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.text-logo{
|
||||||
|
color: black;
|
||||||
|
font-size: 24px;
|
||||||
|
font-weight: lighter;
|
||||||
|
margin-top: 23px;
|
||||||
|
text-align: center;
|
||||||
|
text-shadow: 1px 17px 2px gray, 1px 1px 2px gray;
|
||||||
|
}
|
||||||
70
index.html
70
index.html
|
|
@ -657,50 +657,14 @@ oop.inherits(FoldMode, BaseFoldMode);
|
||||||
</ol>
|
</ol>
|
||||||
<p>Once you set this up, you should see be able to witness a live demonstration of your new highlighter.</p>
|
<p>Once you set this up, you should see be able to witness a live demonstration of your new highlighter.</p>
|
||||||
<h3 id="adding-automated-tests"><a class="heading_anchor" href="#adding-automated-tests"><i class="headerLinkIcon"></i></a>Adding Automated Tests</h3>
|
<h3 id="adding-automated-tests"><a class="heading_anchor" href="#adding-automated-tests"><i class="headerLinkIcon"></i></a>Adding Automated Tests</h3>
|
||||||
<p>It's also suggested that you go one step further and define some automated tests to test your syntax highlighter. A basic test looks something like this:</p>
|
<p>Adding automated tests for a highlighter is trivial so you are not required to do it, but it can help during development.</p>
|
||||||
<pre><code class="language-javascript"><span class="keyword">if</span> (<span class="keyword">typeof</span> process !== <span class="string">"undefined"</span>) {
|
<p>In <code>lib/ace/mode/_test</code> create a file named <code><pre>text_<span style="color:#AA0D91"><modeName></span>.txt</pre></code> with some example code. (You can skip this if the document you have added in <code>demo/docs</code> both looks good and covers various edge cases in your language syntax).
|
||||||
require(<span class="string">"amd-loader"</span>);
|
</p>
|
||||||
}
|
<p> Run <code><span style="color:#AA0D91">node</span> <span style="color:#008800">highlight_rules_test.js</span> <span style="color:#000088">-gen</span></code> to preserve current output of your tokenizer in <code>tokens_<span style="color:#AA0D91"><modeName></span>.json</code>
|
||||||
|
</p>
|
||||||
define(<span class="keyword">function</span>(require, exports, module) {
|
<p>After this running <code><span style="color:#008800">highlight_rules_test.js</span> <span cstyle="color:#000088">optionalLanguageName</span></code> will compare output of your tokenizer with the correct output you've created.
|
||||||
<span class="string">"use strict"</span>;
|
</p>
|
||||||
|
<p>Any files ending with the <em>_test.js</em> suffix are automatically run by Ace's <a href="http://travis-ci.org/#!/ajaxorg/ace">Travis CI</a> server.</p>
|
||||||
<span class="keyword">var</span> MyNewLanguage = require(<span class="string">"./mynewlanguage"</span>).Mode;
|
|
||||||
<span class="keyword">var</span> assert = require(<span class="string">"../test/assertions"</span>);
|
|
||||||
|
|
||||||
module.exports = {
|
|
||||||
|
|
||||||
name: <span class="string">"MyNewLanguage Tokenizer"</span>,
|
|
||||||
|
|
||||||
setUp : <span class="keyword">function</span>() {
|
|
||||||
<span class="keyword">this</span>.tokenizer = <span class="keyword">new</span> MyNewLanguage().getTokenizer();
|
|
||||||
},
|
|
||||||
|
|
||||||
<span class="string">"test: my random description"</span> : <span class="keyword">function</span>() {
|
|
||||||
<span class="keyword">var</span> line = <span class="string">"-12px"</span>;
|
|
||||||
<span class="keyword">var</span> tokens = <span class="keyword">this</span>.tokenizer.getLineTokens(line, <span class="string">"ruleset"</span>).tokens;
|
|
||||||
|
|
||||||
assert.equal(<span class="number">2</span>, tokens.length);
|
|
||||||
assert.equal(<span class="string">"constant.numeric"</span>, tokens[<span class="number">0</span>].type);
|
|
||||||
},
|
|
||||||
|
|
||||||
<span class="string">"test: tokenize more than one thing"</span> : <span class="keyword">function</span>() {
|
|
||||||
<span class="keyword">var</span> tokens = <span class="keyword">this</span>.tokenizer.getLineTokens(<span class="string">"{()}"</span>, <span class="string">"start"</span>).tokens;
|
|
||||||
|
|
||||||
assert.equal(<span class="number">3</span>, tokens.length);
|
|
||||||
assert.equal(<span class="string">"paren.lparen"</span>, tokens[<span class="number">0</span>].type);
|
|
||||||
assert.equal(<span class="string">"text"</span>, tokens[<span class="number">1</span>].type);
|
|
||||||
assert.equal(<span class="string">"paren.rparen"</span>, tokens[<span class="number">2</span>].type);
|
|
||||||
},
|
|
||||||
};
|
|
||||||
|
|
||||||
});
|
|
||||||
|
|
||||||
<span class="keyword">if</span> (<span class="keyword">typeof</span> module !== <span class="string">"undefined"</span> && module === require.main) {
|
|
||||||
require(<span class="string">"asyncjs"</span>).test.testcase(module.exports).exec()
|
|
||||||
}</code></pre>
|
|
||||||
<p>All tests contain a string describing what the test is doing. Then, you define an arbitrary line that you want your tokenizer to check. It's recommended that you test both the number of tokens found, as well as the values of those tokens.</p>
|
|
||||||
<p>Any file ending with the <em>_test.js</em> suffix are automatically run by Ace's <a href="http://travis-ci.org/#!/ajaxorg/ace">Travis CI</a> server.</p>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="tab-pane fade" id="api">
|
<div class="tab-pane fade" id="api">
|
||||||
<div class="row centerpiece">
|
<div class="row centerpiece">
|
||||||
|
|
@ -912,10 +876,22 @@ module.exports = {
|
||||||
<a href="https://drivenotepad.appspot.com/support">Drive Notepad</a>
|
<a href="https://drivenotepad.appspot.com/support">Drive Notepad</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<img src="http://phpassist.com/images/logo.png"
|
<img src="http://phpassist.com/images/logo-large.png"
|
||||||
style="position: relative; left: -9px; top: 19px; width: 118px">
|
style="position: relative; left: 3px; top: -10px; width: 95px">
|
||||||
<a href="http://phpassist.com/">PHP Assist</a>
|
<a href="http://phpassist.com/">PHP Assist</a>
|
||||||
</li>
|
</li>
|
||||||
|
<li>
|
||||||
|
<div class="text-logo">Dillinger</div>
|
||||||
|
<a href="http://dillinger.io/">Dillinger</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<div class="text-logo">Evaluzio</div>
|
||||||
|
<a href="http://www.evaluzio.net/editor">Evaluzio</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<div class="text-logo">Edicy</div>
|
||||||
|
<a href="http://www.edicy.com/blog/new-code-editor-for-creating-unique-website-designs">Edicy</a>
|
||||||
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a href="http://orbit.bonsaijs.org/">BonsaiJS playground</a>
|
<a href="http://orbit.bonsaijs.org/">BonsaiJS playground</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
@ -941,6 +917,7 @@ module.exports = {
|
||||||
<a href="http://www.pythonanywhere.com/">PythonAnywhere</a>
|
<a href="http://www.pythonanywhere.com/">PythonAnywhere</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
|
<div class="text-logo">ShareJS</div>
|
||||||
<a href="http://sharejs.org/hello-ace.html">ShareJS</a>
|
<a href="http://sharejs.org/hello-ace.html">ShareJS</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
|
|
@ -953,6 +930,7 @@ module.exports = {
|
||||||
<a href="http://neutronide.com/">Neutron IDE</a>
|
<a href="http://neutronide.com/">Neutron IDE</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
|
<div class="text-logo">tmpltr</div>
|
||||||
<a href="http://rocktronica.github.com/tmpltr/">tmpltr</a>
|
<a href="http://rocktronica.github.com/tmpltr/">tmpltr</a>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
|
|
|
||||||
9
lib/ace/mode/_test/Readme.md
Normal file
9
lib/ace/mode/_test/Readme.md
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
`tokens_<modeName>.json` files keep information about correct tokens and tokenizer states for all modes supported by ace.
|
||||||
|
They are generated from `text_<modeName>.txt` or `demo/kitchen-sink/doc/*` with
|
||||||
|
|
||||||
|
```sh
|
||||||
|
node highlight_rules_test.js -gen
|
||||||
|
```
|
||||||
|
|
||||||
|
command.
|
||||||
|
|
||||||
152
lib/ace/mode/_test/highlight_rules_test.js
Normal file
152
lib/ace/mode/_test/highlight_rules_test.js
Normal file
|
|
@ -0,0 +1,152 @@
|
||||||
|
var fs = require("fs");
|
||||||
|
if (!fs.existsSync)
|
||||||
|
fs.existsSync = require("path").existsSync;
|
||||||
|
|
||||||
|
require("amd-loader");
|
||||||
|
|
||||||
|
var cwd = __dirname + "/";
|
||||||
|
|
||||||
|
function generateTestData() {
|
||||||
|
var root = Array(5).join("../") + "/demo/kitchen-sink/docs";
|
||||||
|
var docs = fs.readdirSync(cwd + root);
|
||||||
|
var specialDocs = fs.readdirSync(cwd);
|
||||||
|
var modes = fs.readdirSync(cwd + "../").filter(function(x){
|
||||||
|
return /^\w+_highlight_rules.js$/.test(x);
|
||||||
|
}).map(function(x) {
|
||||||
|
return x.replace(/_highlight_rules.js$/, "");
|
||||||
|
});
|
||||||
|
|
||||||
|
console.log("Docs:", docs);
|
||||||
|
console.log("Modes:", modes);
|
||||||
|
|
||||||
|
docs.forEach(function(docName) {
|
||||||
|
var p = docName.toLowerCase().split(".");
|
||||||
|
if (!p[1])
|
||||||
|
return;
|
||||||
|
var modeName;
|
||||||
|
if (modes.indexOf(p[0]) != -1)
|
||||||
|
modeName = p[0];
|
||||||
|
else if (modes.indexOf(p[1]) != -1)
|
||||||
|
modeName = p[1];
|
||||||
|
else
|
||||||
|
modeName = {"txt": "text", cpp: "c_cpp"}[p[1]];
|
||||||
|
|
||||||
|
var filePath = "text_" + modeName + ".txt";
|
||||||
|
if (specialDocs.indexOf(filePath) == -1) {
|
||||||
|
filePath = root + "/" + docName;
|
||||||
|
}
|
||||||
|
|
||||||
|
var text = fs.readFileSync(cwd + filePath, "utf8");
|
||||||
|
try {
|
||||||
|
var Mode = require("../" + modeName).Mode;
|
||||||
|
} catch(e) {
|
||||||
|
console.warn("Can't load mode :" + modeName, p, e);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
var tokenizer = new Mode().getTokenizer();
|
||||||
|
|
||||||
|
var state = "start";
|
||||||
|
var data = text.split(/\n|\r|\r\n/).map(function(line) {
|
||||||
|
var data = tokenizer.getLineTokens(line, state);
|
||||||
|
var tmp = [];
|
||||||
|
tmp.push(JSON.stringify(data.state));
|
||||||
|
data.tokens.forEach(function(x) {
|
||||||
|
tmp.push(JSON.stringify([x.type, x.value]));
|
||||||
|
});
|
||||||
|
state = data.state;
|
||||||
|
return tmp.join(",\n ");
|
||||||
|
});
|
||||||
|
|
||||||
|
jsonStr = "[[\n " + data.join("\n],[\n ") + "\n]]";
|
||||||
|
fs.writeFileSync(cwd + "tokens_" + modeName + ".json", jsonStr, "utf8");
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
function test(startAt) {
|
||||||
|
var modes = fs.readdirSync(cwd).map(function(x) {
|
||||||
|
return (x.match(/tokens_(.*).json/) || {})[1];
|
||||||
|
}).filter(function(x){return !!x});
|
||||||
|
|
||||||
|
for (var i = Math.max(0, startAt||0); i < modes.length; i++)
|
||||||
|
testMode(modes[i], i);
|
||||||
|
|
||||||
|
console.log("\u001b[32m" + "all ok" + "\u001b[0m");
|
||||||
|
}
|
||||||
|
function testMode(modeName, i) {
|
||||||
|
console.log(padNumber(i+1, 3) + ") testing: \u001b[33m" + modeName + "\u001b[0m");
|
||||||
|
|
||||||
|
var text = fs.readFileSync(cwd + "tokens_" + modeName + ".json", "utf8");
|
||||||
|
var data = JSON.parse(text);
|
||||||
|
var Mode = require("../" + modeName).Mode;
|
||||||
|
var tokenizer = new Mode().getTokenizer();
|
||||||
|
|
||||||
|
var state = "start";
|
||||||
|
data.forEach(function(lineData) {
|
||||||
|
lineData.values = [];
|
||||||
|
lineData.types = [];
|
||||||
|
lineData.state = lineData.shift();
|
||||||
|
lineData.forEach(function(x) {
|
||||||
|
lineData.types.push(x[0]);
|
||||||
|
lineData.values.push(x[1]);
|
||||||
|
});
|
||||||
|
|
||||||
|
var line = lineData.values.join("");
|
||||||
|
|
||||||
|
var tokens = tokenizer.getLineTokens(line, state);
|
||||||
|
var values = tokens.tokens.map(function(x) {return x.value;});
|
||||||
|
var types = tokens.tokens.map(function(x) {return x.type;});
|
||||||
|
|
||||||
|
var success = true;
|
||||||
|
var err = testEqual([
|
||||||
|
lineData.state, tokens.state,
|
||||||
|
lineData.types, types,
|
||||||
|
lineData.values, values]);
|
||||||
|
|
||||||
|
if (err) {
|
||||||
|
console.log(line)
|
||||||
|
throw "error";
|
||||||
|
}
|
||||||
|
|
||||||
|
state = lineData.state;
|
||||||
|
});
|
||||||
|
}
|
||||||
|
function testEqual(a) {
|
||||||
|
var err;
|
||||||
|
if (a[0] !== a[1]) {
|
||||||
|
console.log(a[0],a[1]);
|
||||||
|
err = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
if ( a[2] + "" !== a[3] + "" || a[4] + "" !== a[5] + "") {
|
||||||
|
arrayDiff(a[2],a[3]);
|
||||||
|
arrayDiff(a[4],a[5]);
|
||||||
|
err = 1;
|
||||||
|
}
|
||||||
|
return err;
|
||||||
|
}
|
||||||
|
function arrayDiff(a1, a2) {
|
||||||
|
var l = Math.max(a1.length, a2.length);
|
||||||
|
var out = [];
|
||||||
|
for (var i = 0; i < l; i++) {
|
||||||
|
out.push("\n", padNumber(i+1, 3), ") ");
|
||||||
|
if (a1[i] !== a2[i])
|
||||||
|
out.push("\u001b[31m", a1[i], "\u001b[0m != \u001b[32m", a2[i], "\u001b[0m");
|
||||||
|
else
|
||||||
|
out.push(a1[i]);
|
||||||
|
}
|
||||||
|
console.log(out.join(""));
|
||||||
|
}
|
||||||
|
function padNumber(num, digits) {
|
||||||
|
return (" " + num).slice(-digits);
|
||||||
|
}
|
||||||
|
|
||||||
|
// cli
|
||||||
|
var arg = process.argv[2];
|
||||||
|
if (!arg)
|
||||||
|
test()
|
||||||
|
else if (/--?g(en)?/.test(arg))
|
||||||
|
generateTestData(process.argv.splice(3));
|
||||||
|
else if (/\d+/.test(arg))
|
||||||
|
test(parseInt(process.argv[2],10) || 0);
|
||||||
|
else
|
||||||
|
testMode(arg, -1)
|
||||||
|
|
@ -1,144 +0,0 @@
|
||||||
var fs = require("fs");
|
|
||||||
if (!fs.existsSync)
|
|
||||||
fs.existsSync = require("path").existsSync;
|
|
||||||
|
|
||||||
require("amd-loader");
|
|
||||||
|
|
||||||
var cwd = __dirname + "/";
|
|
||||||
|
|
||||||
function generateTestData() {
|
|
||||||
var root = Array(5).join("../") + "/demo/kitchen-sink/docs";
|
|
||||||
var docs = fs.readdirSync(cwd + root);
|
|
||||||
var specialDocs = fs.readdirSync(cwd);
|
|
||||||
var modes = fs.readdirSync(cwd + "../").filter(function(x){
|
|
||||||
return /^\w+_highlight_rules.js$/.test(x);
|
|
||||||
}).map(function(x) {
|
|
||||||
return x.replace(/_highlight_rules.js$/, "");
|
|
||||||
});
|
|
||||||
|
|
||||||
console.log("Docs:", docs);
|
|
||||||
console.log("Modes:", modes);
|
|
||||||
|
|
||||||
docs.forEach(function(docName) {
|
|
||||||
var p = docName.toLowerCase().split(".");
|
|
||||||
if (!p[1])
|
|
||||||
return;
|
|
||||||
var modeName;
|
|
||||||
if (modes.indexOf(p[0]) != -1)
|
|
||||||
modeName = p[0];
|
|
||||||
else if (modes.indexOf(p[1]) != -1)
|
|
||||||
modeName = p[1];
|
|
||||||
else
|
|
||||||
modeName = {"txt": "text", cpp: "c_cpp"}[p[1]];
|
|
||||||
|
|
||||||
var filePath = "text_" + modeName + ".txt";
|
|
||||||
if (specialDocs.indexOf(filePath) == -1) {
|
|
||||||
filePath = root + "/" + docName;
|
|
||||||
}
|
|
||||||
|
|
||||||
var text = fs.readFileSync(cwd + filePath, "utf8");
|
|
||||||
try {
|
|
||||||
var Mode = require("../" + modeName).Mode;
|
|
||||||
} catch(e) {
|
|
||||||
console.warn("Can't load mode :" + modeName, e);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
var tokenizer = new Mode().getTokenizer();
|
|
||||||
|
|
||||||
var state = "start";
|
|
||||||
var data = text.split(/\n|\r|\r\n/).map(function(line) {
|
|
||||||
var tokens = tokenizer.getLineTokens(line, state);
|
|
||||||
state = tokens.state;
|
|
||||||
tokens = tokens.tokens;
|
|
||||||
return {
|
|
||||||
state: state,
|
|
||||||
data: tokens.map(function(x) {return [x.type, x.value]})
|
|
||||||
};
|
|
||||||
});
|
|
||||||
var jsonStr = JSON.stringify(data, null, 1);
|
|
||||||
jsonStr = jsonStr.replace(/\n {4}/g, " ").replace(/\n {3}]/g, " ]");
|
|
||||||
fs.writeFileSync(cwd + "tokens_" + modeName + ".json", jsonStr, "utf8");
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
function test(startAt) {
|
|
||||||
var docs = fs.readdirSync(cwd).filter(function(x) {
|
|
||||||
return /^tokens_\w+.json$/.test(x);
|
|
||||||
});
|
|
||||||
if (startAt && startAt > 1)
|
|
||||||
docs = docs.slice(startAt - 1);
|
|
||||||
docs.forEach(function(x, i) {
|
|
||||||
var modeName = x.match(/tokens_(.*).json/)[1];
|
|
||||||
|
|
||||||
console.log(padNumber(i+1, 3) + ") testing: \u001b[33m" + modeName + "\u001b[0m");
|
|
||||||
|
|
||||||
var text = fs.readFileSync(cwd + x, "utf8");
|
|
||||||
var data = JSON.parse(text);
|
|
||||||
var Mode = require("../" + modeName).Mode;
|
|
||||||
var tokenizer = new Mode().getTokenizer();
|
|
||||||
|
|
||||||
var state = "start";
|
|
||||||
data.forEach(function(lineData) {
|
|
||||||
lineData.values = [];
|
|
||||||
lineData.types = [];
|
|
||||||
lineData.data.forEach(function(x) {
|
|
||||||
lineData.types.push(x[0]);
|
|
||||||
lineData.values.push(x[1]);
|
|
||||||
});
|
|
||||||
|
|
||||||
var line = lineData.values.join("");
|
|
||||||
|
|
||||||
var tokens = tokenizer.getLineTokens(line, state);
|
|
||||||
var values = tokens.tokens.map(function(x) {return x.value;});
|
|
||||||
var types = tokens.tokens.map(function(x) {return x.type;});
|
|
||||||
|
|
||||||
var success = true;
|
|
||||||
testEqual([
|
|
||||||
lineData.state, tokens.state,
|
|
||||||
lineData.types, types,
|
|
||||||
lineData.values, values]);
|
|
||||||
|
|
||||||
state = lineData.state;
|
|
||||||
});
|
|
||||||
});
|
|
||||||
|
|
||||||
console.log("\u001b[32m" + "all ok" + "\u001b[0m");
|
|
||||||
|
|
||||||
function testEqual(a) {
|
|
||||||
var err;
|
|
||||||
if (a[0] !== a[1]) {
|
|
||||||
console.log(a[0],a[1]);
|
|
||||||
err = 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
if ( a[2] + "" !== a[3] + "" || a[4] + "" !== a[5] + "") {
|
|
||||||
arrayDiff(a[2],a[3]);
|
|
||||||
arrayDiff(a[4],a[5]);
|
|
||||||
err = 1;
|
|
||||||
}
|
|
||||||
if (err) {
|
|
||||||
throw "error";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
function arrayDiff(a1, a2) {
|
|
||||||
var l = Math.max(a1.length, a2.length);
|
|
||||||
var out = [];
|
|
||||||
for (var i = 0; i < l; i++) {
|
|
||||||
out.push("\n", padNumber(i+1, 3), ") ");
|
|
||||||
if (a1[i] !== a2[i])
|
|
||||||
out.push("\u001b[31m", a1[i], " != ", a2[i], "\u001b[0m");
|
|
||||||
else
|
|
||||||
out.push(a1[i]);
|
|
||||||
}
|
|
||||||
console.log(out.join(""));
|
|
||||||
}
|
|
||||||
function padNumber(num, digits) {
|
|
||||||
return (" " + num).slice(-digits);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if (process.argv[2] == "gen")
|
|
||||||
generateTestData(process.argv.splice(3));
|
|
||||||
else
|
|
||||||
test(parseInt(process.argv[2],10) || 0);
|
|
||||||
56
lib/ace/mode/_test/text_coffee.txt
Normal file
56
lib/ace/mode/_test/text_coffee.txt
Normal file
|
|
@ -0,0 +1,56 @@
|
||||||
|
#test: tokenize keyword
|
||||||
|
for (i 1..2)
|
||||||
|
#test: tokenize regexp
|
||||||
|
/"[a]/
|
||||||
|
#test: tokenize functions
|
||||||
|
foo = ({args}) ->
|
||||||
|
foo = ({a1, a2}) ->
|
||||||
|
foo = ({@a1, a2}) ->
|
||||||
|
foo : ({args}) ->
|
||||||
|
foo = ({args}) ->
|
||||||
|
foo = ({0abc}) ->
|
||||||
|
foo = ({/abc}) =>
|
||||||
|
foo = ({abc/}) ->
|
||||||
|
foo = ({#abc}) ->
|
||||||
|
foo = ({abc#}) ->
|
||||||
|
foo = ({)abc}) ->
|
||||||
|
foo = ({abc)}) ->
|
||||||
|
foo = ({a{bc}) ->
|
||||||
|
foo = ({}) ->
|
||||||
|
foo = ({ }) ->
|
||||||
|
foo : ({}) ->
|
||||||
|
foo = (args) ->
|
||||||
|
foo = (arg1, arg2) ->
|
||||||
|
foo = (arg1 = 1, arg2 = 'name') ->
|
||||||
|
foo = (@arg1 = /abc/, arg2 = 'name') ->
|
||||||
|
#test: tokenize function: invalid case:
|
||||||
|
foo=(/args) ->
|
||||||
|
foo = () ->
|
||||||
|
foo = ( ) ->
|
||||||
|
foo : ( ) ->
|
||||||
|
window.foo = (args) ->
|
||||||
|
foo = ->
|
||||||
|
foo = ->
|
||||||
|
foo : ->
|
||||||
|
#test: tokenize callback function
|
||||||
|
foo bar: 1, (args) ->
|
||||||
|
foo = (1, 2 (x) ->
|
||||||
|
#test: tokenize class
|
||||||
|
class Foo
|
||||||
|
class Foo extends Bar
|
||||||
|
#test: tokenize illegal name property
|
||||||
|
foo.static.function
|
||||||
|
#!test tokenize string with interpolation
|
||||||
|
a = "#{ 22 / 7 + {x: "#{a + b}"} + 2}"
|
||||||
|
"""heredoc
|
||||||
|
"""
|
||||||
|
do ->
|
||||||
|
###
|
||||||
|
herecomment
|
||||||
|
###
|
||||||
|
re = /regex/imgy.test ///
|
||||||
|
heregex # comment
|
||||||
|
///imgy
|
||||||
|
this isnt: `just
|
||||||
|
JavaScript`
|
||||||
|
undefined
|
||||||
9
lib/ace/mode/_test/text_curly.txt
Normal file
9
lib/ace/mode/_test/text_curly.txt
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
tokenize Curly template{{test}}
|
||||||
|
tokenize embedded script
|
||||||
|
<script a='a'>var</script>'123'
|
||||||
|
tokenize multiline attribute value with double quotes
|
||||||
|
<a href="abc{{xyz}}
|
||||||
|
def">
|
||||||
|
tokenize multiline attribute value with single quotes
|
||||||
|
<a href='abc
|
||||||
|
def\"'>
|
||||||
8
lib/ace/mode/_test/text_html.txt
Normal file
8
lib/ace/mode/_test/text_html.txt
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
<html>
|
||||||
|
<script a='a'>var</script>'123'
|
||||||
|
<a href="abc
|
||||||
|
def">
|
||||||
|
<a href='abc
|
||||||
|
def\'>
|
||||||
|
|
||||||
|
</html>
|
||||||
|
|
@ -1,3 +1,37 @@
|
||||||
|
//test: tokenize 'standard' functions
|
||||||
|
string.charCodeAt(23); document.getElementById('test'); console.log('Here it is');";
|
||||||
|
test: /**tokenize doc*/ comment
|
||||||
|
/**tokenize doc comment with @tag {}*/
|
||||||
|
//test: tokenize parens
|
||||||
|
var line = "[{( )}]";
|
||||||
|
//test tokenize arithmetic expression which looks like a regexp
|
||||||
|
a/b/c
|
||||||
|
a/=b/c
|
||||||
|
//test tokenize reg exps
|
||||||
|
a=/b/g
|
||||||
|
a+/b/g
|
||||||
|
a = 1 + /2 + 1/b
|
||||||
|
a=/a/ / /a/
|
||||||
|
case /a/.test(c)
|
||||||
|
//test tokenize multi-line comment containing a single line comment
|
||||||
|
noRegex
|
||||||
|
/* foo // bar */
|
||||||
|
canBeRegex;
|
||||||
|
/* foo // bar */
|
||||||
|
// test tokenize identifier with umlauts
|
||||||
|
fu?e
|
||||||
|
// test // is not a regexp
|
||||||
|
{ // 123
|
||||||
|
//test skipping escaped chars
|
||||||
|
'Meh\\nNeh'
|
||||||
|
console.log('\\u1232Feh'
|
||||||
|
"test multiline\
|
||||||
|
strings"
|
||||||
|
a='
|
||||||
|
b="\
|
||||||
|
still a string
|
||||||
|
|
||||||
|
|
||||||
function foo(items, nada) {
|
function foo(items, nada) {
|
||||||
for (var i=0; i<items.length; i++) {
|
for (var i=0; i<items.length; i++) {
|
||||||
alert(items[i] + "juhu\n");
|
alert(items[i] + "juhu\n");
|
||||||
|
|
|
||||||
16
lib/ace/mode/_test/text_lucene.txt
Normal file
16
lib/ace/mode/_test/text_lucene.txt
Normal file
|
|
@ -0,0 +1,16 @@
|
||||||
|
test: recognises AND as keyword
|
||||||
|
test: recognises OR as keyword
|
||||||
|
test: recognises NOT as keyword
|
||||||
|
test: recognises "hello this is dog" as string
|
||||||
|
test: recognises -"hello this is dog" as negation with string
|
||||||
|
test: recognises ~100 as text with proximity
|
||||||
|
test: recognises "hello this is dog"~100 as string with proximity
|
||||||
|
test: recognises raw:"hello this is dog" as keyword
|
||||||
|
test: recognises raw:foo as"keyword'
|
||||||
|
test: recognises "(" as opening parenthesis
|
||||||
|
test: recognises ")" as closing parenthesis
|
||||||
|
test: recognises foo* as text with asterisk
|
||||||
|
test: recognises foo? as text with interro
|
||||||
|
test: recognises single word as text
|
||||||
|
foo
|
||||||
|
|
||||||
13
lib/ace/mode/_test/text_markdown.txt
Normal file
13
lib/ace/mode/_test/text_markdown.txt
Normal file
|
|
@ -0,0 +1,13 @@
|
||||||
|
test: header 1
|
||||||
|
#f
|
||||||
|
test: header 2
|
||||||
|
## foo
|
||||||
|
test: header ends with ' #'
|
||||||
|
# # #
|
||||||
|
test: header ends with '#'
|
||||||
|
#foo#
|
||||||
|
test: 6+ #s is not a valid header
|
||||||
|
####### foo
|
||||||
|
test: # followed be only space is not a valid header
|
||||||
|
test: only space between #s is not a valid header
|
||||||
|
# #
|
||||||
15
lib/ace/mode/_test/text_ruby.txt
Normal file
15
lib/ace/mode/_test/text_ruby.txt
Normal file
|
|
@ -0,0 +1,15 @@
|
||||||
|
#test: symbol tokenizer
|
||||||
|
[:@thing, :$thing, :_thing, :thing, :Thing, :thing1, :thing_a,
|
||||||
|
:THING, :thing!, :thing=, :thing?, :t?,
|
||||||
|
:, :@, :$, :1, :1thing, :th?ing, :thi=ng, :1thing,
|
||||||
|
:th!ing, :thing#
|
||||||
|
]
|
||||||
|
|
||||||
|
#test: namespaces aren't symbols" : function() {
|
||||||
|
Namespaced::Class
|
||||||
|
#test: hex tokenizer
|
||||||
|
0x9a, 0XA1, 0x9_a, 0x, 0x_9a, 0x9a_,
|
||||||
|
#test: float tokenizer
|
||||||
|
[1, +1, -1, 12_345, 0.000_1,
|
||||||
|
_, 3_1, 1_2, 1_.0, 0._1];
|
||||||
|
|
||||||
7
lib/ace/mode/_test/text_xml.txt
Normal file
7
lib/ace/mode/_test/text_xml.txt
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
<Juhu>//Juhu Kinners</Kinners>
|
||||||
|
test: two tags in the same lines should be in separate tokens"
|
||||||
|
<Juhu><Kinners>
|
||||||
|
test: multiline attributes"
|
||||||
|
<copy set="{
|
||||||
|
}" undo="{
|
||||||
|
}"/>
|
||||||
|
|
@ -1,66 +1,37 @@
|
||||||
[
|
[[
|
||||||
{
|
"start",
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["doc.comment","***************************************"]
|
["doc.comment","***************************************"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["doc.comment","** Program: EXAMPLE **"]
|
["doc.comment","** Program: EXAMPLE **"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["doc.comment","** Author: Joe Byte, 07-Jul-2007 **"]
|
["doc.comment","** Author: Joe Byte, 07-Jul-2007 **"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["doc.comment","***************************************"]
|
["doc.comment","***************************************"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "]
|
["text"," "]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","REPORT"],
|
["keyword","REPORT"],
|
||||||
["text"," BOOKINGS"],
|
["text"," BOOKINGS"],
|
||||||
["keyword.operator","."]
|
["keyword.operator","."]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "]
|
["text"," "]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["doc.comment","* Read flight bookings from the database"]
|
["doc.comment","* Read flight bookings from the database"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","SELECT"],
|
["keyword","SELECT"],
|
||||||
["keyword.operator"," * "],
|
["keyword.operator"," * "],
|
||||||
["keyword","FROM"],
|
["keyword","FROM"],
|
||||||
["text"," FLIGHTINFO"]
|
["text"," FLIGHTINFO"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","WHERE"],
|
["keyword","WHERE"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -69,11 +40,8 @@
|
||||||
["string","'Y'"],
|
["string","'Y'"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["comment","\"Y = economy"]
|
["comment","\"Y = economy"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","OR"],
|
["keyword","OR"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -83,70 +51,44 @@
|
||||||
["keyword.operator","."],
|
["keyword.operator","."],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["comment","\"C = business"]
|
["comment","\"C = business"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["paren.lparen","("],
|
["paren.lparen","("],
|
||||||
["invalid","..."],
|
["invalid","..."],
|
||||||
["paren.rparen",")"]
|
["paren.rparen",")"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","REPORT"],
|
["keyword","REPORT"],
|
||||||
["text"," TEST"],
|
["text"," TEST"],
|
||||||
["keyword.operator","."]
|
["keyword.operator","."]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","WRITE"],
|
["keyword","WRITE"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["string","'Hello World'"],
|
["string","'Hello World'"],
|
||||||
["keyword.operator","."]
|
["keyword.operator","."]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text","USERPROMPT"],
|
["text","USERPROMPT"],
|
||||||
["keyword.operator"," = "],
|
["keyword.operator"," = "],
|
||||||
["string","'Please double-click on a line in the output list '"],
|
["string","'Please double-click on a line in the output list '"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword.operator","&"]
|
["keyword.operator","&"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["string","'to see the complete details of the transaction.'"],
|
["string","'to see the complete details of the transaction.'"],
|
||||||
["keyword.operator","."]
|
["keyword.operator","."]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start"
|
||||||
"data": []
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","DATA"],
|
["keyword","DATA"],
|
||||||
["text"," LAST_EOM "],
|
["text"," LAST_EOM "],
|
||||||
["keyword","TYPE"],
|
["keyword","TYPE"],
|
||||||
|
|
@ -155,46 +97,28 @@
|
||||||
["keyword.operator","."],
|
["keyword.operator","."],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["comment","\"last end-of-month date"]
|
["comment","\"last end-of-month date"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "]
|
["text"," "]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["doc.comment","* Start from today's date"]
|
["doc.comment","* Start from today's date"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," LAST_EOM"],
|
["text"," LAST_EOM"],
|
||||||
["keyword.operator"," = "],
|
["keyword.operator"," = "],
|
||||||
["variable.parameter","SY"],
|
["variable.parameter","SY"],
|
||||||
["keyword.operator","-"],
|
["keyword.operator","-"],
|
||||||
["text","DATUM"],
|
["text","DATUM"],
|
||||||
["keyword.operator","."]
|
["keyword.operator","."]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["doc.comment","* Set characters 6 and 7 (0-relative) of the YYYYMMDD string to \"01\","]
|
["doc.comment","* Set characters 6 and 7 (0-relative) of the YYYYMMDD string to \"01\","]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["doc.comment","* giving the first day of the current month"]
|
["doc.comment","* giving the first day of the current month"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," LAST_EOM"],
|
["text"," LAST_EOM"],
|
||||||
["constant.numeric","+6"],
|
["constant.numeric","+6"],
|
||||||
["paren.lparen","("],
|
["paren.lparen","("],
|
||||||
|
|
@ -203,34 +127,22 @@
|
||||||
["keyword.operator"," = "],
|
["keyword.operator"," = "],
|
||||||
["string","'01'"],
|
["string","'01'"],
|
||||||
["keyword.operator","."]
|
["keyword.operator","."]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["doc.comment","* Subtract one day"]
|
["doc.comment","* Subtract one day"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," LAST_EOM"],
|
["text"," LAST_EOM"],
|
||||||
["keyword.operator"," = "],
|
["keyword.operator"," = "],
|
||||||
["text","LAST_EOM"],
|
["text","LAST_EOM"],
|
||||||
["keyword.operator"," - "],
|
["keyword.operator"," - "],
|
||||||
["constant.numeric","1"],
|
["constant.numeric","1"],
|
||||||
["keyword.operator","."]
|
["keyword.operator","."]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "]
|
["text"," "]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","WRITE"],
|
["keyword","WRITE"],
|
||||||
["keyword.operator",":"],
|
["keyword.operator",":"],
|
||||||
|
|
@ -239,17 +151,11 @@
|
||||||
["keyword.operator",","],
|
["keyword.operator",","],
|
||||||
["text"," LAST_EOM"],
|
["text"," LAST_EOM"],
|
||||||
["keyword.operator","."]
|
["keyword.operator","."]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "]
|
["text"," "]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","DATA"],
|
["keyword","DATA"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword.operator",":"],
|
["keyword.operator",":"],
|
||||||
|
|
@ -260,35 +166,24 @@
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["constant.numeric","0"],
|
["constant.numeric","0"],
|
||||||
["keyword.operator",","]
|
["keyword.operator",","]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," VBELN "],
|
["text"," VBELN "],
|
||||||
["keyword","LIKE"],
|
["keyword","LIKE"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable.parameter","VBRK-VBELN"],
|
["variable.parameter","VBRK-VBELN"],
|
||||||
["keyword.operator",","]
|
["keyword.operator",","]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," ZUONR "],
|
["text"," ZUONR "],
|
||||||
["keyword","LIKE"],
|
["keyword","LIKE"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable.parameter","VBRK-ZUONR"],
|
["variable.parameter","VBRK-ZUONR"],
|
||||||
["keyword.operator",","]
|
["keyword.operator",","]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","END OF"],
|
["keyword","END OF"],
|
||||||
["text"," I_VBRK"],
|
["text"," I_VBRK"],
|
||||||
["keyword.operator","."]
|
["keyword.operator","."]
|
||||||
]
|
]]
|
||||||
}
|
|
||||||
]
|
|
||||||
|
|
@ -1,74 +1,46 @@
|
||||||
[
|
[[
|
||||||
{
|
"literalBlock",
|
||||||
"state": "literalBlock",
|
|
||||||
"data": [
|
|
||||||
["support.function","------------------------------------"]
|
["support.function","------------------------------------"]
|
||||||
]
|
],[
|
||||||
},
|
"dissallowDelimitedBlock",
|
||||||
{
|
|
||||||
"state": "dissallowDelimitedBlock",
|
|
||||||
"data": [
|
|
||||||
["support.function","-----------------------------------"]
|
["support.function","-----------------------------------"]
|
||||||
]
|
],[
|
||||||
},
|
"text",
|
||||||
{
|
|
||||||
"state": "text",
|
|
||||||
"data": [
|
|
||||||
["string.italic","_ita_lic_"],
|
["string.italic","_ita_lic_"],
|
||||||
["text",", "],
|
["text",", "],
|
||||||
["keyword.bold","*bo*ld*"],
|
["keyword.bold","*bo*ld*"],
|
||||||
["text",", "],
|
["text",", "],
|
||||||
["support.function","+mo+no+"],
|
["support.function","+mo+no+"],
|
||||||
["text",", normal. "]
|
["text",", normal. "]
|
||||||
]
|
],[
|
||||||
},
|
"text",
|
||||||
{
|
|
||||||
"state": "text",
|
|
||||||
"data": [
|
|
||||||
["keyword","``"],
|
["keyword","``"],
|
||||||
["text","double quoted"],
|
["text","double quoted"],
|
||||||
["keyword","''"],
|
["keyword","''"],
|
||||||
["text",", `single quoted'."]
|
["text",", `single quoted'."]
|
||||||
]
|
],[
|
||||||
},
|
"text",
|
||||||
{
|
|
||||||
"state": "text",
|
|
||||||
"data": [
|
|
||||||
["text"," normal, ^super^, "],
|
["text"," normal, ^super^, "],
|
||||||
["keyword","~sub~"],
|
["keyword","~sub~"],
|
||||||
["text","."]
|
["text","."]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"text",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "text",
|
|
||||||
"data": [
|
|
||||||
["text","''''"]
|
["text","''''"]
|
||||||
]
|
],[
|
||||||
},
|
"text",
|
||||||
{
|
|
||||||
"state": "text",
|
|
||||||
"data": [
|
|
||||||
["text","Escaped:"]
|
["text","Escaped:"]
|
||||||
]
|
],[
|
||||||
},
|
"text",
|
||||||
{
|
|
||||||
"state": "text",
|
|
||||||
"data": [
|
|
||||||
["constant.language.escape","\\_"],
|
["constant.language.escape","\\_"],
|
||||||
["text","italic_, "],
|
["text","italic_, "],
|
||||||
["support.function","+++"],
|
["support.function","+++"],
|
||||||
["text","_italic_"],
|
["text","_italic_"],
|
||||||
["support.function","+++"],
|
["support.function","+++"],
|
||||||
["text",","]
|
["text",","]
|
||||||
]
|
],[
|
||||||
},
|
"smallPassthrough",
|
||||||
{
|
|
||||||
"state": "smallPassthrough",
|
|
||||||
"data": [
|
|
||||||
["text","t"],
|
["text","t"],
|
||||||
["constant.language.escape","\\_"],
|
["constant.language.escape","\\_"],
|
||||||
["text","_e"],
|
["text","_e"],
|
||||||
|
|
@ -76,11 +48,8 @@
|
||||||
["text","e__st"],
|
["text","e__st"],
|
||||||
["support.function","+++"],
|
["support.function","+++"],
|
||||||
["text",","]
|
["text",","]
|
||||||
]
|
],[
|
||||||
},
|
"smallPassthrough",
|
||||||
{
|
|
||||||
"state": "smallPassthrough",
|
|
||||||
"data": [
|
|
||||||
["support.function","+++"],
|
["support.function","+++"],
|
||||||
["text","<b>bold</b>"],
|
["text","<b>bold</b>"],
|
||||||
["support.function","+++"],
|
["support.function","+++"],
|
||||||
|
|
@ -91,21 +60,15 @@
|
||||||
["text","</"],
|
["text","</"],
|
||||||
["support.function","b"],
|
["support.function","b"],
|
||||||
["text",">$$"]
|
["text",">$$"]
|
||||||
]
|
],[
|
||||||
},
|
"smallPassthrough",
|
||||||
{
|
|
||||||
"state": "smallPassthrough",
|
|
||||||
"data": [
|
|
||||||
["text","\\&#"],
|
["text","\\&#"],
|
||||||
["support.function","182"],
|
["support.function","182"],
|
||||||
["text","; &#"],
|
["text","; &#"],
|
||||||
["support.function","182"],
|
["support.function","182"],
|
||||||
["text",";"]
|
["text",";"]
|
||||||
]
|
],[
|
||||||
},
|
"smallPassthrough",
|
||||||
{
|
|
||||||
"state": "smallPassthrough",
|
|
||||||
"data": [
|
|
||||||
["text","\\`"],
|
["text","\\`"],
|
||||||
["support.function","not"],
|
["support.function","not"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -113,11 +76,8 @@
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["support.function","quoted"],
|
["support.function","quoted"],
|
||||||
["text","'"]
|
["text","'"]
|
||||||
]
|
],[
|
||||||
},
|
"smallPassthrough",
|
||||||
{
|
|
||||||
"state": "smallPassthrough",
|
|
||||||
"data": [
|
|
||||||
["text","\\`\\`"],
|
["text","\\`\\`"],
|
||||||
["support.function","not"],
|
["support.function","not"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -125,236 +85,129 @@
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["support.function","quoted"],
|
["support.function","quoted"],
|
||||||
["text","''"]
|
["text","''"]
|
||||||
]
|
],[
|
||||||
},
|
"dissallowDelimitedBlock"
|
||||||
{
|
],[
|
||||||
"state": "dissallowDelimitedBlock",
|
"text"
|
||||||
"data": []
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "text",
|
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["string.regexp","[fffff]"]
|
["string.regexp","[fffff]"]
|
||||||
]
|
],[
|
||||||
},
|
"passthroughBlock",
|
||||||
{
|
|
||||||
"state": "passthroughBlock",
|
|
||||||
"data": [
|
|
||||||
["string","+++++++++++++++++++++++++++++++++++++"]
|
["string","+++++++++++++++++++++++++++++++++++++"]
|
||||||
]
|
],[
|
||||||
},
|
"passthroughBlock",
|
||||||
{
|
|
||||||
"state": "passthroughBlock",
|
|
||||||
"data": [
|
|
||||||
["support.function","(C) "],
|
["support.function","(C) "],
|
||||||
["constant.character","{ss}"],
|
["constant.character","{ss}"],
|
||||||
["support.function"," ss"]
|
["support.function"," ss"]
|
||||||
]
|
],[
|
||||||
},
|
"dissallowDelimitedBlock",
|
||||||
{
|
|
||||||
"state": "dissallowDelimitedBlock",
|
|
||||||
"data": [
|
|
||||||
["support.function","+++++++++++++++++++++++++++++++++++++"]
|
["support.function","+++++++++++++++++++++++++++++++++++++"]
|
||||||
]
|
],[
|
||||||
},
|
"text"
|
||||||
{
|
],[
|
||||||
"state": "text",
|
"listingBlock",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "listingBlock",
|
|
||||||
"data": [
|
|
||||||
["support.function","............."]
|
["support.function","............."]
|
||||||
]
|
],[
|
||||||
},
|
"listingBlock",
|
||||||
{
|
|
||||||
"state": "listingBlock",
|
|
||||||
"data": [
|
|
||||||
["support.function","callout "],
|
["support.function","callout "],
|
||||||
["constant.numeric","<1>"]
|
["constant.numeric","<1>"]
|
||||||
]
|
],[
|
||||||
},
|
"dissallowDelimitedBlock",
|
||||||
{
|
|
||||||
"state": "dissallowDelimitedBlock",
|
|
||||||
"data": [
|
|
||||||
["support.function",".............."]
|
["support.function",".............."]
|
||||||
]
|
],[
|
||||||
},
|
"text"
|
||||||
{
|
],[
|
||||||
"state": "text",
|
"text",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "text",
|
|
||||||
"data": [
|
|
||||||
["text","> 1"]
|
["text","> 1"]
|
||||||
]
|
],[
|
||||||
},
|
"text",
|
||||||
{
|
|
||||||
"state": "text",
|
|
||||||
"data": [
|
|
||||||
["text","1> 2"]
|
["text","1> 2"]
|
||||||
]
|
],[
|
||||||
},
|
"text",
|
||||||
{
|
|
||||||
"state": "text",
|
|
||||||
"data": [
|
|
||||||
["text","<2> 3"]
|
["text","<2> 3"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"text",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "text",
|
|
||||||
"data": [
|
|
||||||
["text","Escaped:"]
|
["text","Escaped:"]
|
||||||
]
|
],[
|
||||||
},
|
"text",
|
||||||
{
|
|
||||||
"state": "text",
|
|
||||||
"data": [
|
|
||||||
["constant.language.escape","\\_"],
|
["constant.language.escape","\\_"],
|
||||||
["text","italic_,"]
|
["text","italic_,"]
|
||||||
]
|
],[
|
||||||
},
|
"text",
|
||||||
{
|
|
||||||
"state": "text",
|
|
||||||
"data": [
|
|
||||||
["text","t"],
|
["text","t"],
|
||||||
["constant.language.escape","\\_"],
|
["constant.language.escape","\\_"],
|
||||||
["text","_e"],
|
["text","_e"],
|
||||||
["string.italic","__st, o__"]
|
["string.italic","__st, o__"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["constant.numeric",".optional title"]
|
["constant.numeric",".optional title"]
|
||||||
]
|
],[
|
||||||
},
|
"listingBlock",
|
||||||
{
|
|
||||||
"state": "listingBlock",
|
|
||||||
"data": [
|
|
||||||
["support.function","............."]
|
["support.function","............."]
|
||||||
]
|
],[
|
||||||
},
|
"listingBlock",
|
||||||
{
|
|
||||||
"state": "listingBlock",
|
|
||||||
"data": [
|
|
||||||
["support.function","callout "],
|
["support.function","callout "],
|
||||||
["constant.numeric","<1>"]
|
["constant.numeric","<1>"]
|
||||||
]
|
],[
|
||||||
},
|
"dissallowDelimitedBlock",
|
||||||
{
|
|
||||||
"state": "dissallowDelimitedBlock",
|
|
||||||
"data": [
|
|
||||||
["support.function",".............."]
|
["support.function",".............."]
|
||||||
]
|
],[
|
||||||
},
|
"text"
|
||||||
{
|
],[
|
||||||
"state": "text",
|
"start"
|
||||||
"data": []
|
],[
|
||||||
},
|
"text",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "text",
|
|
||||||
"data": [
|
|
||||||
["keyword",":macro:"],
|
["keyword",":macro:"],
|
||||||
["text"," dddd"]
|
["text"," dddd"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["constant.numeric",".lists"]
|
["constant.numeric",".lists"]
|
||||||
]
|
],[
|
||||||
},
|
"listText",
|
||||||
{
|
|
||||||
"state": "listText",
|
|
||||||
"data": [
|
|
||||||
["keyword",". "],
|
["keyword",". "],
|
||||||
["text","1"]
|
["text","1"]
|
||||||
]
|
],[
|
||||||
},
|
"listText",
|
||||||
{
|
|
||||||
"state": "listText",
|
|
||||||
"data": [
|
|
||||||
["keyword",".. "],
|
["keyword",".. "],
|
||||||
["text","2"]
|
["text","2"]
|
||||||
]
|
],[
|
||||||
},
|
"listText",
|
||||||
{
|
|
||||||
"state": "listText",
|
|
||||||
"data": [
|
|
||||||
["keyword","... "],
|
["keyword","... "],
|
||||||
["text","d"]
|
["text","d"]
|
||||||
]
|
],[
|
||||||
},
|
"listText",
|
||||||
{
|
|
||||||
"state": "listText",
|
|
||||||
"data": [
|
|
||||||
["keyword","..... "],
|
["keyword","..... "],
|
||||||
["text","big"]
|
["text","big"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","+"]
|
["keyword","+"]
|
||||||
]
|
],[
|
||||||
},
|
"text",
|
||||||
{
|
|
||||||
"state": "text",
|
|
||||||
"data": [
|
|
||||||
["text","continue"],
|
["text","continue"],
|
||||||
["keyword"," +"]
|
["keyword"," +"]
|
||||||
]
|
],[
|
||||||
},
|
"text",
|
||||||
{
|
|
||||||
"state": "text",
|
|
||||||
"data": [
|
|
||||||
["text","next line"]
|
["text","next line"]
|
||||||
]
|
],[
|
||||||
},
|
"text",
|
||||||
{
|
|
||||||
"state": "text",
|
|
||||||
"data": [
|
|
||||||
["text","xi) no "],
|
["text","xi) no "],
|
||||||
["support.function","++la+tin++"]
|
["support.function","++la+tin++"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"listText",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "listText",
|
|
||||||
"data": [
|
|
||||||
["keyword","xi) "],
|
["keyword","xi) "],
|
||||||
["text","la"],
|
["text","la"],
|
||||||
["support.function","++tin++"]
|
["support.function","++tin++"]
|
||||||
]
|
],[
|
||||||
},
|
"listText",
|
||||||
{
|
|
||||||
"state": "listText",
|
|
||||||
"data": [
|
|
||||||
["keyword","2. "],
|
["keyword","2. "],
|
||||||
["text","num"],
|
["text","num"],
|
||||||
["string.italic","__ber__"],
|
["string.italic","__ber__"],
|
||||||
|
|
@ -362,17 +215,11 @@
|
||||||
["keyword","#"],
|
["keyword","#"],
|
||||||
["text","red"],
|
["text","red"],
|
||||||
["keyword","#"]
|
["keyword","#"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","--"]
|
["keyword","--"]
|
||||||
]
|
],[
|
||||||
},
|
"listText",
|
||||||
{
|
|
||||||
"state": "listText",
|
|
||||||
"data": [
|
|
||||||
["keyword"," 5. "],
|
["keyword"," 5. "],
|
||||||
["text","f "],
|
["text","f "],
|
||||||
["keyword","<<x6,"],
|
["keyword","<<x6,"],
|
||||||
|
|
@ -380,17 +227,11 @@
|
||||||
["keyword",">>"],
|
["keyword",">>"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["constant.character","{macro}"]
|
["constant.character","{macro}"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","--"]
|
["keyword","--"]
|
||||||
]
|
],[
|
||||||
},
|
"text",
|
||||||
{
|
|
||||||
"state": "text",
|
|
||||||
"data": [
|
|
||||||
["markup.list.macro","image::"],
|
["markup.list.macro","image::"],
|
||||||
["keyword","path"],
|
["keyword","path"],
|
||||||
["string","[beauty]"],
|
["string","[beauty]"],
|
||||||
|
|
@ -399,169 +240,88 @@
|
||||||
["text","--"],
|
["text","--"],
|
||||||
["constant.language.escape","<= --"],
|
["constant.language.escape","<= --"],
|
||||||
["text"," replacements"]
|
["text"," replacements"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"indentedBlock",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "indentedBlock",
|
|
||||||
"data": [
|
|
||||||
["support.function"," image::s"]
|
["support.function"," image::s"]
|
||||||
]
|
],[
|
||||||
},
|
"indentedBlock",
|
||||||
{
|
|
||||||
"state": "indentedBlock",
|
|
||||||
"data": [
|
|
||||||
["support.function","sssss"]
|
["support.function","sssss"]
|
||||||
]
|
],[
|
||||||
},
|
"indentedBlock",
|
||||||
{
|
|
||||||
"state": "indentedBlock",
|
|
||||||
"data": [
|
|
||||||
["support.function","sss "]
|
["support.function","sss "]
|
||||||
]
|
],[
|
||||||
},
|
"indentedBlock",
|
||||||
{
|
|
||||||
"state": "indentedBlock",
|
|
||||||
"data": [
|
|
||||||
["support.function","sssss"]
|
["support.function","sssss"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start"
|
||||||
"data": []
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["markup.heading","== 1"]
|
["markup.heading","== 1"]
|
||||||
]
|
],[
|
||||||
},
|
"indentedBlock",
|
||||||
{
|
|
||||||
"state": "indentedBlock",
|
|
||||||
"data": [
|
|
||||||
["support.function"," heading"]
|
["support.function"," heading"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["markup.heading","=== not a heading"]
|
["markup.heading","=== not a heading"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","===================================="]
|
["keyword","===================================="]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","=================================="]
|
["keyword","=================================="]
|
||||||
]
|
],[
|
||||||
},
|
"text",
|
||||||
{
|
|
||||||
"state": "text",
|
|
||||||
"data": [
|
|
||||||
["text","====4 "]
|
["text","====4 "]
|
||||||
]
|
],[
|
||||||
},
|
"text",
|
||||||
{
|
|
||||||
"state": "text",
|
|
||||||
"data": [
|
|
||||||
["text","NOTE: above"]
|
["text","NOTE: above"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"text",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "text",
|
|
||||||
"data": [
|
|
||||||
["keyword","NOTE:"],
|
["keyword","NOTE:"],
|
||||||
["text"," above"]
|
["text"," above"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["string.regexp","[[x6]]"]
|
["string.regexp","[[x6]]"]
|
||||||
]
|
],[
|
||||||
},
|
"text",
|
||||||
{
|
|
||||||
"state": "text",
|
|
||||||
"data": [
|
|
||||||
["keyword","WARNING:"],
|
["keyword","WARNING:"],
|
||||||
["text"," "]
|
["text"," "]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["string.regexp","[options[]]"]
|
["string.regexp","[options[]]"]
|
||||||
]
|
],[
|
||||||
},
|
"literalBlock",
|
||||||
{
|
|
||||||
"state": "literalBlock",
|
|
||||||
"data": [
|
|
||||||
["support.function","---------------------------"]
|
["support.function","---------------------------"]
|
||||||
]
|
],[
|
||||||
},
|
"literalBlock",
|
||||||
{
|
|
||||||
"state": "literalBlock",
|
|
||||||
"data": [
|
|
||||||
["support.function","literal"]
|
["support.function","literal"]
|
||||||
]
|
],[
|
||||||
},
|
"dissallowDelimitedBlock",
|
||||||
{
|
|
||||||
"state": "dissallowDelimitedBlock",
|
|
||||||
"data": [
|
|
||||||
["support.function","---------------------------"]
|
["support.function","---------------------------"]
|
||||||
]
|
],[
|
||||||
},
|
"text"
|
||||||
{
|
],[
|
||||||
"state": "text",
|
"start"
|
||||||
"data": []
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["markup.heading","= Tables"]
|
["markup.heading","= Tables"]
|
||||||
]
|
],[
|
||||||
},
|
"tableBlock",
|
||||||
{
|
|
||||||
"state": "tableBlock",
|
|
||||||
"data": [
|
|
||||||
["doc.comment","|===================================="]
|
["doc.comment","|===================================="]
|
||||||
]
|
],[
|
||||||
},
|
"tableBlock",
|
||||||
{
|
|
||||||
"state": "tableBlock",
|
|
||||||
"data": [
|
|
||||||
["doc.comment","|"],
|
["doc.comment","|"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["string.italic","_italic_"],
|
["string.italic","_italic_"],
|
||||||
|
|
@ -575,71 +335,38 @@
|
||||||
["doc.comment","|"],
|
["doc.comment","|"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["constant.language.escape","(R)"]
|
["constant.language.escape","(R)"]
|
||||||
]
|
],[
|
||||||
},
|
"tableBlock"
|
||||||
{
|
],[
|
||||||
"state": "tableBlock",
|
"dissallowDelimitedBlock",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "dissallowDelimitedBlock",
|
|
||||||
"data": [
|
|
||||||
["doc.comment","|===================================="]
|
["doc.comment","|===================================="]
|
||||||
]
|
],[
|
||||||
},
|
"text"
|
||||||
{
|
],[
|
||||||
"state": "text",
|
"start"
|
||||||
"data": []
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["string.regexp","[more, options]"]
|
["string.regexp","[more, options]"]
|
||||||
]
|
],[
|
||||||
},
|
"commentBlock",
|
||||||
{
|
|
||||||
"state": "commentBlock",
|
|
||||||
"data": [
|
|
||||||
["doc.comment","///////////"]
|
["doc.comment","///////////"]
|
||||||
]
|
],[
|
||||||
},
|
"commentBlock",
|
||||||
{
|
|
||||||
"state": "commentBlock",
|
|
||||||
"data": [
|
|
||||||
["doc.comment","comment"]
|
["doc.comment","comment"]
|
||||||
]
|
],[
|
||||||
},
|
"dissallowDelimitedBlock",
|
||||||
{
|
|
||||||
"state": "dissallowDelimitedBlock",
|
|
||||||
"data": [
|
|
||||||
["doc.comment","///////////"]
|
["doc.comment","///////////"]
|
||||||
]
|
],[
|
||||||
},
|
"text",
|
||||||
{
|
|
||||||
"state": "text",
|
|
||||||
"data": [
|
|
||||||
["comment","// one line comment"]
|
["comment","// one line comment"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start"
|
||||||
"data": []
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"text",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "text",
|
|
||||||
"data": [
|
|
||||||
["text","[red]"],
|
["text","[red]"],
|
||||||
["keyword","#"],
|
["keyword","#"],
|
||||||
["text","red text"],
|
["text","red text"],
|
||||||
|
|
@ -648,32 +375,21 @@
|
||||||
["keyword","#"],
|
["keyword","#"],
|
||||||
["text","on yellow"],
|
["text","on yellow"],
|
||||||
["keyword","#"]
|
["keyword","#"]
|
||||||
]
|
],[
|
||||||
},
|
"text",
|
||||||
{
|
|
||||||
"state": "text",
|
|
||||||
"data": [
|
|
||||||
["text","[big]"],
|
["text","[big]"],
|
||||||
["keyword","#"],
|
["keyword","#"],
|
||||||
["text","large"],
|
["text","large"],
|
||||||
["keyword","#"],
|
["keyword","#"],
|
||||||
["text"," [red yellow-background big]"],
|
["text"," [red yellow-background big]"],
|
||||||
["keyword.bold","*all bold*"]
|
["keyword.bold","*all bold*"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text","\t"]
|
["text","\t"]
|
||||||
]
|
],[
|
||||||
},
|
"text",
|
||||||
{
|
|
||||||
"state": "text",
|
|
||||||
"data": [
|
|
||||||
["markup.underline.list","https://site"],
|
["markup.underline.list","https://site"],
|
||||||
["text"," text <"],
|
["text"," text <"],
|
||||||
["markup.underline.list","mail@i.am"],
|
["markup.underline.list","mail@i.am"],
|
||||||
|
|
@ -682,48 +398,25 @@
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["link","http://ace.ajaxorg.com"],
|
["link","http://ace.ajaxorg.com"],
|
||||||
["variable.language","[awesome]"]
|
["variable.language","[awesome]"]
|
||||||
]
|
],[
|
||||||
},
|
"text",
|
||||||
{
|
|
||||||
"state": "text",
|
|
||||||
"data": [
|
|
||||||
["text"," .still normal text"]
|
["text"," .still normal text"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["constant.numeric",".break out thoug should not"]
|
["constant.numeric",".break out thoug should not"]
|
||||||
]
|
],[
|
||||||
},
|
"literalBlock",
|
||||||
{
|
|
||||||
"state": "literalBlock",
|
|
||||||
"data": [
|
|
||||||
["support.function","---------------------------"]
|
["support.function","---------------------------"]
|
||||||
]
|
],[
|
||||||
},
|
"literalBlock",
|
||||||
{
|
|
||||||
"state": "literalBlock",
|
|
||||||
"data": [
|
|
||||||
["support.function","///////////////////////////"]
|
["support.function","///////////////////////////"]
|
||||||
]
|
],[
|
||||||
},
|
"dissallowDelimitedBlock",
|
||||||
{
|
|
||||||
"state": "dissallowDelimitedBlock",
|
|
||||||
"data": [
|
|
||||||
["support.function","---------------------------"]
|
["support.function","---------------------------"]
|
||||||
]
|
],[
|
||||||
},
|
"text"
|
||||||
{
|
],[
|
||||||
"state": "text",
|
"start"
|
||||||
"data": []
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
]]
|
||||||
"state": "start",
|
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": []
|
|
||||||
}
|
|
||||||
]
|
|
||||||
|
|
@ -1,160 +1,89 @@
|
||||||
[
|
[[
|
||||||
{
|
"start",
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text","Searching for 'var' in /workspace/configs"]
|
["text","Searching for 'var' in /workspace/configs"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["string","configs/default.js"],
|
["string","configs/default.js"],
|
||||||
["text",":"]
|
["text",":"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["c9searchresults.constant.numeric"," 1"],
|
["c9searchresults.constant.numeric"," 1"],
|
||||||
["c9searchresults.text",": var fs = require(\"fs\");"]
|
["c9searchresults.text",": var fs = require(\"fs\");"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["c9searchresults.constant.numeric","\t2"],
|
["c9searchresults.constant.numeric","\t2"],
|
||||||
["c9searchresults.text",": var argv = require('optimist').argv;"]
|
["c9searchresults.text",": var argv = require('optimist').argv;"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["c9searchresults.constant.numeric","\t3"],
|
["c9searchresults.constant.numeric","\t3"],
|
||||||
["c9searchresults.text",": var path = require(\"path\");"]
|
["c9searchresults.text",": var path = require(\"path\");"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["c9searchresults.constant.numeric","\t5"],
|
["c9searchresults.constant.numeric","\t5"],
|
||||||
["c9searchresults.text",": var clientExtensions = {};"]
|
["c9searchresults.text",": var clientExtensions = {};"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["c9searchresults.constant.numeric","\t6"],
|
["c9searchresults.constant.numeric","\t6"],
|
||||||
["c9searchresults.text",": var clientDirs = fs.readdirSync(__dirname + \"/../plugins-client\");"]
|
["c9searchresults.text",": var clientDirs = fs.readdirSync(__dirname + \"/../plugins-client\");"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["c9searchresults.constant.numeric","\t7"],
|
["c9searchresults.constant.numeric","\t7"],
|
||||||
["c9searchresults.text",": for (var i = 0; i < clientDirs.length; i++) {"]
|
["c9searchresults.text",": for (var i = 0; i < clientDirs.length; i++) {"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["c9searchresults.constant.numeric","\t8"],
|
["c9searchresults.constant.numeric","\t8"],
|
||||||
["c9searchresults.text",": var dir = clientDirs[i];"]
|
["c9searchresults.text",": var dir = clientDirs[i];"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["c9searchresults.constant.numeric","\t12"],
|
["c9searchresults.constant.numeric","\t12"],
|
||||||
["c9searchresults.text",": var name = dir.split(\".\")[1];"]
|
["c9searchresults.text",": var name = dir.split(\".\")[1];"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["c9searchresults.constant.numeric","\t16"],
|
["c9searchresults.constant.numeric","\t16"],
|
||||||
["c9searchresults.text",": var projectDir = (argv.w && path.resolve(process.cwd(), argv.w)) || process.cwd();"]
|
["c9searchresults.text",": var projectDir = (argv.w && path.resolve(process.cwd(), argv.w)) || process.cwd();"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["c9searchresults.constant.numeric","\t17"],
|
["c9searchresults.constant.numeric","\t17"],
|
||||||
["c9searchresults.text",": var fsUrl = \"/workspace\";"]
|
["c9searchresults.text",": var fsUrl = \"/workspace\";"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["c9searchresults.constant.numeric","\t19"],
|
["c9searchresults.constant.numeric","\t19"],
|
||||||
["c9searchresults.text",": var port = argv.p || process.env.PORT || 3131;"]
|
["c9searchresults.text",": var port = argv.p || process.env.PORT || 3131;"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["c9searchresults.constant.numeric","\t20"],
|
["c9searchresults.constant.numeric","\t20"],
|
||||||
["c9searchresults.text",": var host = argv.l || \"localhost\";"]
|
["c9searchresults.text",": var host = argv.l || \"localhost\";"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["c9searchresults.constant.numeric","\t22"],
|
["c9searchresults.constant.numeric","\t22"],
|
||||||
["c9searchresults.text",": var config = {"]
|
["c9searchresults.text",": var config = {"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["string","configs/local.js"],
|
["string","configs/local.js"],
|
||||||
["text",":"]
|
["text",":"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["c9searchresults.constant.numeric","\t2"],
|
["c9searchresults.constant.numeric","\t2"],
|
||||||
["c9searchresults.text",": var config = require(\"./default\");"]
|
["c9searchresults.text",": var config = require(\"./default\");"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["string","configs/packed.js"],
|
["string","configs/packed.js"],
|
||||||
["text",":"]
|
["text",":"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["c9searchresults.constant.numeric","\t1"],
|
["c9searchresults.constant.numeric","\t1"],
|
||||||
["c9searchresults.text",": var config = require(\"./default\");"]
|
["c9searchresults.text",": var config = require(\"./default\");"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start"
|
||||||
"data": []
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text","Found 15 matches in 3 files"]
|
["text","Found 15 matches in 3 files"]
|
||||||
]
|
]]
|
||||||
}
|
|
||||||
]
|
|
||||||
|
|
@ -1,141 +1,80 @@
|
||||||
[
|
[[
|
||||||
{
|
"start",
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["comment","// compound assignment operators"]
|
["comment","// compound assignment operators"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","#include"],
|
["keyword","#include"],
|
||||||
["constant.other"," <iostream>"]
|
["constant.other"," <iostream>"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"directive",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "directive",
|
|
||||||
"data": [
|
|
||||||
["keyword","#include"],
|
["keyword","#include"],
|
||||||
["constant.other.multiline"," \\"]
|
["constant.other.multiline"," \\"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["constant.other"," <iostream>"]
|
["constant.other"," <iostream>"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"directive",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "directive",
|
|
||||||
"data": [
|
|
||||||
["keyword","#include"],
|
["keyword","#include"],
|
||||||
["constant.other.multiline"," \\"]
|
["constant.other.multiline"," \\"]
|
||||||
]
|
],[
|
||||||
},
|
"directive",
|
||||||
{
|
|
||||||
"state": "directive",
|
|
||||||
"data": [
|
|
||||||
["constant.other.multiline"," \\"]
|
["constant.other.multiline"," \\"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["constant.other"," <iostream>"]
|
["constant.other"," <iostream>"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"directive",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "directive",
|
|
||||||
"data": [
|
|
||||||
["keyword","#include"],
|
["keyword","#include"],
|
||||||
["constant.other.multiline"," \\"]
|
["constant.other.multiline"," \\"]
|
||||||
]
|
],[
|
||||||
},
|
"directive",
|
||||||
{
|
|
||||||
"state": "directive",
|
|
||||||
"data": [
|
|
||||||
["constant.other.multiline"," \\"]
|
["constant.other.multiline"," \\"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["constant.other"," \"iostream\""]
|
["constant.other"," \"iostream\""]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","#include"],
|
["keyword","#include"],
|
||||||
["constant.other"," <boost/asio/io_service.hpp>"]
|
["constant.other"," <boost/asio/io_service.hpp>"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","#include"],
|
["keyword","#include"],
|
||||||
["constant.other"," \"boost/asio/io_service.hpp\""]
|
["constant.other"," \"boost/asio/io_service.hpp\""]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword.control","using"],
|
["keyword.control","using"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword.operator","namespace"],
|
["keyword.operator","namespace"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","std"],
|
["identifier","std"],
|
||||||
["punctuation.operator",";"]
|
["punctuation.operator",";"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["storage.type","int"],
|
["storage.type","int"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","main"],
|
["identifier","main"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.lparen","("],
|
["paren.lparen","("],
|
||||||
["paren.rparen",")"]
|
["paren.rparen",")"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["paren.lparen","{"]
|
["paren.lparen","{"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["storage.type","int"],
|
["storage.type","int"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -148,11 +87,8 @@
|
||||||
["punctuation.operator",";"],
|
["punctuation.operator",";"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["comment","/* foobar */"]
|
["comment","/* foobar */"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","a"],
|
["identifier","a"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -160,11 +96,8 @@
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","b"],
|
["identifier","b"],
|
||||||
["punctuation.operator",";"]
|
["punctuation.operator",";"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","a"],
|
["identifier","a"],
|
||||||
["keyword.operator","+="],
|
["keyword.operator","+="],
|
||||||
|
|
@ -172,11 +105,8 @@
|
||||||
["punctuation.operator",";"],
|
["punctuation.operator",";"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["comment","// equivalent to a=a+2"]
|
["comment","// equivalent to a=a+2"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","cout"],
|
["identifier","cout"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -184,90 +114,53 @@
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","a"],
|
["identifier","a"],
|
||||||
["punctuation.operator",";"]
|
["punctuation.operator",";"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","#if"],
|
["keyword","#if"],
|
||||||
["constant.other"," VERBOSE >= 2"]
|
["constant.other"," VERBOSE >= 2"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","prints"],
|
["identifier","prints"],
|
||||||
["paren.lparen","("],
|
["paren.lparen","("],
|
||||||
["string","\"trace message\""],
|
["string","\"trace message\""],
|
||||||
["paren.rparen",")"],
|
["paren.rparen",")"],
|
||||||
["punctuation.operator",";"]
|
["punctuation.operator",";"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","#endif"]
|
["keyword","#endif"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword.control","return"],
|
["keyword.control","return"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["constant.numeric","0"],
|
["constant.numeric","0"],
|
||||||
["punctuation.operator",";"]
|
["punctuation.operator",";"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["paren.rparen","}"]
|
["paren.rparen","}"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["comment","/* Print an error message and get out */"]
|
["comment","/* Print an error message and get out */"]
|
||||||
]
|
],[
|
||||||
},
|
"directive",
|
||||||
{
|
|
||||||
"state": "directive",
|
|
||||||
"data": [
|
|
||||||
["keyword","#define"],
|
["keyword","#define"],
|
||||||
["constant.other.multiline"," ABORT \\"]
|
["constant.other.multiline"," ABORT \\"]
|
||||||
]
|
],[
|
||||||
},
|
"directive",
|
||||||
{
|
|
||||||
"state": "directive",
|
|
||||||
"data": [
|
|
||||||
["constant.other.multiline"," do { \\"]
|
["constant.other.multiline"," do { \\"]
|
||||||
]
|
],[
|
||||||
},
|
"directive",
|
||||||
{
|
|
||||||
"state": "directive",
|
|
||||||
"data": [
|
|
||||||
["constant.other.multiline"," print( \"Abort\\n\" ); \\"]
|
["constant.other.multiline"," print( \"Abort\\n\" ); \\"]
|
||||||
]
|
],[
|
||||||
},
|
"directive",
|
||||||
{
|
|
||||||
"state": "directive",
|
|
||||||
"data": [
|
|
||||||
["constant.other.multiline"," exit(8); \\"]
|
["constant.other.multiline"," exit(8); \\"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["constant.other","} while (0) "],
|
["constant.other","} while (0) "],
|
||||||
["comment","/* Note: No semicolon */"]
|
["comment","/* Note: No semicolon */"]
|
||||||
]
|
]]
|
||||||
}
|
|
||||||
]
|
|
||||||
|
|
@ -1,23 +1,15 @@
|
||||||
[
|
[[
|
||||||
{
|
"start",
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","("],
|
["keyword","("],
|
||||||
["support.function","defn"],
|
["support.function","defn"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","parting"]
|
["identifier","parting"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["string","\"returns a String parting in a given language\""]
|
["string","\"returns a String parting in a given language\""]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","([]"],
|
["keyword","([]"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -26,11 +18,8 @@
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["string","\"World\""],
|
["string","\"World\""],
|
||||||
["keyword","))"]
|
["keyword","))"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","(["],
|
["keyword","(["],
|
||||||
["support.function","name"],
|
["support.function","name"],
|
||||||
|
|
@ -43,50 +32,32 @@
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["string","\"en\""],
|
["string","\"en\""],
|
||||||
["keyword","))"]
|
["keyword","))"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","(["],
|
["keyword","(["],
|
||||||
["support.function","name"],
|
["support.function","name"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","language"],
|
["identifier","language"],
|
||||||
["keyword","]"]
|
["keyword","]"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["comment","; condp is similar to a case statement in other languages."]
|
["comment","; condp is similar to a case statement in other languages."]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["comment","; It is described in more detail later."]
|
["comment","; It is described in more detail later."]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["comment","; It is used here to take different actions based on whether the"]
|
["comment","; It is used here to take different actions based on whether the"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["comment","; parameter \"language\" is set to \"en\", \"es\" or something else."]
|
["comment","; parameter \"language\" is set to \"en\", \"es\" or something else."]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","("],
|
["keyword","("],
|
||||||
["support.function","condp"],
|
["support.function","condp"],
|
||||||
|
|
@ -94,11 +65,8 @@
|
||||||
["constant.language","="],
|
["constant.language","="],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","language"]
|
["identifier","language"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["string","\"en\""],
|
["string","\"en\""],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -109,11 +77,8 @@
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["support.function","name"],
|
["support.function","name"],
|
||||||
["keyword",")"]
|
["keyword",")"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["string","\"es\""],
|
["string","\"es\""],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -124,22 +89,16 @@
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["support.function","name"],
|
["support.function","name"],
|
||||||
["keyword",")"]
|
["keyword",")"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","(throw"],
|
["keyword","(throw"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","("],
|
["keyword","("],
|
||||||
["identifier","IllegalArgumentException"],
|
["identifier","IllegalArgumentException"],
|
||||||
["text","."]
|
["text","."]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","("],
|
["keyword","("],
|
||||||
["support.function","str"],
|
["support.function","str"],
|
||||||
|
|
@ -148,15 +107,10 @@
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","language"],
|
["identifier","language"],
|
||||||
["keyword","))))))"]
|
["keyword","))))))"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","("],
|
["keyword","("],
|
||||||
["support.function","println"],
|
["support.function","println"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -165,11 +119,8 @@
|
||||||
["keyword","))"],
|
["keyword","))"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["comment","; -> Goodbye, World"]
|
["comment","; -> Goodbye, World"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","("],
|
["keyword","("],
|
||||||
["support.function","println"],
|
["support.function","println"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -180,11 +131,8 @@
|
||||||
["keyword","))"],
|
["keyword","))"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["comment","; -> Goodbye, Mark"]
|
["comment","; -> Goodbye, Mark"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","("],
|
["keyword","("],
|
||||||
["support.function","println"],
|
["support.function","println"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -197,11 +145,8 @@
|
||||||
["keyword","))"],
|
["keyword","))"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["comment","; -> Adios, Mark"]
|
["comment","; -> Adios, Mark"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","("],
|
["keyword","("],
|
||||||
["support.function","println"],
|
["support.function","println"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -214,6 +159,4 @@
|
||||||
["keyword","))"],
|
["keyword","))"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["comment","; -> java.lang.IllegalArgumentException: unsupported language xy"]
|
["comment","; -> java.lang.IllegalArgumentException: unsupported language xy"]
|
||||||
]
|
]]
|
||||||
}
|
|
||||||
]
|
|
||||||
|
|
@ -1,131 +1,452 @@
|
||||||
[
|
[[
|
||||||
{
|
"start",
|
||||||
"state": "start",
|
["comment","#test: tokenize keyword"]
|
||||||
"data": [
|
],[
|
||||||
[ "comment", "#!/usr/bin/env coffee" ]
|
"start",
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
[ "keyword", "try" ]
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
[ "keyword", "throw" ],
|
["keyword","for"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
[ "language.support.class", "URIError" ],
|
|
||||||
[ "text", " " ],
|
|
||||||
[ "language.support.function", "decodeURI" ],
|
|
||||||
["paren.lparen","("],
|
["paren.lparen","("],
|
||||||
[ "constant.numeric", "0xC0ffee" ],
|
["identifier","i"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
[ "keyword.operator", "*" ],
|
["constant.numeric","1"],
|
||||||
[ "text", " " ],
|
|
||||||
[ "constant.numeric", "123456.7e-8" ],
|
|
||||||
[ "text", " " ],
|
|
||||||
[ "keyword.operator", "/" ],
|
|
||||||
[ "text", " " ],
|
|
||||||
[ "constant.numeric", ".9" ],
|
|
||||||
[ "paren.rparen", ")" ]
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
[ "keyword", "catch" ],
|
|
||||||
[ "text", " " ],
|
|
||||||
[ "identifier", "e" ]
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "qdoc",
|
|
||||||
"data": [
|
|
||||||
[ "text", " " ],
|
|
||||||
[ "identifier", "console" ],
|
|
||||||
["punctuation.operator","."],
|
["punctuation.operator","."],
|
||||||
[ "identifier", "log" ],
|
["constant.numeric",".2"],
|
||||||
|
["paren.rparen",")"]
|
||||||
|
],[
|
||||||
|
"start",
|
||||||
|
["comment","#test: tokenize regexp"]
|
||||||
|
],[
|
||||||
|
"start",
|
||||||
|
["string.regex","/\"[a]/"]
|
||||||
|
],[
|
||||||
|
"start",
|
||||||
|
["comment","#test: tokenize functions"]
|
||||||
|
],[
|
||||||
|
"start",
|
||||||
|
["entity.name.function","foo"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
[ "string", "'qstring'" ],
|
["keyword.operator","="],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
[ "keyword.operator", "+" ],
|
["paren.lparen","({"],
|
||||||
|
["variable.parameter","args"],
|
||||||
|
["paren.rparen","})"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
[ "string", "\"qqstring\"" ],
|
["storage.type","->"]
|
||||||
|
],[
|
||||||
|
"start",
|
||||||
["text"," "],
|
["text"," "],
|
||||||
[ "keyword.operator", "+" ],
|
["entity.name.function","foo"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
[ "string", "'''" ]
|
["keyword.operator","="],
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "qdoc",
|
|
||||||
"data": [
|
|
||||||
[ "string", " qdoc" ]
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "qqdoc",
|
|
||||||
"data": [
|
|
||||||
[ "string", " '''" ],
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
[ "keyword.operator", "+" ],
|
["paren.lparen","({"],
|
||||||
|
["variable.parameter","a1, a2"],
|
||||||
|
["paren.rparen","})"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
["storage.type","->"]
|
||||||
|
],[
|
||||||
|
"start",
|
||||||
|
["text"," "],
|
||||||
|
["entity.name.function","foo"],
|
||||||
|
["text"," "],
|
||||||
|
["keyword.operator","="],
|
||||||
|
["text"," "],
|
||||||
|
["paren.lparen","({"],
|
||||||
|
["variable.parameter","@a1, a2"],
|
||||||
|
["paren.rparen","})"],
|
||||||
|
["text"," "],
|
||||||
|
["storage.type","->"]
|
||||||
|
],[
|
||||||
|
"start",
|
||||||
|
["text"," "],
|
||||||
|
["entity.name.function","foo"],
|
||||||
|
["text"," "],
|
||||||
|
["punctuation.operator",":"],
|
||||||
|
["text"," "],
|
||||||
|
["paren.lparen","({"],
|
||||||
|
["variable.parameter","args"],
|
||||||
|
["paren.rparen","})"],
|
||||||
|
["text"," "],
|
||||||
|
["storage.type","->"]
|
||||||
|
],[
|
||||||
|
"start",
|
||||||
|
["text"," "],
|
||||||
|
["entity.name.function","foo"],
|
||||||
|
["text"," "],
|
||||||
|
["keyword.operator","="],
|
||||||
|
["text"," "],
|
||||||
|
["paren.lparen","({"],
|
||||||
|
["variable.parameter","args"],
|
||||||
|
["paren.rparen","})"],
|
||||||
|
["text"," "],
|
||||||
|
["storage.type","->"]
|
||||||
|
],[
|
||||||
|
"start",
|
||||||
|
["text"," "],
|
||||||
|
["identifier","foo"],
|
||||||
|
["text"," "],
|
||||||
|
["keyword.operator","="],
|
||||||
|
["text"," "],
|
||||||
|
["paren.lparen","({"],
|
||||||
|
["constant.numeric","0"],
|
||||||
|
["identifier","abc"],
|
||||||
|
["paren.rparen","})"],
|
||||||
|
["text"," "],
|
||||||
|
["storage.type","->"]
|
||||||
|
],[
|
||||||
|
"start",
|
||||||
|
["text"," "],
|
||||||
|
["identifier","foo"],
|
||||||
|
["text"," "],
|
||||||
|
["keyword.operator","="],
|
||||||
|
["text"," "],
|
||||||
|
["paren.lparen","({"],
|
||||||
|
["keyword.operator","/"],
|
||||||
|
["identifier","abc"],
|
||||||
|
["paren.rparen","})"],
|
||||||
|
["text"," "],
|
||||||
|
["storage.type","=>"]
|
||||||
|
],[
|
||||||
|
"start",
|
||||||
|
["text"," "],
|
||||||
|
["identifier","foo"],
|
||||||
|
["text"," "],
|
||||||
|
["keyword.operator","="],
|
||||||
|
["text"," "],
|
||||||
|
["paren.lparen","({"],
|
||||||
|
["identifier","abc"],
|
||||||
|
["keyword.operator","/"],
|
||||||
|
["paren.rparen","})"],
|
||||||
|
["text"," "],
|
||||||
|
["storage.type","->"]
|
||||||
|
],[
|
||||||
|
"start",
|
||||||
|
["text"," "],
|
||||||
|
["identifier","foo"],
|
||||||
|
["text"," "],
|
||||||
|
["keyword.operator","="],
|
||||||
|
["text"," "],
|
||||||
|
["paren.lparen","({"],
|
||||||
|
["comment","#abc}) ->"]
|
||||||
|
],[
|
||||||
|
"start",
|
||||||
|
["text"," "],
|
||||||
|
["identifier","foo"],
|
||||||
|
["text"," "],
|
||||||
|
["keyword.operator","="],
|
||||||
|
["text"," "],
|
||||||
|
["paren.lparen","({"],
|
||||||
|
["identifier","abc"],
|
||||||
|
["comment","#}) ->"]
|
||||||
|
],[
|
||||||
|
"start",
|
||||||
|
["text"," "],
|
||||||
|
["identifier","foo"],
|
||||||
|
["text"," "],
|
||||||
|
["keyword.operator","="],
|
||||||
|
["text"," "],
|
||||||
|
["paren.lparen","({"],
|
||||||
|
["paren.rparen",")"],
|
||||||
|
["identifier","abc"],
|
||||||
|
["paren.rparen","})"],
|
||||||
|
["text"," "],
|
||||||
|
["storage.type","->"]
|
||||||
|
],[
|
||||||
|
"start",
|
||||||
|
["text"," "],
|
||||||
|
["identifier","foo"],
|
||||||
|
["text"," "],
|
||||||
|
["keyword.operator","="],
|
||||||
|
["text"," "],
|
||||||
|
["paren.lparen","({"],
|
||||||
|
["identifier","abc"],
|
||||||
|
["paren.rparen",")})"],
|
||||||
|
["text"," "],
|
||||||
|
["storage.type","->"]
|
||||||
|
],[
|
||||||
|
"start",
|
||||||
|
["text"," "],
|
||||||
|
["identifier","foo"],
|
||||||
|
["text"," "],
|
||||||
|
["keyword.operator","="],
|
||||||
|
["text"," "],
|
||||||
|
["paren.lparen","({"],
|
||||||
|
["identifier","a"],
|
||||||
|
["paren.lparen","{"],
|
||||||
|
["identifier","bc"],
|
||||||
|
["paren.rparen","})"],
|
||||||
|
["text"," "],
|
||||||
|
["storage.type","->"]
|
||||||
|
],[
|
||||||
|
"start",
|
||||||
|
["text"," "],
|
||||||
|
["entity.name.function","foo"],
|
||||||
|
["text"," "],
|
||||||
|
["keyword.operator","="],
|
||||||
|
["text"," "],
|
||||||
|
["paren.lparen","({"],
|
||||||
|
["paren.rparen","})"],
|
||||||
|
["text"," "],
|
||||||
|
["storage.type","->"]
|
||||||
|
],[
|
||||||
|
"start",
|
||||||
|
["text"," "],
|
||||||
|
["entity.name.function","foo"],
|
||||||
|
["text"," "],
|
||||||
|
["keyword.operator","="],
|
||||||
|
["text"," "],
|
||||||
|
["paren.lparen","({"],
|
||||||
|
["text"," "],
|
||||||
|
["paren.rparen","})"],
|
||||||
|
["text"," "],
|
||||||
|
["storage.type","->"]
|
||||||
|
],[
|
||||||
|
"start",
|
||||||
|
["text"," "],
|
||||||
|
["entity.name.function","foo"],
|
||||||
|
["text"," "],
|
||||||
|
["punctuation.operator",":"],
|
||||||
|
["text"," "],
|
||||||
|
["paren.lparen","({"],
|
||||||
|
["paren.rparen","})"],
|
||||||
|
["text"," "],
|
||||||
|
["storage.type","->"]
|
||||||
|
],[
|
||||||
|
"start",
|
||||||
|
["text"," "],
|
||||||
|
["entity.name.function","foo"],
|
||||||
|
["text"," "],
|
||||||
|
["keyword.operator","="],
|
||||||
|
["text"," "],
|
||||||
|
["paren.lparen","("],
|
||||||
|
["variable.parameter","args"],
|
||||||
|
["paren.rparen",")"],
|
||||||
|
["text"," "],
|
||||||
|
["storage.type","->"]
|
||||||
|
],[
|
||||||
|
"start",
|
||||||
|
["text"," "],
|
||||||
|
["entity.name.function","foo"],
|
||||||
|
["text"," "],
|
||||||
|
["keyword.operator","="],
|
||||||
|
["text"," "],
|
||||||
|
["paren.lparen","("],
|
||||||
|
["variable.parameter","arg1, arg2"],
|
||||||
|
["paren.rparen",")"],
|
||||||
|
["text"," "],
|
||||||
|
["storage.type","->"]
|
||||||
|
],[
|
||||||
|
"start",
|
||||||
|
["text"," "],
|
||||||
|
["entity.name.function","foo"],
|
||||||
|
["text"," "],
|
||||||
|
["keyword.operator","="],
|
||||||
|
["text"," "],
|
||||||
|
["paren.lparen","("],
|
||||||
|
["variable.parameter","arg1 = 1, arg2 = 'name'"],
|
||||||
|
["paren.rparen",")"],
|
||||||
|
["text"," "],
|
||||||
|
["storage.type","->"]
|
||||||
|
],[
|
||||||
|
"start",
|
||||||
|
["text"," "],
|
||||||
|
["entity.name.function","foo"],
|
||||||
|
["text"," "],
|
||||||
|
["keyword.operator","="],
|
||||||
|
["text"," "],
|
||||||
|
["paren.lparen","("],
|
||||||
|
["variable.parameter","@arg1 = /abc/, arg2 = 'name'"],
|
||||||
|
["paren.rparen",")"],
|
||||||
|
["text"," "],
|
||||||
|
["storage.type","->"]
|
||||||
|
],[
|
||||||
|
"start",
|
||||||
|
["text"," "],
|
||||||
|
["comment","#test: tokenize function: invalid case:"]
|
||||||
|
],[
|
||||||
|
"start",
|
||||||
|
["text"," "],
|
||||||
|
["identifier","foo"],
|
||||||
|
["keyword.operator","="],
|
||||||
|
["paren.lparen","("],
|
||||||
|
["keyword.operator","/"],
|
||||||
|
["identifier","args"],
|
||||||
|
["paren.rparen",")"],
|
||||||
|
["text"," "],
|
||||||
|
["storage.type","->"]
|
||||||
|
],[
|
||||||
|
"start",
|
||||||
|
["text"," "],
|
||||||
|
["entity.name.function","foo"],
|
||||||
|
["text"," "],
|
||||||
|
["keyword.operator","="],
|
||||||
|
["text"," "],
|
||||||
|
["paren.lparen","("],
|
||||||
|
["paren.rparen",")"],
|
||||||
|
["text"," "],
|
||||||
|
["storage.type","->"]
|
||||||
|
],[
|
||||||
|
"start",
|
||||||
|
["text"," "],
|
||||||
|
["entity.name.function","foo"],
|
||||||
|
["text"," "],
|
||||||
|
["keyword.operator","="],
|
||||||
|
["text"," "],
|
||||||
|
["paren.lparen","("],
|
||||||
|
["text"," "],
|
||||||
|
["paren.rparen",")"],
|
||||||
|
["text"," "],
|
||||||
|
["storage.type","->"]
|
||||||
|
],[
|
||||||
|
"start",
|
||||||
|
["text"," "],
|
||||||
|
["entity.name.function","foo"],
|
||||||
|
["text"," "],
|
||||||
|
["punctuation.operator",":"],
|
||||||
|
["text"," "],
|
||||||
|
["paren.lparen","("],
|
||||||
|
["text"," "],
|
||||||
|
["paren.rparen",")"],
|
||||||
|
["text"," "],
|
||||||
|
["storage.type","->"]
|
||||||
|
],[
|
||||||
|
"start",
|
||||||
|
["text"," "],
|
||||||
|
["variable.language","window"],
|
||||||
|
["punctuation.operator","."],
|
||||||
|
["entity.name.function","foo"],
|
||||||
|
["text"," "],
|
||||||
|
["keyword.operator","="],
|
||||||
|
["text"," "],
|
||||||
|
["paren.lparen","("],
|
||||||
|
["variable.parameter","args"],
|
||||||
|
["paren.rparen",")"],
|
||||||
|
["text"," "],
|
||||||
|
["storage.type","->"]
|
||||||
|
],[
|
||||||
|
"start",
|
||||||
|
["text"," "],
|
||||||
|
["entity.name.function","foo"],
|
||||||
|
["text"," "],
|
||||||
|
["keyword.operator","="],
|
||||||
|
["text"," "],
|
||||||
|
["storage.type","->"]
|
||||||
|
],[
|
||||||
|
"start",
|
||||||
|
["text"," "],
|
||||||
|
["entity.name.function","foo"],
|
||||||
|
["text"," "],
|
||||||
|
["keyword.operator","="],
|
||||||
|
["text"," "],
|
||||||
|
["storage.type","->"]
|
||||||
|
],[
|
||||||
|
"start",
|
||||||
|
["text"," "],
|
||||||
|
["entity.name.function","foo"],
|
||||||
|
["text"," "],
|
||||||
|
["punctuation.operator",":"],
|
||||||
|
["text"," "],
|
||||||
|
["storage.type","->"]
|
||||||
|
],[
|
||||||
|
"start",
|
||||||
|
["text"," "],
|
||||||
|
["comment","#test: tokenize callback function"]
|
||||||
|
],[
|
||||||
|
"start",
|
||||||
|
["text"," "],
|
||||||
|
["identifier","foo"],
|
||||||
|
["text"," "],
|
||||||
|
["identifier","bar"],
|
||||||
|
["punctuation.operator",":"],
|
||||||
|
["text"," "],
|
||||||
|
["constant.numeric","1"],
|
||||||
|
["punctuation.operator",","],
|
||||||
|
["text"," "],
|
||||||
|
["paren.lparen","("],
|
||||||
|
["variable.parameter","args"],
|
||||||
|
["paren.rparen",")"],
|
||||||
|
["text"," "],
|
||||||
|
["storage.type","->"]
|
||||||
|
],[
|
||||||
|
"start",
|
||||||
|
["text"," "],
|
||||||
|
["identifier","foo"],
|
||||||
|
["text"," "],
|
||||||
|
["keyword.operator","="],
|
||||||
|
["text"," "],
|
||||||
|
["paren.lparen","("],
|
||||||
|
["constant.numeric","1"],
|
||||||
|
["punctuation.operator",","],
|
||||||
|
["text"," "],
|
||||||
|
["constant.numeric","2"],
|
||||||
|
["text"," "],
|
||||||
|
["paren.lparen","("],
|
||||||
|
["variable.parameter","x"],
|
||||||
|
["paren.rparen",")"],
|
||||||
|
["text"," "],
|
||||||
|
["storage.type","->"]
|
||||||
|
],[
|
||||||
|
"start",
|
||||||
|
["comment","#test: tokenize class"]
|
||||||
|
],[
|
||||||
|
"start",
|
||||||
|
["keyword","class"],
|
||||||
|
["text"," "],
|
||||||
|
["language.support.class","Foo"]
|
||||||
|
],[
|
||||||
|
"start",
|
||||||
|
["keyword","class"],
|
||||||
|
["text"," "],
|
||||||
|
["language.support.class","Foo"],
|
||||||
|
["text"," "],
|
||||||
|
["keyword","extends"],
|
||||||
|
["text"," "],
|
||||||
|
["language.support.class","Bar"]
|
||||||
|
],[
|
||||||
|
"start",
|
||||||
|
["comment","#test: tokenize illegal name property"]
|
||||||
|
],[
|
||||||
|
"start",
|
||||||
|
["identifier","foo"],
|
||||||
|
["punctuation.operator","."],
|
||||||
|
["identifier","static"],
|
||||||
|
["punctuation.operator","."],
|
||||||
|
["identifier","function"]
|
||||||
|
],[
|
||||||
|
"start",
|
||||||
|
["comment","#!test tokenize string with interpolation"]
|
||||||
|
],[
|
||||||
|
"start",
|
||||||
|
["identifier","a"],
|
||||||
|
["text"," "],
|
||||||
|
["keyword.operator","="],
|
||||||
|
["text"," "],
|
||||||
|
["string","\"#{ 22 / 7 + {x: \""],
|
||||||
|
["comment","#{a + b}\"} + 2}\""]
|
||||||
|
],[
|
||||||
|
"qqdoc",
|
||||||
|
["string","\"\"\"heredoc"]
|
||||||
|
],[
|
||||||
|
"start",
|
||||||
["string"," \"\"\""]
|
["string"," \"\"\""]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "qqdoc",
|
|
||||||
"data": [
|
|
||||||
[ "string", " qqdoc" ]
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
[ "string", " \"\"\"" ]
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","do"],
|
["keyword","do"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["storage.type","->"]
|
["storage.type","->"]
|
||||||
]
|
],[
|
||||||
},
|
"comment",
|
||||||
{
|
|
||||||
"state": "comment",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["comment","###"]
|
["comment","###"]
|
||||||
]
|
],[
|
||||||
},
|
"comment",
|
||||||
{
|
|
||||||
"state": "comment",
|
|
||||||
"data": [
|
|
||||||
["comment"," herecomment"]
|
["comment"," herecomment"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["comment"," ###"]
|
["comment"," ###"]
|
||||||
]
|
],[
|
||||||
},
|
"heregex",
|
||||||
{
|
|
||||||
"state": "heregex",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","re"],
|
["identifier","re"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -136,25 +457,16 @@
|
||||||
["identifier","test"],
|
["identifier","test"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["string.regex","///"]
|
["string.regex","///"]
|
||||||
]
|
],[
|
||||||
},
|
"heregex",
|
||||||
{
|
|
||||||
"state": "heregex",
|
|
||||||
"data": [
|
|
||||||
["comment.regex"," "],
|
["comment.regex"," "],
|
||||||
["string.regex","heregex"],
|
["string.regex","heregex"],
|
||||||
["comment.regex"," # comment"]
|
["comment.regex"," # comment"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["string.regex"," ///imgy"]
|
["string.regex"," ///imgy"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","this"],
|
["keyword","this"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -162,29 +474,10 @@
|
||||||
["punctuation.operator",":"],
|
["punctuation.operator",":"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["string","`just JavaScript`"]
|
["string","`just JavaScript`"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["constant.language","undefined"]
|
["constant.language","undefined"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
]]
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
[ "text", " " ]
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
[ "identifier", "sentence" ],
|
|
||||||
[ "text", " " ],
|
|
||||||
[ "keyword.operator", "=" ],
|
|
||||||
[ "text", " " ],
|
|
||||||
[ "string", "\"#{ 22 / 7 } is a decent approximation of π\"" ]
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
|
|
@ -1,17 +1,10 @@
|
||||||
[
|
[[
|
||||||
{
|
"start",
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["comment","<!--- hello world --->"]
|
["comment","<!--- hello world --->"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["meta.tag","<"],
|
["meta.tag","<"],
|
||||||
["meta.tag.tag-name","cfset"],
|
["meta.tag.tag-name","cfset"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -19,15 +12,10 @@
|
||||||
["keyword.operator","="],
|
["keyword.operator","="],
|
||||||
["string","\"Hello World!\""],
|
["string","\"Hello World!\""],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["meta.tag","<"],
|
["meta.tag","<"],
|
||||||
["meta.tag.tag-name","cfoutput"],
|
["meta.tag.tag-name","cfoutput"],
|
||||||
["meta.tag.r",">"],
|
["meta.tag.r",">"],
|
||||||
|
|
@ -35,6 +23,4 @@
|
||||||
["meta.tag","</"],
|
["meta.tag","</"],
|
||||||
["meta.tag.tag-name","cfoutput"],
|
["meta.tag.tag-name","cfoutput"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
]]
|
||||||
}
|
|
||||||
]
|
|
||||||
|
|
@ -1,7 +1,5 @@
|
||||||
[
|
[[
|
||||||
{
|
"start",
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","public"],
|
["keyword","public"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","void"],
|
["keyword","void"],
|
||||||
|
|
@ -11,18 +9,12 @@
|
||||||
["paren.rparen",")"],
|
["paren.rparen",")"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.lparen","{"]
|
["paren.lparen","{"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["comment","//Say Hello!"]
|
["comment","//Say Hello!"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","Console"],
|
["identifier","Console"],
|
||||||
["punctuation.operator","."],
|
["punctuation.operator","."],
|
||||||
|
|
@ -31,12 +23,7 @@
|
||||||
["string","\"Hello World\""],
|
["string","\"Hello World\""],
|
||||||
["paren.rparen",")"],
|
["paren.rparen",")"],
|
||||||
["punctuation.operator",";"]
|
["punctuation.operator",";"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["paren.rparen","}"]
|
["paren.rparen","}"]
|
||||||
]
|
]]
|
||||||
}
|
|
||||||
]
|
|
||||||
|
|
@ -1,15 +1,10 @@
|
||||||
[
|
[[
|
||||||
{
|
"ruleset",
|
||||||
"state": "ruleset",
|
|
||||||
"data": [
|
|
||||||
["variable",".text-layer"],
|
["variable",".text-layer"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.lparen","{"]
|
["paren.lparen","{"]
|
||||||
]
|
],[
|
||||||
},
|
"ruleset",
|
||||||
{
|
|
||||||
"state": "ruleset",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["support.type","font-family"],
|
["support.type","font-family"],
|
||||||
["text",": Monaco, "],
|
["text",": Monaco, "],
|
||||||
|
|
@ -17,215 +12,137 @@
|
||||||
["text",", "],
|
["text",", "],
|
||||||
["support.constant.fonts","monospace"],
|
["support.constant.fonts","monospace"],
|
||||||
["text",";"]
|
["text",";"]
|
||||||
]
|
],[
|
||||||
},
|
"ruleset",
|
||||||
{
|
|
||||||
"state": "ruleset",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["support.type","font-size"],
|
["support.type","font-size"],
|
||||||
["text",": "],
|
["text",": "],
|
||||||
["constant.numeric","12"],
|
["constant.numeric","12"],
|
||||||
["keyword","px"],
|
["keyword","px"],
|
||||||
["text",";"]
|
["text",";"]
|
||||||
]
|
],[
|
||||||
},
|
"ruleset",
|
||||||
{
|
|
||||||
"state": "ruleset",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["support.type","cursor"],
|
["support.type","cursor"],
|
||||||
["text",": "],
|
["text",": "],
|
||||||
["support.constant","text"],
|
["support.constant","text"],
|
||||||
["text",";"]
|
["text",";"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["paren.rparen","}"]
|
["paren.rparen","}"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"ruleset",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "ruleset",
|
|
||||||
"data": [
|
|
||||||
["variable",".blinker"],
|
["variable",".blinker"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.lparen","{"]
|
["paren.lparen","{"]
|
||||||
]
|
],[
|
||||||
},
|
"ruleset",
|
||||||
{
|
|
||||||
"state": "ruleset",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["support.type","animation-duration"],
|
["support.type","animation-duration"],
|
||||||
["text",": "],
|
["text",": "],
|
||||||
["constant.numeric","1"],
|
["constant.numeric","1"],
|
||||||
["keyword","s"],
|
["keyword","s"],
|
||||||
["text",";"]
|
["text",";"]
|
||||||
]
|
],[
|
||||||
},
|
"ruleset",
|
||||||
{
|
|
||||||
"state": "ruleset",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["support.type","animation-name"],
|
["support.type","animation-name"],
|
||||||
["text",": blink;"]
|
["text",": blink;"]
|
||||||
]
|
],[
|
||||||
},
|
"ruleset",
|
||||||
{
|
|
||||||
"state": "ruleset",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["support.type","animation-iteration-count"],
|
["support.type","animation-iteration-count"],
|
||||||
["text",": infinite;"]
|
["text",": infinite;"]
|
||||||
]
|
],[
|
||||||
},
|
"ruleset",
|
||||||
{
|
|
||||||
"state": "ruleset",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["support.type","animation-direction"],
|
["support.type","animation-direction"],
|
||||||
["text",": alternate;"]
|
["text",": alternate;"]
|
||||||
]
|
],[
|
||||||
},
|
"ruleset",
|
||||||
{
|
|
||||||
"state": "ruleset",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["support.type","animation-timing-function"],
|
["support.type","animation-timing-function"],
|
||||||
["text",": "],
|
["text",": "],
|
||||||
["support.constant","linear"],
|
["support.constant","linear"],
|
||||||
["text",";"]
|
["text",";"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["paren.rparen","}"]
|
["paren.rparen","}"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"media",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "media",
|
|
||||||
"data": [
|
|
||||||
["string","@keyframes blink {"]
|
["string","@keyframes blink {"]
|
||||||
]
|
],[
|
||||||
},
|
"media_ruleset",
|
||||||
{
|
|
||||||
"state": "media_ruleset",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["constant","0"],
|
["constant","0"],
|
||||||
["text","% "],
|
["text","% "],
|
||||||
["paren.lparen","{"]
|
["paren.lparen","{"]
|
||||||
]
|
],[
|
||||||
},
|
"media_ruleset",
|
||||||
{
|
|
||||||
"state": "media_ruleset",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["support.type","opacity"],
|
["support.type","opacity"],
|
||||||
["text",": "],
|
["text",": "],
|
||||||
["constant.numeric","0"],
|
["constant.numeric","0"],
|
||||||
["text",";"]
|
["text",";"]
|
||||||
]
|
],[
|
||||||
},
|
"media",
|
||||||
{
|
|
||||||
"state": "media",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.rparen","}"]
|
["paren.rparen","}"]
|
||||||
]
|
],[
|
||||||
},
|
"media_ruleset",
|
||||||
{
|
|
||||||
"state": "media_ruleset",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["constant","40"],
|
["constant","40"],
|
||||||
["text","% "],
|
["text","% "],
|
||||||
["paren.lparen","{"]
|
["paren.lparen","{"]
|
||||||
]
|
],[
|
||||||
},
|
"media_ruleset",
|
||||||
{
|
|
||||||
"state": "media_ruleset",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["support.type","opacity"],
|
["support.type","opacity"],
|
||||||
["text",": "],
|
["text",": "],
|
||||||
["constant.numeric","0"],
|
["constant.numeric","0"],
|
||||||
["text",";"]
|
["text",";"]
|
||||||
]
|
],[
|
||||||
},
|
"media",
|
||||||
{
|
|
||||||
"state": "media",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.rparen","}"]
|
["paren.rparen","}"]
|
||||||
]
|
],[
|
||||||
},
|
"media_ruleset",
|
||||||
{
|
|
||||||
"state": "media_ruleset",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["constant","40"],
|
["constant","40"],
|
||||||
["variable",".5"],
|
["variable",".5"],
|
||||||
["text","% "],
|
["text","% "],
|
||||||
["paren.lparen","{"]
|
["paren.lparen","{"]
|
||||||
]
|
],[
|
||||||
},
|
"media_ruleset",
|
||||||
{
|
|
||||||
"state": "media_ruleset",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["support.type","opacity"],
|
["support.type","opacity"],
|
||||||
["text",": "],
|
["text",": "],
|
||||||
["constant.numeric","1"]
|
["constant.numeric","1"]
|
||||||
]
|
],[
|
||||||
},
|
"media",
|
||||||
{
|
|
||||||
"state": "media",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.rparen","}"]
|
["paren.rparen","}"]
|
||||||
]
|
],[
|
||||||
},
|
"media_ruleset",
|
||||||
{
|
|
||||||
"state": "media_ruleset",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["constant","100"],
|
["constant","100"],
|
||||||
["text","% "],
|
["text","% "],
|
||||||
["paren.lparen","{"]
|
["paren.lparen","{"]
|
||||||
]
|
],[
|
||||||
},
|
"media_ruleset",
|
||||||
{
|
|
||||||
"state": "media_ruleset",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["support.type","opacity"],
|
["support.type","opacity"],
|
||||||
["text",": "],
|
["text",": "],
|
||||||
["constant.numeric","1"]
|
["constant.numeric","1"]
|
||||||
]
|
],[
|
||||||
},
|
"media",
|
||||||
{
|
|
||||||
"state": "media",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.rparen","}"]
|
["paren.rparen","}"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["string","}"]
|
["string","}"]
|
||||||
]
|
]]
|
||||||
}
|
|
||||||
]
|
|
||||||
107
lib/ace/mode/_test/tokens_curly.json
Normal file
107
lib/ace/mode/_test/tokens_curly.json
Normal file
|
|
@ -0,0 +1,107 @@
|
||||||
|
[[
|
||||||
|
"start",
|
||||||
|
["meta.tag","<"],
|
||||||
|
["meta.tag.tag-name","html"],
|
||||||
|
["meta.tag.r",">"]
|
||||||
|
],[
|
||||||
|
"start",
|
||||||
|
["text"," "],
|
||||||
|
["meta.tag","<"],
|
||||||
|
["meta.tag.tag-name","head"],
|
||||||
|
["meta.tag.r",">"]
|
||||||
|
],[
|
||||||
|
"start"
|
||||||
|
],[
|
||||||
|
"css-start",
|
||||||
|
["text"," "],
|
||||||
|
["meta.tag","<"],
|
||||||
|
["meta.tag.tag-name.style","style"],
|
||||||
|
["text"," "],
|
||||||
|
["entity.other.attribute-name","type"],
|
||||||
|
["keyword.operator","="],
|
||||||
|
["string","\"text/css\""],
|
||||||
|
["meta.tag.r",">"]
|
||||||
|
],[
|
||||||
|
"css-ruleset",
|
||||||
|
["text"," "],
|
||||||
|
["variable",".text-layer"],
|
||||||
|
["text"," "],
|
||||||
|
["paren.lparen","{"]
|
||||||
|
],[
|
||||||
|
"css-ruleset",
|
||||||
|
["text"," "],
|
||||||
|
["support.type","font-family"],
|
||||||
|
["text",": Monaco, "],
|
||||||
|
["string","\"Courier New\""],
|
||||||
|
["text",", "],
|
||||||
|
["support.constant.fonts","monospace"],
|
||||||
|
["text",";"]
|
||||||
|
],[
|
||||||
|
"css-ruleset",
|
||||||
|
["text"," "],
|
||||||
|
["support.type","font-size"],
|
||||||
|
["text",": "],
|
||||||
|
["constant.numeric","12"],
|
||||||
|
["keyword","px"],
|
||||||
|
["text",";"]
|
||||||
|
],[
|
||||||
|
"css-ruleset",
|
||||||
|
["text"," "],
|
||||||
|
["support.type","cursor"],
|
||||||
|
["text",": "],
|
||||||
|
["support.constant","text"],
|
||||||
|
["text",";"]
|
||||||
|
],[
|
||||||
|
"css-start",
|
||||||
|
["text"," "],
|
||||||
|
["paren.rparen","}"]
|
||||||
|
],[
|
||||||
|
"start",
|
||||||
|
["text"," "],
|
||||||
|
["meta.tag","</"],
|
||||||
|
["meta.tag.tag-name.style","style"],
|
||||||
|
["meta.tag.r",">"]
|
||||||
|
],[
|
||||||
|
"start"
|
||||||
|
],[
|
||||||
|
"start",
|
||||||
|
["text"," "],
|
||||||
|
["meta.tag","</"],
|
||||||
|
["meta.tag.tag-name","head"],
|
||||||
|
["meta.tag.r",">"]
|
||||||
|
],[
|
||||||
|
"start",
|
||||||
|
["text"," "],
|
||||||
|
["meta.tag","<"],
|
||||||
|
["meta.tag.tag-name","body"],
|
||||||
|
["meta.tag.r",">"]
|
||||||
|
],[
|
||||||
|
"start",
|
||||||
|
["text"," "],
|
||||||
|
["meta.tag","<"],
|
||||||
|
["meta.tag.tag-name","h1"],
|
||||||
|
["text"," "],
|
||||||
|
["entity.other.attribute-name","style"],
|
||||||
|
["keyword.operator","="],
|
||||||
|
["string","\"color:red\""],
|
||||||
|
["meta.tag.r",">"],
|
||||||
|
["variable","{{"],
|
||||||
|
["text","author_name"],
|
||||||
|
["variable","}}"],
|
||||||
|
["meta.tag","</"],
|
||||||
|
["meta.tag.tag-name","h1"],
|
||||||
|
["meta.tag.r",">"]
|
||||||
|
],[
|
||||||
|
"start",
|
||||||
|
["text"," "],
|
||||||
|
["meta.tag","</"],
|
||||||
|
["meta.tag.tag-name","body"],
|
||||||
|
["meta.tag.r",">"]
|
||||||
|
],[
|
||||||
|
"start",
|
||||||
|
["meta.tag","</"],
|
||||||
|
["meta.tag.tag-name","html"],
|
||||||
|
["meta.tag.r",">"]
|
||||||
|
],[
|
||||||
|
"start"
|
||||||
|
]]
|
||||||
|
|
@ -1,38 +1,23 @@
|
||||||
[
|
[[
|
||||||
{
|
"start",
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["identifier","main"],
|
["identifier","main"],
|
||||||
["text","() {"]
|
["text","() {"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","print"],
|
["identifier","print"],
|
||||||
["text","("],
|
["text","("],
|
||||||
["string","'Hello World!'"],
|
["string","'Hello World!'"],
|
||||||
["text",");"]
|
["text",");"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text","}"]
|
["text","}"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start"
|
||||||
"data": []
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["storage.type.primitive.dart","int"],
|
["storage.type.primitive.dart","int"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","fib"],
|
["identifier","fib"],
|
||||||
|
|
@ -74,84 +59,49 @@
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","n"],
|
["identifier","n"],
|
||||||
["text",";"]
|
["text",";"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["identifier","main"],
|
["identifier","main"],
|
||||||
["text","() {"]
|
["text","() {"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","print"],
|
["identifier","print"],
|
||||||
["text","("],
|
["text","("],
|
||||||
["string","'fib(20) = ${fib(20)}'"],
|
["string","'fib(20) = ${fib(20)}'"],
|
||||||
["text",");"]
|
["text",");"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text","}"]
|
["text","}"]
|
||||||
]
|
],[
|
||||||
},
|
"comment",
|
||||||
{
|
|
||||||
"state": "comment",
|
|
||||||
"data": [
|
|
||||||
["comment","/*asd"]
|
["comment","/*asd"]
|
||||||
]
|
],[
|
||||||
},
|
"comment",
|
||||||
{
|
|
||||||
"state": "comment",
|
|
||||||
"data": [
|
|
||||||
["comment","asdad"]
|
["comment","asdad"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["comment","*/"]
|
["comment","*/"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["constant.numeric","0.67"]
|
["constant.numeric","0.67"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["constant.numeric","77"]
|
["constant.numeric","77"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text","."],
|
["text","."],
|
||||||
["constant.numeric","86"]
|
["constant.numeric","86"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword.other.import.dart","#import"],
|
["keyword.other.import.dart","#import"],
|
||||||
["text","("],
|
["text","("],
|
||||||
["string","\"http://dartwatch.com/myOtherLibrary.dart\""],
|
["string","\"http://dartwatch.com/myOtherLibrary.dart\""],
|
||||||
["text",");"]
|
["text",");"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword.other.import.dart","#import"],
|
["keyword.other.import.dart","#import"],
|
||||||
["text","("],
|
["text","("],
|
||||||
["string","\"myOtherLibrary.dart\""],
|
["string","\"myOtherLibrary.dart\""],
|
||||||
|
|
@ -160,73 +110,41 @@
|
||||||
["text",":"],
|
["text",":"],
|
||||||
["string","\"lib1\""],
|
["string","\"lib1\""],
|
||||||
["text",");"]
|
["text",");"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"qqdoc",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "qqdoc",
|
|
||||||
"data": [
|
|
||||||
["string","\"\"\"asdasdads"]
|
["string","\"\"\"asdasdads"]
|
||||||
]
|
],[
|
||||||
},
|
"qqdoc",
|
||||||
{
|
|
||||||
"state": "qqdoc",
|
|
||||||
"data": [
|
|
||||||
["string","asdadsadsasd"]
|
["string","asdadsadsasd"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["string","asdasdasdad\"\"\""]
|
["string","asdasdasdad\"\"\""]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "]
|
["text"," "]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["string","'23424'"]
|
["string","'23424'"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["constant.numeric","0x234"]
|
["constant.numeric","0x234"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["identifier","foo"],
|
["identifier","foo"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword.operator.dart","is"],
|
["keyword.operator.dart","is"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","bar"]
|
["identifier","bar"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["storage.type.primitive.dart","int"],
|
["storage.type.primitive.dart","int"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","x"],
|
["identifier","x"],
|
||||||
|
|
@ -239,46 +157,28 @@
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["constant.numeric","10"],
|
["constant.numeric","10"],
|
||||||
["text"," "]
|
["text"," "]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["comment","// Create a class for Point."]
|
["comment","// Create a class for Point."]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword.declaration.dart","class"],
|
["keyword.declaration.dart","class"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","Point"],
|
["identifier","Point"],
|
||||||
["text"," {"]
|
["text"," {"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "]
|
["text"," "]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["comment","// Final variables cannot be changed once they are assigned."]
|
["comment","// Final variables cannot be changed once they are assigned."]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["comment","// Create two instance variables."]
|
["comment","// Create two instance variables."]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["storage.modifier.dart","final"],
|
["storage.modifier.dart","final"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -288,24 +188,15 @@
|
||||||
["text",", "],
|
["text",", "],
|
||||||
["identifier","y"],
|
["identifier","y"],
|
||||||
["text",";"]
|
["text",";"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "]
|
["text"," "]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["comment","// A constructor, with syntactic sugar for setting instance variables."]
|
["comment","// A constructor, with syntactic sugar for setting instance variables."]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","Point"],
|
["identifier","Point"],
|
||||||
["text","("],
|
["text","("],
|
||||||
|
|
@ -317,24 +208,15 @@
|
||||||
["text","."],
|
["text","."],
|
||||||
["identifier","y"],
|
["identifier","y"],
|
||||||
["text",");"]
|
["text",");"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "]
|
["text"," "]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["comment","// A named constructor with an initializer list."]
|
["comment","// A named constructor with an initializer list."]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","Point"],
|
["identifier","Point"],
|
||||||
["text","."],
|
["text","."],
|
||||||
|
|
@ -354,24 +236,15 @@
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["constant.numeric","0"],
|
["constant.numeric","0"],
|
||||||
["text",";"]
|
["text",";"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "]
|
["text"," "]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["comment","// A method."]
|
["comment","// A method."]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["storage.type.primitive.dart","num"],
|
["storage.type.primitive.dart","num"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -381,11 +254,8 @@
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","other"],
|
["identifier","other"],
|
||||||
["text",") {"]
|
["text",") {"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["storage.type.primitive.dart","var"],
|
["storage.type.primitive.dart","var"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -401,11 +271,8 @@
|
||||||
["text","."],
|
["text","."],
|
||||||
["identifier","x"],
|
["identifier","x"],
|
||||||
["text",";"]
|
["text",";"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["storage.type.primitive.dart","var"],
|
["storage.type.primitive.dart","var"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -421,11 +288,8 @@
|
||||||
["text","."],
|
["text","."],
|
||||||
["identifier","y"],
|
["identifier","y"],
|
||||||
["text",";"]
|
["text",";"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword.control.dart","return"],
|
["keyword.control.dart","return"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -445,45 +309,27 @@
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","dy"],
|
["identifier","dy"],
|
||||||
["text",");"]
|
["text",");"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," }"]
|
["text"," }"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text","}"]
|
["text","}"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "]
|
["text"," "]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["comment","// Check for null."]
|
["comment","// Check for null."]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["storage.type.primitive.dart","var"],
|
["storage.type.primitive.dart","var"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","unicorn"],
|
["identifier","unicorn"],
|
||||||
["text",";"]
|
["text",";"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["identifier","assert"],
|
["identifier","assert"],
|
||||||
["text","("],
|
["text","("],
|
||||||
["identifier","unicorn"],
|
["identifier","unicorn"],
|
||||||
|
|
@ -492,21 +338,13 @@
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["constant.language.dart","null"],
|
["constant.language.dart","null"],
|
||||||
["text",");"]
|
["text",");"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["comment","// Check for NaN."]
|
["comment","// Check for NaN."]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["storage.type.primitive.dart","var"],
|
["storage.type.primitive.dart","var"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","iMeantToDoThis"],
|
["identifier","iMeantToDoThis"],
|
||||||
|
|
@ -517,21 +355,14 @@
|
||||||
["keyword.operator.arithmetic.dart","/"],
|
["keyword.operator.arithmetic.dart","/"],
|
||||||
["constant.numeric","0"],
|
["constant.numeric","0"],
|
||||||
["text",";"]
|
["text",";"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["identifier","assert"],
|
["identifier","assert"],
|
||||||
["text","("],
|
["text","("],
|
||||||
["identifier","iMeantToDoThis"],
|
["identifier","iMeantToDoThis"],
|
||||||
["text","."],
|
["text","."],
|
||||||
["identifier","isNaN"],
|
["identifier","isNaN"],
|
||||||
["text","());"]
|
["text","());"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
]]
|
||||||
"state": "start",
|
|
||||||
"data": []
|
|
||||||
}
|
|
||||||
]
|
|
||||||
File diff suppressed because it is too large
Load diff
2254
lib/ace/mode/_test/tokens_dot.json
Normal file
2254
lib/ace/mode/_test/tokens_dot.json
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -1,44 +1,31 @@
|
||||||
[
|
[[
|
||||||
{
|
"start",
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","uniform"],
|
["keyword","uniform"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","float"],
|
["keyword","float"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","amplitude"],
|
["identifier","amplitude"],
|
||||||
["punctuation.operator",";"]
|
["punctuation.operator",";"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","attribute"],
|
["keyword","attribute"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","float"],
|
["keyword","float"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","displacement"],
|
["identifier","displacement"],
|
||||||
["punctuation.operator",";"]
|
["punctuation.operator",";"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","varying"],
|
["keyword","varying"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","vec3"],
|
["keyword","vec3"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","vNormal"],
|
["identifier","vNormal"],
|
||||||
["punctuation.operator",";"]
|
["punctuation.operator",";"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","void"],
|
["keyword","void"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","main"],
|
["identifier","main"],
|
||||||
|
|
@ -46,15 +33,10 @@
|
||||||
["paren.rparen",")"],
|
["paren.rparen",")"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.lparen","{"]
|
["paren.lparen","{"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","vNormal"],
|
["identifier","vNormal"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -62,38 +44,23 @@
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","normal"],
|
["identifier","normal"],
|
||||||
["punctuation.operator",";"]
|
["punctuation.operator",";"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "]
|
["text"," "]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["comment","// multiply our displacement by the"]
|
["comment","// multiply our displacement by the"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["comment","// amplitude. The amp will get animated"]
|
["comment","// amplitude. The amp will get animated"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["comment","// so we'll have animated displacement"]
|
["comment","// so we'll have animated displacement"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","vec3"],
|
["keyword","vec3"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -105,45 +72,31 @@
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword.operator","+"],
|
["keyword.operator","+"],
|
||||||
["text"," "]
|
["text"," "]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","normal"],
|
["identifier","normal"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword.operator","*"],
|
["keyword.operator","*"],
|
||||||
["text"," "]
|
["text"," "]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","vec3"],
|
["keyword","vec3"],
|
||||||
["paren.lparen","("],
|
["paren.lparen","("],
|
||||||
["identifier","displacement"],
|
["identifier","displacement"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword.operator","*"]
|
["keyword.operator","*"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","amplitude"],
|
["identifier","amplitude"],
|
||||||
["paren.rparen",")"],
|
["paren.rparen",")"],
|
||||||
["punctuation.operator",";"]
|
["punctuation.operator",";"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["constant.language","gl_Position"],
|
["constant.language","gl_Position"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -152,20 +105,14 @@
|
||||||
["identifier","projectionMatrix"],
|
["identifier","projectionMatrix"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword.operator","*"]
|
["keyword.operator","*"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","modelViewMatrix"],
|
["identifier","modelViewMatrix"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword.operator","*"]
|
["keyword.operator","*"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","vec4"],
|
["keyword","vec4"],
|
||||||
["paren.lparen","("],
|
["paren.lparen","("],
|
||||||
|
|
@ -174,12 +121,7 @@
|
||||||
["constant.numeric","1.0"],
|
["constant.numeric","1.0"],
|
||||||
["paren.rparen",")"],
|
["paren.rparen",")"],
|
||||||
["punctuation.operator",";"]
|
["punctuation.operator",";"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["paren.rparen","}"]
|
["paren.rparen","}"]
|
||||||
]
|
]]
|
||||||
}
|
|
||||||
]
|
|
||||||
|
|
@ -1,87 +1,48 @@
|
||||||
[
|
[[
|
||||||
{
|
"start",
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["comment","// Concurrent computation of pi."]
|
["comment","// Concurrent computation of pi."]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["comment","// See http://goo.gl/ZuTZM."]
|
["comment","// See http://goo.gl/ZuTZM."]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["comment","//"]
|
["comment","//"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["comment","// This demonstrates Go's ability to handle"]
|
["comment","// This demonstrates Go's ability to handle"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["comment","// large numbers of concurrent processes."]
|
["comment","// large numbers of concurrent processes."]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["comment","// It is an unreasonable way to calculate pi."]
|
["comment","// It is an unreasonable way to calculate pi."]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","package"],
|
["keyword","package"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","main"]
|
["identifier","main"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","import"],
|
["keyword","import"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.lparen","("]
|
["paren.lparen","("]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["string","\"fmt\""]
|
["string","\"fmt\""]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["string","\"math\""]
|
["string","\"math\""]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["paren.rparen",")"]
|
["paren.rparen",")"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","func"],
|
["keyword","func"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","main"],
|
["identifier","main"],
|
||||||
|
|
@ -89,11 +50,8 @@
|
||||||
["paren.rparen",")"],
|
["paren.rparen",")"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.lparen","{"]
|
["paren.lparen","{"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","fmt"],
|
["identifier","fmt"],
|
||||||
["punctuation.operator","."],
|
["punctuation.operator","."],
|
||||||
|
|
@ -103,33 +61,19 @@
|
||||||
["paren.lparen","("],
|
["paren.lparen","("],
|
||||||
["constant.numeric","5000"],
|
["constant.numeric","5000"],
|
||||||
["paren.rparen","))"]
|
["paren.rparen","))"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["paren.rparen","}"]
|
["paren.rparen","}"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["comment","// pi launches n goroutines to compute an"]
|
["comment","// pi launches n goroutines to compute an"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["comment","// approximation of pi."]
|
["comment","// approximation of pi."]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","func"],
|
["keyword","func"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","pi"],
|
["identifier","pi"],
|
||||||
|
|
@ -142,11 +86,8 @@
|
||||||
["identifier","float64"],
|
["identifier","float64"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.lparen","{"]
|
["paren.lparen","{"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","ch"],
|
["identifier","ch"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -159,11 +100,8 @@
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","float64"],
|
["identifier","float64"],
|
||||||
["paren.rparen",")"]
|
["paren.rparen",")"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","for"],
|
["keyword","for"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -186,11 +124,8 @@
|
||||||
["keyword.operator","++"],
|
["keyword.operator","++"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.lparen","{"]
|
["paren.lparen","{"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","go"],
|
["keyword","go"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -203,18 +138,12 @@
|
||||||
["paren.lparen","("],
|
["paren.lparen","("],
|
||||||
["identifier","k"],
|
["identifier","k"],
|
||||||
["paren.rparen","))"]
|
["paren.rparen","))"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.rparen","}"]
|
["paren.rparen","}"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","f"],
|
["identifier","f"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -222,11 +151,8 @@
|
||||||
["keyword.operator","="],
|
["keyword.operator","="],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["constant.numeric","0.0"]
|
["constant.numeric","0.0"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","for"],
|
["keyword","for"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -249,11 +175,8 @@
|
||||||
["keyword.operator","++"],
|
["keyword.operator","++"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.lparen","{"]
|
["paren.lparen","{"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","f"],
|
["identifier","f"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -261,37 +184,23 @@
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword.operator","<-"],
|
["keyword.operator","<-"],
|
||||||
["identifier","ch"]
|
["identifier","ch"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.rparen","}"]
|
["paren.rparen","}"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","return"],
|
["keyword","return"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","f"]
|
["identifier","f"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["paren.rparen","}"]
|
["paren.rparen","}"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","func"],
|
["keyword","func"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","term"],
|
["identifier","term"],
|
||||||
|
|
@ -309,11 +218,8 @@
|
||||||
["paren.rparen",")"],
|
["paren.rparen",")"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.lparen","{"]
|
["paren.lparen","{"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","ch"],
|
["identifier","ch"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -342,16 +248,9 @@
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["constant.numeric","1"],
|
["constant.numeric","1"],
|
||||||
["paren.rparen",")"]
|
["paren.rparen",")"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["paren.rparen","}"]
|
["paren.rparen","}"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
]]
|
||||||
"state": "start",
|
|
||||||
"data": []
|
|
||||||
}
|
|
||||||
]
|
|
||||||
|
|
@ -1,47 +1,31 @@
|
||||||
[
|
[[
|
||||||
{
|
"start",
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["comment","//http://groovy.codehaus.org/Martin+Fowler%27s+closure+examples+in+Groovy"]
|
["comment","//http://groovy.codehaus.org/Martin+Fowler%27s+closure+examples+in+Groovy"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","class"],
|
["keyword","class"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","Employee"],
|
["identifier","Employee"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["lparen","{"]
|
["lparen","{"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","def"],
|
["keyword","def"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","name"],
|
["identifier","name"],
|
||||||
["text",", "],
|
["text",", "],
|
||||||
["identifier","salary"]
|
["identifier","salary"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","boolean"],
|
["keyword","boolean"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","manager"]
|
["identifier","manager"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["support.function","String"],
|
["support.function","String"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -56,21 +40,13 @@
|
||||||
["identifier","name"],
|
["identifier","name"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["rparen","}"]
|
["rparen","}"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["rparen","}"]
|
["rparen","}"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","def"],
|
["keyword","def"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","emps"],
|
["identifier","emps"],
|
||||||
|
|
@ -95,11 +71,8 @@
|
||||||
["constant.numeric","200"],
|
["constant.numeric","200"],
|
||||||
["rparen",")"],
|
["rparen",")"],
|
||||||
["text",","]
|
["text",","]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","new"],
|
["keyword","new"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -118,11 +91,8 @@
|
||||||
["constant.numeric","200"],
|
["constant.numeric","200"],
|
||||||
["rparen",")"],
|
["rparen",")"],
|
||||||
["text",","]
|
["text",","]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","new"],
|
["keyword","new"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -141,11 +111,8 @@
|
||||||
["constant.numeric","151"],
|
["constant.numeric","151"],
|
||||||
["rparen",")"],
|
["rparen",")"],
|
||||||
["text",","]
|
["text",","]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","new"],
|
["keyword","new"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -163,15 +130,10 @@
|
||||||
["text",":"],
|
["text",":"],
|
||||||
["constant.numeric","50"],
|
["constant.numeric","50"],
|
||||||
["rparen",")]"]
|
["rparen",")]"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","def"],
|
["keyword","def"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","managers"],
|
["identifier","managers"],
|
||||||
|
|
@ -180,11 +142,8 @@
|
||||||
["rparen",")"],
|
["rparen",")"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["lparen","{"]
|
["lparen","{"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","emps"],
|
["identifier","emps"],
|
||||||
["text","."],
|
["text","."],
|
||||||
|
|
@ -203,21 +162,13 @@
|
||||||
["rparen",")"],
|
["rparen",")"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["rparen","}"]
|
["rparen","}"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["rparen","}"]
|
["rparen","}"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","assert"],
|
["keyword","assert"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","emps"],
|
["identifier","emps"],
|
||||||
|
|
@ -235,15 +186,10 @@
|
||||||
["rparen",")"],
|
["rparen",")"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["comment","// [Guillaume, Graeme]"]
|
["comment","// [Guillaume, Graeme]"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","def"],
|
["keyword","def"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","highPaid"],
|
["identifier","highPaid"],
|
||||||
|
|
@ -252,22 +198,16 @@
|
||||||
["rparen",")"],
|
["rparen",")"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["lparen","{"]
|
["lparen","{"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","threshold"],
|
["identifier","threshold"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword.operator","="],
|
["keyword.operator","="],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["constant.numeric","150"]
|
["constant.numeric","150"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","emps"],
|
["identifier","emps"],
|
||||||
["text","."],
|
["text","."],
|
||||||
|
|
@ -288,21 +228,13 @@
|
||||||
["identifier","threshold"],
|
["identifier","threshold"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["rparen","}"]
|
["rparen","}"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["rparen","}"]
|
["rparen","}"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","assert"],
|
["keyword","assert"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","emps"],
|
["identifier","emps"],
|
||||||
|
|
@ -320,15 +252,10 @@
|
||||||
["rparen",")"],
|
["rparen",")"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["comment","// [Guillaume, Graeme, Dierk]"]
|
["comment","// [Guillaume, Graeme, Dierk]"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","def"],
|
["keyword","def"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","paidMore"],
|
["identifier","paidMore"],
|
||||||
|
|
@ -337,11 +264,8 @@
|
||||||
["rparen",")"],
|
["rparen",")"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["lparen","{"]
|
["lparen","{"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["lparen","{"],
|
["lparen","{"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -357,17 +281,11 @@
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","amount"],
|
["identifier","amount"],
|
||||||
["rparen","}"]
|
["rparen","}"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["rparen","}"]
|
["rparen","}"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","def"],
|
["keyword","def"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","highPaid"],
|
["identifier","highPaid"],
|
||||||
|
|
@ -378,15 +296,10 @@
|
||||||
["lparen","("],
|
["lparen","("],
|
||||||
["constant.numeric","150"],
|
["constant.numeric","150"],
|
||||||
["rparen",")"]
|
["rparen",")"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","assert"],
|
["keyword","assert"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","highPaid"],
|
["identifier","highPaid"],
|
||||||
|
|
@ -397,11 +310,8 @@
|
||||||
["rparen","])"],
|
["rparen","])"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["comment","// true"]
|
["comment","// true"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","assert"],
|
["keyword","assert"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","emps"],
|
["identifier","emps"],
|
||||||
|
|
@ -419,15 +329,10 @@
|
||||||
["lparen","("],
|
["lparen","("],
|
||||||
["identifier","highPaid"],
|
["identifier","highPaid"],
|
||||||
["rparen",")"]
|
["rparen",")"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","def"],
|
["keyword","def"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","filename"],
|
["identifier","filename"],
|
||||||
|
|
@ -435,11 +340,8 @@
|
||||||
["keyword.operator","="],
|
["keyword.operator","="],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["string","'test.txt'"]
|
["string","'test.txt'"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","new"],
|
["keyword","new"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","File"],
|
["identifier","File"],
|
||||||
|
|
@ -460,23 +362,15 @@
|
||||||
["rparen",")"],
|
["rparen",")"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["rparen","}"]
|
["rparen","}"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","def"],
|
["keyword","def"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","readersText"]
|
["identifier","readersText"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","def"],
|
["keyword","def"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","doSomethingWith"],
|
["identifier","doSomethingWith"],
|
||||||
|
|
@ -495,15 +389,10 @@
|
||||||
["identifier","text"],
|
["identifier","text"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["rparen","}"]
|
["rparen","}"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","assert"],
|
["keyword","assert"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","new"],
|
["keyword","new"],
|
||||||
|
|
@ -518,6 +407,4 @@
|
||||||
["keyword.operator","=="],
|
["keyword.operator","=="],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","readersText"]
|
["identifier","readersText"]
|
||||||
]
|
]]
|
||||||
}
|
|
||||||
]
|
|
||||||
|
|
@ -1,55 +1,29 @@
|
||||||
[
|
[[
|
||||||
{
|
"start",
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword.other.doctype","!!!5"]
|
["keyword.other.doctype","!!!5"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["punctuation.section.comment","# <!--[if lt IE 7]> <html class=\"no-js lt-ie9 lt-ie8 lt-ie7\" lang=\"en\"> <![endif]-->"]
|
["punctuation.section.comment","# <!--[if lt IE 7]> <html class=\"no-js lt-ie9 lt-ie8 lt-ie7\" lang=\"en\"> <![endif]-->"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["punctuation.section.comment","# <!--[if IE 7]> <html class=\"no-js lt-ie9 lt-ie8\" lang=\"en\"> <![endif]-->"]
|
["punctuation.section.comment","# <!--[if IE 7]> <html class=\"no-js lt-ie9 lt-ie8\" lang=\"en\"> <![endif]-->"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["punctuation.section.comment","# <!--[if IE 8]> <html class=\"no-js lt-ie9\" lang=\"en\"> <![endif]-->"]
|
["punctuation.section.comment","# <!--[if IE 8]> <html class=\"no-js lt-ie9\" lang=\"en\"> <![endif]-->"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["punctuation.section.comment","# <!--[if gt IE 8]><!--> <html class=\"no-js\" lang=\"en\"> <!--<![endif]-->"]
|
["punctuation.section.comment","# <!--[if gt IE 8]><!--> <html class=\"no-js\" lang=\"en\"> <!--<![endif]-->"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start"
|
||||||
"data": []
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["punctuation.section.comment","/adasdasdad"]
|
["punctuation.section.comment","/adasdasdad"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["entity.name.tag.haml","%div"],
|
["entity.name.tag.haml","%div"],
|
||||||
["punctuation.section","{"],
|
["punctuation.section","{"],
|
||||||
["constant.other.symbol.ruby",":id"],
|
["constant.other.symbol.ruby",":id"],
|
||||||
|
|
@ -64,47 +38,29 @@
|
||||||
["text"," => "],
|
["text"," => "],
|
||||||
["string","`asdasdasd`"],
|
["string","`asdasdasd`"],
|
||||||
["punctuation.section","}"]
|
["punctuation.section","}"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["punctuation.section.comment","/ file: app/views/movies/index.html.haml"]
|
["punctuation.section.comment","/ file: app/views/movies/index.html.haml"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["meta.escape.haml","\\d"]
|
["meta.escape.haml","\\d"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["entity.name.tag.haml","%ads:"],
|
["entity.name.tag.haml","%ads:"],
|
||||||
["punctuation.section","{"],
|
["punctuation.section","{"],
|
||||||
["constant.other.symbol.ruby",":bleh"],
|
["constant.other.symbol.ruby",":bleh"],
|
||||||
["text"," => "],
|
["text"," => "],
|
||||||
["constant.numeric","33"],
|
["constant.numeric","33"],
|
||||||
["punctuation.section","}"]
|
["punctuation.section","}"]
|
||||||
]
|
],[
|
||||||
},
|
"embedded_ruby",
|
||||||
{
|
|
||||||
"state": "embedded_ruby",
|
|
||||||
"data": [
|
|
||||||
["entity.name.tag.haml","%p"],
|
["entity.name.tag.haml","%p"],
|
||||||
["text","==ddd=="]
|
["text","==ddd=="]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," Date/Time:"]
|
["text"," Date/Time:"]
|
||||||
]
|
],[
|
||||||
},
|
"embedded_ruby",
|
||||||
{
|
|
||||||
"state": "embedded_ruby",
|
|
||||||
"data": [
|
|
||||||
["text"," - "],
|
["text"," - "],
|
||||||
["identifier","now"],
|
["identifier","now"],
|
||||||
["text"," = "],
|
["text"," = "],
|
||||||
|
|
@ -112,18 +68,12 @@
|
||||||
["text","."],
|
["text","."],
|
||||||
["identifier","now"],
|
["identifier","now"],
|
||||||
["text"," "]
|
["text"," "]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["entity.name.tag.haml"," %strong"],
|
["entity.name.tag.haml"," %strong"],
|
||||||
["text","= now"]
|
["text","= now"]
|
||||||
]
|
],[
|
||||||
},
|
"embedded_ruby",
|
||||||
{
|
|
||||||
"state": "embedded_ruby",
|
|
||||||
"data": [
|
|
||||||
["text"," = "],
|
["text"," = "],
|
||||||
["keyword","if"],
|
["keyword","if"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -139,11 +89,8 @@
|
||||||
["text",", "],
|
["text",", "],
|
||||||
["constant.numeric","2006"],
|
["constant.numeric","2006"],
|
||||||
["text","\")"]
|
["text","\")"]
|
||||||
]
|
],[
|
||||||
},
|
"embedded_ruby",
|
||||||
{
|
|
||||||
"state": "embedded_ruby",
|
|
||||||
"data": [
|
|
||||||
["text"," = \""],
|
["text"," = \""],
|
||||||
["support.class","Happy"],
|
["support.class","Happy"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -151,130 +98,77 @@
|
||||||
["text"," \" + \""],
|
["text"," \" + \""],
|
||||||
["identifier","year"],
|
["identifier","year"],
|
||||||
["text","!\""]
|
["text","!\""]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["entity.name.tag.haml","%sfd"],
|
["entity.name.tag.haml","%sfd"],
|
||||||
["entity.other.attribute-name.class.haml",".dfdfg"]
|
["entity.other.attribute-name.class.haml",".dfdfg"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["punctuation.section.comment","#content"]
|
["punctuation.section.comment","#content"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," .title"]
|
["text"," .title"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["entity.name.tag.haml"," %h1"],
|
["entity.name.tag.haml"," %h1"],
|
||||||
["text","= @title"]
|
["text","= @title"]
|
||||||
]
|
],[
|
||||||
},
|
"embedded_ruby",
|
||||||
{
|
|
||||||
"state": "embedded_ruby",
|
|
||||||
"data": [
|
|
||||||
["text"," = "],
|
["text"," = "],
|
||||||
["support.function","link_to"],
|
["support.function","link_to"],
|
||||||
["text"," '"],
|
["text"," '"],
|
||||||
["support.class","Home"],
|
["support.class","Home"],
|
||||||
["text","', "],
|
["text","', "],
|
||||||
["identifier","home_url"]
|
["identifier","home_url"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["punctuation.section.comment"," #contents"]
|
["punctuation.section.comment"," #contents"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["entity.name.tag.haml","%div"],
|
["entity.name.tag.haml","%div"],
|
||||||
["entity.other.attribute-name.id.haml","#content"]
|
["entity.other.attribute-name.id.haml","#content"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["entity.name.tag.haml"," %div"],
|
["entity.name.tag.haml"," %div"],
|
||||||
["entity.other.attribute-name.class.haml",".articles"]
|
["entity.other.attribute-name.class.haml",".articles"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["entity.name.tag.haml"," %div"],
|
["entity.name.tag.haml"," %div"],
|
||||||
["entity.other.attribute-name.class.haml",".article.title"],
|
["entity.other.attribute-name.class.haml",".article.title"],
|
||||||
["text"," Blah"]
|
["text"," Blah"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["entity.name.tag.haml"," %div"],
|
["entity.name.tag.haml"," %div"],
|
||||||
["entity.other.attribute-name.class.haml",".article.date"],
|
["entity.other.attribute-name.class.haml",".article.date"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["constant.numeric","2006-11-05"]
|
["constant.numeric","2006-11-05"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["entity.name.tag.haml"," %div"],
|
["entity.name.tag.haml"," %div"],
|
||||||
["entity.other.attribute-name.class.haml",".article.entry"]
|
["entity.other.attribute-name.class.haml",".article.entry"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," Neil Patrick Harris "]
|
["text"," Neil Patrick Harris "]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["entity.name.tag.haml","%div"],
|
["entity.name.tag.haml","%div"],
|
||||||
["text","[@user, "],
|
["text","[@user, "],
|
||||||
["constant.other.symbol.ruby",":greeting"],
|
["constant.other.symbol.ruby",":greeting"],
|
||||||
["text","]"]
|
["text","]"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["entity.name.tag.haml"," %bar"],
|
["entity.name.tag.haml"," %bar"],
|
||||||
["text","["],
|
["text","["],
|
||||||
["constant.numeric","290"],
|
["constant.numeric","290"],
|
||||||
["text","]/"]
|
["text","]/"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["string.quoted.double","==Hello!=="]
|
["string.quoted.double","==Hello!=="]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
]]
|
||||||
"state": "start",
|
|
||||||
"data": []
|
|
||||||
}
|
|
||||||
]
|
|
||||||
|
|
@ -1,22 +1,14 @@
|
||||||
[
|
[[
|
||||||
{
|
"start",
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","class"],
|
["keyword","class"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","Haxe"],
|
["identifier","Haxe"],
|
||||||
["text"," "]
|
["text"," "]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["paren.lparen","{"]
|
["paren.lparen","{"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","public"],
|
["keyword","public"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -28,25 +20,16 @@
|
||||||
["paren.lparen","("],
|
["paren.lparen","("],
|
||||||
["paren.rparen",")"],
|
["paren.rparen",")"],
|
||||||
["text"," "]
|
["text"," "]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.lparen","{"]
|
["paren.lparen","{"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["comment","// Say Hello!"]
|
["comment","// Say Hello!"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","var"],
|
["keyword","var"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -58,28 +41,19 @@
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["string","\"Hello World\""],
|
["string","\"Hello World\""],
|
||||||
["punctuation.operator",";"]
|
["punctuation.operator",";"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","trace"],
|
["keyword","trace"],
|
||||||
["paren.lparen","("],
|
["paren.lparen","("],
|
||||||
["identifier","greeting"],
|
["identifier","greeting"],
|
||||||
["paren.rparen",")"],
|
["paren.rparen",")"],
|
||||||
["punctuation.operator",";"]
|
["punctuation.operator",";"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "]
|
["text"," "]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","var"],
|
["keyword","var"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -110,22 +84,16 @@
|
||||||
["string","\"webOS\""],
|
["string","\"webOS\""],
|
||||||
["paren.rparen","]"],
|
["paren.rparen","]"],
|
||||||
["punctuation.operator",";"]
|
["punctuation.operator",";"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","trace"],
|
["keyword","trace"],
|
||||||
["paren.lparen","("],
|
["paren.lparen","("],
|
||||||
["string","\"Haxe is a great language that can target:\""],
|
["string","\"Haxe is a great language that can target:\""],
|
||||||
["paren.rparen",")"],
|
["paren.rparen",")"],
|
||||||
["punctuation.operator",";"]
|
["punctuation.operator",";"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","for"],
|
["keyword","for"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -136,18 +104,12 @@
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","targets"],
|
["identifier","targets"],
|
||||||
["paren.rparen",")"]
|
["paren.rparen",")"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.lparen","{"]
|
["paren.lparen","{"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","trace"],
|
["keyword","trace"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -159,37 +121,23 @@
|
||||||
["identifier","target"],
|
["identifier","target"],
|
||||||
["paren.rparen",")"],
|
["paren.rparen",")"],
|
||||||
["punctuation.operator",";"]
|
["punctuation.operator",";"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.rparen","}"]
|
["paren.rparen","}"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","trace"],
|
["keyword","trace"],
|
||||||
["paren.lparen","("],
|
["paren.lparen","("],
|
||||||
["string","\"And many more!\""],
|
["string","\"And many more!\""],
|
||||||
["paren.rparen",")"],
|
["paren.rparen",")"],
|
||||||
["punctuation.operator",";"]
|
["punctuation.operator",";"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.rparen","}"]
|
["paren.rparen","}"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["paren.rparen","}"]
|
["paren.rparen","}"]
|
||||||
]
|
]]
|
||||||
}
|
|
||||||
]
|
|
||||||
|
|
@ -1,28 +1,18 @@
|
||||||
[
|
[[
|
||||||
{
|
"start",
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["meta.tag","<"],
|
["meta.tag","<"],
|
||||||
["meta.tag.tag-name","html"],
|
["meta.tag.tag-name","html"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["meta.tag","<"],
|
["meta.tag","<"],
|
||||||
["meta.tag.tag-name","head"],
|
["meta.tag.tag-name","head"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"css-start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "css-start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["meta.tag","<"],
|
["meta.tag","<"],
|
||||||
["meta.tag.tag-name.style","style"],
|
["meta.tag.tag-name.style","style"],
|
||||||
|
|
@ -31,20 +21,14 @@
|
||||||
["keyword.operator","="],
|
["keyword.operator","="],
|
||||||
["string","\"text/css\""],
|
["string","\"text/css\""],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"css-ruleset",
|
||||||
{
|
|
||||||
"state": "css-ruleset",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable",".text-layer"],
|
["variable",".text-layer"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.lparen","{"]
|
["paren.lparen","{"]
|
||||||
]
|
],[
|
||||||
},
|
"css-ruleset",
|
||||||
{
|
|
||||||
"state": "css-ruleset",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["support.type","font-family"],
|
["support.type","font-family"],
|
||||||
["text",": Monaco, "],
|
["text",": Monaco, "],
|
||||||
|
|
@ -52,70 +36,47 @@
|
||||||
["text",", "],
|
["text",", "],
|
||||||
["support.constant.fonts","monospace"],
|
["support.constant.fonts","monospace"],
|
||||||
["text",";"]
|
["text",";"]
|
||||||
]
|
],[
|
||||||
},
|
"css-ruleset",
|
||||||
{
|
|
||||||
"state": "css-ruleset",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["support.type","font-size"],
|
["support.type","font-size"],
|
||||||
["text",": "],
|
["text",": "],
|
||||||
["constant.numeric","12"],
|
["constant.numeric","12"],
|
||||||
["keyword","px"],
|
["keyword","px"],
|
||||||
["text",";"]
|
["text",";"]
|
||||||
]
|
],[
|
||||||
},
|
"css-ruleset",
|
||||||
{
|
|
||||||
"state": "css-ruleset",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["support.type","cursor"],
|
["support.type","cursor"],
|
||||||
["text",": "],
|
["text",": "],
|
||||||
["support.constant","text"],
|
["support.constant","text"],
|
||||||
["text",";"]
|
["text",";"]
|
||||||
]
|
],[
|
||||||
},
|
"css-start",
|
||||||
{
|
|
||||||
"state": "css-start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.rparen","}"]
|
["paren.rparen","}"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["meta.tag","</"],
|
["meta.tag","</"],
|
||||||
["meta.tag.tag-name.style","style"],
|
["meta.tag.tag-name.style","style"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["meta.tag","</"],
|
["meta.tag","</"],
|
||||||
["meta.tag.tag-name","head"],
|
["meta.tag.tag-name","head"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["meta.tag","<"],
|
["meta.tag","<"],
|
||||||
["meta.tag.tag-name","body"],
|
["meta.tag.tag-name","body"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["meta.tag","<"],
|
["meta.tag","<"],
|
||||||
["meta.tag.tag-name","h1"],
|
["meta.tag.tag-name","h1"],
|
||||||
|
|
@ -128,23 +89,15 @@
|
||||||
["meta.tag","</"],
|
["meta.tag","</"],
|
||||||
["meta.tag.tag-name","h1"],
|
["meta.tag.tag-name","h1"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["meta.tag","</"],
|
["meta.tag","</"],
|
||||||
["meta.tag.tag-name","body"],
|
["meta.tag.tag-name","body"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["meta.tag","</"],
|
["meta.tag","</"],
|
||||||
["meta.tag.tag-name","html"],
|
["meta.tag.tag-name","html"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
]]
|
||||||
}
|
|
||||||
]
|
|
||||||
|
|
@ -1,192 +1,104 @@
|
||||||
[
|
[[
|
||||||
{
|
"start",
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword.other.doctype.jade","!!!doctype"]
|
["keyword.other.doctype.jade","!!!doctype"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword.other.doctype.jade","!!!5"]
|
["keyword.other.doctype.jade","!!!5"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword.other.doctype.jade","!!!"]
|
["keyword.other.doctype.jade","!!!"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword.control.import.include.jade","include"],
|
["keyword.control.import.include.jade","include"],
|
||||||
["text"," something"]
|
["text"," something"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword.control.import.include.jade"," include"],
|
["keyword.control.import.include.jade"," include"],
|
||||||
["text"," another_thing"]
|
["text"," another_thing"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["punctuation.section.comment"," // let's talk about it"]
|
["punctuation.section.comment"," // let's talk about it"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"comment_block",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "comment_block",
|
|
||||||
"data": [
|
|
||||||
["punctuation.section.comment","//"]
|
["punctuation.section.comment","//"]
|
||||||
]
|
],[
|
||||||
},
|
"comment_block",
|
||||||
{
|
|
||||||
"state": "comment_block",
|
|
||||||
"data": [
|
|
||||||
["comment.block.jade"," here it is. a block comment!"]
|
["comment.block.jade"," here it is. a block comment!"]
|
||||||
]
|
],[
|
||||||
},
|
"comment_block",
|
||||||
{
|
|
||||||
"state": "comment_block",
|
|
||||||
"data": [
|
|
||||||
["comment.block.jade"," and another row!"]
|
["comment.block.jade"," and another row!"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text","but not here."]
|
["text","but not here."]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"comment_block",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "comment_block",
|
|
||||||
"data": [
|
|
||||||
["punctuation.section.comment"," // "]
|
["punctuation.section.comment"," // "]
|
||||||
]
|
],[
|
||||||
},
|
"comment_block",
|
||||||
{
|
|
||||||
"state": "comment_block",
|
|
||||||
"data": [
|
|
||||||
["comment.block.jade"," a far spaced"]
|
["comment.block.jade"," a far spaced"]
|
||||||
]
|
],[
|
||||||
},
|
"comment_block",
|
||||||
{
|
|
||||||
"state": "comment_block",
|
|
||||||
"data": [
|
|
||||||
["comment.block.jade"," should be lack of block"]
|
["comment.block.jade"," should be lack of block"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["punctuation.section.comment"," // also not a comment"]
|
["punctuation.section.comment"," // also not a comment"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["meta.tag.any.jade"," div"],
|
["meta.tag.any.jade"," div"],
|
||||||
["entity.other.attribute-name.class.jade",".attemptAtBlock"]
|
["entity.other.attribute-name.class.jade",".attemptAtBlock"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "]
|
["text"," "]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["meta.tag.any.jade"," span"],
|
["meta.tag.any.jade"," span"],
|
||||||
["entity.other.attribute-name.id.jade","#myName"]
|
["entity.other.attribute-name.id.jade","#myName"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["string.interpolated.jade","#{implicit}"]
|
["string.interpolated.jade","#{implicit}"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["string.interpolated.jade","!{more_explicit}"]
|
["string.interpolated.jade","!{more_explicit}"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["suport.type.attribute.id.jade","#idDiv"]
|
["suport.type.attribute.id.jade","#idDiv"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["suport.type.attribute.class.jade",".idDiv"]
|
["suport.type.attribute.class.jade",".idDiv"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["meta.tag.any.jade"," test"],
|
["meta.tag.any.jade"," test"],
|
||||||
["punctuation","("],
|
["punctuation","("],
|
||||||
["entity.other.attribute-name.jade","id"],
|
["entity.other.attribute-name.jade","id"],
|
||||||
["text","="],
|
["text","="],
|
||||||
["string","\"tag\""],
|
["string","\"tag\""],
|
||||||
["punctuation",")"]
|
["punctuation",")"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["meta.tag.any.jade"," header"],
|
["meta.tag.any.jade"," header"],
|
||||||
["punctuation","("],
|
["punctuation","("],
|
||||||
["entity.other.attribute-name.jade","id"],
|
["entity.other.attribute-name.jade","id"],
|
||||||
|
|
@ -201,49 +113,31 @@
|
||||||
["text","="],
|
["text","="],
|
||||||
["string","\"aads\""],
|
["string","\"aads\""],
|
||||||
["punctuation",")"]
|
["punctuation",")"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["storage.type.function.jade","mixin"],
|
["storage.type.function.jade","mixin"],
|
||||||
["entity.name.function.jade"," article"],
|
["entity.name.function.jade"," article"],
|
||||||
["punctuation.definition.parameters.begin.jade","("],
|
["punctuation.definition.parameters.begin.jade","("],
|
||||||
["variable.parameter.function.jade","obj, parents"],
|
["variable.parameter.function.jade","obj, parents"],
|
||||||
["punctuation.definition.parameters.end.jade",")"]
|
["punctuation.definition.parameters.end.jade",")"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["storage.type.function.jade"," mixin"],
|
["storage.type.function.jade"," mixin"],
|
||||||
["entity.name.function.jade"," bleh"],
|
["entity.name.function.jade"," bleh"],
|
||||||
["punctuation.definition.parameters.begin.jade","("],
|
["punctuation.definition.parameters.begin.jade","("],
|
||||||
["punctuation.definition.parameters.end.jade",")"]
|
["punctuation.definition.parameters.end.jade",")"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["storage.type.function.jade"," mixin"],
|
["storage.type.function.jade"," mixin"],
|
||||||
["entity.name.function.jade"," clever-name"]
|
["entity.name.function.jade"," clever-name"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["source.js.embedded.jade"," -"],
|
["source.js.embedded.jade"," -"],
|
||||||
["storage.type","var"],
|
["storage.type","var"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -253,26 +147,18 @@
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["string","\"0\""],
|
["string","\"0\""],
|
||||||
["text",";"]
|
["text",";"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["source.js.embedded.jade"," -"],
|
["source.js.embedded.jade"," -"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","y"],
|
["identifier","y"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","each"],
|
["identifier","each"],
|
||||||
["text"," z"]
|
["text"," z"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["source.js.embedded.jade"," -"],
|
["source.js.embedded.jade"," -"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["storage.type","var"],
|
["storage.type","var"],
|
||||||
|
|
@ -290,20 +176,12 @@
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["string","\"three\""],
|
["string","\"three\""],
|
||||||
["text","]"]
|
["text","]"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["meta.tag.any.jade"," each"],
|
["meta.tag.any.jade"," each"],
|
||||||
["text"," item in items"]
|
["text"," item in items"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["meta.tag.any.jade"," li"],
|
["meta.tag.any.jade"," li"],
|
||||||
["text","= item"]
|
["text","= item"]
|
||||||
]
|
]]
|
||||||
}
|
|
||||||
]
|
|
||||||
|
|
@ -1,7 +1,5 @@
|
||||||
[
|
[[
|
||||||
{
|
"start",
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","public"],
|
["keyword","public"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","class"],
|
["keyword","class"],
|
||||||
|
|
@ -9,52 +7,29 @@
|
||||||
["identifier","InfiniteLoop"],
|
["identifier","InfiniteLoop"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["lparen","{"]
|
["lparen","{"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"comment",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "comment",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["comment","/*"]
|
["comment","/*"]
|
||||||
]
|
],[
|
||||||
},
|
"comment",
|
||||||
{
|
|
||||||
"state": "comment",
|
|
||||||
"data": [
|
|
||||||
["comment"," * This will cause the program to hang..."]
|
["comment"," * This will cause the program to hang..."]
|
||||||
]
|
],[
|
||||||
},
|
"comment",
|
||||||
{
|
|
||||||
"state": "comment",
|
|
||||||
"data": [
|
|
||||||
["comment"," *"]
|
["comment"," *"]
|
||||||
]
|
],[
|
||||||
},
|
"comment",
|
||||||
{
|
|
||||||
"state": "comment",
|
|
||||||
"data": [
|
|
||||||
["comment"," * Taken from:"]
|
["comment"," * Taken from:"]
|
||||||
]
|
],[
|
||||||
},
|
"comment",
|
||||||
{
|
|
||||||
"state": "comment",
|
|
||||||
"data": [
|
|
||||||
["comment"," * http://www.exploringbinary.com/java-hangs-when-converting-2-2250738585072012e-308/"]
|
["comment"," * http://www.exploringbinary.com/java-hangs-when-converting-2-2250738585072012e-308/"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["comment"," */"]
|
["comment"," */"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","public"],
|
["keyword","public"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -72,11 +47,8 @@
|
||||||
["rparen",")"],
|
["rparen",")"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["lparen","{"]
|
["lparen","{"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","double"],
|
["keyword","double"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -91,22 +63,14 @@
|
||||||
["string","\"2.2250738585072012e-308\""],
|
["string","\"2.2250738585072012e-308\""],
|
||||||
["rparen",")"],
|
["rparen",")"],
|
||||||
["text",";"]
|
["text",";"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["comment","// unreachable code"]
|
["comment","// unreachable code"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["support.function","System"],
|
["support.function","System"],
|
||||||
["text","."],
|
["text","."],
|
||||||
|
|
@ -121,19 +85,11 @@
|
||||||
["identifier","d"],
|
["identifier","d"],
|
||||||
["rparen",")"],
|
["rparen",")"],
|
||||||
["text",";"]
|
["text",";"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["rparen","}"]
|
["rparen","}"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["rparen","}"]
|
["rparen","}"]
|
||||||
]
|
]]
|
||||||
}
|
|
||||||
]
|
|
||||||
|
|
@ -1,7 +1,5 @@
|
||||||
[
|
[[
|
||||||
{
|
"regex_allowed",
|
||||||
"state": "regex_allowed",
|
|
||||||
"data": [
|
|
||||||
["storage.type","function"],
|
["storage.type","function"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["entity.name.function","foo"],
|
["entity.name.function","foo"],
|
||||||
|
|
@ -12,11 +10,8 @@
|
||||||
["paren.rparen",")"],
|
["paren.rparen",")"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.lparen","{"]
|
["paren.lparen","{"]
|
||||||
]
|
],[
|
||||||
},
|
"regex_allowed",
|
||||||
{
|
|
||||||
"state": "regex_allowed",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","for"],
|
["keyword","for"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -40,11 +35,8 @@
|
||||||
["paren.rparen",")"],
|
["paren.rparen",")"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.lparen","{"]
|
["paren.lparen","{"]
|
||||||
]
|
],[
|
||||||
},
|
"regex_allowed",
|
||||||
{
|
|
||||||
"state": "regex_allowed",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["support.function","alert"],
|
["support.function","alert"],
|
||||||
["paren.lparen","("],
|
["paren.lparen","("],
|
||||||
|
|
@ -60,30 +52,19 @@
|
||||||
["string","\""],
|
["string","\""],
|
||||||
["paren.rparen",")"],
|
["paren.rparen",")"],
|
||||||
["punctuation.operator",";"]
|
["punctuation.operator",";"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.rparen","}"],
|
["paren.rparen","}"],
|
||||||
["text","\t"],
|
["text","\t"],
|
||||||
["comment","// Real Tab."]
|
["comment","// Real Tab."]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["paren.rparen","}"]
|
["paren.rparen","}"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["identifier","regexp"],
|
["identifier","regexp"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword.operator","="],
|
["keyword.operator","="],
|
||||||
|
|
@ -93,15 +74,10 @@
|
||||||
["string.regexp","p/"],
|
["string.regexp","p/"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["comment","// ends here"]
|
["comment","// ends here"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["identifier","r"],
|
["identifier","r"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword.operator","="],
|
["keyword.operator","="],
|
||||||
|
|
@ -145,11 +121,8 @@
|
||||||
["string.regexp","/"],
|
["string.regexp","/"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","o"]
|
["identifier","o"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["identifier","a"],
|
["identifier","a"],
|
||||||
["keyword.operator","="],
|
["keyword.operator","="],
|
||||||
["string.regexp","/a/"],
|
["string.regexp","/a/"],
|
||||||
|
|
@ -163,58 +136,35 @@
|
||||||
["keyword.operator","/"],
|
["keyword.operator","/"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["string.regexp","/ /"]
|
["string.regexp","/ /"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["comment.doc","/************************************/"]
|
["comment.doc","/************************************/"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["comment.doc","/** total mess, tricky to highlight**/"]
|
["comment.doc","/** total mess, tricky to highlight**/"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"regex_allowed",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "regex_allowed",
|
|
||||||
"data": [
|
|
||||||
["storage.type","function"],
|
["storage.type","function"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.lparen","("],
|
["paren.lparen","("],
|
||||||
["paren.rparen",")"],
|
["paren.rparen",")"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.lparen","{"]
|
["paren.lparen","{"]
|
||||||
]
|
],[
|
||||||
},
|
"doc-start",
|
||||||
{
|
|
||||||
"state": "doc-start",
|
|
||||||
"data": [
|
|
||||||
["text","\t"],
|
["text","\t"],
|
||||||
["comment.doc","/**"]
|
["comment.doc","/**"]
|
||||||
]
|
],[
|
||||||
},
|
"doc-start",
|
||||||
{
|
|
||||||
"state": "doc-start",
|
|
||||||
"data": [
|
|
||||||
["comment.doc","\t * docComment"]
|
["comment.doc","\t * docComment"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["comment.doc","\t **/"]
|
["comment.doc","\t **/"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text","\t"],
|
["text","\t"],
|
||||||
["identifier","r"],
|
["identifier","r"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -224,11 +174,8 @@
|
||||||
["regexp.keyword.operator","\\t"],
|
["regexp.keyword.operator","\\t"],
|
||||||
["constant.language.escape","*"],
|
["constant.language.escape","*"],
|
||||||
["string.regexp","/"]
|
["string.regexp","/"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text","\t"],
|
["text","\t"],
|
||||||
["identifier","g"],
|
["identifier","g"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -259,11 +206,8 @@
|
||||||
["keyword.operator","+"],
|
["keyword.operator","+"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["constant.numeric","0x25"]
|
["constant.numeric","0x25"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text","\t"],
|
["text","\t"],
|
||||||
["identifier","t"],
|
["identifier","t"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -275,106 +219,62 @@
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["string","''"],
|
["string","''"],
|
||||||
["paren.rparen","]"]
|
["paren.rparen","]"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["paren.rparen","}"]
|
["paren.rparen","}"]
|
||||||
]
|
],[
|
||||||
},
|
"regex_allowed",
|
||||||
{
|
|
||||||
"state": "regex_allowed",
|
|
||||||
"data": [
|
|
||||||
["storage.type","function"],
|
["storage.type","function"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.lparen","("],
|
["paren.lparen","("],
|
||||||
["paren.rparen",")"],
|
["paren.rparen",")"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.lparen","{"]
|
["paren.lparen","{"]
|
||||||
]
|
],[
|
||||||
},
|
"regex_allowed",
|
||||||
{
|
|
||||||
"state": "regex_allowed",
|
|
||||||
"data": [
|
|
||||||
["text","\t"],
|
["text","\t"],
|
||||||
["comment","/* eee */"]
|
["comment","/* eee */"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["paren.rparen","}"]
|
["paren.rparen","}"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"qqstring",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "qqstring",
|
|
||||||
"data": [
|
|
||||||
["string","\"s\\"]
|
["string","\"s\\"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["string","s"],
|
["string","s"],
|
||||||
["constant.language.escape","\\u7824"],
|
["constant.language.escape","\\u7824"],
|
||||||
["string","sss"],
|
["string","sss"],
|
||||||
["constant.language.escape","\\u"],
|
["constant.language.escape","\\u"],
|
||||||
["string","1\""]
|
["string","1\""]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"qstring",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "qstring",
|
|
||||||
"data": [
|
|
||||||
["string","'\\"]
|
["string","'\\"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["string","string'"]
|
["string","string'"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text","'"]
|
["text","'"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["identifier","string"],
|
["identifier","string"],
|
||||||
["text","'"]
|
["text","'"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["string","\"trailing space"],
|
["string","\"trailing space"],
|
||||||
["constant.language.escape","\\ "],
|
["constant.language.escape","\\ "],
|
||||||
["string"," "]
|
["string"," "]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["string","\" \""],
|
["string","\" \""],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword.operator","/"],
|
["keyword.operator","/"],
|
||||||
|
|
@ -385,58 +285,36 @@
|
||||||
["identifier","regexp"],
|
["identifier","regexp"],
|
||||||
["keyword.operator","/"],
|
["keyword.operator","/"],
|
||||||
["identifier","g"]
|
["identifier","g"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"doc-start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "doc-start",
|
|
||||||
"data": [
|
|
||||||
["comment.doc","/**"]
|
["comment.doc","/**"]
|
||||||
]
|
],[
|
||||||
},
|
"doc-start",
|
||||||
{
|
|
||||||
"state": "doc-start",
|
|
||||||
"data": [
|
|
||||||
["comment.doc"," *doc"]
|
["comment.doc"," *doc"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["comment.doc"," */"]
|
["comment.doc"," */"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"regex_allowed",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "regex_allowed",
|
|
||||||
"data": [
|
|
||||||
["identifier","a"],
|
["identifier","a"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword.operator","="],
|
["keyword.operator","="],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.lparen","{"]
|
["paren.lparen","{"]
|
||||||
]
|
],[
|
||||||
},
|
"regex_allowed",
|
||||||
{
|
|
||||||
"state": "regex_allowed",
|
|
||||||
"data": [
|
|
||||||
["text","\t"],
|
["text","\t"],
|
||||||
["string","'a'"],
|
["string","'a'"],
|
||||||
["punctuation.operator",":"],
|
["punctuation.operator",":"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","b"],
|
["identifier","b"],
|
||||||
["punctuation.operator",","]
|
["punctuation.operator",","]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text","\t"],
|
["text","\t"],
|
||||||
["string","'g'"],
|
["string","'g'"],
|
||||||
["text",": "],
|
["text",": "],
|
||||||
|
|
@ -444,11 +322,8 @@
|
||||||
["paren.lparen","("],
|
["paren.lparen","("],
|
||||||
["variable.parameter","t"],
|
["variable.parameter","t"],
|
||||||
["paren.rparen",")"]
|
["paren.rparen",")"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text","\t"],
|
["text","\t"],
|
||||||
["entity.name.function","gta"],
|
["entity.name.function","gta"],
|
||||||
["punctuation.operator",":"],
|
["punctuation.operator",":"],
|
||||||
|
|
@ -458,25 +333,15 @@
|
||||||
["punctuation.operator",","],
|
["punctuation.operator",","],
|
||||||
["variable.parameter","b"],
|
["variable.parameter","b"],
|
||||||
["paren.rparen",")"]
|
["paren.rparen",")"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["paren.rparen","}"]
|
["paren.rparen","}"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start"
|
||||||
"data": []
|
],[
|
||||||
},
|
"function_arguments",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "function_arguments",
|
|
||||||
"data": [
|
|
||||||
["identifier","foo"],
|
["identifier","foo"],
|
||||||
["punctuation.operator","."],
|
["punctuation.operator","."],
|
||||||
["storage.type","protoype"],
|
["storage.type","protoype"],
|
||||||
|
|
@ -491,21 +356,15 @@
|
||||||
["punctuation.operator",", "],
|
["punctuation.operator",", "],
|
||||||
["variable.parameter","b"],
|
["variable.parameter","b"],
|
||||||
["punctuation.operator",","]
|
["punctuation.operator",","]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["punctuation.operator"," "],
|
["punctuation.operator"," "],
|
||||||
["variable.parameter","c"],
|
["variable.parameter","c"],
|
||||||
["punctuation.operator",", "],
|
["punctuation.operator",", "],
|
||||||
["variable.parameter","d"],
|
["variable.parameter","d"],
|
||||||
["paren.rparen",")"]
|
["paren.rparen",")"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["storage.type","foo"],
|
["storage.type","foo"],
|
||||||
["punctuation.operator","."],
|
["punctuation.operator","."],
|
||||||
["entity.name.function","d"],
|
["entity.name.function","d"],
|
||||||
|
|
@ -517,11 +376,8 @@
|
||||||
["punctuation.operator",", "],
|
["punctuation.operator",", "],
|
||||||
["variable.parameter","b"],
|
["variable.parameter","b"],
|
||||||
["paren.rparen",")"]
|
["paren.rparen",")"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["storage.type","foo"],
|
["storage.type","foo"],
|
||||||
["punctuation.operator","."],
|
["punctuation.operator","."],
|
||||||
["entity.name.function","d"],
|
["entity.name.function","d"],
|
||||||
|
|
@ -536,10 +392,6 @@
|
||||||
["identifier","d"],
|
["identifier","d"],
|
||||||
["string","\"string\""],
|
["string","\"string\""],
|
||||||
["text"," "]
|
["text"," "]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
]]
|
||||||
"state": "start",
|
|
||||||
"data": []
|
|
||||||
}
|
|
||||||
]
|
|
||||||
|
|
@ -1,611 +1,412 @@
|
||||||
[
|
[[
|
||||||
{
|
"start",
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["paren.lparen","{"]
|
["paren.lparen","{"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable","\"query\""],
|
["variable","\"query\""],
|
||||||
["text",": "],
|
["text",": "],
|
||||||
["paren.lparen","{"]
|
["paren.lparen","{"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable","\"count\""],
|
["variable","\"count\""],
|
||||||
["text",": "],
|
["text",": "],
|
||||||
["constant.numeric","10"],
|
["constant.numeric","10"],
|
||||||
["text",","]
|
["text",","]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable","\"created\""],
|
["variable","\"created\""],
|
||||||
["text",": "],
|
["text",": "],
|
||||||
["string","\"2011-06-21T08:10:46Z\""],
|
["string","\"2011-06-21T08:10:46Z\""],
|
||||||
["text",","]
|
["text",","]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable","\"lang\""],
|
["variable","\"lang\""],
|
||||||
["text",": "],
|
["text",": "],
|
||||||
["string","\"en-US\""],
|
["string","\"en-US\""],
|
||||||
["text",","]
|
["text",","]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable","\"results\""],
|
["variable","\"results\""],
|
||||||
["text",": "],
|
["text",": "],
|
||||||
["paren.lparen","{"]
|
["paren.lparen","{"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable","\"photo\""],
|
["variable","\"photo\""],
|
||||||
["text",": "],
|
["text",": "],
|
||||||
["paren.lparen","["]
|
["paren.lparen","["]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.lparen","{"]
|
["paren.lparen","{"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable","\"farm\""],
|
["variable","\"farm\""],
|
||||||
["text",": "],
|
["text",": "],
|
||||||
["string","\"6\""],
|
["string","\"6\""],
|
||||||
["text",","]
|
["text",","]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable","\"id\""],
|
["variable","\"id\""],
|
||||||
["text",": "],
|
["text",": "],
|
||||||
["string","\"5855620975\""],
|
["string","\"5855620975\""],
|
||||||
["text",","]
|
["text",","]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable","\"isfamily\""],
|
["variable","\"isfamily\""],
|
||||||
["text",": "],
|
["text",": "],
|
||||||
["string","\"0\""],
|
["string","\"0\""],
|
||||||
["text",","]
|
["text",","]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable","\"isfriend\""],
|
["variable","\"isfriend\""],
|
||||||
["text",": "],
|
["text",": "],
|
||||||
["string","\"0\""],
|
["string","\"0\""],
|
||||||
["text",","]
|
["text",","]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable","\"ispublic\""],
|
["variable","\"ispublic\""],
|
||||||
["text",": "],
|
["text",": "],
|
||||||
["string","\"1\""],
|
["string","\"1\""],
|
||||||
["text",","]
|
["text",","]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable","\"owner\""],
|
["variable","\"owner\""],
|
||||||
["text",": "],
|
["text",": "],
|
||||||
["string","\"32021554@N04\""],
|
["string","\"32021554@N04\""],
|
||||||
["text",","]
|
["text",","]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable","\"secret\""],
|
["variable","\"secret\""],
|
||||||
["text",": "],
|
["text",": "],
|
||||||
["string","\"f1f5e8515d\""],
|
["string","\"f1f5e8515d\""],
|
||||||
["text",","]
|
["text",","]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable","\"server\""],
|
["variable","\"server\""],
|
||||||
["text",": "],
|
["text",": "],
|
||||||
["string","\"5110\""],
|
["string","\"5110\""],
|
||||||
["text",","]
|
["text",","]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable","\"title\""],
|
["variable","\"title\""],
|
||||||
["text",": "],
|
["text",": "],
|
||||||
["string","\"7087 bandit cat\""]
|
["string","\"7087 bandit cat\""]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.rparen","}"],
|
["paren.rparen","}"],
|
||||||
["text",","]
|
["text",","]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.lparen","{"]
|
["paren.lparen","{"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable","\"farm\""],
|
["variable","\"farm\""],
|
||||||
["text",": "],
|
["text",": "],
|
||||||
["string","\"4\""],
|
["string","\"4\""],
|
||||||
["text",","]
|
["text",","]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable","\"id\""],
|
["variable","\"id\""],
|
||||||
["text",": "],
|
["text",": "],
|
||||||
["string","\"5856170534\""],
|
["string","\"5856170534\""],
|
||||||
["text",","]
|
["text",","]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable","\"isfamily\""],
|
["variable","\"isfamily\""],
|
||||||
["text",": "],
|
["text",": "],
|
||||||
["string","\"0\""],
|
["string","\"0\""],
|
||||||
["text",","]
|
["text",","]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable","\"isfriend\""],
|
["variable","\"isfriend\""],
|
||||||
["text",": "],
|
["text",": "],
|
||||||
["string","\"0\""],
|
["string","\"0\""],
|
||||||
["text",","]
|
["text",","]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable","\"ispublic\""],
|
["variable","\"ispublic\""],
|
||||||
["text",": "],
|
["text",": "],
|
||||||
["string","\"1\""],
|
["string","\"1\""],
|
||||||
["text",","]
|
["text",","]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable","\"owner\""],
|
["variable","\"owner\""],
|
||||||
["text",": "],
|
["text",": "],
|
||||||
["string","\"32021554@N04\""],
|
["string","\"32021554@N04\""],
|
||||||
["text",","]
|
["text",","]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable","\"secret\""],
|
["variable","\"secret\""],
|
||||||
["text",": "],
|
["text",": "],
|
||||||
["string","\"ff1efb2a6f\""],
|
["string","\"ff1efb2a6f\""],
|
||||||
["text",","]
|
["text",","]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable","\"server\""],
|
["variable","\"server\""],
|
||||||
["text",": "],
|
["text",": "],
|
||||||
["string","\"3217\""],
|
["string","\"3217\""],
|
||||||
["text",","]
|
["text",","]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable","\"title\""],
|
["variable","\"title\""],
|
||||||
["text",": "],
|
["text",": "],
|
||||||
["string","\"6975 rusty cat\""]
|
["string","\"6975 rusty cat\""]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.rparen","}"],
|
["paren.rparen","}"],
|
||||||
["text",","]
|
["text",","]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.lparen","{"]
|
["paren.lparen","{"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable","\"farm\""],
|
["variable","\"farm\""],
|
||||||
["text",": "],
|
["text",": "],
|
||||||
["string","\"6\""],
|
["string","\"6\""],
|
||||||
["text",","]
|
["text",","]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable","\"id\""],
|
["variable","\"id\""],
|
||||||
["text",": "],
|
["text",": "],
|
||||||
["string","\"5856172972\""],
|
["string","\"5856172972\""],
|
||||||
["text",","]
|
["text",","]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable","\"isfamily\""],
|
["variable","\"isfamily\""],
|
||||||
["text",": "],
|
["text",": "],
|
||||||
["string","\"0\""],
|
["string","\"0\""],
|
||||||
["text",","]
|
["text",","]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable","\"isfriend\""],
|
["variable","\"isfriend\""],
|
||||||
["text",": "],
|
["text",": "],
|
||||||
["string","\"0\""],
|
["string","\"0\""],
|
||||||
["text",","]
|
["text",","]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable","\"ispublic\""],
|
["variable","\"ispublic\""],
|
||||||
["text",": "],
|
["text",": "],
|
||||||
["string","\"1\""],
|
["string","\"1\""],
|
||||||
["text",","]
|
["text",","]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable","\"owner\""],
|
["variable","\"owner\""],
|
||||||
["text",": "],
|
["text",": "],
|
||||||
["string","\"51249875@N03\""],
|
["string","\"51249875@N03\""],
|
||||||
["text",","]
|
["text",","]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable","\"secret\""],
|
["variable","\"secret\""],
|
||||||
["text",": "],
|
["text",": "],
|
||||||
["string","\"6c6887347c\""],
|
["string","\"6c6887347c\""],
|
||||||
["text",","]
|
["text",","]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable","\"server\""],
|
["variable","\"server\""],
|
||||||
["text",": "],
|
["text",": "],
|
||||||
["string","\"5192\""],
|
["string","\"5192\""],
|
||||||
["text",","]
|
["text",","]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable","\"title\""],
|
["variable","\"title\""],
|
||||||
["text",": "],
|
["text",": "],
|
||||||
["string","\"watermarked-cats\""]
|
["string","\"watermarked-cats\""]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.rparen","}"],
|
["paren.rparen","}"],
|
||||||
["text",","]
|
["text",","]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.lparen","{"]
|
["paren.lparen","{"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable","\"farm\""],
|
["variable","\"farm\""],
|
||||||
["text",": "],
|
["text",": "],
|
||||||
["string","\"6\""],
|
["string","\"6\""],
|
||||||
["text",","]
|
["text",","]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable","\"id\""],
|
["variable","\"id\""],
|
||||||
["text",": "],
|
["text",": "],
|
||||||
["string","\"5856168328\""],
|
["string","\"5856168328\""],
|
||||||
["text",","]
|
["text",","]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable","\"isfamily\""],
|
["variable","\"isfamily\""],
|
||||||
["text",": "],
|
["text",": "],
|
||||||
["string","\"0\""],
|
["string","\"0\""],
|
||||||
["text",","]
|
["text",","]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable","\"isfriend\""],
|
["variable","\"isfriend\""],
|
||||||
["text",": "],
|
["text",": "],
|
||||||
["string","\"0\""],
|
["string","\"0\""],
|
||||||
["text",","]
|
["text",","]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable","\"ispublic\""],
|
["variable","\"ispublic\""],
|
||||||
["text",": "],
|
["text",": "],
|
||||||
["string","\"1\""],
|
["string","\"1\""],
|
||||||
["text",","]
|
["text",","]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable","\"owner\""],
|
["variable","\"owner\""],
|
||||||
["text",": "],
|
["text",": "],
|
||||||
["string","\"32021554@N04\""],
|
["string","\"32021554@N04\""],
|
||||||
["text",","]
|
["text",","]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable","\"secret\""],
|
["variable","\"secret\""],
|
||||||
["text",": "],
|
["text",": "],
|
||||||
["string","\"0c1cfdf64c\""],
|
["string","\"0c1cfdf64c\""],
|
||||||
["text",","]
|
["text",","]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable","\"server\""],
|
["variable","\"server\""],
|
||||||
["text",": "],
|
["text",": "],
|
||||||
["string","\"5078\""],
|
["string","\"5078\""],
|
||||||
["text",","]
|
["text",","]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable","\"title\""],
|
["variable","\"title\""],
|
||||||
["text",": "],
|
["text",": "],
|
||||||
["string","\"7020 mandy cat\""]
|
["string","\"7020 mandy cat\""]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.rparen","}"],
|
["paren.rparen","}"],
|
||||||
["text",","]
|
["text",","]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.lparen","{"]
|
["paren.lparen","{"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable","\"farm\""],
|
["variable","\"farm\""],
|
||||||
["text",": "],
|
["text",": "],
|
||||||
["string","\"3\""],
|
["string","\"3\""],
|
||||||
["text",","]
|
["text",","]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable","\"id\""],
|
["variable","\"id\""],
|
||||||
["text",": "],
|
["text",": "],
|
||||||
["string","\"5856171774\""],
|
["string","\"5856171774\""],
|
||||||
["text",","]
|
["text",","]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable","\"isfamily\""],
|
["variable","\"isfamily\""],
|
||||||
["text",": "],
|
["text",": "],
|
||||||
["string","\"0\""],
|
["string","\"0\""],
|
||||||
["text",","]
|
["text",","]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable","\"isfriend\""],
|
["variable","\"isfriend\""],
|
||||||
["text",": "],
|
["text",": "],
|
||||||
["string","\"0\""],
|
["string","\"0\""],
|
||||||
["text",","]
|
["text",","]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable","\"ispublic\""],
|
["variable","\"ispublic\""],
|
||||||
["text",": "],
|
["text",": "],
|
||||||
["string","\"1\""],
|
["string","\"1\""],
|
||||||
["text",","]
|
["text",","]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable","\"owner\""],
|
["variable","\"owner\""],
|
||||||
["text",": "],
|
["text",": "],
|
||||||
["string","\"32021554@N04\""],
|
["string","\"32021554@N04\""],
|
||||||
["text",","]
|
["text",","]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable","\"secret\""],
|
["variable","\"secret\""],
|
||||||
["text",": "],
|
["text",": "],
|
||||||
["string","\"7f5a3180ab\""],
|
["string","\"7f5a3180ab\""],
|
||||||
["text",","]
|
["text",","]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable","\"server\""],
|
["variable","\"server\""],
|
||||||
["text",": "],
|
["text",": "],
|
||||||
["string","\"2696\""],
|
["string","\"2696\""],
|
||||||
["text",","]
|
["text",","]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable","\"title\""],
|
["variable","\"title\""],
|
||||||
["text",": "],
|
["text",": "],
|
||||||
["string","\"7448 bobby cat\""]
|
["string","\"7448 bobby cat\""]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.rparen","}"]
|
["paren.rparen","}"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.rparen","]"]
|
["paren.rparen","]"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.rparen","}"]
|
["paren.rparen","}"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.rparen","}"]
|
["paren.rparen","}"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["paren.rparen","}"]
|
["paren.rparen","}"]
|
||||||
]
|
]]
|
||||||
}
|
|
||||||
]
|
|
||||||
|
|
@ -1,32 +1,21 @@
|
||||||
[
|
[[
|
||||||
{
|
"start",
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["meta.tag","<"],
|
["meta.tag","<"],
|
||||||
["meta.tag.tag-name","html"],
|
["meta.tag.tag-name","html"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["meta.tag","<"],
|
["meta.tag","<"],
|
||||||
["meta.tag.tag-name","body"],
|
["meta.tag.tag-name","body"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"js-start",
|
||||||
{
|
|
||||||
"state": "js-start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["meta.tag","<"],
|
["meta.tag","<"],
|
||||||
["meta.tag.tag-name.script","script"],
|
["meta.tag.tag-name.script","script"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"js-regex_allowed",
|
||||||
{
|
|
||||||
"state": "js-regex_allowed",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["storage.type","var"],
|
["storage.type","var"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -36,95 +25,63 @@
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["string","\"abc\""],
|
["string","\"abc\""],
|
||||||
["punctuation.operator",";"]
|
["punctuation.operator",";"]
|
||||||
]
|
],[
|
||||||
},
|
"js-regex_allowed",
|
||||||
{
|
|
||||||
"state": "js-regex_allowed",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["storage.type","function"],
|
["storage.type","function"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","y"],
|
["identifier","y"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.lparen","{"]
|
["paren.lparen","{"]
|
||||||
]
|
],[
|
||||||
},
|
"js-start",
|
||||||
{
|
|
||||||
"state": "js-start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.rparen","}"]
|
["paren.rparen","}"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["meta.tag","</"],
|
["meta.tag","</"],
|
||||||
["meta.tag.tag-name.script","script"],
|
["meta.tag.tag-name.script","script"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"css-start",
|
||||||
{
|
|
||||||
"state": "css-start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["meta.tag","<"],
|
["meta.tag","<"],
|
||||||
["meta.tag.tag-name.style","style"],
|
["meta.tag.tag-name.style","style"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"css-ruleset",
|
||||||
{
|
|
||||||
"state": "css-ruleset",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable",".class"],
|
["variable",".class"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.lparen","{"]
|
["paren.lparen","{"]
|
||||||
]
|
],[
|
||||||
},
|
"css-ruleset",
|
||||||
{
|
|
||||||
"state": "css-ruleset",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["support.type","background"],
|
["support.type","background"],
|
||||||
["text",": "],
|
["text",": "],
|
||||||
["constant.numeric","#124356"],
|
["constant.numeric","#124356"],
|
||||||
["text",";"]
|
["text",";"]
|
||||||
]
|
],[
|
||||||
},
|
"css-start",
|
||||||
{
|
|
||||||
"state": "css-start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.rparen","}"]
|
["paren.rparen","}"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["meta.tag","</"],
|
["meta.tag","</"],
|
||||||
["meta.tag.tag-name.style","style"],
|
["meta.tag.tag-name.style","style"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["meta.tag","<"],
|
["meta.tag","<"],
|
||||||
["meta.tag.tag-name","p"],
|
["meta.tag.tag-name","p"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," Today's date: "],
|
["text"," Today's date: "],
|
||||||
["meta.tag","<%"],
|
["meta.tag","<%"],
|
||||||
["keyword.operator","="],
|
["keyword.operator","="],
|
||||||
|
|
@ -144,20 +101,14 @@
|
||||||
["lparen","("],
|
["lparen","("],
|
||||||
["rparen",")"],
|
["rparen",")"],
|
||||||
["meta.tag","%>"]
|
["meta.tag","%>"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["meta.tag","</"],
|
["meta.tag","</"],
|
||||||
["meta.tag.tag-name","p"],
|
["meta.tag.tag-name","p"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["meta.tag","<%"],
|
["meta.tag","<%"],
|
||||||
["keyword.operator","!"],
|
["keyword.operator","!"],
|
||||||
|
|
@ -171,18 +122,12 @@
|
||||||
["constant.numeric","0"],
|
["constant.numeric","0"],
|
||||||
["text","; "],
|
["text","; "],
|
||||||
["meta.tag","%>"]
|
["meta.tag","%>"]
|
||||||
]
|
],[
|
||||||
},
|
"jsp-start",
|
||||||
{
|
|
||||||
"state": "jsp-start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["meta.tag","<jsp:declaration>"]
|
["meta.tag","<jsp:declaration>"]
|
||||||
]
|
],[
|
||||||
},
|
"jsp-start",
|
||||||
{
|
|
||||||
"state": "jsp-start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","int"],
|
["keyword","int"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -192,29 +137,18 @@
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["constant.numeric","10"],
|
["constant.numeric","10"],
|
||||||
["text",";"]
|
["text",";"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["meta.tag","</jsp:declaration>"]
|
["meta.tag","</jsp:declaration>"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["comment","<%-- This is JSP comment --%>"]
|
["comment","<%-- This is JSP comment --%>"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["meta.tag","<%@"],
|
["meta.tag","<%@"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -225,15 +159,10 @@
|
||||||
["string","\"value\""],
|
["string","\"value\""],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["meta.tag","%>"]
|
["meta.tag","%>"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["meta.tag","<"],
|
["meta.tag","<"],
|
||||||
["meta.tag.tag-name","h2"],
|
["meta.tag.tag-name","h2"],
|
||||||
|
|
@ -242,15 +171,10 @@
|
||||||
["meta.tag","</"],
|
["meta.tag","</"],
|
||||||
["meta.tag.tag-name","h2"],
|
["meta.tag.tag-name","h2"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["meta.tag","<"],
|
["meta.tag","<"],
|
||||||
["meta.tag.tag-name.form","form"],
|
["meta.tag.tag-name.form","form"],
|
||||||
|
|
@ -259,11 +183,8 @@
|
||||||
["keyword.operator","="],
|
["keyword.operator","="],
|
||||||
["string","\"jspCheckBox.jsp\""],
|
["string","\"jspCheckBox.jsp\""],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["meta.tag","<"],
|
["meta.tag","<"],
|
||||||
["meta.tag.tag-name.form","input"],
|
["meta.tag.tag-name.form","input"],
|
||||||
|
|
@ -284,11 +205,8 @@
|
||||||
["meta.tag","<"],
|
["meta.tag","<"],
|
||||||
["meta.tag.tag-name","BR"],
|
["meta.tag.tag-name","BR"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["meta.tag","<"],
|
["meta.tag","<"],
|
||||||
["meta.tag.tag-name.form","input"],
|
["meta.tag.tag-name.form","input"],
|
||||||
|
|
@ -309,11 +227,8 @@
|
||||||
["meta.tag","<"],
|
["meta.tag","<"],
|
||||||
["meta.tag.tag-name","BR"],
|
["meta.tag.tag-name","BR"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["meta.tag","<"],
|
["meta.tag","<"],
|
||||||
["meta.tag.tag-name.form","input"],
|
["meta.tag.tag-name.form","input"],
|
||||||
|
|
@ -334,11 +249,8 @@
|
||||||
["meta.tag","<"],
|
["meta.tag","<"],
|
||||||
["meta.tag.tag-name","BR"],
|
["meta.tag.tag-name","BR"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["meta.tag","<"],
|
["meta.tag","<"],
|
||||||
["meta.tag.tag-name.form","input"],
|
["meta.tag.tag-name.form","input"],
|
||||||
|
|
@ -359,11 +271,8 @@
|
||||||
["meta.tag","<"],
|
["meta.tag","<"],
|
||||||
["meta.tag.tag-name","BR"],
|
["meta.tag.tag-name","BR"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["meta.tag","<"],
|
["meta.tag","<"],
|
||||||
["meta.tag.tag-name.form","input"],
|
["meta.tag.tag-name.form","input"],
|
||||||
|
|
@ -384,11 +293,8 @@
|
||||||
["meta.tag","<"],
|
["meta.tag","<"],
|
||||||
["meta.tag.tag-name","BR"],
|
["meta.tag.tag-name","BR"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["meta.tag","<"],
|
["meta.tag","<"],
|
||||||
["meta.tag.tag-name.form","input"],
|
["meta.tag.tag-name.form","input"],
|
||||||
|
|
@ -401,31 +307,20 @@
|
||||||
["keyword.operator","="],
|
["keyword.operator","="],
|
||||||
["string","\"Submit\""],
|
["string","\"Submit\""],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["meta.tag","</"],
|
["meta.tag","</"],
|
||||||
["meta.tag.tag-name.form","form"],
|
["meta.tag.tag-name.form","form"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"jsp-start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "jsp-start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["meta.tag","<%"]
|
["meta.tag","<%"]
|
||||||
]
|
],[
|
||||||
},
|
"jsp-start",
|
||||||
{
|
|
||||||
"state": "jsp-start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["support.function","String"],
|
["support.function","String"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -442,11 +337,8 @@
|
||||||
["string","\"id\""],
|
["string","\"id\""],
|
||||||
["rparen",")"],
|
["rparen",")"],
|
||||||
["text","; "]
|
["text","; "]
|
||||||
]
|
],[
|
||||||
},
|
"jsp-start",
|
||||||
{
|
|
||||||
"state": "jsp-start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","if"],
|
["keyword","if"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -469,11 +361,8 @@
|
||||||
["rparen",")"],
|
["rparen",")"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["lparen","{"]
|
["lparen","{"]
|
||||||
]
|
],[
|
||||||
},
|
"jsp-start",
|
||||||
{
|
|
||||||
"state": "jsp-start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable.language","out"],
|
["variable.language","out"],
|
||||||
["text","."],
|
["text","."],
|
||||||
|
|
@ -482,11 +371,8 @@
|
||||||
["string","\"You have selected: \""],
|
["string","\"You have selected: \""],
|
||||||
["rparen",")"],
|
["rparen",")"],
|
||||||
["text",";"]
|
["text",";"]
|
||||||
]
|
],[
|
||||||
},
|
"jsp-start",
|
||||||
{
|
|
||||||
"state": "jsp-start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","for"],
|
["keyword","for"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -512,11 +398,8 @@
|
||||||
["rparen",")"],
|
["rparen",")"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["lparen","{"]
|
["lparen","{"]
|
||||||
]
|
],[
|
||||||
},
|
"jsp-start",
|
||||||
{
|
|
||||||
"state": "jsp-start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable.language","out"],
|
["variable.language","out"],
|
||||||
["text","."],
|
["text","."],
|
||||||
|
|
@ -527,43 +410,26 @@
|
||||||
["identifier","i"],
|
["identifier","i"],
|
||||||
["rparen","])"],
|
["rparen","])"],
|
||||||
["text","; "]
|
["text","; "]
|
||||||
]
|
],[
|
||||||
},
|
"jsp-start",
|
||||||
{
|
|
||||||
"state": "jsp-start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["rparen","}"]
|
["rparen","}"]
|
||||||
]
|
],[
|
||||||
},
|
"jsp-start",
|
||||||
{
|
|
||||||
"state": "jsp-start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["rparen","}"]
|
["rparen","}"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["meta.tag","%>"]
|
["meta.tag","%>"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["meta.tag","</"],
|
["meta.tag","</"],
|
||||||
["meta.tag.tag-name","body"],
|
["meta.tag.tag-name","body"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["meta.tag","</"],
|
["meta.tag","</"],
|
||||||
["meta.tag.tag-name","html"],
|
["meta.tag.tag-name","html"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
]]
|
||||||
}
|
|
||||||
]
|
|
||||||
|
|
@ -1,35 +1,21 @@
|
||||||
[
|
[[
|
||||||
{
|
"comment",
|
||||||
"state": "comment",
|
|
||||||
"data": [
|
|
||||||
["comment","/*EXPECTED"]
|
["comment","/*EXPECTED"]
|
||||||
]
|
],[
|
||||||
},
|
"comment",
|
||||||
{
|
|
||||||
"state": "comment",
|
|
||||||
"data": [
|
|
||||||
["comment","hello world!"]
|
["comment","hello world!"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["comment","*/"]
|
["comment","*/"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","class"],
|
["keyword","class"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["language.support.class","Test"],
|
["language.support.class","Test"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.lparen","{"]
|
["paren.lparen","{"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","static"],
|
["keyword","static"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -44,36 +30,22 @@
|
||||||
["keyword","void"],
|
["keyword","void"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.lparen","{"]
|
["paren.lparen","{"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["comment","// console.log(\"hello world!\");"]
|
["comment","// console.log(\"hello world!\");"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","log"],
|
["keyword","log"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["string","\"hello world!\""],
|
["string","\"hello world!\""],
|
||||||
["punctuation.operator",";"]
|
["punctuation.operator",";"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.rparen","}"]
|
["paren.rparen","}"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["paren.rparen","}"]
|
["paren.rparen","}"]
|
||||||
]
|
]]
|
||||||
}
|
|
||||||
]
|
|
||||||
|
|
@ -1,49 +1,32 @@
|
||||||
[
|
[[
|
||||||
{
|
"start",
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","\\usepackage"],
|
["keyword","\\usepackage"],
|
||||||
["lparen","{"],
|
["lparen","{"],
|
||||||
["text","amsmath"],
|
["text","amsmath"],
|
||||||
["rparen","}"]
|
["rparen","}"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","\\title"],
|
["keyword","\\title"],
|
||||||
["lparen","{"],
|
["lparen","{"],
|
||||||
["keyword","\\LaTeX"],
|
["keyword","\\LaTeX"],
|
||||||
["rparen","}"]
|
["rparen","}"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","\\date"],
|
["keyword","\\date"],
|
||||||
["lparen","{"],
|
["lparen","{"],
|
||||||
["rparen","}"]
|
["rparen","}"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","\\begin"],
|
["keyword","\\begin"],
|
||||||
["lparen","{"],
|
["lparen","{"],
|
||||||
["text","document"],
|
["text","document"],
|
||||||
["rparen","}"]
|
["rparen","}"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","\\maketitle"]
|
["keyword","\\maketitle"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","\\LaTeX"],
|
["keyword","\\LaTeX"],
|
||||||
["lparen","{"],
|
["lparen","{"],
|
||||||
|
|
@ -52,108 +35,66 @@
|
||||||
["keyword","\\TeX"],
|
["keyword","\\TeX"],
|
||||||
["lparen","{"],
|
["lparen","{"],
|
||||||
["rparen","}"]
|
["rparen","}"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," typesetting program. It offers programmable desktop publishing"]
|
["text"," typesetting program. It offers programmable desktop publishing"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," features and extensive facilities for automating most aspects of"]
|
["text"," features and extensive facilities for automating most aspects of"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," typesetting and desktop publishing, including numbering and"]
|
["text"," typesetting and desktop publishing, including numbering and"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," cross-referencing, tables and figures, page layout, bibliographies,"]
|
["text"," cross-referencing, tables and figures, page layout, bibliographies,"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," and much more. "],
|
["text"," and much more. "],
|
||||||
["keyword","\\LaTeX"],
|
["keyword","\\LaTeX"],
|
||||||
["lparen","{"],
|
["lparen","{"],
|
||||||
["rparen","}"],
|
["rparen","}"],
|
||||||
["text"," was originally written in 1984 by Leslie"]
|
["text"," was originally written in 1984 by Leslie"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," Lamport and has become the dominant method for using "],
|
["text"," Lamport and has become the dominant method for using "],
|
||||||
["keyword","\\TeX"],
|
["keyword","\\TeX"],
|
||||||
["text","; few"]
|
["text","; few"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," people write in plain "],
|
["text"," people write in plain "],
|
||||||
["keyword","\\TeX"],
|
["keyword","\\TeX"],
|
||||||
["lparen","{"],
|
["lparen","{"],
|
||||||
["rparen","}"],
|
["rparen","}"],
|
||||||
["text"," anymore. The current version is"]
|
["text"," anymore. The current version is"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","\\LaTeXe"],
|
["keyword","\\LaTeXe"],
|
||||||
["text","."]
|
["text","."]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "]
|
["text"," "]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["comment","% This is a comment; it will not be shown in the final output."]
|
["comment","% This is a comment; it will not be shown in the final output."]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["comment","% The following shows a little of the typesetting power of LaTeX:"]
|
["comment","% The following shows a little of the typesetting power of LaTeX:"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","\\begin"],
|
["keyword","\\begin"],
|
||||||
["lparen","{"],
|
["lparen","{"],
|
||||||
["text","align"],
|
["text","align"],
|
||||||
["rparen","}"]
|
["rparen","}"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," E &= mc^2 "],
|
["text"," E &= mc^2 "],
|
||||||
["keyword","\\\\"]
|
["keyword","\\\\"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," m &= "],
|
["text"," m &= "],
|
||||||
["keyword","\\frac"],
|
["keyword","\\frac"],
|
||||||
["lparen","{"],
|
["lparen","{"],
|
||||||
|
|
@ -170,25 +111,17 @@
|
||||||
["lparen","{"],
|
["lparen","{"],
|
||||||
["text","c^2"],
|
["text","c^2"],
|
||||||
["rparen","}}}"]
|
["rparen","}}}"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","\\end"],
|
["keyword","\\end"],
|
||||||
["lparen","{"],
|
["lparen","{"],
|
||||||
["text","align"],
|
["text","align"],
|
||||||
["rparen","}"]
|
["rparen","}"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","\\end"],
|
["keyword","\\end"],
|
||||||
["lparen","{"],
|
["lparen","{"],
|
||||||
["text","document"],
|
["text","document"],
|
||||||
["rparen","}"]
|
["rparen","}"]
|
||||||
]
|
]]
|
||||||
}
|
|
||||||
]
|
|
||||||
|
|
@ -1,30 +1,18 @@
|
||||||
[
|
[[
|
||||||
{
|
"start",
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["comment","/* styles.less */"]
|
["comment","/* styles.less */"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["variable","@base"],
|
["variable","@base"],
|
||||||
["text",": "],
|
["text",": "],
|
||||||
["constant.numeric","#f938ab"],
|
["constant.numeric","#f938ab"],
|
||||||
["text",";"]
|
["text",";"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["variable.language",".box-shadow"],
|
["variable.language",".box-shadow"],
|
||||||
["paren.lparen","("],
|
["paren.lparen","("],
|
||||||
["variable","@style"],
|
["variable","@style"],
|
||||||
|
|
@ -41,47 +29,32 @@
|
||||||
["paren.rparen","))"],
|
["paren.rparen","))"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.lparen","{"]
|
["paren.lparen","{"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," box-shadow: "],
|
["text"," box-shadow: "],
|
||||||
["variable","@style"],
|
["variable","@style"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable","@c"],
|
["variable","@c"],
|
||||||
["text",";"]
|
["text",";"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," -webkit-box-shadow: "],
|
["text"," -webkit-box-shadow: "],
|
||||||
["variable","@style"],
|
["variable","@style"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable","@c"],
|
["variable","@c"],
|
||||||
["text",";"]
|
["text",";"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," -moz-box-shadow: "],
|
["text"," -moz-box-shadow: "],
|
||||||
["variable","@style"],
|
["variable","@style"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable","@c"],
|
["variable","@c"],
|
||||||
["text",";"]
|
["text",";"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["paren.rparen","}"]
|
["paren.rparen","}"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["variable.language",".box-shadow"],
|
["variable.language",".box-shadow"],
|
||||||
["paren.lparen","("],
|
["paren.lparen","("],
|
||||||
["variable","@style"],
|
["variable","@style"],
|
||||||
|
|
@ -100,11 +73,8 @@
|
||||||
["paren.rparen","))"],
|
["paren.rparen","))"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.lparen","{"]
|
["paren.lparen","{"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable.language",".box-shadow"],
|
["variable.language",".box-shadow"],
|
||||||
["paren.lparen","("],
|
["paren.lparen","("],
|
||||||
|
|
@ -121,36 +91,22 @@
|
||||||
["variable","@alpha"],
|
["variable","@alpha"],
|
||||||
["paren.rparen","))"],
|
["paren.rparen","))"],
|
||||||
["text",";"]
|
["text",";"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["paren.rparen","}"]
|
["paren.rparen","}"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["comment","// Box styles"]
|
["comment","// Box styles"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["variable.language",".box"],
|
["variable.language",".box"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.lparen","{"],
|
["paren.lparen","{"],
|
||||||
["text"," "]
|
["text"," "]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["support.type","color"],
|
["support.type","color"],
|
||||||
["text",": "],
|
["text",": "],
|
||||||
|
|
@ -161,11 +117,8 @@
|
||||||
["constant.numeric","5%"],
|
["constant.numeric","5%"],
|
||||||
["paren.rparen",")"],
|
["paren.rparen",")"],
|
||||||
["text",";"]
|
["text",";"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["support.type","border-color"],
|
["support.type","border-color"],
|
||||||
["text",": "],
|
["text",": "],
|
||||||
|
|
@ -176,17 +129,11 @@
|
||||||
["constant.numeric","30%"],
|
["constant.numeric","30%"],
|
||||||
["paren.rparen",")"],
|
["paren.rparen",")"],
|
||||||
["text",";"]
|
["text",";"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "]
|
["text"," "]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable.language","div"],
|
["variable.language","div"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -204,51 +151,33 @@
|
||||||
["paren.rparen",")"],
|
["paren.rparen",")"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.rparen","}"]
|
["paren.rparen","}"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "]
|
["text"," "]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable.language","a"],
|
["variable.language","a"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.lparen","{"]
|
["paren.lparen","{"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["support.type","color"],
|
["support.type","color"],
|
||||||
["text",": "],
|
["text",": "],
|
||||||
["variable","@base"],
|
["variable","@base"],
|
||||||
["text",";"]
|
["text",";"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "]
|
["text"," "]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," &"],
|
["text"," &"],
|
||||||
["variable.language",":hover"],
|
["variable.language",":hover"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.lparen","{"]
|
["paren.lparen","{"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["support.type","color"],
|
["support.type","color"],
|
||||||
["text",": "],
|
["text",": "],
|
||||||
|
|
@ -259,30 +188,17 @@
|
||||||
["constant.numeric","50%"],
|
["constant.numeric","50%"],
|
||||||
["paren.rparen",")"],
|
["paren.rparen",")"],
|
||||||
["text",";"]
|
["text",";"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.rparen","}"]
|
["paren.rparen","}"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.rparen","}"]
|
["paren.rparen","}"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["paren.rparen","}"]
|
["paren.rparen","}"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
]]
|
||||||
"state": "start",
|
|
||||||
"data": []
|
|
||||||
}
|
|
||||||
]
|
|
||||||
|
|
@ -1,87 +1,45 @@
|
||||||
[
|
[[
|
||||||
{
|
"start",
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text","The following examples can be found in full at http://liquidmarkup.org/"]
|
["text","The following examples can be found in full at http://liquidmarkup.org/"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text","Liquid is an extraction from the e-commerce system Shopify."]
|
["text","Liquid is an extraction from the e-commerce system Shopify."]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text","Shopify powers many thousands of e-commerce stores which all call for unique designs."]
|
["text","Shopify powers many thousands of e-commerce stores which all call for unique designs."]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text","For this we developed Liquid which allows our customers complete design freedom while"]
|
["text","For this we developed Liquid which allows our customers complete design freedom while"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text","maintaining the integrity of our servers."]
|
["text","maintaining the integrity of our servers."]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text","Liquid has been in production use since June 2006 and is now used by many other"]
|
["text","Liquid has been in production use since June 2006 and is now used by many other"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text","hosted web applications."]
|
["text","hosted web applications."]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text","It was developed for usage in Ruby on Rails web applications and integrates seamlessly"]
|
["text","It was developed for usage in Ruby on Rails web applications and integrates seamlessly"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text","as a plugin but it also works excellently as a stand alone library."]
|
["text","as a plugin but it also works excellently as a stand alone library."]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text","Here's what it looks like:"]
|
["text","Here's what it looks like:"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["meta.tag","<"],
|
["meta.tag","<"],
|
||||||
["meta.tag.tag-name","ul"],
|
["meta.tag.tag-name","ul"],
|
||||||
|
|
@ -90,11 +48,8 @@
|
||||||
["keyword.operator","="],
|
["keyword.operator","="],
|
||||||
["string","\"products\""],
|
["string","\"products\""],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable","{%"],
|
["variable","{%"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -107,20 +62,14 @@
|
||||||
["identifier","products"],
|
["identifier","products"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable","%}"]
|
["variable","%}"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["meta.tag","<"],
|
["meta.tag","<"],
|
||||||
["meta.tag.tag-name","li"],
|
["meta.tag.tag-name","li"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["meta.tag","<"],
|
["meta.tag","<"],
|
||||||
["meta.tag.tag-name","h2"],
|
["meta.tag.tag-name","h2"],
|
||||||
|
|
@ -135,21 +84,13 @@
|
||||||
["meta.tag","</"],
|
["meta.tag","</"],
|
||||||
["meta.tag.tag-name","h2"],
|
["meta.tag.tag-name","h2"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," Only {{ product.price | format_as_money }}"]
|
["text"," Only {{ product.price | format_as_money }}"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["meta.tag","<"],
|
["meta.tag","<"],
|
||||||
["meta.tag.tag-name","p"],
|
["meta.tag.tag-name","p"],
|
||||||
|
|
@ -170,62 +111,39 @@
|
||||||
["meta.tag","</"],
|
["meta.tag","</"],
|
||||||
["meta.tag.tag-name","p"],
|
["meta.tag.tag-name","p"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["meta.tag","</"],
|
["meta.tag","</"],
|
||||||
["meta.tag.tag-name","li"],
|
["meta.tag.tag-name","li"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable","{%"],
|
["variable","{%"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","endfor"],
|
["keyword","endfor"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable","%}"]
|
["variable","%}"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["meta.tag","</"],
|
["meta.tag","</"],
|
||||||
["meta.tag.tag-name","ul"],
|
["meta.tag.tag-name","ul"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start"
|
||||||
"data": []
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text","Some more features include:"]
|
["text","Some more features include:"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["meta.tag","<"],
|
["meta.tag","<"],
|
||||||
["meta.tag.tag-name","h2"],
|
["meta.tag.tag-name","h2"],
|
||||||
["meta.tag.r",">"],
|
["meta.tag.r",">"],
|
||||||
|
|
@ -233,11 +151,8 @@
|
||||||
["meta.tag","</"],
|
["meta.tag","</"],
|
||||||
["meta.tag.tag-name","h2"],
|
["meta.tag.tag-name","h2"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["meta.tag","<"],
|
["meta.tag","<"],
|
||||||
["meta.tag.tag-name","p"],
|
["meta.tag.tag-name","p"],
|
||||||
["meta.tag.r",">"],
|
["meta.tag.r",">"],
|
||||||
|
|
@ -245,11 +160,8 @@
|
||||||
["meta.tag","</"],
|
["meta.tag","</"],
|
||||||
["meta.tag.tag-name","p"],
|
["meta.tag.tag-name","p"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["meta.tag","<"],
|
["meta.tag","<"],
|
||||||
["meta.tag.tag-name","p"],
|
["meta.tag.tag-name","p"],
|
||||||
["meta.tag.r",">"],
|
["meta.tag.r",">"],
|
||||||
|
|
@ -257,11 +169,8 @@
|
||||||
["meta.tag","</"],
|
["meta.tag","</"],
|
||||||
["meta.tag.tag-name","p"],
|
["meta.tag.tag-name","p"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["meta.tag","<"],
|
["meta.tag","<"],
|
||||||
["meta.tag.tag-name","p"],
|
["meta.tag.tag-name","p"],
|
||||||
["meta.tag.r",">"],
|
["meta.tag.r",">"],
|
||||||
|
|
@ -269,11 +178,8 @@
|
||||||
["meta.tag","</"],
|
["meta.tag","</"],
|
||||||
["meta.tag.tag-name","p"],
|
["meta.tag.tag-name","p"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["meta.tag","<"],
|
["meta.tag","<"],
|
||||||
["meta.tag.tag-name","p"],
|
["meta.tag.tag-name","p"],
|
||||||
["meta.tag.r",">"],
|
["meta.tag.r",">"],
|
||||||
|
|
@ -281,19 +187,12 @@
|
||||||
["meta.tag","</"],
|
["meta.tag","</"],
|
||||||
["meta.tag.tag-name","p"],
|
["meta.tag.tag-name","p"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start"
|
||||||
"data": []
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["meta.tag","<"],
|
["meta.tag","<"],
|
||||||
["meta.tag.tag-name","h2"],
|
["meta.tag.tag-name","h2"],
|
||||||
["meta.tag.r",">"],
|
["meta.tag.r",">"],
|
||||||
|
|
@ -301,19 +200,13 @@
|
||||||
["meta.tag","</"],
|
["meta.tag","</"],
|
||||||
["meta.tag.tag-name","h2"],
|
["meta.tag.tag-name","h2"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["meta.tag","<"],
|
["meta.tag","<"],
|
||||||
["meta.tag.tag-name","p"],
|
["meta.tag.tag-name","p"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable","{%"],
|
["variable","{%"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -339,44 +232,28 @@
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable","%}"],
|
["variable","%}"],
|
||||||
["text"," "]
|
["text"," "]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," hi marc or tobi"]
|
["text"," hi marc or tobi"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable","{%"],
|
["variable","{%"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","endif"],
|
["keyword","endif"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable","%}"]
|
["variable","%}"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["meta.tag","</"],
|
["meta.tag","</"],
|
||||||
["meta.tag.tag-name","p"],
|
["meta.tag.tag-name","p"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start"
|
||||||
"data": []
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["meta.tag","<"],
|
["meta.tag","<"],
|
||||||
["meta.tag.tag-name","h2"],
|
["meta.tag.tag-name","h2"],
|
||||||
["meta.tag.r",">"],
|
["meta.tag.r",">"],
|
||||||
|
|
@ -384,19 +261,13 @@
|
||||||
["meta.tag","</"],
|
["meta.tag","</"],
|
||||||
["meta.tag.tag-name","h2"],
|
["meta.tag.tag-name","h2"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["meta.tag","<"],
|
["meta.tag","<"],
|
||||||
["meta.tag.tag-name","p"],
|
["meta.tag.tag-name","p"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable","{%"],
|
["variable","{%"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -405,11 +276,8 @@
|
||||||
["identifier","template"],
|
["identifier","template"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable","%}"]
|
["variable","%}"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable","{%"],
|
["variable","{%"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -418,17 +286,11 @@
|
||||||
["string","'index'"],
|
["string","'index'"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable","%}"]
|
["variable","%}"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," Welcome"]
|
["text"," Welcome"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable","{%"],
|
["variable","{%"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -437,11 +299,8 @@
|
||||||
["string","'product'"],
|
["string","'product'"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable","%}"]
|
["variable","%}"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable","{{"],
|
["variable","{{"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -453,60 +312,41 @@
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable","}}"],
|
["variable","}}"],
|
||||||
["text"," / {{ product.title }}"]
|
["text"," / {{ product.title }}"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable","{%"],
|
["variable","{%"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","else"],
|
["keyword","else"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable","%}"]
|
["variable","%}"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable","{{"],
|
["variable","{{"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","page_title"],
|
["identifier","page_title"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable","}}"]
|
["variable","}}"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable","{%"],
|
["variable","{%"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","endcase"],
|
["keyword","endcase"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable","%}"]
|
["variable","%}"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["meta.tag","</"],
|
["meta.tag","</"],
|
||||||
["meta.tag.tag-name","p"],
|
["meta.tag.tag-name","p"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start"
|
||||||
"data": []
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["meta.tag","<"],
|
["meta.tag","<"],
|
||||||
["meta.tag.tag-name","h2"],
|
["meta.tag.tag-name","h2"],
|
||||||
["meta.tag.r",">"],
|
["meta.tag.r",">"],
|
||||||
|
|
@ -514,19 +354,13 @@
|
||||||
["meta.tag","</"],
|
["meta.tag","</"],
|
||||||
["meta.tag.tag-name","h2"],
|
["meta.tag.tag-name","h2"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["meta.tag","<"],
|
["meta.tag","<"],
|
||||||
["meta.tag.tag-name","p"],
|
["meta.tag.tag-name","p"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable","{%"],
|
["variable","{%"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -540,49 +374,33 @@
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable","%}"],
|
["variable","%}"],
|
||||||
["text"," "]
|
["text"," "]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable","{{"],
|
["variable","{{"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","item"],
|
["identifier","item"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable","}}"]
|
["variable","}}"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable","{%"],
|
["variable","{%"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","endfor"],
|
["keyword","endfor"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable","%}"]
|
["variable","%}"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["meta.tag","</"],
|
["meta.tag","</"],
|
||||||
["meta.tag.tag-name","p"],
|
["meta.tag.tag-name","p"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start"
|
||||||
"data": []
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["meta.tag","<"],
|
["meta.tag","<"],
|
||||||
["meta.tag.tag-name","h2"],
|
["meta.tag.tag-name","h2"],
|
||||||
["meta.tag.r",">"],
|
["meta.tag.r",">"],
|
||||||
|
|
@ -590,19 +408,13 @@
|
||||||
["meta.tag","</"],
|
["meta.tag","</"],
|
||||||
["meta.tag.tag-name","h2"],
|
["meta.tag.tag-name","h2"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["meta.tag","<"],
|
["meta.tag","<"],
|
||||||
["meta.tag.tag-name","p"],
|
["meta.tag.tag-name","p"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable","{%"],
|
["variable","{%"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -619,11 +431,8 @@
|
||||||
["constant.numeric","3"],
|
["constant.numeric","3"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable","%}"]
|
["variable","%}"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable","{%"],
|
["variable","{%"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -634,63 +443,41 @@
|
||||||
["identifier","col_first"],
|
["identifier","col_first"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable","%}"]
|
["variable","%}"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," First column: {{ item.variable }}"]
|
["text"," First column: {{ item.variable }}"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable","{%"],
|
["variable","{%"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","else"],
|
["keyword","else"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable","%}"]
|
["variable","%}"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," Different column: {{ item.variable }}"]
|
["text"," Different column: {{ item.variable }}"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable","{%"],
|
["variable","{%"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","endif"],
|
["keyword","endif"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable","%}"]
|
["variable","%}"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable","{%"],
|
["variable","{%"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","endtablerow"],
|
["keyword","endtablerow"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable","%}"]
|
["variable","%}"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["meta.tag","</"],
|
["meta.tag","</"],
|
||||||
["meta.tag.tag-name","p"],
|
["meta.tag.tag-name","p"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
]]
|
||||||
"state": "start",
|
|
||||||
"data": []
|
|
||||||
}
|
|
||||||
]
|
|
||||||
|
|
@ -1,34 +1,23 @@
|
||||||
[
|
[[
|
||||||
{
|
"start",
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text","("],
|
["text","("],
|
||||||
["storage.type.function-type.lisp","defun"],
|
["storage.type.function-type.lisp","defun"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["entity.name.function.lisp","prompt-for-cd"],
|
["entity.name.function.lisp","prompt-for-cd"],
|
||||||
["text"," ()"]
|
["text"," ()"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["string","\"Prompts"]
|
["string","\"Prompts"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","for"],
|
["identifier","for"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","CD"],
|
["identifier","CD"],
|
||||||
["text","\""]
|
["text","\""]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," ("],
|
["text"," ("],
|
||||||
["identifier","prompt"],
|
["identifier","prompt"],
|
||||||
["text","-"],
|
["text","-"],
|
||||||
|
|
@ -76,11 +65,8 @@
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["constant.numeric","-5.6"],
|
["constant.numeric","-5.6"],
|
||||||
["text","))"]
|
["text","))"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," ("],
|
["text"," ("],
|
||||||
["identifier","prompt"],
|
["identifier","prompt"],
|
||||||
["text","-"],
|
["text","-"],
|
||||||
|
|
@ -90,11 +76,8 @@
|
||||||
["text"," &"],
|
["text"," &"],
|
||||||
["identifier","rest"],
|
["identifier","rest"],
|
||||||
["text",")"]
|
["text",")"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," ("],
|
["text"," ("],
|
||||||
["keyword.operator","or"],
|
["keyword.operator","or"],
|
||||||
["text"," ("],
|
["text"," ("],
|
||||||
|
|
@ -116,11 +99,8 @@
|
||||||
["text",") "],
|
["text",") "],
|
||||||
["constant.numeric","0"],
|
["constant.numeric","0"],
|
||||||
["text",")"]
|
["text",")"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," ("],
|
["text"," ("],
|
||||||
["keyword.control","if"],
|
["keyword.control","if"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -141,37 +121,25 @@
|
||||||
["constant.language","nil"],
|
["constant.language","nil"],
|
||||||
["text",") "],
|
["text",") "],
|
||||||
["comment",";and here comment"]
|
["comment",";and here comment"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," ) "],
|
["text"," ) "],
|
||||||
["constant.numeric","0xFFLL"],
|
["constant.numeric","0xFFLL"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["constant.numeric","-23ull"]
|
["constant.numeric","-23ull"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["comment",";; second line comment"]
|
["comment",";; second line comment"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," '(+ "],
|
["text"," '(+ "],
|
||||||
["constant.numeric","1"],
|
["constant.numeric","1"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["constant.numeric","2"],
|
["constant.numeric","2"],
|
||||||
["text",")"]
|
["text",")"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," ("],
|
["text"," ("],
|
||||||
["identifier","defvar"],
|
["identifier","defvar"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -180,11 +148,8 @@
|
||||||
["punctuation.definition.variable.lisp","*"],
|
["punctuation.definition.variable.lisp","*"],
|
||||||
["text",") "],
|
["text",") "],
|
||||||
["comment","; list of all lines"]
|
["comment","; list of all lines"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," ("],
|
["text"," ("],
|
||||||
["identifier","position"],
|
["identifier","position"],
|
||||||
["text","-"],
|
["text","-"],
|
||||||
|
|
@ -201,11 +166,8 @@
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","beg"],
|
["identifier","beg"],
|
||||||
["text","))"]
|
["text","))"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," ("],
|
["text"," ("],
|
||||||
["support.function","quote"],
|
["support.function","quote"],
|
||||||
["text"," ("],
|
["text"," ("],
|
||||||
|
|
@ -217,31 +179,22 @@
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["constant.numeric","3"],
|
["constant.numeric","3"],
|
||||||
["text","))"]
|
["text","))"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," '("],
|
["text"," '("],
|
||||||
["identifier","hello"],
|
["identifier","hello"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","world"],
|
["identifier","world"],
|
||||||
["text",")"]
|
["text",")"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," (* "],
|
["text"," (* "],
|
||||||
["constant.numeric","5"],
|
["constant.numeric","5"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["constant.numeric","7"],
|
["constant.numeric","7"],
|
||||||
["text",")"]
|
["text",")"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," ("],
|
["text"," ("],
|
||||||
["constant.numeric","1"],
|
["constant.numeric","1"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -251,21 +204,15 @@
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["constant.numeric","5"],
|
["constant.numeric","5"],
|
||||||
["text",")"]
|
["text",")"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," (:"],
|
["text"," (:"],
|
||||||
["identifier","use"],
|
["identifier","use"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["string","\"aaaa\""],
|
["string","\"aaaa\""],
|
||||||
["text",")"]
|
["text",")"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," ("],
|
["text"," ("],
|
||||||
["keyword.control","let"],
|
["keyword.control","let"],
|
||||||
["text"," (("],
|
["text"," (("],
|
||||||
|
|
@ -277,11 +224,8 @@
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["constant.numeric","20"],
|
["constant.numeric","20"],
|
||||||
["text","))"]
|
["text","))"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," ("],
|
["text"," ("],
|
||||||
["identifier","print"],
|
["identifier","print"],
|
||||||
["text"," (+ "],
|
["text"," (+ "],
|
||||||
|
|
@ -289,26 +233,16 @@
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","y"],
|
["identifier","y"],
|
||||||
["text","))"]
|
["text","))"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," ) "],
|
["text"," ) "],
|
||||||
["support.function","LAmbDa"]
|
["support.function","LAmbDa"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["string","\"asdad"],
|
["string","\"asdad"],
|
||||||
["constant.character.escape.lisp","\\0"],
|
["constant.character.escape.lisp","\\0"],
|
||||||
["string","eqweqe\""]
|
["string","eqweqe\""]
|
||||||
]
|
]]
|
||||||
}
|
|
||||||
]
|
|
||||||
|
|
@ -1,46 +1,27 @@
|
||||||
[
|
[[
|
||||||
{
|
"qcomment",
|
||||||
"state": "qcomment",
|
|
||||||
"data": [
|
|
||||||
["comment","--[[--"]
|
["comment","--[[--"]
|
||||||
]
|
],[
|
||||||
},
|
"qcomment",
|
||||||
{
|
|
||||||
"state": "qcomment",
|
|
||||||
"data": [
|
|
||||||
["comment","num_args takes in 5.1 byte code and extracts the number of arguments"]
|
["comment","num_args takes in 5.1 byte code and extracts the number of arguments"]
|
||||||
]
|
],[
|
||||||
},
|
"qcomment",
|
||||||
{
|
|
||||||
"state": "qcomment",
|
|
||||||
"data": [
|
|
||||||
["comment","from its function header."]
|
["comment","from its function header."]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["comment","--]]--"]
|
["comment","--]]--"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","function"],
|
["keyword","function"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","int"],
|
["identifier","int"],
|
||||||
["paren.lparen","("],
|
["paren.lparen","("],
|
||||||
["identifier","t"],
|
["identifier","t"],
|
||||||
["paren.rparen",")"]
|
["paren.rparen",")"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text","\t"],
|
["text","\t"],
|
||||||
["keyword","return"],
|
["keyword","return"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -77,32 +58,21 @@
|
||||||
["paren.rparen",")"],
|
["paren.rparen",")"],
|
||||||
["keyword.operator","*"],
|
["keyword.operator","*"],
|
||||||
["constant.numeric","0x1000000"]
|
["constant.numeric","0x1000000"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","end"]
|
["keyword","end"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","function"],
|
["keyword","function"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","num_args"],
|
["identifier","num_args"],
|
||||||
["paren.lparen","("],
|
["paren.lparen","("],
|
||||||
["identifier","func"],
|
["identifier","func"],
|
||||||
["paren.rparen",")"]
|
["paren.rparen",")"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text","\t"],
|
["text","\t"],
|
||||||
["keyword","local"],
|
["keyword","local"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -116,11 +86,8 @@
|
||||||
["paren.lparen","("],
|
["paren.lparen","("],
|
||||||
["identifier","func"],
|
["identifier","func"],
|
||||||
["paren.rparen",")"]
|
["paren.rparen",")"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text","\t"],
|
["text","\t"],
|
||||||
["keyword","local"],
|
["keyword","local"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -144,18 +111,12 @@
|
||||||
["keyword.operator","+"],
|
["keyword.operator","+"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["constant.numeric","26"]
|
["constant.numeric","26"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text","\t"],
|
["text","\t"],
|
||||||
["comment","--Get the params and var flag (whether there's a ... in the param)"]
|
["comment","--Get the params and var flag (whether there's a ... in the param)"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text","\t"],
|
["text","\t"],
|
||||||
["keyword","return"],
|
["keyword","return"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -182,27 +143,16 @@
|
||||||
["support.function","byte"],
|
["support.function","byte"],
|
||||||
["paren.lparen","("],
|
["paren.lparen","("],
|
||||||
["paren.rparen",")"]
|
["paren.rparen",")"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","end"]
|
["keyword","end"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["comment","-- Usage:"]
|
["comment","-- Usage:"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["identifier","num_args"],
|
["identifier","num_args"],
|
||||||
["paren.lparen","("],
|
["paren.lparen","("],
|
||||||
["keyword","function"],
|
["keyword","function"],
|
||||||
|
|
@ -222,21 +172,13 @@
|
||||||
["paren.rparen",")"],
|
["paren.rparen",")"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["comment","-- return 4, 7"]
|
["comment","-- return 4, 7"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["comment","-- Python styled string format operator"]
|
["comment","-- Python styled string format operator"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","local"],
|
["keyword","local"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","gm"],
|
["identifier","gm"],
|
||||||
|
|
@ -249,15 +191,10 @@
|
||||||
["paren.lparen","("],
|
["paren.lparen","("],
|
||||||
["string","\"\""],
|
["string","\"\""],
|
||||||
["paren.rparen",")"]
|
["paren.rparen",")"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["identifier","gm"],
|
["identifier","gm"],
|
||||||
["text","."],
|
["text","."],
|
||||||
["support.function","__mod"],
|
["support.function","__mod"],
|
||||||
|
|
@ -268,11 +205,8 @@
|
||||||
["text",", "],
|
["text",", "],
|
||||||
["identifier","other"],
|
["identifier","other"],
|
||||||
["paren.rparen",")"]
|
["paren.rparen",")"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","if"],
|
["keyword","if"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -296,11 +230,8 @@
|
||||||
["paren.rparen","}"],
|
["paren.rparen","}"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","end"]
|
["keyword","end"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","for"],
|
["keyword","for"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -330,11 +261,8 @@
|
||||||
["paren.rparen",")"],
|
["paren.rparen",")"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","end"]
|
["keyword","end"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","return"],
|
["keyword","return"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -346,35 +274,21 @@
|
||||||
["paren.lparen","("],
|
["paren.lparen","("],
|
||||||
["identifier","other"],
|
["identifier","other"],
|
||||||
["paren.rparen","))"]
|
["paren.rparen","))"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","end"]
|
["keyword","end"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"qstring3",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "qstring3",
|
|
||||||
"data": [
|
|
||||||
["support.function","print"],
|
["support.function","print"],
|
||||||
["paren.lparen","("],
|
["paren.lparen","("],
|
||||||
["string","[===["]
|
["string","[===["]
|
||||||
]
|
],[
|
||||||
},
|
"qstring3",
|
||||||
{
|
|
||||||
"state": "qstring3",
|
|
||||||
"data": [
|
|
||||||
["string"," blah blah %s, (%d %d)"]
|
["string"," blah blah %s, (%d %d)"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["string","]===]"],
|
["string","]===]"],
|
||||||
["keyword.operator","%"],
|
["keyword.operator","%"],
|
||||||
["paren.lparen","{"],
|
["paren.lparen","{"],
|
||||||
|
|
@ -384,33 +298,19 @@
|
||||||
["paren.lparen","("],
|
["paren.lparen","("],
|
||||||
["identifier","int"],
|
["identifier","int"],
|
||||||
["paren.rparen",")})"]
|
["paren.rparen",")})"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"qcomment1",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "qcomment1",
|
|
||||||
"data": [
|
|
||||||
["comment","--[=[--"]
|
["comment","--[=[--"]
|
||||||
]
|
],[
|
||||||
},
|
"qcomment1",
|
||||||
{
|
|
||||||
"state": "qcomment1",
|
|
||||||
"data": [
|
|
||||||
["comment","table.maxn is deprecated, use # instead."]
|
["comment","table.maxn is deprecated, use # instead."]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["comment","--]=]--"]
|
["comment","--]=]--"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["support.function","print"],
|
["support.function","print"],
|
||||||
["paren.lparen","("],
|
["paren.lparen","("],
|
||||||
["constant.library","table"],
|
["constant.library","table"],
|
||||||
|
|
@ -435,10 +335,6 @@
|
||||||
["paren.rparen",")"],
|
["paren.rparen",")"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["comment","-- outputs 8 instead of 2"]
|
["comment","-- outputs 8 instead of 2"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
]]
|
||||||
"state": "start",
|
|
||||||
"data": []
|
|
||||||
}
|
|
||||||
]
|
|
||||||
|
|
@ -1,7 +1,5 @@
|
||||||
[
|
[[
|
||||||
{
|
"tag_embed_attribute_list",
|
||||||
"state": "tag_embed_attribute_list",
|
|
||||||
"data": [
|
|
||||||
["text",""],
|
["text",""],
|
||||||
["meta.tag","<"],
|
["meta.tag","<"],
|
||||||
["text","!"],
|
["text","!"],
|
||||||
|
|
@ -12,63 +10,39 @@
|
||||||
["entity.other.attribute-name","PUBLIC"],
|
["entity.other.attribute-name","PUBLIC"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["string","\"-//W3C//DTD XHTML 1.0 Strict//EN\""]
|
["string","\"-//W3C//DTD XHTML 1.0 Strict//EN\""]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["string","\"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\""],
|
["string","\"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\""],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["meta.tag","<"],
|
["meta.tag","<"],
|
||||||
["meta.tag.tag-name","html"],
|
["meta.tag.tag-name","html"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"lua-qcomment",
|
||||||
{
|
|
||||||
"state": "lua-qcomment",
|
|
||||||
"data": [
|
|
||||||
["keyword","<%"],
|
["keyword","<%"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["comment","--[[--"]
|
["comment","--[[--"]
|
||||||
]
|
],[
|
||||||
},
|
"lua-qcomment",
|
||||||
{
|
|
||||||
"state": "lua-qcomment",
|
|
||||||
"data": [
|
|
||||||
["comment"," index.lp from the Kepler Project's LuaDoc HTML doclet."]
|
["comment"," index.lp from the Kepler Project's LuaDoc HTML doclet."]
|
||||||
]
|
],[
|
||||||
},
|
"lua-qcomment",
|
||||||
{
|
|
||||||
"state": "lua-qcomment",
|
|
||||||
"data": [
|
|
||||||
["comment"," http://keplerproject.github.com/luadoc/"]
|
["comment"," http://keplerproject.github.com/luadoc/"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["comment","--]]"],
|
["comment","--]]"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","%>"]
|
["keyword","%>"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["meta.tag","<"],
|
["meta.tag","<"],
|
||||||
["meta.tag.tag-name","head"],
|
["meta.tag.tag-name","head"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["meta.tag","<"],
|
["meta.tag","<"],
|
||||||
["meta.tag.tag-name","title"],
|
["meta.tag.tag-name","title"],
|
||||||
|
|
@ -77,11 +51,8 @@
|
||||||
["meta.tag","</"],
|
["meta.tag","</"],
|
||||||
["meta.tag.tag-name","title"],
|
["meta.tag.tag-name","title"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["meta.tag","<"],
|
["meta.tag","<"],
|
||||||
["meta.tag.tag-name","link"],
|
["meta.tag.tag-name","link"],
|
||||||
|
|
@ -106,38 +77,24 @@
|
||||||
["paren.rparen",")"],
|
["paren.rparen",")"],
|
||||||
["keyword","%>"],
|
["keyword","%>"],
|
||||||
["text","\" type=\"text/css\" />"]
|
["text","\" type=\"text/css\" />"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text","\t"],
|
["text","\t"],
|
||||||
["comment","<!--meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\"/-->"]
|
["comment","<!--meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\"/-->"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["meta.tag","</"],
|
["meta.tag","</"],
|
||||||
["meta.tag.tag-name","head"],
|
["meta.tag.tag-name","head"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["meta.tag","<"],
|
["meta.tag","<"],
|
||||||
["meta.tag.tag-name","body"],
|
["meta.tag.tag-name","body"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["meta.tag","<"],
|
["meta.tag","<"],
|
||||||
["meta.tag.tag-name","div"],
|
["meta.tag.tag-name","div"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -145,15 +102,10 @@
|
||||||
["keyword.operator","="],
|
["keyword.operator","="],
|
||||||
["string","\"container\""],
|
["string","\"container\""],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["meta.tag","<"],
|
["meta.tag","<"],
|
||||||
["meta.tag.tag-name","div"],
|
["meta.tag.tag-name","div"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -161,11 +113,8 @@
|
||||||
["keyword.operator","="],
|
["keyword.operator","="],
|
||||||
["string","\"product\""],
|
["string","\"product\""],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text","\t"],
|
["text","\t"],
|
||||||
["meta.tag","<"],
|
["meta.tag","<"],
|
||||||
["meta.tag.tag-name","div"],
|
["meta.tag.tag-name","div"],
|
||||||
|
|
@ -177,11 +126,8 @@
|
||||||
["meta.tag","</"],
|
["meta.tag","</"],
|
||||||
["meta.tag.tag-name","div"],
|
["meta.tag.tag-name","div"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text","\t"],
|
["text","\t"],
|
||||||
["meta.tag","<"],
|
["meta.tag","<"],
|
||||||
["meta.tag.tag-name","div"],
|
["meta.tag.tag-name","div"],
|
||||||
|
|
@ -205,11 +151,8 @@
|
||||||
["meta.tag","</"],
|
["meta.tag","</"],
|
||||||
["meta.tag.tag-name","div"],
|
["meta.tag.tag-name","div"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text","\t"],
|
["text","\t"],
|
||||||
["meta.tag","<"],
|
["meta.tag","<"],
|
||||||
["meta.tag.tag-name","div"],
|
["meta.tag.tag-name","div"],
|
||||||
|
|
@ -221,25 +164,17 @@
|
||||||
["meta.tag","</"],
|
["meta.tag","</"],
|
||||||
["meta.tag.tag-name","div"],
|
["meta.tag.tag-name","div"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["meta.tag","</"],
|
["meta.tag","</"],
|
||||||
["meta.tag.tag-name","div"],
|
["meta.tag.tag-name","div"],
|
||||||
["meta.tag.r",">"],
|
["meta.tag.r",">"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["comment","<!-- id=\"product\" -->"]
|
["comment","<!-- id=\"product\" -->"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["meta.tag","<"],
|
["meta.tag","<"],
|
||||||
["meta.tag.tag-name","div"],
|
["meta.tag.tag-name","div"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -247,15 +182,10 @@
|
||||||
["keyword.operator","="],
|
["keyword.operator","="],
|
||||||
["string","\"main\""],
|
["string","\"main\""],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["meta.tag","<"],
|
["meta.tag","<"],
|
||||||
["meta.tag.tag-name","div"],
|
["meta.tag.tag-name","div"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -263,11 +193,8 @@
|
||||||
["keyword.operator","="],
|
["keyword.operator","="],
|
||||||
["string","\"navigation\""],
|
["string","\"navigation\""],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","<%="],
|
["keyword","<%="],
|
||||||
["identifier","luadoc"],
|
["identifier","luadoc"],
|
||||||
["text","."],
|
["text","."],
|
||||||
|
|
@ -287,29 +214,19 @@
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.rparen","})"],
|
["paren.rparen","})"],
|
||||||
["keyword","%>"]
|
["keyword","%>"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["meta.tag","</"],
|
["meta.tag","</"],
|
||||||
["meta.tag.tag-name","div"],
|
["meta.tag.tag-name","div"],
|
||||||
["meta.tag.r",">"],
|
["meta.tag.r",">"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["comment","<!-- id=\"navigation\" -->"]
|
["comment","<!-- id=\"navigation\" -->"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["meta.tag","<"],
|
["meta.tag","<"],
|
||||||
["meta.tag.tag-name","div"],
|
["meta.tag.tag-name","div"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -317,19 +234,12 @@
|
||||||
["keyword.operator","="],
|
["keyword.operator","="],
|
||||||
["string","\"content\""],
|
["string","\"content\""],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start"
|
||||||
"data": []
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","<%if"],
|
["keyword","<%if"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","not"],
|
["keyword","not"],
|
||||||
|
|
@ -350,11 +260,8 @@
|
||||||
["constant.numeric","0"],
|
["constant.numeric","0"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","then%>"]
|
["keyword","then%>"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["meta.tag","<"],
|
["meta.tag","<"],
|
||||||
["meta.tag.tag-name","h2"],
|
["meta.tag.tag-name","h2"],
|
||||||
["meta.tag.r",">"],
|
["meta.tag.r",">"],
|
||||||
|
|
@ -362,11 +269,8 @@
|
||||||
["meta.tag","</"],
|
["meta.tag","</"],
|
||||||
["meta.tag.tag-name","h2"],
|
["meta.tag.tag-name","h2"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["meta.tag","<"],
|
["meta.tag","<"],
|
||||||
["meta.tag.tag-name.table","table"],
|
["meta.tag.tag-name.table","table"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -374,17 +278,11 @@
|
||||||
["keyword.operator","="],
|
["keyword.operator","="],
|
||||||
["string","\"module_list\""],
|
["string","\"module_list\""],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["comment","<!--<tr><td colspan=\"2\">Modules</td></tr>-->"]
|
["comment","<!--<tr><td colspan=\"2\">Modules</td></tr>-->"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","<%for"],
|
["keyword","<%for"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","_"],
|
["identifier","_"],
|
||||||
|
|
@ -401,20 +299,14 @@
|
||||||
["paren.rparen",")"],
|
["paren.rparen",")"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","do%>"]
|
["keyword","do%>"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text","\t"],
|
["text","\t"],
|
||||||
["meta.tag","<"],
|
["meta.tag","<"],
|
||||||
["meta.tag.tag-name.table","tr"],
|
["meta.tag.tag-name.table","tr"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text","\t\t"],
|
["text","\t\t"],
|
||||||
["meta.tag","<"],
|
["meta.tag","<"],
|
||||||
["meta.tag.tag-name.table","td"],
|
["meta.tag.tag-name.table","td"],
|
||||||
|
|
@ -453,11 +345,8 @@
|
||||||
["meta.tag","</"],
|
["meta.tag","</"],
|
||||||
["meta.tag.tag-name.table","td"],
|
["meta.tag.tag-name.table","td"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text","\t\t"],
|
["text","\t\t"],
|
||||||
["meta.tag","<"],
|
["meta.tag","<"],
|
||||||
["meta.tag.tag-name.table","td"],
|
["meta.tag.tag-name.table","td"],
|
||||||
|
|
@ -479,52 +368,31 @@
|
||||||
["meta.tag","</"],
|
["meta.tag","</"],
|
||||||
["meta.tag.tag-name.table","td"],
|
["meta.tag.tag-name.table","td"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text","\t"],
|
["text","\t"],
|
||||||
["meta.tag","</"],
|
["meta.tag","</"],
|
||||||
["meta.tag.tag-name.table","tr"],
|
["meta.tag.tag-name.table","tr"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","<%end%>"]
|
["keyword","<%end%>"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["meta.tag","</"],
|
["meta.tag","</"],
|
||||||
["meta.tag.tag-name.table","table"],
|
["meta.tag.tag-name.table","table"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","<%end%>"]
|
["keyword","<%end%>"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start"
|
||||||
"data": []
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","<%if"],
|
["keyword","<%if"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","not"],
|
["keyword","not"],
|
||||||
|
|
@ -545,11 +413,8 @@
|
||||||
["constant.numeric","0"],
|
["constant.numeric","0"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","then%>"]
|
["keyword","then%>"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["meta.tag","<"],
|
["meta.tag","<"],
|
||||||
["meta.tag.tag-name","h2"],
|
["meta.tag.tag-name","h2"],
|
||||||
["meta.tag.r",">"],
|
["meta.tag.r",">"],
|
||||||
|
|
@ -557,11 +422,8 @@
|
||||||
["meta.tag","</"],
|
["meta.tag","</"],
|
||||||
["meta.tag.tag-name","h2"],
|
["meta.tag.tag-name","h2"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["meta.tag","<"],
|
["meta.tag","<"],
|
||||||
["meta.tag.tag-name.table","table"],
|
["meta.tag.tag-name.table","table"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -569,17 +431,11 @@
|
||||||
["keyword.operator","="],
|
["keyword.operator","="],
|
||||||
["string","\"file_list\""],
|
["string","\"file_list\""],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["comment","<!--<tr><td colspan=\"2\">Files</td></tr>-->"]
|
["comment","<!--<tr><td colspan=\"2\">Files</td></tr>-->"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","<%for"],
|
["keyword","<%for"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","_"],
|
["identifier","_"],
|
||||||
|
|
@ -596,20 +452,14 @@
|
||||||
["paren.rparen",")"],
|
["paren.rparen",")"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","do%>"]
|
["keyword","do%>"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text","\t"],
|
["text","\t"],
|
||||||
["meta.tag","<"],
|
["meta.tag","<"],
|
||||||
["meta.tag.tag-name.table","tr"],
|
["meta.tag.tag-name.table","tr"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text","\t\t"],
|
["text","\t\t"],
|
||||||
["meta.tag","<"],
|
["meta.tag","<"],
|
||||||
["meta.tag.tag-name.table","td"],
|
["meta.tag.tag-name.table","td"],
|
||||||
|
|
@ -646,11 +496,8 @@
|
||||||
["meta.tag","</"],
|
["meta.tag","</"],
|
||||||
["meta.tag.tag-name.table","td"],
|
["meta.tag.tag-name.table","td"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text","\t\t"],
|
["text","\t\t"],
|
||||||
["meta.tag","<"],
|
["meta.tag","<"],
|
||||||
["meta.tag.tag-name.table","td"],
|
["meta.tag.tag-name.table","td"],
|
||||||
|
|
@ -662,72 +509,45 @@
|
||||||
["meta.tag","</"],
|
["meta.tag","</"],
|
||||||
["meta.tag.tag-name.table","td"],
|
["meta.tag.tag-name.table","td"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text","\t"],
|
["text","\t"],
|
||||||
["meta.tag","</"],
|
["meta.tag","</"],
|
||||||
["meta.tag.tag-name.table","tr"],
|
["meta.tag.tag-name.table","tr"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","<%end%>"]
|
["keyword","<%end%>"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["meta.tag","</"],
|
["meta.tag","</"],
|
||||||
["meta.tag.tag-name.table","table"],
|
["meta.tag.tag-name.table","table"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","<%end%>"]
|
["keyword","<%end%>"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["meta.tag","</"],
|
["meta.tag","</"],
|
||||||
["meta.tag.tag-name","div"],
|
["meta.tag.tag-name","div"],
|
||||||
["meta.tag.r",">"],
|
["meta.tag.r",">"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["comment","<!-- id=\"content\" -->"]
|
["comment","<!-- id=\"content\" -->"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["meta.tag","</"],
|
["meta.tag","</"],
|
||||||
["meta.tag.tag-name","div"],
|
["meta.tag.tag-name","div"],
|
||||||
["meta.tag.r",">"],
|
["meta.tag.r",">"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["comment","<!-- id=\"main\" -->"]
|
["comment","<!-- id=\"main\" -->"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["meta.tag","<"],
|
["meta.tag","<"],
|
||||||
["meta.tag.tag-name","div"],
|
["meta.tag.tag-name","div"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -735,11 +555,8 @@
|
||||||
["keyword.operator","="],
|
["keyword.operator","="],
|
||||||
["string","\"about\""],
|
["string","\"about\""],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text","\t"],
|
["text","\t"],
|
||||||
["meta.tag","<"],
|
["meta.tag","<"],
|
||||||
["meta.tag.tag-name","p"],
|
["meta.tag.tag-name","p"],
|
||||||
|
|
@ -777,51 +594,33 @@
|
||||||
["meta.tag","</"],
|
["meta.tag","</"],
|
||||||
["meta.tag.tag-name","p"],
|
["meta.tag.tag-name","p"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["meta.tag","</"],
|
["meta.tag","</"],
|
||||||
["meta.tag.tag-name","div"],
|
["meta.tag.tag-name","div"],
|
||||||
["meta.tag.r",">"],
|
["meta.tag.r",">"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["comment","<!-- id=\"about\" -->"]
|
["comment","<!-- id=\"about\" -->"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["meta.tag","</"],
|
["meta.tag","</"],
|
||||||
["meta.tag.tag-name","div"],
|
["meta.tag.tag-name","div"],
|
||||||
["meta.tag.r",">"],
|
["meta.tag.r",">"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["comment","<!-- id=\"container\" -->"],
|
["comment","<!-- id=\"container\" -->"],
|
||||||
["text","\t"]
|
["text","\t"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["meta.tag","</"],
|
["meta.tag","</"],
|
||||||
["meta.tag.tag-name","body"],
|
["meta.tag.tag-name","body"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["meta.tag","</"],
|
["meta.tag","</"],
|
||||||
["meta.tag.tag-name","html"],
|
["meta.tag.tag-name","html"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
]]
|
||||||
"state": "start",
|
|
||||||
"data": []
|
|
||||||
}
|
|
||||||
]
|
|
||||||
|
|
@ -1,7 +1,5 @@
|
||||||
[
|
[[
|
||||||
{
|
"start",
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["paren.lparen","("],
|
["paren.lparen","("],
|
||||||
["keyword","title:"],
|
["keyword","title:"],
|
||||||
["string","\"foo bar\""],
|
["string","\"foo bar\""],
|
||||||
|
|
@ -16,6 +14,4 @@
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","title:"],
|
["keyword","title:"],
|
||||||
["text","fox"]
|
["text","fox"]
|
||||||
]
|
]]
|
||||||
}
|
|
||||||
]
|
|
||||||
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
|
@ -1,35 +1,19 @@
|
||||||
[
|
[[
|
||||||
{
|
"comment",
|
||||||
"state": "comment",
|
|
||||||
"data": [
|
|
||||||
["comment","(*"]
|
["comment","(*"]
|
||||||
]
|
],[
|
||||||
},
|
"comment",
|
||||||
{
|
|
||||||
"state": "comment",
|
|
||||||
"data": [
|
|
||||||
["comment"," * Example of early return implementation taken from"]
|
["comment"," * Example of early return implementation taken from"]
|
||||||
]
|
],[
|
||||||
},
|
"comment",
|
||||||
{
|
|
||||||
"state": "comment",
|
|
||||||
"data": [
|
|
||||||
["comment"," * http://ocaml.janestreet.com/?q=node/91"]
|
["comment"," * http://ocaml.janestreet.com/?q=node/91"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["comment"," *)"]
|
["comment"," *)"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","let"],
|
["keyword","let"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","with_return"],
|
["identifier","with_return"],
|
||||||
|
|
@ -51,11 +35,8 @@
|
||||||
["paren.rparen",")"],
|
["paren.rparen",")"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword.operator","="]
|
["keyword.operator","="]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","let"],
|
["keyword","let"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -64,11 +45,8 @@
|
||||||
["identifier","M"],
|
["identifier","M"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword.operator","="]
|
["keyword.operator","="]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","struct"],
|
["keyword","struct"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -81,18 +59,12 @@
|
||||||
["identifier","t"],
|
["identifier","t"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","end"]
|
["keyword","end"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","in"]
|
["keyword","in"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","let"],
|
["keyword","let"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -126,11 +98,8 @@
|
||||||
["paren.rparen","}"],
|
["paren.rparen","}"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","in"]
|
["keyword","in"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","try"],
|
["keyword","try"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -149,25 +118,15 @@
|
||||||
["keyword.operator","->"],
|
["keyword.operator","->"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","x"]
|
["identifier","x"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start"
|
||||||
"data": []
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["comment","(* Function that uses the 'early return' functionality provided by `with_return` *)"]
|
["comment","(* Function that uses the 'early return' functionality provided by `with_return` *)"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","let"],
|
["keyword","let"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","sum_until_first_negative"],
|
["identifier","sum_until_first_negative"],
|
||||||
|
|
@ -175,11 +134,8 @@
|
||||||
["support.function","list"],
|
["support.function","list"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword.operator","="]
|
["keyword.operator","="]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","with_return"],
|
["identifier","with_return"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -189,11 +145,8 @@
|
||||||
["identifier","r"],
|
["identifier","r"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword.operator","->"]
|
["keyword.operator","->"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["support.function","List"],
|
["support.function","List"],
|
||||||
["text","."],
|
["text","."],
|
||||||
|
|
@ -217,11 +170,8 @@
|
||||||
["identifier","x"],
|
["identifier","x"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword.operator","->"]
|
["keyword.operator","->"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","if"],
|
["keyword","if"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -247,6 +197,4 @@
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","acc"],
|
["identifier","acc"],
|
||||||
["paren.rparen","))"]
|
["paren.rparen","))"]
|
||||||
]
|
]]
|
||||||
}
|
|
||||||
]
|
|
||||||
|
|
@ -1,31 +1,20 @@
|
||||||
[
|
[[
|
||||||
{
|
"start",
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["comment","#!/usr/bin/perl"]
|
["comment","#!/usr/bin/perl"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","use"],
|
["keyword","use"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","strict"],
|
["identifier","strict"],
|
||||||
["text",";"]
|
["text",";"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","use"],
|
["keyword","use"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","warnings"],
|
["identifier","warnings"],
|
||||||
["text",";"]
|
["text",";"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","my"],
|
["keyword","my"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","$num_primes"],
|
["identifier","$num_primes"],
|
||||||
|
|
@ -34,30 +23,19 @@
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["constant.numeric","0"],
|
["constant.numeric","0"],
|
||||||
["text",";"]
|
["text",";"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","my"],
|
["keyword","my"],
|
||||||
["text"," @"],
|
["text"," @"],
|
||||||
["identifier","primes"],
|
["identifier","primes"],
|
||||||
["text",";"]
|
["text",";"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["comment","# Put 2 as the first prime so we won't have an empty array"]
|
["comment","# Put 2 as the first prime so we won't have an empty array"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["identifier","$primes"],
|
["identifier","$primes"],
|
||||||
["lparen","["],
|
["lparen","["],
|
||||||
["identifier","$num_primes"],
|
["identifier","$num_primes"],
|
||||||
|
|
@ -67,30 +45,19 @@
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["constant.numeric","2"],
|
["constant.numeric","2"],
|
||||||
["text",";"]
|
["text",";"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["identifier","$num_primes"],
|
["identifier","$num_primes"],
|
||||||
["keyword.operator","++"],
|
["keyword.operator","++"],
|
||||||
["text",";"]
|
["text",";"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["identifier","MAIN_LOOP"],
|
["identifier","MAIN_LOOP"],
|
||||||
["text",":"]
|
["text",":"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","for"],
|
["keyword","for"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","my"],
|
["keyword","my"],
|
||||||
|
|
@ -104,17 +71,11 @@
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["constant.numeric","200"],
|
["constant.numeric","200"],
|
||||||
["rparen",")"]
|
["rparen",")"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["lparen","{"]
|
["lparen","{"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","for"],
|
["keyword","for"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -131,18 +92,12 @@
|
||||||
["identifier","$num_primes"],
|
["identifier","$num_primes"],
|
||||||
["constant.numeric","-1"],
|
["constant.numeric","-1"],
|
||||||
["rparen","))"]
|
["rparen","))"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["lparen","{"]
|
["lparen","{"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","if"],
|
["keyword","if"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -160,60 +115,37 @@
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["constant.numeric","0"],
|
["constant.numeric","0"],
|
||||||
["rparen",")"]
|
["rparen",")"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["lparen","{"]
|
["lparen","{"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","next"],
|
["keyword","next"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","MAIN_LOOP"],
|
["identifier","MAIN_LOOP"],
|
||||||
["text",";"]
|
["text",";"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["rparen","}"]
|
["rparen","}"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["rparen","}"]
|
["rparen","}"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["comment","# If we reached this point it means $number_to_check is not"]
|
["comment","# If we reached this point it means $number_to_check is not"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["comment","# divisable by any prime number that came before it."]
|
["comment","# divisable by any prime number that came before it."]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","$primes"],
|
["identifier","$primes"],
|
||||||
["lparen","["],
|
["lparen","["],
|
||||||
|
|
@ -224,30 +156,19 @@
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","$number_to_check"],
|
["identifier","$number_to_check"],
|
||||||
["text",";"]
|
["text",";"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","$num_primes"],
|
["identifier","$num_primes"],
|
||||||
["keyword.operator","++"],
|
["keyword.operator","++"],
|
||||||
["text",";"]
|
["text",";"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["rparen","}"]
|
["rparen","}"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","for"],
|
["keyword","for"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","my"],
|
["keyword","my"],
|
||||||
|
|
@ -263,17 +184,11 @@
|
||||||
["identifier","$num_primes"],
|
["identifier","$num_primes"],
|
||||||
["constant.numeric","-1"],
|
["constant.numeric","-1"],
|
||||||
["rparen","))"]
|
["rparen","))"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["lparen","{"]
|
["lparen","{"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["support.function","print"],
|
["support.function","print"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -285,25 +200,15 @@
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["string","\", \""],
|
["string","\", \""],
|
||||||
["text",";"]
|
["text",";"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["rparen","}"]
|
["rparen","}"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["support.function","print"],
|
["support.function","print"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["string","\"\\n\""],
|
["string","\"\\n\""],
|
||||||
["text",";"]
|
["text",";"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
]]
|
||||||
"state": "start",
|
|
||||||
"data": []
|
|
||||||
}
|
|
||||||
]
|
|
||||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,17 +1,10 @@
|
||||||
[
|
[[
|
||||||
{
|
"php-start",
|
||||||
"state": "php-start",
|
|
||||||
"data": [
|
|
||||||
["support.php_tag","<?php"]
|
["support.php_tag","<?php"]
|
||||||
]
|
],[
|
||||||
},
|
"php-start"
|
||||||
{
|
],[
|
||||||
"state": "php-start",
|
"php-start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "php-start",
|
|
||||||
"data": [
|
|
||||||
["keyword","function"],
|
["keyword","function"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","nfact"],
|
["identifier","nfact"],
|
||||||
|
|
@ -20,11 +13,8 @@
|
||||||
["rparen",")"],
|
["rparen",")"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["lparen","{"]
|
["lparen","{"]
|
||||||
]
|
],[
|
||||||
},
|
"php-start",
|
||||||
{
|
|
||||||
"state": "php-start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","if"],
|
["keyword","if"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -37,37 +27,25 @@
|
||||||
["rparen",")"],
|
["rparen",")"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["lparen","{"]
|
["lparen","{"]
|
||||||
]
|
],[
|
||||||
},
|
"php-start",
|
||||||
{
|
|
||||||
"state": "php-start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["support.function","return"],
|
["support.function","return"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["constant.numeric","1"],
|
["constant.numeric","1"],
|
||||||
["text",";"]
|
["text",";"]
|
||||||
]
|
],[
|
||||||
},
|
"php-start",
|
||||||
{
|
|
||||||
"state": "php-start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["rparen","}"]
|
["rparen","}"]
|
||||||
]
|
],[
|
||||||
},
|
"php-start",
|
||||||
{
|
|
||||||
"state": "php-start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","else"],
|
["keyword","else"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["lparen","{"]
|
["lparen","{"]
|
||||||
]
|
],[
|
||||||
},
|
"php-start",
|
||||||
{
|
|
||||||
"state": "php-start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["support.function","return"],
|
["support.function","return"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -84,39 +62,25 @@
|
||||||
["constant.numeric","1"],
|
["constant.numeric","1"],
|
||||||
["rparen",")"],
|
["rparen",")"],
|
||||||
["text",";"]
|
["text",";"]
|
||||||
]
|
],[
|
||||||
},
|
"php-start",
|
||||||
{
|
|
||||||
"state": "php-start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["rparen","}"]
|
["rparen","}"]
|
||||||
]
|
],[
|
||||||
},
|
"php-start",
|
||||||
{
|
|
||||||
"state": "php-start",
|
|
||||||
"data": [
|
|
||||||
["rparen","}"]
|
["rparen","}"]
|
||||||
]
|
],[
|
||||||
},
|
"php-start"
|
||||||
{
|
],[
|
||||||
"state": "php-start",
|
"php-start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "php-start",
|
|
||||||
"data": [
|
|
||||||
["support.function","echo"],
|
["support.function","echo"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["string","\""],
|
["string","\""],
|
||||||
["constant.language.escape","\\n\\n"],
|
["constant.language.escape","\\n\\n"],
|
||||||
["string","Please enter a whole number ... \""],
|
["string","Please enter a whole number ... \""],
|
||||||
["text",";"]
|
["text",";"]
|
||||||
]
|
],[
|
||||||
},
|
"php-start",
|
||||||
{
|
|
||||||
"state": "php-start",
|
|
||||||
"data": [
|
|
||||||
["variable","$num"],
|
["variable","$num"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword.operator","="],
|
["keyword.operator","="],
|
||||||
|
|
@ -128,21 +92,13 @@
|
||||||
["constant.language","STDIN"],
|
["constant.language","STDIN"],
|
||||||
["rparen","))"],
|
["rparen","))"],
|
||||||
["text",";"]
|
["text",";"]
|
||||||
]
|
],[
|
||||||
},
|
"php-start"
|
||||||
{
|
],[
|
||||||
"state": "php-start",
|
"php-start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "php-start",
|
|
||||||
"data": [
|
|
||||||
["comment","// ===== PROCESS - Determing the factorial of the input number ====="]
|
["comment","// ===== PROCESS - Determing the factorial of the input number ====="]
|
||||||
]
|
],[
|
||||||
},
|
"php-start",
|
||||||
{
|
|
||||||
"state": "php-start",
|
|
||||||
"data": [
|
|
||||||
["variable","$output"],
|
["variable","$output"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword.operator","="],
|
["keyword.operator","="],
|
||||||
|
|
@ -164,25 +120,15 @@
|
||||||
["constant.language.escape","\\n\\n"],
|
["constant.language.escape","\\n\\n"],
|
||||||
["string","\""],
|
["string","\""],
|
||||||
["text",";"]
|
["text",";"]
|
||||||
]
|
],[
|
||||||
},
|
"php-start",
|
||||||
{
|
|
||||||
"state": "php-start",
|
|
||||||
"data": [
|
|
||||||
["support.function","echo"],
|
["support.function","echo"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable","$output"],
|
["variable","$output"],
|
||||||
["text",";"]
|
["text",";"]
|
||||||
]
|
],[
|
||||||
},
|
"php-start"
|
||||||
{
|
],[
|
||||||
"state": "php-start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["support.php_tag","?>"]
|
["support.php_tag","?>"]
|
||||||
]
|
]]
|
||||||
}
|
|
||||||
]
|
|
||||||
|
|
@ -1,13 +1,8 @@
|
||||||
[
|
[[
|
||||||
{
|
"start",
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["comment","# This is a simple comment"]
|
["comment","# This is a simple comment"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","function"],
|
["keyword","function"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","Hello"],
|
["identifier","Hello"],
|
||||||
|
|
@ -16,30 +11,19 @@
|
||||||
["rparen",")"],
|
["rparen",")"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["lparen","{"]
|
["lparen","{"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","Write-host"],
|
["identifier","Write-host"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["string","\"Hello $name\""]
|
["string","\"Hello $name\""]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["rparen","}"]
|
["rparen","}"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","function"],
|
["keyword","function"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","add"],
|
["identifier","add"],
|
||||||
|
|
@ -52,11 +36,8 @@
|
||||||
["rparen",")"],
|
["rparen",")"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["lparen","{"]
|
["lparen","{"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","if"],
|
["keyword","if"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -69,20 +50,14 @@
|
||||||
["rparen",")"],
|
["rparen",")"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["lparen","{"]
|
["lparen","{"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","return"],
|
["keyword","return"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable.instance","$left"]
|
["variable.instance","$left"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["rparen","}"],
|
["rparen","}"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -105,57 +80,37 @@
|
||||||
["rparen",")"],
|
["rparen",")"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["lparen","{"]
|
["lparen","{"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","return"],
|
["keyword","return"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["constant.numeric","3"]
|
["constant.numeric","3"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["rparen","}"],
|
["rparen","}"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","else"],
|
["keyword","else"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["lparen","{"]
|
["lparen","{"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","return"],
|
["keyword","return"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["constant.numeric","2"]
|
["constant.numeric","2"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["rparen","}"]
|
["rparen","}"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["rparen","}"]
|
["rparen","}"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["variable.instance","$number"],
|
["variable.instance","$number"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword.operator","="],
|
["keyword.operator","="],
|
||||||
|
|
@ -166,25 +121,17 @@
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["constant.numeric","2"],
|
["constant.numeric","2"],
|
||||||
["text",";"]
|
["text",";"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["variable.instance","$number"],
|
["variable.instance","$number"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword.operator","+="],
|
["keyword.operator","+="],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["constant.numeric","3"]
|
["constant.numeric","3"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["support.function","Write-Host"],
|
["support.function","Write-Host"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","Hello"],
|
["identifier","Hello"],
|
||||||
|
|
@ -193,15 +140,10 @@
|
||||||
["identifier","name"],
|
["identifier","name"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["string","\"World\""]
|
["string","\"World\""]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["variable.instance","$an_array"],
|
["variable.instance","$an_array"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword.operator","="],
|
["keyword.operator","="],
|
||||||
|
|
@ -213,11 +155,8 @@
|
||||||
["text",", "],
|
["text",", "],
|
||||||
["constant.numeric","3"],
|
["constant.numeric","3"],
|
||||||
["rparen",")"]
|
["rparen",")"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["variable.instance","$a_hash"],
|
["variable.instance","$a_hash"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword.operator","="],
|
["keyword.operator","="],
|
||||||
|
|
@ -229,15 +168,10 @@
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["string","\"something else\""],
|
["string","\"something else\""],
|
||||||
["rparen","}"]
|
["rparen","}"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword.operator","&"],
|
["keyword.operator","&"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","notepad"],
|
["identifier","notepad"],
|
||||||
|
|
@ -245,10 +179,6 @@
|
||||||
["identifier","readme"],
|
["identifier","readme"],
|
||||||
["text","."],
|
["text","."],
|
||||||
["identifier","md"]
|
["identifier","md"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
]]
|
||||||
"state": "start",
|
|
||||||
"data": []
|
|
||||||
}
|
|
||||||
]
|
|
||||||
|
|
@ -1,37 +1,22 @@
|
||||||
[
|
[[
|
||||||
{
|
"start",
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["comment","#!/usr/local/bin/python"]
|
["comment","#!/usr/local/bin/python"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","import"],
|
["keyword","import"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","string"],
|
["identifier","string"],
|
||||||
["text",", "],
|
["text",", "],
|
||||||
["identifier","sys"]
|
["identifier","sys"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["comment","# If no arguments were given, print a helpful message"]
|
["comment","# If no arguments were given, print a helpful message"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","if"],
|
["keyword","if"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["support.function","len"],
|
["support.function","len"],
|
||||||
|
|
@ -43,26 +28,17 @@
|
||||||
["keyword.operator","=="],
|
["keyword.operator","=="],
|
||||||
["constant.numeric","1"],
|
["constant.numeric","1"],
|
||||||
["text",":"]
|
["text",":"]
|
||||||
]
|
],[
|
||||||
},
|
"qstring",
|
||||||
{
|
|
||||||
"state": "qstring",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","print"],
|
["keyword","print"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["string","'''Usage:"]
|
["string","'''Usage:"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["string","celsius temp1 temp2 ...'''"]
|
["string","celsius temp1 temp2 ...'''"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","sys"],
|
["identifier","sys"],
|
||||||
["text","."],
|
["text","."],
|
||||||
|
|
@ -70,21 +46,13 @@
|
||||||
["paren.lparen","("],
|
["paren.lparen","("],
|
||||||
["constant.numeric","0"],
|
["constant.numeric","0"],
|
||||||
["paren.rparen",")"]
|
["paren.rparen",")"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["comment","# Loop over the arguments"]
|
["comment","# Loop over the arguments"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","for"],
|
["keyword","for"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","i"],
|
["identifier","i"],
|
||||||
|
|
@ -99,19 +67,13 @@
|
||||||
["text",":"],
|
["text",":"],
|
||||||
["paren.rparen","]"],
|
["paren.rparen","]"],
|
||||||
["text",":"]
|
["text",":"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","try"],
|
["keyword","try"],
|
||||||
["text",":"]
|
["text",":"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","fahrenheit"],
|
["identifier","fahrenheit"],
|
||||||
["keyword.operator","="],
|
["keyword.operator","="],
|
||||||
|
|
@ -123,11 +85,8 @@
|
||||||
["paren.lparen","("],
|
["paren.lparen","("],
|
||||||
["identifier","i"],
|
["identifier","i"],
|
||||||
["paren.rparen","))"]
|
["paren.rparen","))"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","except"],
|
["keyword","except"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -135,11 +94,8 @@
|
||||||
["text","."],
|
["text","."],
|
||||||
["identifier","atoi_error"],
|
["identifier","atoi_error"],
|
||||||
["text",":"]
|
["text",":"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","print"],
|
["keyword","print"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -149,19 +105,13 @@
|
||||||
["paren.rparen",")"],
|
["paren.rparen",")"],
|
||||||
["text",", "],
|
["text",", "],
|
||||||
["string","\"not a numeric value\""]
|
["string","\"not a numeric value\""]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","else"],
|
["keyword","else"],
|
||||||
["text",":"]
|
["text",":"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","celsius"],
|
["identifier","celsius"],
|
||||||
["keyword.operator","="],
|
["keyword.operator","="],
|
||||||
|
|
@ -174,11 +124,8 @@
|
||||||
["constant.numeric","5.0"],
|
["constant.numeric","5.0"],
|
||||||
["keyword.operator","/"],
|
["keyword.operator","/"],
|
||||||
["constant.numeric","9.0"]
|
["constant.numeric","9.0"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","print"],
|
["keyword","print"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -198,6 +145,4 @@
|
||||||
["keyword.operator","+"],
|
["keyword.operator","+"],
|
||||||
["constant.numeric",".5"],
|
["constant.numeric",".5"],
|
||||||
["paren.rparen","))"]
|
["paren.rparen","))"]
|
||||||
]
|
]]
|
||||||
}
|
|
||||||
]
|
|
||||||
|
|
@ -1,14 +1,9 @@
|
||||||
[
|
[[
|
||||||
{
|
"start",
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["identifier","Call"],
|
["identifier","Call"],
|
||||||
["keyword.operator",":"]
|
["keyword.operator",":"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["identifier","lm"],
|
["identifier","lm"],
|
||||||
["paren.keyword.operator","("],
|
["paren.keyword.operator","("],
|
||||||
["identifier","formula"],
|
["identifier","formula"],
|
||||||
|
|
@ -21,24 +16,15 @@
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","x"],
|
["identifier","x"],
|
||||||
["paren.keyword.operator",")"]
|
["paren.keyword.operator",")"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "]
|
["text"," "]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["identifier","Residuals"],
|
["identifier","Residuals"],
|
||||||
["keyword.operator",":"]
|
["keyword.operator",":"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["constant.numeric","1"],
|
["constant.numeric","1"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["constant.numeric","2"],
|
["constant.numeric","2"],
|
||||||
|
|
@ -50,11 +36,8 @@
|
||||||
["constant.numeric","5"],
|
["constant.numeric","5"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["constant.numeric","6"]
|
["constant.numeric","6"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["constant.numeric","3.3333"],
|
["constant.numeric","3.3333"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword.operator","-"],
|
["keyword.operator","-"],
|
||||||
|
|
@ -70,24 +53,15 @@
|
||||||
["constant.numeric","0.6667"],
|
["constant.numeric","0.6667"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["constant.numeric","3.3333"]
|
["constant.numeric","3.3333"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "]
|
["text"," "]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["identifier","Coefficients"],
|
["identifier","Coefficients"],
|
||||||
["keyword.operator",":"]
|
["keyword.operator",":"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","Estimate"],
|
["identifier","Estimate"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -105,11 +79,8 @@
|
||||||
["identifier","t"],
|
["identifier","t"],
|
||||||
["keyword.operator","|"],
|
["keyword.operator","|"],
|
||||||
["paren.keyword.operator",")"]
|
["paren.keyword.operator",")"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["paren.keyword.operator","("],
|
["paren.keyword.operator","("],
|
||||||
["identifier","Intercept"],
|
["identifier","Intercept"],
|
||||||
["paren.keyword.operator",")"],
|
["paren.keyword.operator",")"],
|
||||||
|
|
@ -125,11 +96,8 @@
|
||||||
["constant.numeric","0.030453"],
|
["constant.numeric","0.030453"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword.operator","*"]
|
["keyword.operator","*"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["identifier","x"],
|
["identifier","x"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["constant.numeric","7.0000"],
|
["constant.numeric","7.0000"],
|
||||||
|
|
@ -141,17 +109,11 @@
|
||||||
["constant.numeric","0.000662"],
|
["constant.numeric","0.000662"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword.operator","***"]
|
["keyword.operator","***"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword.operator","---"]
|
["keyword.operator","---"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["identifier","Signif"],
|
["identifier","Signif"],
|
||||||
["text",". "],
|
["text",". "],
|
||||||
["identifier","codes"],
|
["identifier","codes"],
|
||||||
|
|
@ -174,17 +136,11 @@
|
||||||
["constant.numeric","0.1"],
|
["constant.numeric","0.1"],
|
||||||
["text"," ‘ ’ "],
|
["text"," ‘ ’ "],
|
||||||
["constant.numeric","1"]
|
["constant.numeric","1"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "]
|
["text"," "]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["identifier","Residual"],
|
["identifier","Residual"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","standard"],
|
["identifier","standard"],
|
||||||
|
|
@ -203,11 +159,8 @@
|
||||||
["identifier","of"],
|
["identifier","of"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","freedom"]
|
["identifier","freedom"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["identifier","Multiple"],
|
["identifier","Multiple"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","R"],
|
["identifier","R"],
|
||||||
|
|
@ -225,11 +178,8 @@
|
||||||
["keyword.operator",":"],
|
["keyword.operator",":"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["constant.numeric","0.9478"]
|
["constant.numeric","0.9478"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["constant.language.boolean","F"],
|
["constant.language.boolean","F"],
|
||||||
["keyword.operator","-"],
|
["keyword.operator","-"],
|
||||||
["identifier","statistic"],
|
["identifier","statistic"],
|
||||||
|
|
@ -253,17 +203,11 @@
|
||||||
["keyword.operator",":"],
|
["keyword.operator",":"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["constant.numeric","0.000662"]
|
["constant.numeric","0.000662"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "]
|
["text"," "]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword.operator",">"],
|
["keyword.operator",">"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","par"],
|
["identifier","par"],
|
||||||
|
|
@ -278,11 +222,8 @@
|
||||||
["paren.keyword.operator","))"],
|
["paren.keyword.operator","))"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["comment","# Request 2x2 plot layout"]
|
["comment","# Request 2x2 plot layout"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword.operator",">"],
|
["keyword.operator",">"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","plot"],
|
["identifier","plot"],
|
||||||
|
|
@ -291,6 +232,4 @@
|
||||||
["paren.keyword.operator",")"],
|
["paren.keyword.operator",")"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["comment","# Diagnostic plot of regression model"]
|
["comment","# Diagnostic plot of regression model"]
|
||||||
]
|
]]
|
||||||
}
|
|
||||||
]
|
|
||||||
|
|
@ -1,64 +1,39 @@
|
||||||
[
|
[[
|
||||||
{
|
"start",
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","\\name"],
|
["keyword","\\name"],
|
||||||
["paren.keyword.operator","{"],
|
["paren.keyword.operator","{"],
|
||||||
["nospell.text","picker"],
|
["nospell.text","picker"],
|
||||||
["paren.keyword.operator","}"]
|
["paren.keyword.operator","}"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","\\alias"],
|
["keyword","\\alias"],
|
||||||
["paren.keyword.operator","{"],
|
["paren.keyword.operator","{"],
|
||||||
["nospell.text","picker"],
|
["nospell.text","picker"],
|
||||||
["paren.keyword.operator","}"]
|
["paren.keyword.operator","}"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","\\title"],
|
["keyword","\\title"],
|
||||||
["paren.keyword.operator","{"],
|
["paren.keyword.operator","{"],
|
||||||
["text","Create a picker control"],
|
["text","Create a picker control"],
|
||||||
["paren.keyword.operator","}"]
|
["paren.keyword.operator","}"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","\\description"],
|
["keyword","\\description"],
|
||||||
["paren.keyword.operator","{"]
|
["paren.keyword.operator","{"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," Create a picker control to enable manipulation of plot variables based on a set of fixed choices."]
|
["text"," Create a picker control to enable manipulation of plot variables based on a set of fixed choices."]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["paren.keyword.operator","}"]
|
["paren.keyword.operator","}"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"nospell",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "nospell",
|
|
||||||
"data": [
|
|
||||||
["keyword","\\usage"],
|
["keyword","\\usage"],
|
||||||
["paren.keyword.operator","{"]
|
["paren.keyword.operator","{"]
|
||||||
]
|
],[
|
||||||
},
|
"nospell",
|
||||||
{
|
|
||||||
"state": "nospell",
|
|
||||||
"data": [
|
|
||||||
["nospell.text","picker"],
|
["nospell.text","picker"],
|
||||||
["paren.keyword.operator","("],
|
["paren.keyword.operator","("],
|
||||||
["text","...,"],
|
["text","...,"],
|
||||||
|
|
@ -70,42 +45,26 @@
|
||||||
["text","="],
|
["text","="],
|
||||||
["nospell.text"," NULL"],
|
["nospell.text"," NULL"],
|
||||||
["paren.keyword.operator",")"]
|
["paren.keyword.operator",")"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["paren.keyword.operator","}"]
|
["paren.keyword.operator","}"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start"
|
||||||
"data": []
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","\\arguments"],
|
["keyword","\\arguments"],
|
||||||
["paren.keyword.operator","{"]
|
["paren.keyword.operator","{"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","\\item"],
|
["keyword","\\item"],
|
||||||
["paren.keyword.operator","{"],
|
["paren.keyword.operator","{"],
|
||||||
["keyword","\\dots"],
|
["keyword","\\dots"],
|
||||||
["paren.keyword.operator","}{"]
|
["paren.keyword.operator","}{"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," Arguments containing objects to be presented as choices for the picker "],
|
["text"," Arguments containing objects to be presented as choices for the picker "],
|
||||||
["paren.keyword.operator","("],
|
["paren.keyword.operator","("],
|
||||||
["text","or a list containing the choices"],
|
["text","or a list containing the choices"],
|
||||||
|
|
@ -120,78 +79,46 @@
|
||||||
["nospell.text","character"],
|
["nospell.text","character"],
|
||||||
["paren.keyword.operator","}}"],
|
["paren.keyword.operator","}}"],
|
||||||
["text",". "]
|
["text",". "]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["paren.keyword.operator","}"]
|
["paren.keyword.operator","}"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","\\item"],
|
["keyword","\\item"],
|
||||||
["paren.keyword.operator","{"],
|
["paren.keyword.operator","{"],
|
||||||
["nospell.text","initial"],
|
["nospell.text","initial"],
|
||||||
["paren.keyword.operator","}{"]
|
["paren.keyword.operator","}{"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," Initial value for picker. Value must be present in the list of choices specified. If not specified defaults to the first choice."]
|
["text"," Initial value for picker. Value must be present in the list of choices specified. If not specified defaults to the first choice."]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["paren.keyword.operator","}"]
|
["paren.keyword.operator","}"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","\\item"],
|
["keyword","\\item"],
|
||||||
["paren.keyword.operator","{"],
|
["paren.keyword.operator","{"],
|
||||||
["nospell.text","label"],
|
["nospell.text","label"],
|
||||||
["paren.keyword.operator","}{"]
|
["paren.keyword.operator","}{"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," Display label for picker. Defaults to the variable name if not specified."]
|
["text"," Display label for picker. Defaults to the variable name if not specified."]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["paren.keyword.operator","}"]
|
["paren.keyword.operator","}"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["paren.keyword.operator","}"]
|
["paren.keyword.operator","}"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","\\value"],
|
["keyword","\\value"],
|
||||||
["paren.keyword.operator","{"]
|
["paren.keyword.operator","{"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," An object of class \"manipulator.picker\" which can be passed to the "],
|
["text"," An object of class \"manipulator.picker\" which can be passed to the "],
|
||||||
["keyword","\\code"],
|
["keyword","\\code"],
|
||||||
["paren.keyword.operator","{"],
|
["paren.keyword.operator","{"],
|
||||||
|
|
@ -200,28 +127,17 @@
|
||||||
["nospell.text","manipulate"],
|
["nospell.text","manipulate"],
|
||||||
["paren.keyword.operator","}}"],
|
["paren.keyword.operator","}}"],
|
||||||
["text"," function."]
|
["text"," function."]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["paren.keyword.operator","}"]
|
["paren.keyword.operator","}"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","\\seealso"],
|
["keyword","\\seealso"],
|
||||||
["paren.keyword.operator","{"]
|
["paren.keyword.operator","{"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","\\code"],
|
["keyword","\\code"],
|
||||||
["paren.keyword.operator","{"],
|
["paren.keyword.operator","{"],
|
||||||
["keyword","\\link"],
|
["keyword","\\link"],
|
||||||
|
|
@ -249,57 +165,33 @@
|
||||||
["paren.keyword.operator","{"],
|
["paren.keyword.operator","{"],
|
||||||
["nospell.text","button"],
|
["nospell.text","button"],
|
||||||
["paren.keyword.operator","}}"]
|
["paren.keyword.operator","}}"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["paren.keyword.operator","}"]
|
["paren.keyword.operator","}"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start"
|
||||||
"data": []
|
],[
|
||||||
},
|
"nospell",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "nospell",
|
|
||||||
"data": [
|
|
||||||
["keyword","\\examples"],
|
["keyword","\\examples"],
|
||||||
["paren.keyword.operator","{"]
|
["paren.keyword.operator","{"]
|
||||||
]
|
],[
|
||||||
},
|
"nospell",
|
||||||
{
|
|
||||||
"state": "nospell",
|
|
||||||
"data": [
|
|
||||||
["keyword","\\dontrun"],
|
["keyword","\\dontrun"],
|
||||||
["paren.keyword.operator","{"]
|
["paren.keyword.operator","{"]
|
||||||
]
|
],[
|
||||||
},
|
"nospell"
|
||||||
{
|
],[
|
||||||
"state": "nospell",
|
"nospell",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "nospell",
|
|
||||||
"data": [
|
|
||||||
["text","##"],
|
["text","##"],
|
||||||
["nospell.text"," Filtering data with a picker"]
|
["nospell.text"," Filtering data with a picker"]
|
||||||
]
|
],[
|
||||||
},
|
"nospell",
|
||||||
{
|
|
||||||
"state": "nospell",
|
|
||||||
"data": [
|
|
||||||
["nospell.text","manipulate"],
|
["nospell.text","manipulate"],
|
||||||
["paren.keyword.operator","("]
|
["paren.keyword.operator","("]
|
||||||
]
|
],[
|
||||||
},
|
"nospell",
|
||||||
{
|
|
||||||
"state": "nospell",
|
|
||||||
"data": [
|
|
||||||
["nospell.text"," barplot"],
|
["nospell.text"," barplot"],
|
||||||
["paren.keyword.operator","("],
|
["paren.keyword.operator","("],
|
||||||
["nospell.text","as"],
|
["nospell.text","as"],
|
||||||
|
|
@ -313,11 +205,8 @@
|
||||||
["paren.keyword.operator","])"],
|
["paren.keyword.operator","])"],
|
||||||
["text",","],
|
["text",","],
|
||||||
["nospell.text"," "]
|
["nospell.text"," "]
|
||||||
]
|
],[
|
||||||
},
|
"nospell",
|
||||||
{
|
|
||||||
"state": "nospell",
|
|
||||||
"data": [
|
|
||||||
["nospell.text"," beside "],
|
["nospell.text"," beside "],
|
||||||
["text","="],
|
["text","="],
|
||||||
["nospell.text"," TRUE"],
|
["nospell.text"," TRUE"],
|
||||||
|
|
@ -327,11 +216,8 @@
|
||||||
["nospell.text"," factor"],
|
["nospell.text"," factor"],
|
||||||
["paren.keyword.operator",")"],
|
["paren.keyword.operator",")"],
|
||||||
["text",","]
|
["text",","]
|
||||||
]
|
],[
|
||||||
},
|
"nospell",
|
||||||
{
|
|
||||||
"state": "nospell",
|
|
||||||
"data": [
|
|
||||||
["nospell.text"," factor "],
|
["nospell.text"," factor "],
|
||||||
["text","="],
|
["text","="],
|
||||||
["nospell.text"," picker"],
|
["nospell.text"," picker"],
|
||||||
|
|
@ -348,29 +234,18 @@
|
||||||
["nospell.text","Employed"],
|
["nospell.text","Employed"],
|
||||||
["text","\""],
|
["text","\""],
|
||||||
["paren.keyword.operator","))"]
|
["paren.keyword.operator","))"]
|
||||||
]
|
],[
|
||||||
},
|
"nospell"
|
||||||
{
|
],[
|
||||||
"state": "nospell",
|
"nospell",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "nospell",
|
|
||||||
"data": [
|
|
||||||
["text","##"],
|
["text","##"],
|
||||||
["nospell.text"," Create a picker with labels"]
|
["nospell.text"," Create a picker with labels"]
|
||||||
]
|
],[
|
||||||
},
|
"nospell",
|
||||||
{
|
|
||||||
"state": "nospell",
|
|
||||||
"data": [
|
|
||||||
["nospell.text","manipulate"],
|
["nospell.text","manipulate"],
|
||||||
["paren.keyword.operator","("]
|
["paren.keyword.operator","("]
|
||||||
]
|
],[
|
||||||
},
|
"nospell",
|
||||||
{
|
|
||||||
"state": "nospell",
|
|
||||||
"data": [
|
|
||||||
["nospell.text"," plot"],
|
["nospell.text"," plot"],
|
||||||
["paren.keyword.operator","("],
|
["paren.keyword.operator","("],
|
||||||
["nospell.text","pressure"],
|
["nospell.text","pressure"],
|
||||||
|
|
@ -381,11 +256,8 @@
|
||||||
["paren.keyword.operator",")"],
|
["paren.keyword.operator",")"],
|
||||||
["text",","],
|
["text",","],
|
||||||
["nospell.text"," "]
|
["nospell.text"," "]
|
||||||
]
|
],[
|
||||||
},
|
"nospell",
|
||||||
{
|
|
||||||
"state": "nospell",
|
|
||||||
"data": [
|
|
||||||
["nospell.text"," type "],
|
["nospell.text"," type "],
|
||||||
["text","="],
|
["text","="],
|
||||||
["nospell.text"," picker"],
|
["nospell.text"," picker"],
|
||||||
|
|
@ -420,31 +292,19 @@
|
||||||
["nospell.text","s"],
|
["nospell.text","s"],
|
||||||
["text","\""],
|
["text","\""],
|
||||||
["paren.keyword.operator","))"]
|
["paren.keyword.operator","))"]
|
||||||
]
|
],[
|
||||||
},
|
"nospell",
|
||||||
{
|
|
||||||
"state": "nospell",
|
|
||||||
"data": [
|
|
||||||
["nospell.text"," "]
|
["nospell.text"," "]
|
||||||
]
|
],[
|
||||||
},
|
"nospell",
|
||||||
{
|
|
||||||
"state": "nospell",
|
|
||||||
"data": [
|
|
||||||
["text","##"],
|
["text","##"],
|
||||||
["nospell.text"," Picker with groups"]
|
["nospell.text"," Picker with groups"]
|
||||||
]
|
],[
|
||||||
},
|
"nospell",
|
||||||
{
|
|
||||||
"state": "nospell",
|
|
||||||
"data": [
|
|
||||||
["nospell.text","manipulate"],
|
["nospell.text","manipulate"],
|
||||||
["paren.keyword.operator","("]
|
["paren.keyword.operator","("]
|
||||||
]
|
],[
|
||||||
},
|
"nospell",
|
||||||
{
|
|
||||||
"state": "nospell",
|
|
||||||
"data": [
|
|
||||||
["nospell.text"," barplot"],
|
["nospell.text"," barplot"],
|
||||||
["paren.keyword.operator","("],
|
["paren.keyword.operator","("],
|
||||||
["nospell.text","as"],
|
["nospell.text","as"],
|
||||||
|
|
@ -464,11 +324,8 @@
|
||||||
["nospell.text","TRUE"],
|
["nospell.text","TRUE"],
|
||||||
["paren.keyword.operator",")"],
|
["paren.keyword.operator",")"],
|
||||||
["text",","]
|
["text",","]
|
||||||
]
|
],[
|
||||||
},
|
"nospell",
|
||||||
{
|
|
||||||
"state": "nospell",
|
|
||||||
"data": [
|
|
||||||
["nospell.text"," group "],
|
["nospell.text"," group "],
|
||||||
["text","="],
|
["text","="],
|
||||||
["nospell.text"," picker"],
|
["nospell.text"," picker"],
|
||||||
|
|
@ -483,11 +340,8 @@
|
||||||
["nospell.text","11"],
|
["nospell.text","11"],
|
||||||
["text",","],
|
["text",","],
|
||||||
["nospell.text"," "]
|
["nospell.text"," "]
|
||||||
]
|
],[
|
||||||
},
|
"nospell",
|
||||||
{
|
|
||||||
"state": "nospell",
|
|
||||||
"data": [
|
|
||||||
["nospell.text"," "],
|
["nospell.text"," "],
|
||||||
["text","\""],
|
["text","\""],
|
||||||
["nospell.text","Group 2"],
|
["nospell.text","Group 2"],
|
||||||
|
|
@ -499,11 +353,8 @@
|
||||||
["nospell.text","22"],
|
["nospell.text","22"],
|
||||||
["text",","],
|
["text",","],
|
||||||
["nospell.text"," "]
|
["nospell.text"," "]
|
||||||
]
|
],[
|
||||||
},
|
"nospell",
|
||||||
{
|
|
||||||
"state": "nospell",
|
|
||||||
"data": [
|
|
||||||
["nospell.text"," "],
|
["nospell.text"," "],
|
||||||
["text","\""],
|
["text","\""],
|
||||||
["nospell.text","Group 3"],
|
["nospell.text","Group 3"],
|
||||||
|
|
@ -514,49 +365,32 @@
|
||||||
["text",":"],
|
["text",":"],
|
||||||
["nospell.text","32"],
|
["nospell.text","32"],
|
||||||
["paren.keyword.operator","))"]
|
["paren.keyword.operator","))"]
|
||||||
]
|
],[
|
||||||
},
|
"nospell"
|
||||||
{
|
],[
|
||||||
"state": "nospell",
|
"nospell",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "nospell",
|
|
||||||
"data": [
|
|
||||||
["text","##"],
|
["text","##"],
|
||||||
["nospell.text"," Histogram w"],
|
["nospell.text"," Histogram w"],
|
||||||
["text","/"],
|
["text","/"],
|
||||||
["nospell.text"," picker to select type"]
|
["nospell.text"," picker to select type"]
|
||||||
]
|
],[
|
||||||
},
|
"nospell",
|
||||||
{
|
|
||||||
"state": "nospell",
|
|
||||||
"data": [
|
|
||||||
["nospell.text","require"],
|
["nospell.text","require"],
|
||||||
["paren.keyword.operator","("],
|
["paren.keyword.operator","("],
|
||||||
["nospell.text","lattice"],
|
["nospell.text","lattice"],
|
||||||
["paren.keyword.operator",")"]
|
["paren.keyword.operator",")"]
|
||||||
]
|
],[
|
||||||
},
|
"nospell",
|
||||||
{
|
|
||||||
"state": "nospell",
|
|
||||||
"data": [
|
|
||||||
["nospell.text","require"],
|
["nospell.text","require"],
|
||||||
["paren.keyword.operator","("],
|
["paren.keyword.operator","("],
|
||||||
["nospell.text","stats"],
|
["nospell.text","stats"],
|
||||||
["paren.keyword.operator",")"]
|
["paren.keyword.operator",")"]
|
||||||
]
|
],[
|
||||||
},
|
"nospell",
|
||||||
{
|
|
||||||
"state": "nospell",
|
|
||||||
"data": [
|
|
||||||
["nospell.text","manipulate"],
|
["nospell.text","manipulate"],
|
||||||
["paren.keyword.operator","("]
|
["paren.keyword.operator","("]
|
||||||
]
|
],[
|
||||||
},
|
"nospell",
|
||||||
{
|
|
||||||
"state": "nospell",
|
|
||||||
"data": [
|
|
||||||
["nospell.text"," histogram"],
|
["nospell.text"," histogram"],
|
||||||
["paren.keyword.operator","("],
|
["paren.keyword.operator","("],
|
||||||
["text","~"],
|
["text","~"],
|
||||||
|
|
@ -567,11 +401,8 @@
|
||||||
["nospell.text","part"],
|
["nospell.text","part"],
|
||||||
["text",","],
|
["text",","],
|
||||||
["nospell.text"," "]
|
["nospell.text"," "]
|
||||||
]
|
],[
|
||||||
},
|
"nospell",
|
||||||
{
|
|
||||||
"state": "nospell",
|
|
||||||
"data": [
|
|
||||||
["nospell.text"," data "],
|
["nospell.text"," data "],
|
||||||
["text","="],
|
["text","="],
|
||||||
["nospell.text"," singer"],
|
["nospell.text"," singer"],
|
||||||
|
|
@ -581,11 +412,8 @@
|
||||||
["nospell.text"," type"],
|
["nospell.text"," type"],
|
||||||
["paren.keyword.operator",")"],
|
["paren.keyword.operator",")"],
|
||||||
["text",","]
|
["text",","]
|
||||||
]
|
],[
|
||||||
},
|
"nospell",
|
||||||
{
|
|
||||||
"state": "nospell",
|
|
||||||
"data": [
|
|
||||||
["nospell.text"," type "],
|
["nospell.text"," type "],
|
||||||
["text","="],
|
["text","="],
|
||||||
["nospell.text"," picker"],
|
["nospell.text"," picker"],
|
||||||
|
|
@ -602,22 +430,12 @@
|
||||||
["nospell.text","density"],
|
["nospell.text","density"],
|
||||||
["text","\""],
|
["text","\""],
|
||||||
["paren.keyword.operator","))"]
|
["paren.keyword.operator","))"]
|
||||||
]
|
],[
|
||||||
},
|
"nospell"
|
||||||
{
|
],[
|
||||||
"state": "nospell",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["paren.keyword.operator","}"]
|
["paren.keyword.operator","}"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["paren.keyword.operator","}"]
|
["paren.keyword.operator","}"]
|
||||||
]
|
]]
|
||||||
}
|
|
||||||
]
|
|
||||||
|
|
@ -1,27 +1,17 @@
|
||||||
[
|
[[
|
||||||
{
|
"start",
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["meta.tag","<"],
|
["meta.tag","<"],
|
||||||
["meta.tag.tag-name","html"],
|
["meta.tag.tag-name","html"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["meta.tag","<"],
|
["meta.tag","<"],
|
||||||
["meta.tag.tag-name","head"],
|
["meta.tag.tag-name","head"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["meta.tag","<"],
|
["meta.tag","<"],
|
||||||
["meta.tag.tag-name","title"],
|
["meta.tag.tag-name","title"],
|
||||||
["meta.tag.r",">"],
|
["meta.tag.r",">"],
|
||||||
|
|
@ -29,35 +19,22 @@
|
||||||
["meta.tag","</"],
|
["meta.tag","</"],
|
||||||
["meta.tag.tag-name","title"],
|
["meta.tag.tag-name","title"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["meta.tag","</"],
|
["meta.tag","</"],
|
||||||
["meta.tag.tag-name","head"],
|
["meta.tag.tag-name","head"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["meta.tag","<"],
|
["meta.tag","<"],
|
||||||
["meta.tag.tag-name","body"],
|
["meta.tag.tag-name","body"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["meta.tag","<"],
|
["meta.tag","<"],
|
||||||
["meta.tag.tag-name","p"],
|
["meta.tag.tag-name","p"],
|
||||||
["meta.tag.r",">"],
|
["meta.tag.r",">"],
|
||||||
|
|
@ -73,40 +50,24 @@
|
||||||
["meta.tag","</"],
|
["meta.tag","</"],
|
||||||
["meta.tag.tag-name","p"],
|
["meta.tag.tag-name","p"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"r-start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "r-start",
|
|
||||||
"data": [
|
|
||||||
["support.function.codebegin","<!--begin.rcode"]
|
["support.function.codebegin","<!--begin.rcode"]
|
||||||
]
|
],[
|
||||||
},
|
"r-start",
|
||||||
{
|
|
||||||
"state": "r-start",
|
|
||||||
"data": [
|
|
||||||
["identifier","summary"],
|
["identifier","summary"],
|
||||||
["paren.keyword.operator","("],
|
["paren.keyword.operator","("],
|
||||||
["identifier","cars"],
|
["identifier","cars"],
|
||||||
["paren.keyword.operator",")"]
|
["paren.keyword.operator",")"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["support.function.codeend","end.rcode-->"]
|
["support.function.codeend","end.rcode-->"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["meta.tag","<"],
|
["meta.tag","<"],
|
||||||
["meta.tag.tag-name","p"],
|
["meta.tag.tag-name","p"],
|
||||||
["meta.tag.r",">"],
|
["meta.tag.r",">"],
|
||||||
|
|
@ -114,55 +75,32 @@
|
||||||
["meta.tag","</"],
|
["meta.tag","</"],
|
||||||
["meta.tag.tag-name","p"],
|
["meta.tag.tag-name","p"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"r-start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "r-start",
|
|
||||||
"data": [
|
|
||||||
["support.function.codebegin","<!--begin.rcode fig.width=7, fig.height=6"]
|
["support.function.codebegin","<!--begin.rcode fig.width=7, fig.height=6"]
|
||||||
]
|
],[
|
||||||
},
|
"r-start",
|
||||||
{
|
|
||||||
"state": "r-start",
|
|
||||||
"data": [
|
|
||||||
["identifier","plot"],
|
["identifier","plot"],
|
||||||
["paren.keyword.operator","("],
|
["paren.keyword.operator","("],
|
||||||
["identifier","cars"],
|
["identifier","cars"],
|
||||||
["paren.keyword.operator",")"]
|
["paren.keyword.operator",")"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["support.function.codeend","end.rcode-->"]
|
["support.function.codeend","end.rcode-->"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["meta.tag","</"],
|
["meta.tag","</"],
|
||||||
["meta.tag.tag-name","body"],
|
["meta.tag.tag-name","body"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["meta.tag","</"],
|
["meta.tag","</"],
|
||||||
["meta.tag.tag-name","html"],
|
["meta.tag.tag-name","html"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
]]
|
||||||
"state": "start",
|
|
||||||
"data": []
|
|
||||||
}
|
|
||||||
]
|
|
||||||
|
|
@ -1,34 +1,21 @@
|
||||||
[
|
[[
|
||||||
{
|
"start",
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["comment","#!/usr/bin/ruby"]
|
["comment","#!/usr/bin/ruby"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["comment","# Program to find the factorial of a number"]
|
["comment","# Program to find the factorial of a number"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","def"],
|
["keyword","def"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","fact"],
|
["identifier","fact"],
|
||||||
["paren.lparen","("],
|
["paren.lparen","("],
|
||||||
["identifier","n"],
|
["identifier","n"],
|
||||||
["paren.rparen",")"]
|
["paren.rparen",")"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","if"],
|
["keyword","if"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -37,25 +24,16 @@
|
||||||
["keyword.operator","=="],
|
["keyword.operator","=="],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["constant.numeric","0"]
|
["constant.numeric","0"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["constant.numeric","1"]
|
["constant.numeric","1"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","else"]
|
["keyword","else"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","n"],
|
["identifier","n"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -66,28 +44,17 @@
|
||||||
["identifier","n"],
|
["identifier","n"],
|
||||||
["constant.numeric","-1"],
|
["constant.numeric","-1"],
|
||||||
["paren.rparen",")"]
|
["paren.rparen",")"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","end"]
|
["keyword","end"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","end"]
|
["keyword","end"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["support.function","puts"],
|
["support.function","puts"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","fact"],
|
["identifier","fact"],
|
||||||
|
|
@ -99,23 +66,15 @@
|
||||||
["text","."],
|
["text","."],
|
||||||
["identifier","to_i"],
|
["identifier","to_i"],
|
||||||
["paren.rparen",")"]
|
["paren.rparen",")"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","class"],
|
["keyword","class"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["support.class","Range"]
|
["support.class","Range"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","def"],
|
["keyword","def"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -124,18 +83,12 @@
|
||||||
["keyword.operator","*"],
|
["keyword.operator","*"],
|
||||||
["identifier","a"],
|
["identifier","a"],
|
||||||
["paren.rparen",")"]
|
["paren.rparen",")"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.lparen","{"]
|
["paren.lparen","{"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["string","'json_class'"],
|
["string","'json_class'"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -148,11 +101,8 @@
|
||||||
["identifier","name"],
|
["identifier","name"],
|
||||||
["text",", "],
|
["text",", "],
|
||||||
["comment","# = 'Range'"]
|
["comment","# = 'Range'"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["string","'data'"],
|
["string","'data'"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -167,11 +117,8 @@
|
||||||
["identifier","exclude_end"],
|
["identifier","exclude_end"],
|
||||||
["text","? "],
|
["text","? "],
|
||||||
["paren.rparen","]"]
|
["paren.rparen","]"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.rparen","}"],
|
["paren.rparen","}"],
|
||||||
["text","."],
|
["text","."],
|
||||||
|
|
@ -180,28 +127,17 @@
|
||||||
["keyword.operator","*"],
|
["keyword.operator","*"],
|
||||||
["identifier","a"],
|
["identifier","a"],
|
||||||
["paren.rparen",")"]
|
["paren.rparen",")"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","end"]
|
["keyword","end"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","end"]
|
["keyword","end"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["paren.lparen","{"],
|
["paren.lparen","{"],
|
||||||
["constant.other.symbol.ruby",":id"],
|
["constant.other.symbol.ruby",":id"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -215,6 +151,4 @@
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["string","\"asdasdads\""],
|
["string","\"asdasdads\""],
|
||||||
["paren.rparen","}"]
|
["paren.rparen","}"]
|
||||||
]
|
]]
|
||||||
}
|
|
||||||
]
|
|
||||||
|
|
@ -1,13 +1,8 @@
|
||||||
[
|
[[
|
||||||
{
|
"start",
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["comment","// ace can highlight scad!"]
|
["comment","// ace can highlight scad!"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","module"],
|
["keyword","module"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","Element"],
|
["identifier","Element"],
|
||||||
|
|
@ -19,11 +14,8 @@
|
||||||
["identifier","zpos"],
|
["identifier","zpos"],
|
||||||
["paren.rparen",")"],
|
["paren.rparen",")"],
|
||||||
["paren.lparen","{"]
|
["paren.lparen","{"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text","\t"],
|
["text","\t"],
|
||||||
["identifier","translate"],
|
["identifier","translate"],
|
||||||
["paren.lparen","(["],
|
["paren.lparen","(["],
|
||||||
|
|
@ -34,21 +26,15 @@
|
||||||
["identifier","zpos"],
|
["identifier","zpos"],
|
||||||
["paren.rparen","])"],
|
["paren.rparen","])"],
|
||||||
["paren.lparen","{"]
|
["paren.lparen","{"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text","\t\t"],
|
["text","\t\t"],
|
||||||
["identifier","union"],
|
["identifier","union"],
|
||||||
["paren.lparen","("],
|
["paren.lparen","("],
|
||||||
["paren.rparen",")"],
|
["paren.rparen",")"],
|
||||||
["paren.lparen","{"]
|
["paren.lparen","{"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text","\t\t\t"],
|
["text","\t\t\t"],
|
||||||
["identifier","cube"],
|
["identifier","cube"],
|
||||||
["paren.lparen","(["],
|
["paren.lparen","(["],
|
||||||
|
|
@ -62,11 +48,8 @@
|
||||||
["identifier","true"],
|
["identifier","true"],
|
||||||
["paren.rparen",")"],
|
["paren.rparen",")"],
|
||||||
["text",";"]
|
["text",";"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text","\t\t\t"],
|
["text","\t\t\t"],
|
||||||
["identifier","cylinder"],
|
["identifier","cylinder"],
|
||||||
["paren.lparen","("],
|
["paren.lparen","("],
|
||||||
|
|
@ -77,11 +60,8 @@
|
||||||
["constant.numeric","5"],
|
["constant.numeric","5"],
|
||||||
["paren.rparen",")"],
|
["paren.rparen",")"],
|
||||||
["text",";"]
|
["text",";"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text","\t\t\t"],
|
["text","\t\t\t"],
|
||||||
["identifier","translate"],
|
["identifier","translate"],
|
||||||
["paren.lparen","(["],
|
["paren.lparen","(["],
|
||||||
|
|
@ -96,44 +76,27 @@
|
||||||
["constant.numeric","5"],
|
["constant.numeric","5"],
|
||||||
["paren.rparen",")"],
|
["paren.rparen",")"],
|
||||||
["text",";"]
|
["text",";"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text","\t\t"],
|
["text","\t\t"],
|
||||||
["paren.rparen","}"]
|
["paren.rparen","}"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text","\t"],
|
["text","\t"],
|
||||||
["paren.rparen","}"]
|
["paren.rparen","}"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["paren.rparen","}"]
|
["paren.rparen","}"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["identifier","union"],
|
["identifier","union"],
|
||||||
["paren.lparen","("],
|
["paren.lparen","("],
|
||||||
["paren.rparen",")"],
|
["paren.rparen",")"],
|
||||||
["paren.lparen","{"]
|
["paren.lparen","{"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text","\t"],
|
["text","\t"],
|
||||||
["keyword","for"],
|
["keyword","for"],
|
||||||
["paren.lparen","("],
|
["paren.lparen","("],
|
||||||
|
|
@ -145,11 +108,8 @@
|
||||||
["constant.numeric","30"],
|
["constant.numeric","30"],
|
||||||
["paren.rparen","])"],
|
["paren.rparen","])"],
|
||||||
["paren.lparen","{"]
|
["paren.lparen","{"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text","\t\t# "],
|
["text","\t\t# "],
|
||||||
["identifier","Element"],
|
["identifier","Element"],
|
||||||
["paren.lparen","("],
|
["paren.lparen","("],
|
||||||
|
|
@ -160,11 +120,8 @@
|
||||||
["constant.numeric","0"],
|
["constant.numeric","0"],
|
||||||
["paren.rparen",")"],
|
["paren.rparen",")"],
|
||||||
["text",";"]
|
["text",";"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text","\t\t"],
|
["text","\t\t"],
|
||||||
["identifier","Element"],
|
["identifier","Element"],
|
||||||
["paren.lparen","("],
|
["paren.lparen","("],
|
||||||
|
|
@ -177,28 +134,17 @@
|
||||||
["constant.numeric","0"],
|
["constant.numeric","0"],
|
||||||
["paren.rparen",")"],
|
["paren.rparen",")"],
|
||||||
["text",";"]
|
["text",";"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text","\t"],
|
["text","\t"],
|
||||||
["paren.rparen","}"]
|
["paren.rparen","}"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["paren.rparen","}"]
|
["paren.rparen","}"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","for"],
|
["keyword","for"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.lparen","("],
|
["paren.lparen","("],
|
||||||
|
|
@ -216,11 +162,8 @@
|
||||||
["constant.numeric","11"],
|
["constant.numeric","11"],
|
||||||
["paren.rparen","])"],
|
["paren.rparen","])"],
|
||||||
["paren.lparen","{"]
|
["paren.lparen","{"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text","\t"],
|
["text","\t"],
|
||||||
["identifier","rotate"],
|
["identifier","rotate"],
|
||||||
["paren.lparen","(["],
|
["paren.lparen","(["],
|
||||||
|
|
@ -245,12 +188,7 @@
|
||||||
["constant.numeric","10"],
|
["constant.numeric","10"],
|
||||||
["paren.rparen",")"],
|
["paren.rparen",")"],
|
||||||
["text",";"]
|
["text",";"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["paren.rparen","}"]
|
["paren.rparen","}"]
|
||||||
]
|
]]
|
||||||
}
|
|
||||||
]
|
|
||||||
|
|
@ -1,31 +1,19 @@
|
||||||
[
|
[[
|
||||||
{
|
"start",
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["comment","// http://www.scala-lang.org/node/54"]
|
["comment","// http://www.scala-lang.org/node/54"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","package"],
|
["keyword","package"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","examples"],
|
["identifier","examples"],
|
||||||
["text","."],
|
["text","."],
|
||||||
["identifier","actors"]
|
["identifier","actors"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","import"],
|
["keyword","import"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","scala"],
|
["identifier","scala"],
|
||||||
|
|
@ -33,11 +21,8 @@
|
||||||
["identifier","actors"],
|
["identifier","actors"],
|
||||||
["text","."],
|
["text","."],
|
||||||
["identifier","Actor"]
|
["identifier","Actor"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","import"],
|
["keyword","import"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","scala"],
|
["identifier","scala"],
|
||||||
|
|
@ -47,25 +32,17 @@
|
||||||
["identifier","Actor"],
|
["identifier","Actor"],
|
||||||
["text","."],
|
["text","."],
|
||||||
["identifier","_"]
|
["identifier","_"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","abstract"],
|
["keyword","abstract"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","class"],
|
["keyword","class"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","PingMessage"]
|
["identifier","PingMessage"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","case"],
|
["keyword","case"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","object"],
|
["keyword","object"],
|
||||||
|
|
@ -75,11 +52,8 @@
|
||||||
["keyword","extends"],
|
["keyword","extends"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","PingMessage"]
|
["identifier","PingMessage"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","case"],
|
["keyword","case"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","object"],
|
["keyword","object"],
|
||||||
|
|
@ -89,11 +63,8 @@
|
||||||
["keyword","extends"],
|
["keyword","extends"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","PingMessage"]
|
["identifier","PingMessage"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","case"],
|
["keyword","case"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","object"],
|
["keyword","object"],
|
||||||
|
|
@ -103,25 +74,17 @@
|
||||||
["keyword","extends"],
|
["keyword","extends"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","PingMessage"]
|
["identifier","PingMessage"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","abstract"],
|
["keyword","abstract"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","class"],
|
["keyword","class"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","PongMessage"]
|
["identifier","PongMessage"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","case"],
|
["keyword","case"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","object"],
|
["keyword","object"],
|
||||||
|
|
@ -131,11 +94,8 @@
|
||||||
["keyword","extends"],
|
["keyword","extends"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","PongMessage"]
|
["identifier","PongMessage"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","case"],
|
["keyword","case"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","object"],
|
["keyword","object"],
|
||||||
|
|
@ -145,15 +105,10 @@
|
||||||
["keyword","extends"],
|
["keyword","extends"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","PongMessage"]
|
["identifier","PongMessage"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","object"],
|
["keyword","object"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","pingpong"],
|
["identifier","pingpong"],
|
||||||
|
|
@ -163,11 +118,8 @@
|
||||||
["identifier","Application"],
|
["identifier","Application"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.lparen","{"]
|
["paren.lparen","{"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","val"],
|
["keyword","val"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -178,11 +130,8 @@
|
||||||
["keyword","new"],
|
["keyword","new"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","Pong"]
|
["identifier","Pong"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","val"],
|
["keyword","val"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -198,50 +147,33 @@
|
||||||
["text",", "],
|
["text",", "],
|
||||||
["identifier","pong"],
|
["identifier","pong"],
|
||||||
["paren.rparen",")"]
|
["paren.rparen",")"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","ping"],
|
["identifier","ping"],
|
||||||
["text","."],
|
["text","."],
|
||||||
["identifier","start"]
|
["identifier","start"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","pong"],
|
["identifier","pong"],
|
||||||
["text","."],
|
["text","."],
|
||||||
["identifier","start"]
|
["identifier","start"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","ping"],
|
["identifier","ping"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword.operator","!"],
|
["keyword.operator","!"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","Start"]
|
["identifier","Start"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["paren.rparen","}"]
|
["paren.rparen","}"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","class"],
|
["keyword","class"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","Ping"],
|
["identifier","Ping"],
|
||||||
|
|
@ -260,11 +192,8 @@
|
||||||
["identifier","Actor"],
|
["identifier","Actor"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.lparen","{"]
|
["paren.lparen","{"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","def"],
|
["keyword","def"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -273,11 +202,8 @@
|
||||||
["paren.rparen",")"],
|
["paren.rparen",")"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.lparen","{"]
|
["paren.lparen","{"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","println"],
|
["identifier","println"],
|
||||||
["paren.lparen","("],
|
["paren.lparen","("],
|
||||||
|
|
@ -289,11 +215,8 @@
|
||||||
["keyword.operator","+"],
|
["keyword.operator","+"],
|
||||||
["identifier","pong"],
|
["identifier","pong"],
|
||||||
["paren.rparen",")"]
|
["paren.rparen",")"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","var"],
|
["keyword","var"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -302,61 +225,43 @@
|
||||||
["keyword.operator","="],
|
["keyword.operator","="],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","count"]
|
["identifier","count"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","loop"],
|
["identifier","loop"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.lparen","{"]
|
["paren.lparen","{"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","react"],
|
["identifier","react"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.lparen","{"]
|
["paren.lparen","{"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","case"],
|
["keyword","case"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","Start"],
|
["identifier","Start"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword.operator","=>"]
|
["keyword.operator","=>"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","println"],
|
["identifier","println"],
|
||||||
["paren.lparen","("],
|
["paren.lparen","("],
|
||||||
["string","\"Ping: starting.\""],
|
["string","\"Ping: starting.\""],
|
||||||
["paren.rparen",")"]
|
["paren.rparen",")"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","pong"],
|
["identifier","pong"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword.operator","!"],
|
["keyword.operator","!"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","Ping"]
|
["identifier","Ping"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","pingsLeft"],
|
["identifier","pingsLeft"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -367,33 +272,24 @@
|
||||||
["keyword.operator","-"],
|
["keyword.operator","-"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["constant.numeric","1"]
|
["constant.numeric","1"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","case"],
|
["keyword","case"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","SendPing"],
|
["identifier","SendPing"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword.operator","=>"]
|
["keyword.operator","=>"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","pong"],
|
["identifier","pong"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword.operator","!"],
|
["keyword.operator","!"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","Ping"]
|
["identifier","Ping"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","pingsLeft"],
|
["identifier","pingsLeft"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -404,22 +300,16 @@
|
||||||
["keyword.operator","-"],
|
["keyword.operator","-"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["constant.numeric","1"]
|
["constant.numeric","1"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","case"],
|
["keyword","case"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","Pong"],
|
["identifier","Pong"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword.operator","=>"]
|
["keyword.operator","=>"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","if"],
|
["keyword","if"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -434,11 +324,8 @@
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["constant.numeric","0"],
|
["constant.numeric","0"],
|
||||||
["paren.rparen",")"]
|
["paren.rparen",")"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","println"],
|
["identifier","println"],
|
||||||
["paren.lparen","("],
|
["paren.lparen","("],
|
||||||
|
|
@ -446,11 +333,8 @@
|
||||||
["keyword.operator","+"],
|
["keyword.operator","+"],
|
||||||
["identifier","sender"],
|
["identifier","sender"],
|
||||||
["paren.rparen",")"]
|
["paren.rparen",")"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","if"],
|
["keyword","if"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -461,100 +345,65 @@
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["constant.numeric","0"],
|
["constant.numeric","0"],
|
||||||
["paren.rparen",")"]
|
["paren.rparen",")"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","self"],
|
["identifier","self"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword.operator","!"],
|
["keyword.operator","!"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","SendPing"]
|
["identifier","SendPing"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","else"],
|
["keyword","else"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.lparen","{"]
|
["paren.lparen","{"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","println"],
|
["identifier","println"],
|
||||||
["paren.lparen","("],
|
["paren.lparen","("],
|
||||||
["string","\"Ping: Stop.\""],
|
["string","\"Ping: Stop.\""],
|
||||||
["paren.rparen",")"]
|
["paren.rparen",")"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","pong"],
|
["identifier","pong"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword.operator","!"],
|
["keyword.operator","!"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","Stop"]
|
["identifier","Stop"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","exit"],
|
["identifier","exit"],
|
||||||
["paren.lparen","("],
|
["paren.lparen","("],
|
||||||
["symbol.constant","'stop"],
|
["symbol.constant","'stop"],
|
||||||
["paren.rparen",")"]
|
["paren.rparen",")"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.rparen","}"]
|
["paren.rparen","}"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.rparen","}"]
|
["paren.rparen","}"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.rparen","}"]
|
["paren.rparen","}"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.rparen","}"]
|
["paren.rparen","}"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["paren.rparen","}"]
|
["paren.rparen","}"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","class"],
|
["keyword","class"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","Pong"],
|
["identifier","Pong"],
|
||||||
|
|
@ -564,11 +413,8 @@
|
||||||
["identifier","Actor"],
|
["identifier","Actor"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.lparen","{"]
|
["paren.lparen","{"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","def"],
|
["keyword","def"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -577,11 +423,8 @@
|
||||||
["paren.rparen",")"],
|
["paren.rparen",")"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.lparen","{"]
|
["paren.lparen","{"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","var"],
|
["keyword","var"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -590,40 +433,28 @@
|
||||||
["keyword.operator","="],
|
["keyword.operator","="],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["constant.numeric","0"]
|
["constant.numeric","0"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","loop"],
|
["identifier","loop"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.lparen","{"]
|
["paren.lparen","{"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","react"],
|
["identifier","react"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.lparen","{"]
|
["paren.lparen","{"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","case"],
|
["keyword","case"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","Ping"],
|
["identifier","Ping"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword.operator","=>"]
|
["keyword.operator","=>"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","if"],
|
["keyword","if"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -638,11 +469,8 @@
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["constant.numeric","0"],
|
["constant.numeric","0"],
|
||||||
["paren.rparen",")"]
|
["paren.rparen",")"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","println"],
|
["identifier","println"],
|
||||||
["paren.lparen","("],
|
["paren.lparen","("],
|
||||||
|
|
@ -654,22 +482,16 @@
|
||||||
["keyword.operator","+"],
|
["keyword.operator","+"],
|
||||||
["identifier","sender"],
|
["identifier","sender"],
|
||||||
["paren.rparen",")"]
|
["paren.rparen",")"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","sender"],
|
["identifier","sender"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword.operator","!"],
|
["keyword.operator","!"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","Pong"]
|
["identifier","Pong"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","pongCount"],
|
["identifier","pongCount"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -680,64 +502,41 @@
|
||||||
["keyword.operator","+"],
|
["keyword.operator","+"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["constant.numeric","1"]
|
["constant.numeric","1"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","case"],
|
["keyword","case"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","Stop"],
|
["identifier","Stop"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword.operator","=>"]
|
["keyword.operator","=>"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","println"],
|
["identifier","println"],
|
||||||
["paren.lparen","("],
|
["paren.lparen","("],
|
||||||
["string","\"Pong: Stop.\""],
|
["string","\"Pong: Stop.\""],
|
||||||
["paren.rparen",")"]
|
["paren.rparen",")"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","exit"],
|
["identifier","exit"],
|
||||||
["paren.lparen","("],
|
["paren.lparen","("],
|
||||||
["symbol.constant","'stop"],
|
["symbol.constant","'stop"],
|
||||||
["paren.rparen",")"]
|
["paren.rparen",")"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.rparen","}"]
|
["paren.rparen","}"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.rparen","}"]
|
["paren.rparen","}"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.rparen","}"]
|
["paren.rparen","}"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["paren.rparen","}"]
|
["paren.rparen","}"]
|
||||||
]
|
]]
|
||||||
}
|
|
||||||
]
|
|
||||||
|
|
@ -1,69 +1,45 @@
|
||||||
[
|
[[
|
||||||
{
|
"start",
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["comment","/* style.scss */"]
|
["comment","/* style.scss */"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["variable.language","#navbar"],
|
["variable.language","#navbar"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.lparen","{"]
|
["paren.lparen","{"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable","$navbar-width"],
|
["variable","$navbar-width"],
|
||||||
["text",": "],
|
["text",": "],
|
||||||
["constant.numeric","800px"],
|
["constant.numeric","800px"],
|
||||||
["text",";"]
|
["text",";"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable","$items"],
|
["variable","$items"],
|
||||||
["text",": "],
|
["text",": "],
|
||||||
["constant.numeric","5"],
|
["constant.numeric","5"],
|
||||||
["text",";"]
|
["text",";"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable","$navbar-color"],
|
["variable","$navbar-color"],
|
||||||
["text",": "],
|
["text",": "],
|
||||||
["constant.numeric","#ce4dd6"],
|
["constant.numeric","#ce4dd6"],
|
||||||
["text",";"]
|
["text",";"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["support.type","width"],
|
["support.type","width"],
|
||||||
["text",": "],
|
["text",": "],
|
||||||
["variable","$navbar-width"],
|
["variable","$navbar-width"],
|
||||||
["text",";"]
|
["text",";"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["support.type","border-bottom"],
|
["support.type","border-bottom"],
|
||||||
["text",": "],
|
["text",": "],
|
||||||
|
|
@ -73,34 +49,23 @@
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable","$navbar-color"],
|
["variable","$navbar-color"],
|
||||||
["text",";"]
|
["text",";"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable.language","li"],
|
["variable.language","li"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.lparen","{"]
|
["paren.lparen","{"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["support.type","float"],
|
["support.type","float"],
|
||||||
["text",": "],
|
["text",": "],
|
||||||
["support.type","left"],
|
["support.type","left"],
|
||||||
["text",";"]
|
["text",";"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["support.type","width"],
|
["support.type","width"],
|
||||||
["text",": "],
|
["text",": "],
|
||||||
|
|
@ -112,15 +77,10 @@
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["constant.numeric","10px"],
|
["constant.numeric","10px"],
|
||||||
["text",";"]
|
["text",";"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["support.type","background-color"],
|
["support.type","background-color"],
|
||||||
["text",": "],
|
["text",": "],
|
||||||
|
|
@ -131,20 +91,14 @@
|
||||||
["constant.numeric","20%"],
|
["constant.numeric","20%"],
|
||||||
["paren.rparen",")"],
|
["paren.rparen",")"],
|
||||||
["text",";"]
|
["text",";"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," &"],
|
["text"," &"],
|
||||||
["variable.language",":hover"],
|
["variable.language",":hover"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.lparen","{"]
|
["paren.lparen","{"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["support.type","background-color"],
|
["support.type","background-color"],
|
||||||
["text",": "],
|
["text",": "],
|
||||||
|
|
@ -155,26 +109,15 @@
|
||||||
["constant.numeric","10%"],
|
["constant.numeric","10%"],
|
||||||
["paren.rparen",")"],
|
["paren.rparen",")"],
|
||||||
["text",";"]
|
["text",";"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.rparen","}"]
|
["paren.rparen","}"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.rparen","}"]
|
["paren.rparen","}"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["paren.rparen","}"]
|
["paren.rparen","}"]
|
||||||
]
|
]]
|
||||||
}
|
|
||||||
]
|
|
||||||
|
|
@ -1,51 +1,27 @@
|
||||||
[
|
[[
|
||||||
{
|
"start",
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["comment","#!/bin/sh"]
|
["comment","#!/bin/sh"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["comment","# Script to open a browser to current branch"]
|
["comment","# Script to open a browser to current branch"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["comment","# Repo formats:"]
|
["comment","# Repo formats:"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["comment","# ssh git@github.com:richoH/gh_pr.git"]
|
["comment","# ssh git@github.com:richoH/gh_pr.git"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["comment","# http https://richoH@github.com/richoH/gh_pr.git"]
|
["comment","# http https://richoH@github.com/richoH/gh_pr.git"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["comment","# git git://github.com/richoH/gh_pr.git"]
|
["comment","# git git://github.com/richoH/gh_pr.git"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["variable","username="],
|
["variable","username="],
|
||||||
["text","`"],
|
["text","`"],
|
||||||
["identifier","git"],
|
["identifier","git"],
|
||||||
|
|
@ -59,23 +35,15 @@
|
||||||
["text","."],
|
["text","."],
|
||||||
["identifier","user"],
|
["identifier","user"],
|
||||||
["text","`"]
|
["text","`"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["support.function","get_repo()"],
|
["support.function","get_repo()"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.lparen","{"]
|
["paren.lparen","{"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","git"],
|
["identifier","git"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -99,11 +67,8 @@
|
||||||
["identifier","remote"],
|
["identifier","remote"],
|
||||||
["text","; "],
|
["text","; "],
|
||||||
["keyword","do"]
|
["keyword","do"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","if"],
|
["keyword","if"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -124,11 +89,8 @@
|
||||||
["string","\"git@github.com:[^ ]*\""],
|
["string","\"git@github.com:[^ ]*\""],
|
||||||
["text","`; "],
|
["text","`; "],
|
||||||
["keyword","then"]
|
["keyword","then"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["support.function.builtin","echo"],
|
["support.function.builtin","echo"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -145,27 +107,18 @@
|
||||||
["identifier","e"],
|
["identifier","e"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["string","\"s/\\.git$//\""]
|
["string","\"s/\\.git$//\""]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["support.function.builtin","exit"],
|
["support.function.builtin","exit"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["constant.numeric","1"]
|
["constant.numeric","1"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","fi"]
|
["keyword","fi"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","if"],
|
["keyword","if"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -186,11 +139,8 @@
|
||||||
["string","\"https?://([^@]*@)?github.com/[^ ]*\\.git\""],
|
["string","\"https?://([^@]*@)?github.com/[^ ]*\\.git\""],
|
||||||
["text","`; "],
|
["text","`; "],
|
||||||
["keyword","then"]
|
["keyword","then"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["support.function.builtin","echo"],
|
["support.function.builtin","echo"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -212,27 +162,18 @@
|
||||||
["identifier","e"],
|
["identifier","e"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["string","\"s/\\.git$//\""]
|
["string","\"s/\\.git$//\""]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["support.function.builtin","exit"],
|
["support.function.builtin","exit"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["constant.numeric","1"]
|
["constant.numeric","1"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","fi"]
|
["keyword","fi"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","if"],
|
["keyword","if"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -253,11 +194,8 @@
|
||||||
["string","\"git://github.com/[^ ]*\\.git\""],
|
["string","\"git://github.com/[^ ]*\\.git\""],
|
||||||
["text","`; "],
|
["text","`; "],
|
||||||
["keyword","then"]
|
["keyword","then"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["support.function.builtin","echo"],
|
["support.function.builtin","echo"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -274,38 +212,24 @@
|
||||||
["identifier","e"],
|
["identifier","e"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["string","\"s/\\.git$//\""]
|
["string","\"s/\\.git$//\""]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["support.function.builtin","exit"],
|
["support.function.builtin","exit"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["constant.numeric","1"]
|
["constant.numeric","1"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","fi"]
|
["keyword","fi"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","done"]
|
["keyword","done"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","if"],
|
["keyword","if"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -321,11 +245,8 @@
|
||||||
["paren.rparen","]"],
|
["paren.rparen","]"],
|
||||||
["text","; "],
|
["text","; "],
|
||||||
["keyword","then"]
|
["keyword","then"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["support.function.builtin","echo"],
|
["support.function.builtin","echo"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -333,37 +254,23 @@
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword.operator",">"],
|
["keyword.operator",">"],
|
||||||
["support.function","&2"]
|
["support.function","&2"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["support.function.builtin","exit"],
|
["support.function.builtin","exit"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["constant.numeric","1"]
|
["constant.numeric","1"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","fi"]
|
["keyword","fi"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["paren.rparen","}"]
|
["paren.rparen","}"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","if"],
|
["keyword","if"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable","repo="],
|
["variable","repo="],
|
||||||
|
|
@ -371,11 +278,8 @@
|
||||||
["identifier","get_repo"],
|
["identifier","get_repo"],
|
||||||
["text"," $@`; "],
|
["text"," $@`; "],
|
||||||
["keyword","then"]
|
["keyword","then"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable","branch="],
|
["variable","branch="],
|
||||||
["text","`"],
|
["text","`"],
|
||||||
|
|
@ -393,40 +297,24 @@
|
||||||
["keyword.operator","/"],
|
["keyword.operator","/"],
|
||||||
["identifier","null"],
|
["identifier","null"],
|
||||||
["text","`"]
|
["text","`"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["support.function.builtin","echo"],
|
["support.function.builtin","echo"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["string","\"http://github.com/$repo/pull/new/${branch##refs/heads/}\""]
|
["string","\"http://github.com/$repo/pull/new/${branch##refs/heads/}\""]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","else"]
|
["keyword","else"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["support.function.builtin","exit"],
|
["support.function.builtin","exit"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["constant.numeric","1"]
|
["constant.numeric","1"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","fi"]
|
["keyword","fi"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
]]
|
||||||
"state": "start",
|
|
||||||
"data": []
|
|
||||||
}
|
|
||||||
]
|
|
||||||
|
|
@ -1,7 +1,5 @@
|
||||||
[
|
[[
|
||||||
{
|
"start",
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","SELECT"],
|
["keyword","SELECT"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","city"],
|
["identifier","city"],
|
||||||
|
|
@ -14,19 +12,13 @@
|
||||||
["keyword","AS"],
|
["keyword","AS"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","users_count"]
|
["identifier","users_count"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","FROM"],
|
["keyword","FROM"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","users"]
|
["identifier","users"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","WHERE"],
|
["keyword","WHERE"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","group_name"],
|
["identifier","group_name"],
|
||||||
|
|
@ -34,11 +26,8 @@
|
||||||
["keyword.operator","="],
|
["keyword.operator","="],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["string","'salesman'"]
|
["string","'salesman'"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","AND"],
|
["keyword","AND"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","created"],
|
["identifier","created"],
|
||||||
|
|
@ -46,21 +35,15 @@
|
||||||
["keyword.operator",">"],
|
["keyword.operator",">"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["string","'2011-05-21'"]
|
["string","'2011-05-21'"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","GROUP"],
|
["keyword","GROUP"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","BY"],
|
["keyword","BY"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["constant.numeric","1"]
|
["constant.numeric","1"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","ORDER"],
|
["keyword","ORDER"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","BY"],
|
["keyword","BY"],
|
||||||
|
|
@ -68,6 +51,4 @@
|
||||||
["constant.numeric","2"],
|
["constant.numeric","2"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","DESC"]
|
["keyword","DESC"]
|
||||||
]
|
]]
|
||||||
}
|
|
||||||
]
|
|
||||||
|
|
@ -1,83 +1,45 @@
|
||||||
[
|
[[
|
||||||
{
|
"start",
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["comment","// I'm a comment!"]
|
["comment","// I'm a comment!"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"comment",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "comment",
|
|
||||||
"data": [
|
|
||||||
["comment","/*"]
|
["comment","/*"]
|
||||||
]
|
],[
|
||||||
},
|
"comment",
|
||||||
{
|
|
||||||
"state": "comment",
|
|
||||||
"data": [
|
|
||||||
["comment"," * Adds the given numbers together."]
|
["comment"," * Adds the given numbers together."]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["comment"," */"]
|
["comment"," */"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start"
|
||||||
"data": []
|
],[
|
||||||
},
|
"comment",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "comment",
|
|
||||||
"data": [
|
|
||||||
["comment","/*!"]
|
["comment","/*!"]
|
||||||
]
|
],[
|
||||||
},
|
"comment",
|
||||||
{
|
|
||||||
"state": "comment",
|
|
||||||
"data": [
|
|
||||||
["comment"," * Adds the given numbers together."]
|
["comment"," * Adds the given numbers together."]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["comment"," */"]
|
["comment"," */"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start"
|
||||||
"data": []
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["entity.name.function.stylus","asdasdasdad"],
|
["entity.name.function.stylus","asdasdasdad"],
|
||||||
["text","(df, ad"],
|
["text","(df, ad"],
|
||||||
["keyword.operator.stylus","="],
|
["keyword.operator.stylus","="],
|
||||||
["constant.numeric","23"],
|
["constant.numeric","23"],
|
||||||
["text",")"]
|
["text",")"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["entity.name.function.stylus","add"],
|
["entity.name.function.stylus","add"],
|
||||||
["text","("],
|
["text","("],
|
||||||
["entity.name.tag.stylus","a"],
|
["entity.name.tag.stylus","a"],
|
||||||
|
|
@ -88,119 +50,75 @@
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["entity.name.tag.stylus","a"],
|
["entity.name.tag.stylus","a"],
|
||||||
["text",")"]
|
["text",")"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["entity.name.tag.stylus","a"],
|
["entity.name.tag.stylus","a"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword.operator.stylus","+"],
|
["keyword.operator.stylus","+"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["entity.name.tag.stylus","b"]
|
["entity.name.tag.stylus","b"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["entity.name.function.stylus","green"],
|
["entity.name.function.stylus","green"],
|
||||||
["text","("],
|
["text","("],
|
||||||
["constant.numeric","#0c0"],
|
["constant.numeric","#0c0"],
|
||||||
["text",")"]
|
["text",")"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," add("],
|
["text"," add("],
|
||||||
["constant.numeric","10"],
|
["constant.numeric","10"],
|
||||||
["text",", "],
|
["text",", "],
|
||||||
["constant.numeric","5"],
|
["constant.numeric","5"],
|
||||||
["text",")"]
|
["text",")"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["comment","// => 15"]
|
["comment","// => 15"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," add("],
|
["text"," add("],
|
||||||
["constant.numeric","10"],
|
["constant.numeric","10"],
|
||||||
["text",")"]
|
["text",")"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," add("],
|
["text"," add("],
|
||||||
["entity.name.tag.stylus","a"],
|
["entity.name.tag.stylus","a"],
|
||||||
["text",", "],
|
["text",", "],
|
||||||
["entity.name.tag.stylus","b"],
|
["entity.name.tag.stylus","b"],
|
||||||
["text",")"]
|
["text",")"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["entity.language.stylus"," &"],
|
["entity.language.stylus"," &"],
|
||||||
["text","asdasd"]
|
["text","asdasd"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," ("],
|
["text"," ("],
|
||||||
["variable.language.stylus","arguments"],
|
["variable.language.stylus","arguments"],
|
||||||
["text",")"]
|
["text",")"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword.stylus","@sdfsdf"]
|
["keyword.stylus","@sdfsdf"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["entity.other.attribute-name.class.stylus",".signatures"]
|
["entity.other.attribute-name.class.stylus",".signatures"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["support.type","background-color"],
|
["support.type","background-color"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["constant.numeric","#e0e8e0"]
|
["constant.numeric","#e0e8e0"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["support.type","border"],
|
["support.type","border"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -209,11 +127,8 @@
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["support.constant","solid"],
|
["support.constant","solid"],
|
||||||
["text"," grayLighter"]
|
["text"," grayLighter"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["support.type","box-shadow"],
|
["support.type","box-shadow"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -224,21 +139,15 @@
|
||||||
["constant.numeric","3"],
|
["constant.numeric","3"],
|
||||||
["keyword","px"],
|
["keyword","px"],
|
||||||
["text"," grayLightest"]
|
["text"," grayLightest"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["support.type","border-radius"],
|
["support.type","border-radius"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["constant.numeric","3"],
|
["constant.numeric","3"],
|
||||||
["keyword","px"]
|
["keyword","px"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["support.type","padding"],
|
["support.type","padding"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -247,145 +156,94 @@
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["constant.numeric","5"],
|
["constant.numeric","5"],
|
||||||
["keyword","px"]
|
["keyword","px"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["string","\"adsads\""]
|
["string","\"adsads\""]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["support.type","margin-left"],
|
["support.type","margin-left"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["constant.numeric","0"]
|
["constant.numeric","0"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["support.type","list-style"],
|
["support.type","list-style"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["support.constant","none"]
|
["support.constant","none"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["entity.other.attribute-name.class.stylus",".signature"]
|
["entity.other.attribute-name.class.stylus",".signature"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["support.type","list-style"],
|
["support.type","list-style"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["support.constant","none"]
|
["support.constant","none"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["support.type","display"],
|
["support.type","display"],
|
||||||
["text",": "],
|
["text",": "],
|
||||||
["support.constant","inline"]
|
["support.constant","inline"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["support.type","margin-left"],
|
["support.type","margin-left"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["constant.numeric","0"]
|
["constant.numeric","0"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword.operator.stylus",">"],
|
["keyword.operator.stylus",">"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["entity.name.tag.stylus","li"]
|
["entity.name.tag.stylus","li"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["support.type","display"],
|
["support.type","display"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["support.constant","inline"]
|
["support.constant","inline"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword.operator.stylus","is"],
|
["keyword.operator.stylus","is"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword.operator.stylus","not"]
|
["keyword.operator.stylus","not"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["entity.other.attribute-name.class.stylus",".signature-values"]
|
["entity.other.attribute-name.class.stylus",".signature-values"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["support.type","list-style"],
|
["support.type","list-style"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["support.constant","none"]
|
["support.constant","none"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["support.type","display"],
|
["support.type","display"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["support.constant","inline"]
|
["support.constant","inline"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["support.type","margin-left"],
|
["support.type","margin-left"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["constant.numeric","0"]
|
["constant.numeric","0"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["entity.language.stylus"," &"],
|
["entity.language.stylus"," &"],
|
||||||
["punctuation",":"],
|
["punctuation",":"],
|
||||||
["entity.other.attribute-name.pseudo-element.css","before"]
|
["entity.other.attribute-name.pseudo-element.css","before"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["support.type","content"],
|
["support.type","content"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["string","'→'"]
|
["string","'→'"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["support.type","margin"],
|
["support.type","margin"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -393,33 +251,20 @@
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["constant.numeric","5"],
|
["constant.numeric","5"],
|
||||||
["keyword","px"]
|
["keyword","px"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword.operator.stylus",">"],
|
["keyword.operator.stylus",">"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["entity.name.tag.stylus","li"]
|
["entity.name.tag.stylus","li"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword.control.stylus","!important"]
|
["keyword.control.stylus","!important"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword.control.stylus","unless"]
|
["keyword.control.stylus","unless"]
|
||||||
]
|
]]
|
||||||
}
|
|
||||||
]
|
|
||||||
|
|
@ -1,14 +1,9 @@
|
||||||
[
|
[[
|
||||||
{
|
"tag_embed_attribute_list",
|
||||||
"state": "tag_embed_attribute_list",
|
|
||||||
"data": [
|
|
||||||
["meta.tag","<"],
|
["meta.tag","<"],
|
||||||
["meta.tag.tag-name","svg"]
|
["meta.tag.tag-name","svg"]
|
||||||
]
|
],[
|
||||||
},
|
"tag_embed_attribute_list",
|
||||||
{
|
|
||||||
"state": "tag_embed_attribute_list",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["entity.other.attribute-name","width"],
|
["entity.other.attribute-name","width"],
|
||||||
["keyword.operator","="],
|
["keyword.operator","="],
|
||||||
|
|
@ -17,34 +12,23 @@
|
||||||
["entity.other.attribute-name","height"],
|
["entity.other.attribute-name","height"],
|
||||||
["keyword.operator","="],
|
["keyword.operator","="],
|
||||||
["string","\"600\""]
|
["string","\"600\""]
|
||||||
]
|
],[
|
||||||
},
|
"tag_embed_attribute_list",
|
||||||
{
|
|
||||||
"state": "tag_embed_attribute_list",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["entity.other.attribute-name","xmlns"],
|
["entity.other.attribute-name","xmlns"],
|
||||||
["keyword.operator","="],
|
["keyword.operator","="],
|
||||||
["string","\"http://www.w3.org/2000/svg\""]
|
["string","\"http://www.w3.org/2000/svg\""]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["entity.other.attribute-name","onload"],
|
["entity.other.attribute-name","onload"],
|
||||||
["keyword.operator","="],
|
["keyword.operator","="],
|
||||||
["string","\"StartAnimation(evt)\""],
|
["string","\"StartAnimation(evt)\""],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["meta.tag","<"],
|
["meta.tag","<"],
|
||||||
["meta.tag.tag-name","title"],
|
["meta.tag.tag-name","title"],
|
||||||
|
|
@ -53,11 +37,8 @@
|
||||||
["meta.tag","</"],
|
["meta.tag","</"],
|
||||||
["meta.tag.tag-name","title"],
|
["meta.tag.tag-name","title"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["meta.tag","<"],
|
["meta.tag","<"],
|
||||||
["meta.tag.tag-name","desc"],
|
["meta.tag.tag-name","desc"],
|
||||||
|
|
@ -66,15 +47,10 @@
|
||||||
["meta.tag","</"],
|
["meta.tag","</"],
|
||||||
["meta.tag.tag-name","desc"],
|
["meta.tag.tag-name","desc"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"js-regex_allowed",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "js-regex_allowed",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["meta.tag","<"],
|
["meta.tag","<"],
|
||||||
["meta.tag.tag-name","script"],
|
["meta.tag.tag-name","script"],
|
||||||
|
|
@ -87,11 +63,8 @@
|
||||||
["paren.lparen","["],
|
["paren.lparen","["],
|
||||||
["identifier","CDATA"],
|
["identifier","CDATA"],
|
||||||
["paren.lparen","["]
|
["paren.lparen","["]
|
||||||
]
|
],[
|
||||||
},
|
"js-regex_allowed",
|
||||||
{
|
|
||||||
"state": "js-regex_allowed",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["storage.type","var"],
|
["storage.type","var"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -101,11 +74,8 @@
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["constant.numeric","0"],
|
["constant.numeric","0"],
|
||||||
["punctuation.operator",";"]
|
["punctuation.operator",";"]
|
||||||
]
|
],[
|
||||||
},
|
"js-regex_allowed",
|
||||||
{
|
|
||||||
"state": "js-regex_allowed",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["storage.type","var"],
|
["storage.type","var"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -115,11 +85,8 @@
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["constant.numeric","1"],
|
["constant.numeric","1"],
|
||||||
["punctuation.operator",";"]
|
["punctuation.operator",";"]
|
||||||
]
|
],[
|
||||||
},
|
"js-regex_allowed",
|
||||||
{
|
|
||||||
"state": "js-regex_allowed",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["storage.type","var"],
|
["storage.type","var"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -129,55 +96,38 @@
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["constant.numeric","100"],
|
["constant.numeric","100"],
|
||||||
["punctuation.operator",";"]
|
["punctuation.operator",";"]
|
||||||
]
|
],[
|
||||||
},
|
"js-regex_allowed",
|
||||||
{
|
|
||||||
"state": "js-regex_allowed",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["storage.type","var"],
|
["storage.type","var"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","hickory"],
|
["identifier","hickory"],
|
||||||
["punctuation.operator",";"]
|
["punctuation.operator",";"]
|
||||||
]
|
],[
|
||||||
},
|
"js-regex_allowed",
|
||||||
{
|
|
||||||
"state": "js-regex_allowed",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["storage.type","var"],
|
["storage.type","var"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","dickory"],
|
["identifier","dickory"],
|
||||||
["punctuation.operator",";"]
|
["punctuation.operator",";"]
|
||||||
]
|
],[
|
||||||
},
|
"js-regex_allowed",
|
||||||
{
|
|
||||||
"state": "js-regex_allowed",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["storage.type","var"],
|
["storage.type","var"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","dock"],
|
["identifier","dock"],
|
||||||
["punctuation.operator",";"]
|
["punctuation.operator",";"]
|
||||||
]
|
],[
|
||||||
},
|
"js-regex_allowed",
|
||||||
{
|
|
||||||
"state": "js-regex_allowed",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["storage.type","var"],
|
["storage.type","var"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","i"],
|
["identifier","i"],
|
||||||
["punctuation.operator",";"]
|
["punctuation.operator",";"]
|
||||||
]
|
],[
|
||||||
},
|
"js-start"
|
||||||
{
|
],[
|
||||||
"state": "js-start",
|
"js-regex_allowed",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "js-regex_allowed",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["storage.type","function"],
|
["storage.type","function"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -187,11 +137,8 @@
|
||||||
["paren.rparen",")"],
|
["paren.rparen",")"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.lparen","{"]
|
["paren.lparen","{"]
|
||||||
]
|
],[
|
||||||
},
|
"js-regex_allowed",
|
||||||
{
|
|
||||||
"state": "js-regex_allowed",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","hickory"],
|
["identifier","hickory"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -208,11 +155,8 @@
|
||||||
["string","\"hickory\""],
|
["string","\"hickory\""],
|
||||||
["paren.rparen",")"],
|
["paren.rparen",")"],
|
||||||
["punctuation.operator",";"]
|
["punctuation.operator",";"]
|
||||||
]
|
],[
|
||||||
},
|
"js-regex_allowed",
|
||||||
{
|
|
||||||
"state": "js-regex_allowed",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","dickory"],
|
["identifier","dickory"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -229,11 +173,8 @@
|
||||||
["string","\"dickory\""],
|
["string","\"dickory\""],
|
||||||
["paren.rparen",")"],
|
["paren.rparen",")"],
|
||||||
["punctuation.operator",";"]
|
["punctuation.operator",";"]
|
||||||
]
|
],[
|
||||||
},
|
"js-regex_allowed",
|
||||||
{
|
|
||||||
"state": "js-regex_allowed",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","dock"],
|
["identifier","dock"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -250,32 +191,21 @@
|
||||||
["string","\"dock\""],
|
["string","\"dock\""],
|
||||||
["paren.rparen",")"],
|
["paren.rparen",")"],
|
||||||
["punctuation.operator",";"]
|
["punctuation.operator",";"]
|
||||||
]
|
],[
|
||||||
},
|
"js-start"
|
||||||
{
|
],[
|
||||||
"state": "js-start",
|
"js-regex_allowed",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "js-regex_allowed",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","ShowAndGrowElement"],
|
["identifier","ShowAndGrowElement"],
|
||||||
["paren.lparen","("],
|
["paren.lparen","("],
|
||||||
["paren.rparen",")"],
|
["paren.rparen",")"],
|
||||||
["punctuation.operator",";"]
|
["punctuation.operator",";"]
|
||||||
]
|
],[
|
||||||
},
|
"js-start",
|
||||||
{
|
|
||||||
"state": "js-start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.rparen","}"]
|
["paren.rparen","}"]
|
||||||
]
|
],[
|
||||||
},
|
"js-regex_allowed",
|
||||||
{
|
|
||||||
"state": "js-regex_allowed",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["storage.type","function"],
|
["storage.type","function"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -284,11 +214,8 @@
|
||||||
["paren.rparen",")"],
|
["paren.rparen",")"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.lparen","{"]
|
["paren.lparen","{"]
|
||||||
]
|
],[
|
||||||
},
|
"js-regex_allowed",
|
||||||
{
|
|
||||||
"state": "js-regex_allowed",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","timevalue"],
|
["identifier","timevalue"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -300,11 +227,8 @@
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","timer_increment"],
|
["identifier","timer_increment"],
|
||||||
["punctuation.operator",";"]
|
["punctuation.operator",";"]
|
||||||
]
|
],[
|
||||||
},
|
"js-start",
|
||||||
{
|
|
||||||
"state": "js-start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","if"],
|
["keyword","if"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -315,26 +239,17 @@
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","max_time"],
|
["identifier","max_time"],
|
||||||
["paren.rparen",")"]
|
["paren.rparen",")"]
|
||||||
]
|
],[
|
||||||
},
|
"js-regex_allowed",
|
||||||
{
|
|
||||||
"state": "js-regex_allowed",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","return"],
|
["keyword","return"],
|
||||||
["punctuation.operator",";"]
|
["punctuation.operator",";"]
|
||||||
]
|
],[
|
||||||
},
|
"js-start",
|
||||||
{
|
|
||||||
"state": "js-start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["comment","// Scale the text string gradually until it is 20 times larger"]
|
["comment","// Scale the text string gradually until it is 20 times larger"]
|
||||||
]
|
],[
|
||||||
},
|
"js-regex_allowed",
|
||||||
{
|
|
||||||
"state": "js-regex_allowed",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","scalefactor"],
|
["identifier","scalefactor"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -352,15 +267,10 @@
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","max_time"],
|
["identifier","max_time"],
|
||||||
["punctuation.operator",";"]
|
["punctuation.operator",";"]
|
||||||
]
|
],[
|
||||||
},
|
"js-start"
|
||||||
{
|
],[
|
||||||
"state": "js-start",
|
"js-regex_allowed",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "js-regex_allowed",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","if"],
|
["keyword","if"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -373,11 +283,8 @@
|
||||||
["paren.rparen",")"],
|
["paren.rparen",")"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.lparen","{"]
|
["paren.lparen","{"]
|
||||||
]
|
],[
|
||||||
},
|
"js-regex_allowed",
|
||||||
{
|
|
||||||
"state": "js-regex_allowed",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","hickory"],
|
["identifier","hickory"],
|
||||||
["punctuation.operator","."],
|
["punctuation.operator","."],
|
||||||
|
|
@ -389,11 +296,8 @@
|
||||||
["string","\"\""],
|
["string","\"\""],
|
||||||
["paren.rparen",")"],
|
["paren.rparen",")"],
|
||||||
["punctuation.operator",";"]
|
["punctuation.operator",";"]
|
||||||
]
|
],[
|
||||||
},
|
"js-regex_allowed",
|
||||||
{
|
|
||||||
"state": "js-regex_allowed",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","hickory"],
|
["identifier","hickory"],
|
||||||
["punctuation.operator","."],
|
["punctuation.operator","."],
|
||||||
|
|
@ -422,22 +326,14 @@
|
||||||
["string","\", -144 )\""],
|
["string","\", -144 )\""],
|
||||||
["paren.rparen",")"],
|
["paren.rparen",")"],
|
||||||
["punctuation.operator",";"]
|
["punctuation.operator",";"]
|
||||||
]
|
],[
|
||||||
},
|
"js-start",
|
||||||
{
|
|
||||||
"state": "js-start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.rparen","}"]
|
["paren.rparen","}"]
|
||||||
]
|
],[
|
||||||
},
|
"js-start"
|
||||||
{
|
],[
|
||||||
"state": "js-start",
|
"js-regex_allowed",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "js-regex_allowed",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","if"],
|
["keyword","if"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -458,11 +354,8 @@
|
||||||
["paren.rparen",")"],
|
["paren.rparen",")"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.lparen","{"]
|
["paren.lparen","{"]
|
||||||
]
|
],[
|
||||||
},
|
"js-regex_allowed",
|
||||||
{
|
|
||||||
"state": "js-regex_allowed",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","dickory"],
|
["identifier","dickory"],
|
||||||
["punctuation.operator","."],
|
["punctuation.operator","."],
|
||||||
|
|
@ -474,11 +367,8 @@
|
||||||
["string","\"\""],
|
["string","\"\""],
|
||||||
["paren.rparen",")"],
|
["paren.rparen",")"],
|
||||||
["punctuation.operator",";"]
|
["punctuation.operator",";"]
|
||||||
]
|
],[
|
||||||
},
|
"js-regex_allowed",
|
||||||
{
|
|
||||||
"state": "js-regex_allowed",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","dickory"],
|
["identifier","dickory"],
|
||||||
["punctuation.operator","."],
|
["punctuation.operator","."],
|
||||||
|
|
@ -504,18 +394,12 @@
|
||||||
["string","\", 0 )\""],
|
["string","\", 0 )\""],
|
||||||
["paren.rparen",")"],
|
["paren.rparen",")"],
|
||||||
["punctuation.operator",";"]
|
["punctuation.operator",";"]
|
||||||
]
|
],[
|
||||||
},
|
"js-start",
|
||||||
{
|
|
||||||
"state": "js-start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.rparen","}"]
|
["paren.rparen","}"]
|
||||||
]
|
],[
|
||||||
},
|
"js-regex_allowed",
|
||||||
{
|
|
||||||
"state": "js-regex_allowed",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","if"],
|
["keyword","if"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -528,11 +412,8 @@
|
||||||
["paren.rparen",")"],
|
["paren.rparen",")"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.lparen","{"]
|
["paren.lparen","{"]
|
||||||
]
|
],[
|
||||||
},
|
"js-regex_allowed",
|
||||||
{
|
|
||||||
"state": "js-regex_allowed",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","dock"],
|
["identifier","dock"],
|
||||||
["punctuation.operator","."],
|
["punctuation.operator","."],
|
||||||
|
|
@ -544,11 +425,8 @@
|
||||||
["string","\"\""],
|
["string","\"\""],
|
||||||
["paren.rparen",")"],
|
["paren.rparen",")"],
|
||||||
["punctuation.operator",";"]
|
["punctuation.operator",";"]
|
||||||
]
|
],[
|
||||||
},
|
"js-regex_allowed",
|
||||||
{
|
|
||||||
"state": "js-regex_allowed",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","dock"],
|
["identifier","dock"],
|
||||||
["punctuation.operator","."],
|
["punctuation.operator","."],
|
||||||
|
|
@ -576,29 +454,18 @@
|
||||||
["string","\", 144 )\""],
|
["string","\", 144 )\""],
|
||||||
["paren.rparen",")"],
|
["paren.rparen",")"],
|
||||||
["punctuation.operator",";"]
|
["punctuation.operator",";"]
|
||||||
]
|
],[
|
||||||
},
|
"js-start",
|
||||||
{
|
|
||||||
"state": "js-start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.rparen","}"]
|
["paren.rparen","}"]
|
||||||
]
|
],[
|
||||||
},
|
"js-start"
|
||||||
{
|
],[
|
||||||
"state": "js-start",
|
"js-start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "js-start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["comment","// Call ShowAndGrowElement again <timer_increment> milliseconds later."]
|
["comment","// Call ShowAndGrowElement again <timer_increment> milliseconds later."]
|
||||||
]
|
],[
|
||||||
},
|
"js-start",
|
||||||
{
|
|
||||||
"state": "js-start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","setTimeout"],
|
["identifier","setTimeout"],
|
||||||
["paren.lparen","("],
|
["paren.lparen","("],
|
||||||
|
|
@ -607,18 +474,12 @@
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","timer_increment"],
|
["identifier","timer_increment"],
|
||||||
["paren.rparen",")"]
|
["paren.rparen",")"]
|
||||||
]
|
],[
|
||||||
},
|
"js-start",
|
||||||
{
|
|
||||||
"state": "js-start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.rparen","}"]
|
["paren.rparen","}"]
|
||||||
]
|
],[
|
||||||
},
|
"js-start",
|
||||||
{
|
|
||||||
"state": "js-start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable.language","window"],
|
["variable.language","window"],
|
||||||
["punctuation.operator","."],
|
["punctuation.operator","."],
|
||||||
|
|
@ -627,303 +488,201 @@
|
||||||
["keyword.operator","="],
|
["keyword.operator","="],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","ShowAndGrowElement"]
|
["identifier","ShowAndGrowElement"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.rparen","]]"],
|
["paren.rparen","]]"],
|
||||||
["keyword.operator",">"],
|
["keyword.operator",">"],
|
||||||
["meta.tag","</"],
|
["meta.tag","</"],
|
||||||
["meta.tag.tag-name","script"],
|
["meta.tag.tag-name","script"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"tag_embed_attribute_list",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "tag_embed_attribute_list",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["meta.tag","<"],
|
["meta.tag","<"],
|
||||||
["meta.tag.tag-name","rect"]
|
["meta.tag.tag-name","rect"]
|
||||||
]
|
],[
|
||||||
},
|
"tag_embed_attribute_list",
|
||||||
{
|
|
||||||
"state": "tag_embed_attribute_list",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["entity.other.attribute-name","fill"],
|
["entity.other.attribute-name","fill"],
|
||||||
["keyword.operator","="],
|
["keyword.operator","="],
|
||||||
["string","\"#2e3436\""]
|
["string","\"#2e3436\""]
|
||||||
]
|
],[
|
||||||
},
|
"tag_embed_attribute_list",
|
||||||
{
|
|
||||||
"state": "tag_embed_attribute_list",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["entity.other.attribute-name","fill-rule"],
|
["entity.other.attribute-name","fill-rule"],
|
||||||
["keyword.operator","="],
|
["keyword.operator","="],
|
||||||
["string","\"nonzero\""]
|
["string","\"nonzero\""]
|
||||||
]
|
],[
|
||||||
},
|
"tag_embed_attribute_list",
|
||||||
{
|
|
||||||
"state": "tag_embed_attribute_list",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["entity.other.attribute-name","stroke-width"],
|
["entity.other.attribute-name","stroke-width"],
|
||||||
["keyword.operator","="],
|
["keyword.operator","="],
|
||||||
["string","\"3\""]
|
["string","\"3\""]
|
||||||
]
|
],[
|
||||||
},
|
"tag_embed_attribute_list",
|
||||||
{
|
|
||||||
"state": "tag_embed_attribute_list",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["entity.other.attribute-name","y"],
|
["entity.other.attribute-name","y"],
|
||||||
["keyword.operator","="],
|
["keyword.operator","="],
|
||||||
["string","\"0\""]
|
["string","\"0\""]
|
||||||
]
|
],[
|
||||||
},
|
"tag_embed_attribute_list",
|
||||||
{
|
|
||||||
"state": "tag_embed_attribute_list",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["entity.other.attribute-name","x"],
|
["entity.other.attribute-name","x"],
|
||||||
["keyword.operator","="],
|
["keyword.operator","="],
|
||||||
["string","\"0\""]
|
["string","\"0\""]
|
||||||
]
|
],[
|
||||||
},
|
"tag_embed_attribute_list",
|
||||||
{
|
|
||||||
"state": "tag_embed_attribute_list",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["entity.other.attribute-name","height"],
|
["entity.other.attribute-name","height"],
|
||||||
["keyword.operator","="],
|
["keyword.operator","="],
|
||||||
["string","\"600\""]
|
["string","\"600\""]
|
||||||
]
|
],[
|
||||||
},
|
"tag_embed_attribute_list",
|
||||||
{
|
|
||||||
"state": "tag_embed_attribute_list",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["entity.other.attribute-name","width"],
|
["entity.other.attribute-name","width"],
|
||||||
["keyword.operator","="],
|
["keyword.operator","="],
|
||||||
["string","\"800\""]
|
["string","\"800\""]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["entity.other.attribute-name","id"],
|
["entity.other.attribute-name","id"],
|
||||||
["keyword.operator","="],
|
["keyword.operator","="],
|
||||||
["string","\"rect3590\""],
|
["string","\"rect3590\""],
|
||||||
["meta.tag.r","/>"]
|
["meta.tag.r","/>"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"tag_embed_attribute_list",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "tag_embed_attribute_list",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["meta.tag","<"],
|
["meta.tag","<"],
|
||||||
["meta.tag.tag-name","text"]
|
["meta.tag.tag-name","text"]
|
||||||
]
|
],[
|
||||||
},
|
"tag_embed_attribute_list",
|
||||||
{
|
|
||||||
"state": "tag_embed_attribute_list",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["entity.other.attribute-name","style"],
|
["entity.other.attribute-name","style"],
|
||||||
["keyword.operator","="],
|
["keyword.operator","="],
|
||||||
["string","\"font-size:144px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;-inkscape-font-specification:Bitstream Vera Sans Bold\""]
|
["string","\"font-size:144px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;-inkscape-font-specification:Bitstream Vera Sans Bold\""]
|
||||||
]
|
],[
|
||||||
},
|
"tag_embed_attribute_list",
|
||||||
{
|
|
||||||
"state": "tag_embed_attribute_list",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["entity.other.attribute-name","x"],
|
["entity.other.attribute-name","x"],
|
||||||
["keyword.operator","="],
|
["keyword.operator","="],
|
||||||
["string","\"50\""]
|
["string","\"50\""]
|
||||||
]
|
],[
|
||||||
},
|
"tag_embed_attribute_list",
|
||||||
{
|
|
||||||
"state": "tag_embed_attribute_list",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["entity.other.attribute-name","y"],
|
["entity.other.attribute-name","y"],
|
||||||
["keyword.operator","="],
|
["keyword.operator","="],
|
||||||
["string","\"350\""]
|
["string","\"350\""]
|
||||||
]
|
],[
|
||||||
},
|
"tag_embed_attribute_list",
|
||||||
{
|
|
||||||
"state": "tag_embed_attribute_list",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["entity.other.attribute-name","id"],
|
["entity.other.attribute-name","id"],
|
||||||
["keyword.operator","="],
|
["keyword.operator","="],
|
||||||
["string","\"hickory\""]
|
["string","\"hickory\""]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["entity.other.attribute-name","display"],
|
["entity.other.attribute-name","display"],
|
||||||
["keyword.operator","="],
|
["keyword.operator","="],
|
||||||
["string","\"none\""],
|
["string","\"none\""],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," Hickory,"],
|
["text"," Hickory,"],
|
||||||
["meta.tag","</"],
|
["meta.tag","</"],
|
||||||
["meta.tag.tag-name","text"],
|
["meta.tag.tag-name","text"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"tag_embed_attribute_list",
|
||||||
{
|
|
||||||
"state": "tag_embed_attribute_list",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["meta.tag","<"],
|
["meta.tag","<"],
|
||||||
["meta.tag.tag-name","text"]
|
["meta.tag.tag-name","text"]
|
||||||
]
|
],[
|
||||||
},
|
"tag_embed_attribute_list",
|
||||||
{
|
|
||||||
"state": "tag_embed_attribute_list",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["entity.other.attribute-name","style"],
|
["entity.other.attribute-name","style"],
|
||||||
["keyword.operator","="],
|
["keyword.operator","="],
|
||||||
["string","\"font-size:144px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;-inkscape-font-specification:Bitstream Vera Sans Bold\""]
|
["string","\"font-size:144px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;-inkscape-font-specification:Bitstream Vera Sans Bold\""]
|
||||||
]
|
],[
|
||||||
},
|
"tag_embed_attribute_list",
|
||||||
{
|
|
||||||
"state": "tag_embed_attribute_list",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["entity.other.attribute-name","x"],
|
["entity.other.attribute-name","x"],
|
||||||
["keyword.operator","="],
|
["keyword.operator","="],
|
||||||
["string","\"50\""]
|
["string","\"50\""]
|
||||||
]
|
],[
|
||||||
},
|
"tag_embed_attribute_list",
|
||||||
{
|
|
||||||
"state": "tag_embed_attribute_list",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["entity.other.attribute-name","y"],
|
["entity.other.attribute-name","y"],
|
||||||
["keyword.operator","="],
|
["keyword.operator","="],
|
||||||
["string","\"350\""]
|
["string","\"350\""]
|
||||||
]
|
],[
|
||||||
},
|
"tag_embed_attribute_list",
|
||||||
{
|
|
||||||
"state": "tag_embed_attribute_list",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["entity.other.attribute-name","id"],
|
["entity.other.attribute-name","id"],
|
||||||
["keyword.operator","="],
|
["keyword.operator","="],
|
||||||
["string","\"dickory\""]
|
["string","\"dickory\""]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["entity.other.attribute-name","display"],
|
["entity.other.attribute-name","display"],
|
||||||
["keyword.operator","="],
|
["keyword.operator","="],
|
||||||
["string","\"none\""],
|
["string","\"none\""],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," dickory,"],
|
["text"," dickory,"],
|
||||||
["meta.tag","</"],
|
["meta.tag","</"],
|
||||||
["meta.tag.tag-name","text"],
|
["meta.tag.tag-name","text"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"tag_embed_attribute_list",
|
||||||
{
|
|
||||||
"state": "tag_embed_attribute_list",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["meta.tag","<"],
|
["meta.tag","<"],
|
||||||
["meta.tag.tag-name","text"]
|
["meta.tag.tag-name","text"]
|
||||||
]
|
],[
|
||||||
},
|
"tag_embed_attribute_list",
|
||||||
{
|
|
||||||
"state": "tag_embed_attribute_list",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["entity.other.attribute-name","style"],
|
["entity.other.attribute-name","style"],
|
||||||
["keyword.operator","="],
|
["keyword.operator","="],
|
||||||
["string","\"font-size:144px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;-inkscape-font-specification:Bitstream Vera Sans Bold\""]
|
["string","\"font-size:144px;font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;fill:#000000;fill-opacity:1;stroke:none;font-family:Bitstream Vera Sans;-inkscape-font-specification:Bitstream Vera Sans Bold\""]
|
||||||
]
|
],[
|
||||||
},
|
"tag_embed_attribute_list",
|
||||||
{
|
|
||||||
"state": "tag_embed_attribute_list",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["entity.other.attribute-name","x"],
|
["entity.other.attribute-name","x"],
|
||||||
["keyword.operator","="],
|
["keyword.operator","="],
|
||||||
["string","\"50\""]
|
["string","\"50\""]
|
||||||
]
|
],[
|
||||||
},
|
"tag_embed_attribute_list",
|
||||||
{
|
|
||||||
"state": "tag_embed_attribute_list",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["entity.other.attribute-name","y"],
|
["entity.other.attribute-name","y"],
|
||||||
["keyword.operator","="],
|
["keyword.operator","="],
|
||||||
["string","\"350\""]
|
["string","\"350\""]
|
||||||
]
|
],[
|
||||||
},
|
"tag_embed_attribute_list",
|
||||||
{
|
|
||||||
"state": "tag_embed_attribute_list",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["entity.other.attribute-name","id"],
|
["entity.other.attribute-name","id"],
|
||||||
["keyword.operator","="],
|
["keyword.operator","="],
|
||||||
["string","\"dock\""]
|
["string","\"dock\""]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["entity.other.attribute-name","display"],
|
["entity.other.attribute-name","display"],
|
||||||
["keyword.operator","="],
|
["keyword.operator","="],
|
||||||
["string","\"none\""],
|
["string","\"none\""],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," dock!"],
|
["text"," dock!"],
|
||||||
["meta.tag","</"],
|
["meta.tag","</"],
|
||||||
["meta.tag.tag-name","text"],
|
["meta.tag.tag-name","text"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["meta.tag","</"],
|
["meta.tag","</"],
|
||||||
["meta.tag.tag-name","svg"],
|
["meta.tag.tag-name","svg"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
]]
|
||||||
}
|
|
||||||
]
|
|
||||||
|
|
@ -1,11 +1,7 @@
|
||||||
[
|
[[
|
||||||
{
|
"commandItem"
|
||||||
"state": "commandItem",
|
],[
|
||||||
"data": []
|
"commandItem",
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "commandItem",
|
|
||||||
"data": [
|
|
||||||
["keyword","proc"],
|
["keyword","proc"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","dijkstra"],
|
["identifier","dijkstra"],
|
||||||
|
|
@ -17,18 +13,12 @@
|
||||||
["paren.rparen","}"],
|
["paren.rparen","}"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.lparen","{"]
|
["paren.lparen","{"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["comment","# Initialize"]
|
["comment","# Initialize"]
|
||||||
]
|
],[
|
||||||
},
|
"commandItem",
|
||||||
{
|
|
||||||
"state": "commandItem",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","dict"],
|
["keyword","dict"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -44,11 +34,8 @@
|
||||||
["variable.instance","graph"],
|
["variable.instance","graph"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.lparen","{"]
|
["paren.lparen","{"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text","\t"],
|
["text","\t"],
|
||||||
["keyword","dict"],
|
["keyword","dict"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -60,11 +47,8 @@
|
||||||
["variable.instance","vertex"],
|
["variable.instance","vertex"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","Inf"]
|
["identifier","Inf"]
|
||||||
]
|
],[
|
||||||
},
|
"commandItem",
|
||||||
{
|
|
||||||
"state": "commandItem",
|
|
||||||
"data": [
|
|
||||||
["text","\t"],
|
["text","\t"],
|
||||||
["keyword","dict"],
|
["keyword","dict"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -77,17 +61,11 @@
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.lparen","{"],
|
["paren.lparen","{"],
|
||||||
["text","}"]
|
["text","}"]
|
||||||
]
|
],[
|
||||||
},
|
"commandItem",
|
||||||
{
|
|
||||||
"state": "commandItem",
|
|
||||||
"data": [
|
|
||||||
["text"," }"]
|
["text"," }"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","dict"],
|
["keyword","dict"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -98,11 +76,8 @@
|
||||||
["variable.instancce","$"],
|
["variable.instancce","$"],
|
||||||
["variable.instance","origin"],
|
["variable.instance","origin"],
|
||||||
["text"," 0"]
|
["text"," 0"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","dict"],
|
["keyword","dict"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -119,17 +94,11 @@
|
||||||
["variable.instancce","$"],
|
["variable.instancce","$"],
|
||||||
["variable.instance","origin"],
|
["variable.instance","origin"],
|
||||||
["paren.rparen","]"]
|
["paren.rparen","]"]
|
||||||
]
|
],[
|
||||||
},
|
"commandItem",
|
||||||
{
|
|
||||||
"state": "commandItem",
|
|
||||||
"data": [
|
|
||||||
["text"," "]
|
["text"," "]
|
||||||
]
|
],[
|
||||||
},
|
"commandItem",
|
||||||
{
|
|
||||||
"state": "commandItem",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","while"],
|
["keyword","while"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -144,29 +113,20 @@
|
||||||
["paren.rparen","]}"],
|
["paren.rparen","]}"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.lparen","{"]
|
["paren.lparen","{"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text","\t"],
|
["text","\t"],
|
||||||
["comment","# Find unhandled node with least weight"]
|
["comment","# Find unhandled node with least weight"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text","\t"],
|
["text","\t"],
|
||||||
["keyword","set"],
|
["keyword","set"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","d"],
|
["identifier","d"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","Inf"]
|
["identifier","Inf"]
|
||||||
]
|
],[
|
||||||
},
|
"commandItem",
|
||||||
{
|
|
||||||
"state": "commandItem",
|
|
||||||
"data": [
|
|
||||||
["text","\t"],
|
["text","\t"],
|
||||||
["keyword","dict"],
|
["keyword","dict"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -182,11 +142,8 @@
|
||||||
["variable.instance","graph"],
|
["variable.instance","graph"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.lparen","{"]
|
["paren.lparen","{"]
|
||||||
]
|
],[
|
||||||
},
|
"commandItem",
|
||||||
{
|
|
||||||
"state": "commandItem",
|
|
||||||
"data": [
|
|
||||||
["text","\t "],
|
["text","\t "],
|
||||||
["keyword","if"],
|
["keyword","if"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -214,11 +171,8 @@
|
||||||
["paren.rparen","]]}"],
|
["paren.rparen","]]}"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.lparen","{"]
|
["paren.lparen","{"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text","\t\t"],
|
["text","\t\t"],
|
||||||
["keyword","set"],
|
["keyword","set"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -226,11 +180,8 @@
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable.instancce","$"],
|
["variable.instancce","$"],
|
||||||
["variable.instance","uu"]
|
["variable.instance","uu"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text","\t\t"],
|
["text","\t\t"],
|
||||||
["keyword","set"],
|
["keyword","set"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -238,36 +189,21 @@
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable.instancce","$"],
|
["variable.instancce","$"],
|
||||||
["variable.instance","dd"]
|
["variable.instance","dd"]
|
||||||
]
|
],[
|
||||||
},
|
"commandItem",
|
||||||
{
|
|
||||||
"state": "commandItem",
|
|
||||||
"data": [
|
|
||||||
["text","\t }"]
|
["text","\t }"]
|
||||||
]
|
],[
|
||||||
},
|
"commandItem",
|
||||||
{
|
|
||||||
"state": "commandItem",
|
|
||||||
"data": [
|
|
||||||
["text","\t}"]
|
["text","\t}"]
|
||||||
]
|
],[
|
||||||
},
|
"commandItem",
|
||||||
{
|
|
||||||
"state": "commandItem",
|
|
||||||
"data": [
|
|
||||||
["text"," "]
|
["text"," "]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text","\t"],
|
["text","\t"],
|
||||||
["comment","# No such node; graph must be disconnected"]
|
["comment","# No such node; graph must be disconnected"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text","\t"],
|
["text","\t"],
|
||||||
["keyword","if"],
|
["keyword","if"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -281,30 +217,18 @@
|
||||||
["paren.rparen","}"],
|
["paren.rparen","}"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","break"]
|
["identifier","break"]
|
||||||
]
|
],[
|
||||||
},
|
"commandItem",
|
||||||
{
|
|
||||||
"state": "commandItem",
|
|
||||||
"data": [
|
|
||||||
["text"," "]
|
["text"," "]
|
||||||
]
|
],[
|
||||||
},
|
"commentfollow",
|
||||||
{
|
|
||||||
"state": "commentfollow",
|
|
||||||
"data": [
|
|
||||||
["text","\t"],
|
["text","\t"],
|
||||||
["comment","# Update the weights for nodes\\"]
|
["comment","# Update the weights for nodes\\"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["comment","\t lead to by the node we've picked"]
|
["comment","\t lead to by the node we've picked"]
|
||||||
]
|
],[
|
||||||
},
|
"commandItem",
|
||||||
{
|
|
||||||
"state": "commandItem",
|
|
||||||
"data": [
|
|
||||||
["text","\t"],
|
["text","\t"],
|
||||||
["keyword","dict"],
|
["keyword","dict"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -329,11 +253,8 @@
|
||||||
["paren.rparen","]"],
|
["paren.rparen","]"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.lparen","{"]
|
["paren.lparen","{"]
|
||||||
]
|
],[
|
||||||
},
|
"commandItem",
|
||||||
{
|
|
||||||
"state": "commandItem",
|
|
||||||
"data": [
|
|
||||||
["text","\t "],
|
["text","\t "],
|
||||||
["keyword","if"],
|
["keyword","if"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -351,11 +272,8 @@
|
||||||
["paren.rparen","]}"],
|
["paren.rparen","]}"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.lparen","{"]
|
["paren.lparen","{"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text","\t\t"],
|
["text","\t\t"],
|
||||||
["keyword","set"],
|
["keyword","set"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -373,11 +291,8 @@
|
||||||
["variable.instancce","$"],
|
["variable.instancce","$"],
|
||||||
["variable.instance","dd"],
|
["variable.instance","dd"],
|
||||||
["paren.rparen","}]"]
|
["paren.rparen","}]"]
|
||||||
]
|
],[
|
||||||
},
|
"commandItem",
|
||||||
{
|
|
||||||
"state": "commandItem",
|
|
||||||
"data": [
|
|
||||||
["text","\t\t"],
|
["text","\t\t"],
|
||||||
["keyword","if"],
|
["keyword","if"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -400,11 +315,8 @@
|
||||||
["paren.rparen","]}"],
|
["paren.rparen","]}"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.lparen","{"]
|
["paren.lparen","{"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text","\t\t "],
|
["text","\t\t "],
|
||||||
["keyword","dict"],
|
["keyword","dict"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -417,11 +329,8 @@
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable.instancce","$"],
|
["variable.instancce","$"],
|
||||||
["variable.instance","alt"]
|
["variable.instance","alt"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text","\t\t "],
|
["text","\t\t "],
|
||||||
["keyword","dict"],
|
["keyword","dict"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -451,42 +360,24 @@
|
||||||
["variable.instancce","$"],
|
["variable.instancce","$"],
|
||||||
["variable.instance","v"],
|
["variable.instance","v"],
|
||||||
["paren.rparen","]"]
|
["paren.rparen","]"]
|
||||||
]
|
],[
|
||||||
},
|
"commandItem",
|
||||||
{
|
|
||||||
"state": "commandItem",
|
|
||||||
"data": [
|
|
||||||
["text","\t\t}"]
|
["text","\t\t}"]
|
||||||
]
|
],[
|
||||||
},
|
"commandItem",
|
||||||
{
|
|
||||||
"state": "commandItem",
|
|
||||||
"data": [
|
|
||||||
["text","\t }"]
|
["text","\t }"]
|
||||||
]
|
],[
|
||||||
},
|
"commandItem",
|
||||||
{
|
|
||||||
"state": "commandItem",
|
|
||||||
"data": [
|
|
||||||
["text","\t}"]
|
["text","\t}"]
|
||||||
]
|
],[
|
||||||
},
|
"commandItem",
|
||||||
{
|
|
||||||
"state": "commandItem",
|
|
||||||
"data": [
|
|
||||||
["text"," "]
|
["text"," "]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text","\t"],
|
["text","\t"],
|
||||||
["comment","# Remove chosen node from graph still to be handled"]
|
["comment","# Remove chosen node from graph still to be handled"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text","\t"],
|
["text","\t"],
|
||||||
["keyword","dict"],
|
["keyword","dict"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -496,17 +387,11 @@
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable.instancce","$"],
|
["variable.instancce","$"],
|
||||||
["variable.instance","u"]
|
["variable.instance","u"]
|
||||||
]
|
],[
|
||||||
},
|
"commandItem",
|
||||||
{
|
|
||||||
"state": "commandItem",
|
|
||||||
"data": [
|
|
||||||
["text"," }"]
|
["text"," }"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","return"],
|
["keyword","return"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -519,12 +404,7 @@
|
||||||
["variable.instancce","$"],
|
["variable.instancce","$"],
|
||||||
["variable.instance","path"],
|
["variable.instance","path"],
|
||||||
["paren.rparen","]"]
|
["paren.rparen","]"]
|
||||||
]
|
],[
|
||||||
},
|
"commandItem",
|
||||||
{
|
|
||||||
"state": "commandItem",
|
|
||||||
"data": [
|
|
||||||
["text","}"]
|
["text","}"]
|
||||||
]
|
]]
|
||||||
}
|
|
||||||
]
|
|
||||||
|
|
@ -1,7 +1,5 @@
|
||||||
[
|
[[
|
||||||
{
|
"start",
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text","The quadratic formula is $$-b "],
|
["text","The quadratic formula is $$-b "],
|
||||||
["keyword","\\pm"],
|
["keyword","\\pm"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -12,60 +10,37 @@
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","\\over"],
|
["keyword","\\over"],
|
||||||
["text"," 2a$$"]
|
["text"," 2a$$"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","\\bye"]
|
["keyword","\\bye"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","\\makeatletter"]
|
["keyword","\\makeatletter"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","\\newcommand"],
|
["keyword","\\newcommand"],
|
||||||
["paren.keyword.operator","{"],
|
["paren.keyword.operator","{"],
|
||||||
["keyword","\\be"],
|
["keyword","\\be"],
|
||||||
["paren.keyword.operator","}{"],
|
["paren.keyword.operator","}{"],
|
||||||
["comment","%"]
|
["comment","%"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","\\begingroup"]
|
["keyword","\\begingroup"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["comment","% \\setlength{\\arraycolsep}{2pt}"]
|
["comment","% \\setlength{\\arraycolsep}{2pt}"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","\\eqnarray"],
|
["keyword","\\eqnarray"],
|
||||||
["comment","%"]
|
["comment","%"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","\\@"],
|
["keyword","\\@"],
|
||||||
["text","ifstar"],
|
["text","ifstar"],
|
||||||
|
|
@ -73,18 +48,12 @@
|
||||||
["keyword","\\nonumber"],
|
["keyword","\\nonumber"],
|
||||||
["paren.keyword.operator","}{}"],
|
["paren.keyword.operator","}{}"],
|
||||||
["comment","%"]
|
["comment","%"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.keyword.operator","}"]
|
["paren.keyword.operator","}"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","\\newcommand"],
|
["keyword","\\newcommand"],
|
||||||
["paren.keyword.operator","{"],
|
["paren.keyword.operator","{"],
|
||||||
|
|
@ -92,32 +61,21 @@
|
||||||
["paren.keyword.operator","}{"],
|
["paren.keyword.operator","}{"],
|
||||||
["keyword","\\endeqnarray\\endgroup"],
|
["keyword","\\endeqnarray\\endgroup"],
|
||||||
["paren.keyword.operator","}"]
|
["paren.keyword.operator","}"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","\\makeatother"]
|
["keyword","\\makeatother"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","\\begin"],
|
["keyword","\\begin"],
|
||||||
["paren.keyword.operator","{"],
|
["paren.keyword.operator","{"],
|
||||||
["nospell.text","equation"],
|
["nospell.text","equation"],
|
||||||
["paren.keyword.operator","}"]
|
["paren.keyword.operator","}"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," x="],
|
["text"," x="],
|
||||||
["keyword","\\left\\"],
|
["keyword","\\left\\"],
|
||||||
["paren.keyword.operator","{"],
|
["paren.keyword.operator","{"],
|
||||||
|
|
@ -128,11 +86,8 @@
|
||||||
["paren.keyword.operator","}{"],
|
["paren.keyword.operator","}{"],
|
||||||
["text","cl"],
|
["text","cl"],
|
||||||
["paren.keyword.operator","}"]
|
["paren.keyword.operator","}"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," 0 & "],
|
["text"," 0 & "],
|
||||||
["keyword","\\textrm"],
|
["keyword","\\textrm"],
|
||||||
["paren.keyword.operator","{"],
|
["paren.keyword.operator","{"],
|
||||||
|
|
@ -140,11 +95,8 @@
|
||||||
["paren.keyword.operator","}"],
|
["paren.keyword.operator","}"],
|
||||||
["text","A="],
|
["text","A="],
|
||||||
["keyword","\\ldots\\\\"]
|
["keyword","\\ldots\\\\"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," 1 & "],
|
["text"," 1 & "],
|
||||||
["keyword","\\textrm"],
|
["keyword","\\textrm"],
|
||||||
["paren.keyword.operator","{"],
|
["paren.keyword.operator","{"],
|
||||||
|
|
@ -152,20 +104,14 @@
|
||||||
["paren.keyword.operator","}"],
|
["paren.keyword.operator","}"],
|
||||||
["text","B="],
|
["text","B="],
|
||||||
["keyword","\\ldots\\\\"]
|
["keyword","\\ldots\\\\"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," x & "],
|
["text"," x & "],
|
||||||
["keyword","\\textrm"],
|
["keyword","\\textrm"],
|
||||||
["paren.keyword.operator","{"],
|
["paren.keyword.operator","{"],
|
||||||
["text","this runs with as much text as you like, but without an raggeright text"]
|
["text","this runs with as much text as you like, but without an raggeright text"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text","."],
|
["text","."],
|
||||||
["paren.keyword.operator","}"],
|
["paren.keyword.operator","}"],
|
||||||
["keyword","\\end"],
|
["keyword","\\end"],
|
||||||
|
|
@ -174,16 +120,11 @@
|
||||||
["paren.keyword.operator","}"],
|
["paren.keyword.operator","}"],
|
||||||
["keyword","\\right"],
|
["keyword","\\right"],
|
||||||
["text","."]
|
["text","."]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","\\end"],
|
["keyword","\\end"],
|
||||||
["paren.keyword.operator","{"],
|
["paren.keyword.operator","{"],
|
||||||
["nospell.text","equation"],
|
["nospell.text","equation"],
|
||||||
["paren.keyword.operator","}"]
|
["paren.keyword.operator","}"]
|
||||||
]
|
]]
|
||||||
}
|
|
||||||
]
|
|
||||||
|
|
@ -1,58 +1,29 @@
|
||||||
[
|
[[
|
||||||
{
|
"start",
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text","Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet."]
|
["text","Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet."]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text","Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat."]
|
["text","Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat."]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text","Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi."]
|
["text","Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi."]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text","Nam liber tempor cum soluta nobis eleifend option congue nihil imperdiet doming id quod mazim placerat facer possim assum. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat."]
|
["text","Nam liber tempor cum soluta nobis eleifend option congue nihil imperdiet doming id quod mazim placerat facer possim assum. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat."]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text","Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis."]
|
["text","Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis."]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text","At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, At accusam aliquyam diam diam dolore dolores duo eirmod eos erat, et nonumy sed tempor et et invidunt justo labore Stet clita ea et gubergren, kasd magna no rebum. sanctus sea sed takimata ut vero voluptua. est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur"]
|
["text","At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, At accusam aliquyam diam diam dolore dolores duo eirmod eos erat, et nonumy sed tempor et et invidunt justo labore Stet clita ea et gubergren, kasd magna no rebum. sanctus sea sed takimata ut vero voluptua. est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur"]
|
||||||
]
|
]]
|
||||||
}
|
|
||||||
]
|
|
||||||
|
|
@ -1,89 +1,50 @@
|
||||||
[
|
[[
|
||||||
{
|
"start",
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["markup.heading.1","h1"],
|
["markup.heading.1","h1"],
|
||||||
["keyword",". "],
|
["keyword",". "],
|
||||||
["text","Textile document"]
|
["text","Textile document"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["markup.heading.2","h2"],
|
["markup.heading.2","h2"],
|
||||||
["keyword",". "],
|
["keyword",". "],
|
||||||
["text","Heading Two"]
|
["text","Heading Two"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["markup.heading.3","h3"],
|
["markup.heading.3","h3"],
|
||||||
["keyword",". "],
|
["keyword",". "],
|
||||||
["text","A two-line"]
|
["text","A two-line"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," header"]
|
["text"," header"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["markup.heading.2","h2"],
|
["markup.heading.2","h2"],
|
||||||
["keyword",". "],
|
["keyword",". "],
|
||||||
["text","Another two-line"]
|
["text","Another two-line"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text","header"]
|
["text","header"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text","Paragraph:"]
|
["text","Paragraph:"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text","one, two,"]
|
["text","one, two,"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text","thee lines!"]
|
["text","thee lines!"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["markup.heading","p"],
|
["markup.heading","p"],
|
||||||
["keyword","("],
|
["keyword","("],
|
||||||
["string","classone"],
|
["string","classone"],
|
||||||
|
|
@ -93,29 +54,19 @@
|
||||||
["string","three"],
|
["string","three"],
|
||||||
["keyword","). "],
|
["keyword","). "],
|
||||||
["text","This is a paragraph with classes"]
|
["text","This is a paragraph with classes"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["markup.heading","p"],
|
["markup.heading","p"],
|
||||||
["keyword","(#"],
|
["keyword","(#"],
|
||||||
["string","id"],
|
["string","id"],
|
||||||
["keyword","). "],
|
["keyword","). "],
|
||||||
["text","(one with an id)"]
|
["text","(one with an id)"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["markup.heading","p"],
|
["markup.heading","p"],
|
||||||
["keyword","("],
|
["keyword","("],
|
||||||
["string","one"],
|
["string","one"],
|
||||||
|
|
@ -127,65 +78,36 @@
|
||||||
["string","my_id"],
|
["string","my_id"],
|
||||||
["keyword","). "],
|
["keyword","). "],
|
||||||
["text","..classes + id"]
|
["text","..classes + id"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","*"],
|
["keyword","*"],
|
||||||
["text"," Unordered list"]
|
["text"," Unordered list"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","**"],
|
["keyword","**"],
|
||||||
["text"," sublist"]
|
["text"," sublist"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","*"],
|
["keyword","*"],
|
||||||
["text"," back again!"]
|
["text"," back again!"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","**"],
|
["keyword","**"],
|
||||||
["text"," sublist again.."]
|
["text"," sublist again.."]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","#"],
|
["keyword","#"],
|
||||||
["text"," ordered"]
|
["text"," ordered"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text","bg. Blockquote!"]
|
["text","bg. Blockquote!"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," This is a two-list blockquote..!"]
|
["text"," This is a two-list blockquote..!"]
|
||||||
]
|
]]
|
||||||
}
|
|
||||||
]
|
|
||||||
|
|
@ -1,27 +1,19 @@
|
||||||
[
|
[[
|
||||||
{
|
"regex_allowed",
|
||||||
"state": "regex_allowed",
|
|
||||||
"data": [
|
|
||||||
["keyword.operator.ts","class"],
|
["keyword.operator.ts","class"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","Greeter"],
|
["identifier","Greeter"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.lparen","{"]
|
["paren.lparen","{"]
|
||||||
]
|
],[
|
||||||
},
|
"regex_allowed",
|
||||||
{
|
|
||||||
"state": "regex_allowed",
|
|
||||||
"data": [
|
|
||||||
["text","\t"],
|
["text","\t"],
|
||||||
["variable.parameter.function.ts","greeting"],
|
["variable.parameter.function.ts","greeting"],
|
||||||
["text",": "],
|
["text",": "],
|
||||||
["variable.parameter.function.ts","string"],
|
["variable.parameter.function.ts","string"],
|
||||||
["punctuation.operator",";"]
|
["punctuation.operator",";"]
|
||||||
]
|
],[
|
||||||
},
|
"regex_allowed",
|
||||||
{
|
|
||||||
"state": "regex_allowed",
|
|
||||||
"data": [
|
|
||||||
["text","\t"],
|
["text","\t"],
|
||||||
["keyword.operator.ts","constructor"],
|
["keyword.operator.ts","constructor"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -32,11 +24,8 @@
|
||||||
["paren.rparen",")"],
|
["paren.rparen",")"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.lparen","{"]
|
["paren.lparen","{"]
|
||||||
]
|
],[
|
||||||
},
|
"regex_allowed",
|
||||||
{
|
|
||||||
"state": "regex_allowed",
|
|
||||||
"data": [
|
|
||||||
["text","\t\t"],
|
["text","\t\t"],
|
||||||
["storage.type.variable.ts","this."],
|
["storage.type.variable.ts","this."],
|
||||||
["identifier","greeting"],
|
["identifier","greeting"],
|
||||||
|
|
@ -45,29 +34,20 @@
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","message"],
|
["identifier","message"],
|
||||||
["punctuation.operator",";"]
|
["punctuation.operator",";"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text","\t"],
|
["text","\t"],
|
||||||
["paren.rparen","}"]
|
["paren.rparen","}"]
|
||||||
]
|
],[
|
||||||
},
|
"regex_allowed",
|
||||||
{
|
|
||||||
"state": "regex_allowed",
|
|
||||||
"data": [
|
|
||||||
["text","\t"],
|
["text","\t"],
|
||||||
["entity.name.function.ts","greet"],
|
["entity.name.function.ts","greet"],
|
||||||
["paren.lparen","("],
|
["paren.lparen","("],
|
||||||
["paren.rparen",")"],
|
["paren.rparen",")"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.lparen","{"]
|
["paren.lparen","{"]
|
||||||
]
|
],[
|
||||||
},
|
"regex_allowed",
|
||||||
{
|
|
||||||
"state": "regex_allowed",
|
|
||||||
"data": [
|
|
||||||
["text","\t\t"],
|
["text","\t\t"],
|
||||||
["keyword","return"],
|
["keyword","return"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -78,29 +58,18 @@
|
||||||
["storage.type.variable.ts","this."],
|
["storage.type.variable.ts","this."],
|
||||||
["identifier","greeting"],
|
["identifier","greeting"],
|
||||||
["punctuation.operator",";"]
|
["punctuation.operator",";"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text","\t"],
|
["text","\t"],
|
||||||
["paren.rparen","}"]
|
["paren.rparen","}"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["paren.rparen","}"],
|
["paren.rparen","}"],
|
||||||
["text"," "]
|
["text"," "]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"regex_allowed",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "regex_allowed",
|
|
||||||
"data": [
|
|
||||||
["storage.type","var"],
|
["storage.type","var"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","greeter"],
|
["identifier","greeter"],
|
||||||
|
|
@ -114,15 +83,10 @@
|
||||||
["string","\"world\""],
|
["string","\"world\""],
|
||||||
["paren.rparen",")"],
|
["paren.rparen",")"],
|
||||||
["punctuation.operator",";"]
|
["punctuation.operator",";"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["storage.type","var"],
|
["storage.type","var"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","button"],
|
["identifier","button"],
|
||||||
|
|
@ -135,11 +99,8 @@
|
||||||
["paren.lparen","("],
|
["paren.lparen","("],
|
||||||
["string","'button'"],
|
["string","'button'"],
|
||||||
["paren.rparen",")"]
|
["paren.rparen",")"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["identifier","button"],
|
["identifier","button"],
|
||||||
["punctuation.operator","."],
|
["punctuation.operator","."],
|
||||||
["identifier","innerText"],
|
["identifier","innerText"],
|
||||||
|
|
@ -147,11 +108,8 @@
|
||||||
["keyword.operator","="],
|
["keyword.operator","="],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["string","\"Say Hello\""]
|
["string","\"Say Hello\""]
|
||||||
]
|
],[
|
||||||
},
|
"regex_allowed",
|
||||||
{
|
|
||||||
"state": "regex_allowed",
|
|
||||||
"data": [
|
|
||||||
["storage.type","button"],
|
["storage.type","button"],
|
||||||
["punctuation.operator","."],
|
["punctuation.operator","."],
|
||||||
["entity.name.function","onclick"],
|
["entity.name.function","onclick"],
|
||||||
|
|
@ -163,32 +121,21 @@
|
||||||
["paren.rparen",")"],
|
["paren.rparen",")"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.lparen","{"]
|
["paren.lparen","{"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text","\t"],
|
["text","\t"],
|
||||||
["support.function","alert"],
|
["support.function","alert"],
|
||||||
["paren.lparen","("],
|
["paren.lparen","("],
|
||||||
["entity.name.function.ts","greeter.greet"],
|
["entity.name.function.ts","greeter.greet"],
|
||||||
["paren.lparen","("],
|
["paren.lparen","("],
|
||||||
["paren.rparen","))"]
|
["paren.rparen","))"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["paren.rparen","}"]
|
["paren.rparen","}"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["variable.language","document"],
|
["variable.language","document"],
|
||||||
["punctuation.operator","."],
|
["punctuation.operator","."],
|
||||||
["identifier","body"],
|
["identifier","body"],
|
||||||
|
|
@ -197,15 +144,10 @@
|
||||||
["paren.lparen","("],
|
["paren.lparen","("],
|
||||||
["identifier","button"],
|
["identifier","button"],
|
||||||
["paren.rparen",")"]
|
["paren.rparen",")"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"regex_allowed",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "regex_allowed",
|
|
||||||
"data": [
|
|
||||||
["keyword.operator.ts","class"],
|
["keyword.operator.ts","class"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","Snake"],
|
["identifier","Snake"],
|
||||||
|
|
@ -215,61 +157,41 @@
|
||||||
["identifier","Animal"],
|
["identifier","Animal"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.lparen","{"]
|
["paren.lparen","{"]
|
||||||
]
|
],[
|
||||||
},
|
"regex_allowed",
|
||||||
{
|
|
||||||
"state": "regex_allowed",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["entity.name.function.ts","move"],
|
["entity.name.function.ts","move"],
|
||||||
["paren.lparen","("],
|
["paren.lparen","("],
|
||||||
["paren.rparen",")"],
|
["paren.rparen",")"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.lparen","{"]
|
["paren.lparen","{"]
|
||||||
]
|
],[
|
||||||
},
|
"regex_allowed",
|
||||||
{
|
|
||||||
"state": "regex_allowed",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["support.function","alert"],
|
["support.function","alert"],
|
||||||
["paren.lparen","("],
|
["paren.lparen","("],
|
||||||
["string","\"Slithering...\""],
|
["string","\"Slithering...\""],
|
||||||
["paren.rparen",")"],
|
["paren.rparen",")"],
|
||||||
["punctuation.operator",";"]
|
["punctuation.operator",";"]
|
||||||
]
|
],[
|
||||||
},
|
"regex_allowed",
|
||||||
{
|
|
||||||
"state": "regex_allowed",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["storage.type.variable.ts","super"],
|
["storage.type.variable.ts","super"],
|
||||||
["text","("],
|
["text","("],
|
||||||
["keyword.other.ts","5"],
|
["keyword.other.ts","5"],
|
||||||
["text",")"],
|
["text",")"],
|
||||||
["punctuation.operator",";"]
|
["punctuation.operator",";"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.rparen","}"]
|
["paren.rparen","}"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["paren.rparen","}"]
|
["paren.rparen","}"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"regex_allowed",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "regex_allowed",
|
|
||||||
"data": [
|
|
||||||
["keyword.operator.ts","class"],
|
["keyword.operator.ts","class"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","Horse"],
|
["identifier","Horse"],
|
||||||
|
|
@ -279,33 +201,24 @@
|
||||||
["identifier","Animal"],
|
["identifier","Animal"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.lparen","{"]
|
["paren.lparen","{"]
|
||||||
]
|
],[
|
||||||
},
|
"regex_allowed",
|
||||||
{
|
|
||||||
"state": "regex_allowed",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["entity.name.function.ts","move"],
|
["entity.name.function.ts","move"],
|
||||||
["paren.lparen","("],
|
["paren.lparen","("],
|
||||||
["paren.rparen",")"],
|
["paren.rparen",")"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.lparen","{"]
|
["paren.lparen","{"]
|
||||||
]
|
],[
|
||||||
},
|
"regex_allowed",
|
||||||
{
|
|
||||||
"state": "regex_allowed",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["support.function","alert"],
|
["support.function","alert"],
|
||||||
["paren.lparen","("],
|
["paren.lparen","("],
|
||||||
["string","\"Galloping...\""],
|
["string","\"Galloping...\""],
|
||||||
["paren.rparen",")"],
|
["paren.rparen",")"],
|
||||||
["punctuation.operator",";"]
|
["punctuation.operator",";"]
|
||||||
]
|
],[
|
||||||
},
|
"regex_allowed",
|
||||||
{
|
|
||||||
"state": "regex_allowed",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword.operator.ts","super"],
|
["keyword.operator.ts","super"],
|
||||||
["punctuation.operator","."],
|
["punctuation.operator","."],
|
||||||
|
|
@ -314,37 +227,23 @@
|
||||||
["constant.numeric","45"],
|
["constant.numeric","45"],
|
||||||
["paren.rparen",")"],
|
["paren.rparen",")"],
|
||||||
["punctuation.operator",";"]
|
["punctuation.operator",";"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.rparen","}"]
|
["paren.rparen","}"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["paren.rparen","}"]
|
["paren.rparen","}"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword.operator.ts","module"],
|
["keyword.operator.ts","module"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable.parameter.function.ts","Sayings"],
|
["variable.parameter.function.ts","Sayings"],
|
||||||
["text"," {"]
|
["text"," {"]
|
||||||
]
|
],[
|
||||||
},
|
"regex_allowed",
|
||||||
{
|
|
||||||
"state": "regex_allowed",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword.operator.ts","export"],
|
["keyword.operator.ts","export"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -353,21 +252,15 @@
|
||||||
["identifier","Greeter"],
|
["identifier","Greeter"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.lparen","{"]
|
["paren.lparen","{"]
|
||||||
]
|
],[
|
||||||
},
|
"regex_allowed",
|
||||||
{
|
|
||||||
"state": "regex_allowed",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable.parameter.function.ts","greeting"],
|
["variable.parameter.function.ts","greeting"],
|
||||||
["text",": "],
|
["text",": "],
|
||||||
["variable.parameter.function.ts","string"],
|
["variable.parameter.function.ts","string"],
|
||||||
["punctuation.operator",";"]
|
["punctuation.operator",";"]
|
||||||
]
|
],[
|
||||||
},
|
"regex_allowed",
|
||||||
{
|
|
||||||
"state": "regex_allowed",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword.operator.ts","constructor"],
|
["keyword.operator.ts","constructor"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -378,11 +271,8 @@
|
||||||
["paren.rparen",")"],
|
["paren.rparen",")"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.lparen","{"]
|
["paren.lparen","{"]
|
||||||
]
|
],[
|
||||||
},
|
"regex_allowed",
|
||||||
{
|
|
||||||
"state": "regex_allowed",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["storage.type.variable.ts","this."],
|
["storage.type.variable.ts","this."],
|
||||||
["identifier","greeting"],
|
["identifier","greeting"],
|
||||||
|
|
@ -391,29 +281,20 @@
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","message"],
|
["identifier","message"],
|
||||||
["punctuation.operator",";"]
|
["punctuation.operator",";"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.rparen","}"]
|
["paren.rparen","}"]
|
||||||
]
|
],[
|
||||||
},
|
"regex_allowed",
|
||||||
{
|
|
||||||
"state": "regex_allowed",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["entity.name.function.ts","greet"],
|
["entity.name.function.ts","greet"],
|
||||||
["paren.lparen","("],
|
["paren.lparen","("],
|
||||||
["paren.rparen",")"],
|
["paren.rparen",")"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.lparen","{"]
|
["paren.lparen","{"]
|
||||||
]
|
],[
|
||||||
},
|
"regex_allowed",
|
||||||
{
|
|
||||||
"state": "regex_allowed",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","return"],
|
["keyword","return"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -424,40 +305,25 @@
|
||||||
["storage.type.variable.ts","this."],
|
["storage.type.variable.ts","this."],
|
||||||
["identifier","greeting"],
|
["identifier","greeting"],
|
||||||
["punctuation.operator",";"]
|
["punctuation.operator",";"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.rparen","}"]
|
["paren.rparen","}"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.rparen","}"]
|
["paren.rparen","}"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["paren.rparen","}"]
|
["paren.rparen","}"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword.operator.ts","module"],
|
["keyword.operator.ts","module"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable.parameter.function.ts","Mankala"],
|
["variable.parameter.function.ts","Mankala"],
|
||||||
["text"," {"]
|
["text"," {"]
|
||||||
]
|
],[
|
||||||
},
|
"regex_allowed",
|
||||||
{
|
|
||||||
"state": "regex_allowed",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword.operator.ts","export"],
|
["keyword.operator.ts","export"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -466,11 +332,8 @@
|
||||||
["identifier","Features"],
|
["identifier","Features"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.lparen","{"]
|
["paren.lparen","{"]
|
||||||
]
|
],[
|
||||||
},
|
"regex_allowed",
|
||||||
{
|
|
||||||
"state": "regex_allowed",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword.operator.ts","public"],
|
["keyword.operator.ts","public"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -480,11 +343,8 @@
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["constant.language.boolean","false"],
|
["constant.language.boolean","false"],
|
||||||
["punctuation.operator",";"]
|
["punctuation.operator",";"]
|
||||||
]
|
],[
|
||||||
},
|
"regex_allowed",
|
||||||
{
|
|
||||||
"state": "regex_allowed",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword.operator.ts","public"],
|
["keyword.operator.ts","public"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -494,11 +354,8 @@
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["constant.numeric","0"],
|
["constant.numeric","0"],
|
||||||
["punctuation.operator",";"]
|
["punctuation.operator",";"]
|
||||||
]
|
],[
|
||||||
},
|
"regex_allowed",
|
||||||
{
|
|
||||||
"state": "regex_allowed",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword.operator.ts","public"],
|
["keyword.operator.ts","public"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -508,11 +365,8 @@
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["constant.numeric","0"],
|
["constant.numeric","0"],
|
||||||
["punctuation.operator",";"]
|
["punctuation.operator",";"]
|
||||||
]
|
],[
|
||||||
},
|
"regex_allowed",
|
||||||
{
|
|
||||||
"state": "regex_allowed",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword.operator.ts","public"],
|
["keyword.operator.ts","public"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -522,15 +376,10 @@
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","NoSpace"],
|
["identifier","NoSpace"],
|
||||||
["punctuation.operator",";"]
|
["punctuation.operator",";"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"regex_allowed",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "regex_allowed",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword.operator.ts","public"],
|
["keyword.operator.ts","public"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -539,11 +388,8 @@
|
||||||
["paren.rparen",")"],
|
["paren.rparen",")"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.lparen","{"]
|
["paren.lparen","{"]
|
||||||
]
|
],[
|
||||||
},
|
"regex_allowed",
|
||||||
{
|
|
||||||
"state": "regex_allowed",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["storage.type.variable.ts","this."],
|
["storage.type.variable.ts","this."],
|
||||||
["identifier","turnContinues"],
|
["identifier","turnContinues"],
|
||||||
|
|
@ -552,11 +398,8 @@
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["constant.language.boolean","false"],
|
["constant.language.boolean","false"],
|
||||||
["punctuation.operator",";"]
|
["punctuation.operator",";"]
|
||||||
]
|
],[
|
||||||
},
|
"regex_allowed",
|
||||||
{
|
|
||||||
"state": "regex_allowed",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["storage.type.variable.ts","this."],
|
["storage.type.variable.ts","this."],
|
||||||
["identifier","seedStoredCount"],
|
["identifier","seedStoredCount"],
|
||||||
|
|
@ -565,11 +408,8 @@
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["constant.numeric","0"],
|
["constant.numeric","0"],
|
||||||
["punctuation.operator",";"]
|
["punctuation.operator",";"]
|
||||||
]
|
],[
|
||||||
},
|
"regex_allowed",
|
||||||
{
|
|
||||||
"state": "regex_allowed",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["storage.type.variable.ts","this."],
|
["storage.type.variable.ts","this."],
|
||||||
["identifier","capturedCount"],
|
["identifier","capturedCount"],
|
||||||
|
|
@ -578,11 +418,8 @@
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["constant.numeric","0"],
|
["constant.numeric","0"],
|
||||||
["punctuation.operator",";"]
|
["punctuation.operator",";"]
|
||||||
]
|
],[
|
||||||
},
|
"regex_allowed",
|
||||||
{
|
|
||||||
"state": "regex_allowed",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["storage.type.variable.ts","this."],
|
["storage.type.variable.ts","this."],
|
||||||
["identifier","spaceCaptured"],
|
["identifier","spaceCaptured"],
|
||||||
|
|
@ -591,22 +428,14 @@
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","NoSpace"],
|
["identifier","NoSpace"],
|
||||||
["punctuation.operator",";"]
|
["punctuation.operator",";"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.rparen","}"]
|
["paren.rparen","}"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"regex_allowed",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "regex_allowed",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword.operator.ts","public"],
|
["keyword.operator.ts","public"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -615,11 +444,8 @@
|
||||||
["paren.rparen",")"],
|
["paren.rparen",")"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.lparen","{"]
|
["paren.lparen","{"]
|
||||||
]
|
],[
|
||||||
},
|
"regex_allowed",
|
||||||
{
|
|
||||||
"state": "regex_allowed",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["storage.type","var"],
|
["storage.type","var"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -629,11 +455,8 @@
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["string","\"\""],
|
["string","\"\""],
|
||||||
["punctuation.operator",";"]
|
["punctuation.operator",";"]
|
||||||
]
|
],[
|
||||||
},
|
"regex_allowed",
|
||||||
{
|
|
||||||
"state": "regex_allowed",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","if"],
|
["keyword","if"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -643,11 +466,8 @@
|
||||||
["paren.rparen",")"],
|
["paren.rparen",")"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.lparen","{"]
|
["paren.lparen","{"]
|
||||||
]
|
],[
|
||||||
},
|
"regex_allowed",
|
||||||
{
|
|
||||||
"state": "regex_allowed",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","stringBuilder"],
|
["identifier","stringBuilder"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -655,18 +475,12 @@
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["string","\" turn continues,\""],
|
["string","\" turn continues,\""],
|
||||||
["punctuation.operator",";"]
|
["punctuation.operator",";"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.rparen","}"]
|
["paren.rparen","}"]
|
||||||
]
|
],[
|
||||||
},
|
"regex_allowed",
|
||||||
{
|
|
||||||
"state": "regex_allowed",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","stringBuilder"],
|
["identifier","stringBuilder"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -679,11 +493,8 @@
|
||||||
["storage.type.variable.ts","this."],
|
["storage.type.variable.ts","this."],
|
||||||
["identifier","seedStoredCount"],
|
["identifier","seedStoredCount"],
|
||||||
["punctuation.operator",";"]
|
["punctuation.operator",";"]
|
||||||
]
|
],[
|
||||||
},
|
"regex_allowed",
|
||||||
{
|
|
||||||
"state": "regex_allowed",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","if"],
|
["keyword","if"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -697,11 +508,8 @@
|
||||||
["paren.rparen",")"],
|
["paren.rparen",")"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.lparen","{"]
|
["paren.lparen","{"]
|
||||||
]
|
],[
|
||||||
},
|
"regex_allowed",
|
||||||
{
|
|
||||||
"state": "regex_allowed",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","stringBuilder"],
|
["identifier","stringBuilder"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
|
|
@ -723,43 +531,26 @@
|
||||||
["storage.type.variable.ts","this."],
|
["storage.type.variable.ts","this."],
|
||||||
["identifier","spaceCaptured"],
|
["identifier","spaceCaptured"],
|
||||||
["punctuation.operator",";"]
|
["punctuation.operator",";"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.rparen","}"]
|
["paren.rparen","}"]
|
||||||
]
|
],[
|
||||||
},
|
"regex_allowed",
|
||||||
{
|
|
||||||
"state": "regex_allowed",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","return"],
|
["keyword","return"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["identifier","stringBuilder"],
|
["identifier","stringBuilder"],
|
||||||
["punctuation.operator",";"]
|
["punctuation.operator",";"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.rparen","}"]
|
["paren.rparen","}"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["paren.rparen","}"]
|
["paren.rparen","}"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["paren.rparen","}"]
|
["paren.rparen","}"]
|
||||||
]
|
]]
|
||||||
}
|
|
||||||
]
|
|
||||||
249
lib/ace/mode/_test/tokens_vbscript.json
Normal file
249
lib/ace/mode/_test/tokens_vbscript.json
Normal file
|
|
@ -0,0 +1,249 @@
|
||||||
|
[[
|
||||||
|
"start",
|
||||||
|
["text","myfilename "],
|
||||||
|
["keyword.operator.asp","="],
|
||||||
|
["text"," "],
|
||||||
|
["punctuation.definition.string.begin.asp","\""],
|
||||||
|
["string.quoted.double.asp","C:\\Wikipedia - VBScript - Example - Hello World.txt\""]
|
||||||
|
],[
|
||||||
|
"start"
|
||||||
|
],[
|
||||||
|
"start",
|
||||||
|
["text","MakeHelloWorldFile myfilename"]
|
||||||
|
],[
|
||||||
|
"start"
|
||||||
|
],[
|
||||||
|
"state_4",
|
||||||
|
["meta.leading-space"," "]
|
||||||
|
],[
|
||||||
|
"state_4"
|
||||||
|
],[
|
||||||
|
"start",
|
||||||
|
["storage.type.function.asp","Sub"],
|
||||||
|
["text"," "],
|
||||||
|
["entity.name.function.asp","MakeHelloWorldFile"],
|
||||||
|
["text"," "],
|
||||||
|
["punctuation.definition.parameters.asp","("],
|
||||||
|
["variable.parameter.function.asp","FileName"],
|
||||||
|
["punctuation.definition.parameters.asp",")"]
|
||||||
|
],[
|
||||||
|
"start"
|
||||||
|
],[
|
||||||
|
"start",
|
||||||
|
["punctuation.definition.comment.asp","'"],
|
||||||
|
["comment.line.apostrophe.asp","Create a new file in C: drive or overwrite existing file"]
|
||||||
|
],[
|
||||||
|
"start"
|
||||||
|
],[
|
||||||
|
"start",
|
||||||
|
["meta.odd-tab.spaces"," "],
|
||||||
|
["meta.leading-space"," "],
|
||||||
|
["storage.type.asp","Set"],
|
||||||
|
["text"," FSO "],
|
||||||
|
["keyword.operator.asp","="],
|
||||||
|
["text"," "],
|
||||||
|
["support.function.asp","CreateObject"],
|
||||||
|
["text","("],
|
||||||
|
["punctuation.definition.string.begin.asp","\""],
|
||||||
|
["string.quoted.double.asp","Scripting.FileSystemObject\""],
|
||||||
|
["text",")"]
|
||||||
|
],[
|
||||||
|
"start"
|
||||||
|
],[
|
||||||
|
"start",
|
||||||
|
["meta.odd-tab.spaces"," "],
|
||||||
|
["meta.leading-space"," "],
|
||||||
|
["keyword.control.asp","If"],
|
||||||
|
["text"," FSO."],
|
||||||
|
["entity.name.function.asp","FileExists"],
|
||||||
|
["text","(FileName) "],
|
||||||
|
["keyword.control.asp","Then"],
|
||||||
|
["text"," "]
|
||||||
|
],[
|
||||||
|
"start"
|
||||||
|
],[
|
||||||
|
"start",
|
||||||
|
["meta.odd-tab.spaces"," "],
|
||||||
|
["meta.even-tab.spaces"," "],
|
||||||
|
["meta.odd-tab.spaces"," "],
|
||||||
|
["text","Answer "],
|
||||||
|
["keyword.operator.asp","="],
|
||||||
|
["text"," "],
|
||||||
|
["support.function.vb.asp","MsgBox"],
|
||||||
|
["text"," ("],
|
||||||
|
["punctuation.definition.string.begin.asp","\""],
|
||||||
|
["string.quoted.double.asp","File \""],
|
||||||
|
["text"," "],
|
||||||
|
["keyword.operator.asp","&"],
|
||||||
|
["text"," FileName "],
|
||||||
|
["keyword.operator.asp","&"],
|
||||||
|
["text"," "],
|
||||||
|
["punctuation.definition.string.begin.asp","\""],
|
||||||
|
["string.quoted.double.asp"," exists ... OK to overwrite?\""],
|
||||||
|
["text",", vbOKCancel)"]
|
||||||
|
],[
|
||||||
|
"start"
|
||||||
|
],[
|
||||||
|
"start",
|
||||||
|
["meta.odd-tab.spaces"," "],
|
||||||
|
["meta.even-tab.spaces"," "],
|
||||||
|
["meta.odd-tab.spaces"," "],
|
||||||
|
["punctuation.definition.comment.asp","'"],
|
||||||
|
["comment.line.apostrophe.asp","If button selected is not OK, then quit now"]
|
||||||
|
],[
|
||||||
|
"start"
|
||||||
|
],[
|
||||||
|
"start",
|
||||||
|
["meta.odd-tab.spaces"," "],
|
||||||
|
["meta.even-tab.spaces"," "],
|
||||||
|
["meta.odd-tab.spaces"," "],
|
||||||
|
["punctuation.definition.comment.asp","'"],
|
||||||
|
["comment.line.apostrophe.asp","vbOK is a language constant"]
|
||||||
|
],[
|
||||||
|
"start"
|
||||||
|
],[
|
||||||
|
"start",
|
||||||
|
["meta.odd-tab.spaces"," "],
|
||||||
|
["meta.even-tab.spaces"," "],
|
||||||
|
["meta.odd-tab.spaces"," "],
|
||||||
|
["keyword.control.asp","If"],
|
||||||
|
["text"," Answer "],
|
||||||
|
["keyword.operator.asp","<>"],
|
||||||
|
["text"," vbOK "],
|
||||||
|
["keyword.control.asp","Then"],
|
||||||
|
["text"," "],
|
||||||
|
["keyword.control.asp","Exit Sub"]
|
||||||
|
],[
|
||||||
|
"start"
|
||||||
|
],[
|
||||||
|
"start",
|
||||||
|
["meta.odd-tab.spaces"," "],
|
||||||
|
["meta.leading-space"," "],
|
||||||
|
["keyword.control.asp","Else"]
|
||||||
|
],[
|
||||||
|
"start"
|
||||||
|
],[
|
||||||
|
"start",
|
||||||
|
["meta.odd-tab.spaces"," "],
|
||||||
|
["meta.even-tab.spaces"," "],
|
||||||
|
["meta.odd-tab.spaces"," "],
|
||||||
|
["punctuation.definition.comment.asp","'"],
|
||||||
|
["comment.line.apostrophe.asp","Confirm OK to create"]
|
||||||
|
],[
|
||||||
|
"start"
|
||||||
|
],[
|
||||||
|
"start",
|
||||||
|
["meta.odd-tab.spaces"," "],
|
||||||
|
["meta.even-tab.spaces"," "],
|
||||||
|
["meta.odd-tab.spaces"," "],
|
||||||
|
["text","Answer "],
|
||||||
|
["keyword.operator.asp","="],
|
||||||
|
["text"," "],
|
||||||
|
["support.function.vb.asp","MsgBox"],
|
||||||
|
["text"," ("],
|
||||||
|
["punctuation.definition.string.begin.asp","\""],
|
||||||
|
["string.quoted.double.asp","File \""],
|
||||||
|
["text"," "],
|
||||||
|
["keyword.operator.asp","&"],
|
||||||
|
["text"," FileName "],
|
||||||
|
["keyword.operator.asp","&"],
|
||||||
|
["text"," "],
|
||||||
|
["punctuation.definition.string.begin.asp","\""],
|
||||||
|
["string.quoted.double.asp"," ... OK to create?\""],
|
||||||
|
["text",", vbOKCancel)"]
|
||||||
|
],[
|
||||||
|
"start"
|
||||||
|
],[
|
||||||
|
"start",
|
||||||
|
["meta.odd-tab.spaces"," "],
|
||||||
|
["meta.even-tab.spaces"," "],
|
||||||
|
["meta.odd-tab.spaces"," "],
|
||||||
|
["keyword.control.asp","If"],
|
||||||
|
["text"," Answer "],
|
||||||
|
["keyword.operator.asp","<>"],
|
||||||
|
["text"," vbOK "],
|
||||||
|
["keyword.control.asp","Then"],
|
||||||
|
["text"," "],
|
||||||
|
["keyword.control.asp","Exit Sub"]
|
||||||
|
],[
|
||||||
|
"start"
|
||||||
|
],[
|
||||||
|
"start",
|
||||||
|
["meta.odd-tab.spaces"," "],
|
||||||
|
["meta.leading-space"," "],
|
||||||
|
["keyword.control.asp","End If"]
|
||||||
|
],[
|
||||||
|
"start"
|
||||||
|
],[
|
||||||
|
"start",
|
||||||
|
["meta.odd-tab.spaces"," "],
|
||||||
|
["meta.leading-space"," "],
|
||||||
|
["punctuation.definition.comment.asp","'"],
|
||||||
|
["comment.line.apostrophe.asp","Create new file (or replace an existing file)"]
|
||||||
|
],[
|
||||||
|
"start"
|
||||||
|
],[
|
||||||
|
"start",
|
||||||
|
["meta.odd-tab.spaces"," "],
|
||||||
|
["meta.leading-space"," "],
|
||||||
|
["storage.type.asp","Set"],
|
||||||
|
["text"," FileObject "],
|
||||||
|
["keyword.operator.asp","="],
|
||||||
|
["text"," FSO.CreateTextFile (FileName)"]
|
||||||
|
],[
|
||||||
|
"start"
|
||||||
|
],[
|
||||||
|
"start",
|
||||||
|
["meta.odd-tab.spaces"," "],
|
||||||
|
["meta.leading-space"," "],
|
||||||
|
["text","FileObject.WriteLine "],
|
||||||
|
["punctuation.definition.string.begin.asp","\""],
|
||||||
|
["string.quoted.double.asp","Time ... \""],
|
||||||
|
["text"," "],
|
||||||
|
["keyword.operator.asp","&"],
|
||||||
|
["text"," "],
|
||||||
|
["support.function.vb.asp","Now"],
|
||||||
|
["text","()"]
|
||||||
|
],[
|
||||||
|
"start"
|
||||||
|
],[
|
||||||
|
"start",
|
||||||
|
["meta.odd-tab.spaces"," "],
|
||||||
|
["meta.leading-space"," "],
|
||||||
|
["text","FileObject.WriteLine "],
|
||||||
|
["punctuation.definition.string.begin.asp","\""],
|
||||||
|
["string.quoted.double.asp","Hello World\""]
|
||||||
|
],[
|
||||||
|
"start"
|
||||||
|
],[
|
||||||
|
"start",
|
||||||
|
["meta.odd-tab.spaces"," "],
|
||||||
|
["meta.leading-space"," "],
|
||||||
|
["text","FileObject."],
|
||||||
|
["entity.name.function.asp","Close"],
|
||||||
|
["text","()"]
|
||||||
|
],[
|
||||||
|
"start"
|
||||||
|
],[
|
||||||
|
"start",
|
||||||
|
["meta.odd-tab.spaces"," "],
|
||||||
|
["meta.leading-space"," "],
|
||||||
|
["support.function.vb.asp","MsgBox"],
|
||||||
|
["text"," "],
|
||||||
|
["punctuation.definition.string.begin.asp","\""],
|
||||||
|
["string.quoted.double.asp","File \""],
|
||||||
|
["text"," "],
|
||||||
|
["keyword.operator.asp","&"],
|
||||||
|
["text"," FileName "],
|
||||||
|
["keyword.operator.asp","&"],
|
||||||
|
["text"," "],
|
||||||
|
["punctuation.definition.string.begin.asp","\""],
|
||||||
|
["string.quoted.double.asp"," ... updated.\""]
|
||||||
|
],[
|
||||||
|
"start"
|
||||||
|
],[
|
||||||
|
"start",
|
||||||
|
["support.function.asp","End"],
|
||||||
|
["text"," "],
|
||||||
|
["storage.type.asp","Sub"]
|
||||||
|
]]
|
||||||
|
|
@ -1,24 +1,16 @@
|
||||||
[
|
[[
|
||||||
{
|
"start",
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["xml-pe","<?xml version=\"1.0\" encoding=\"UTF-8\"?>"]
|
["xml-pe","<?xml version=\"1.0\" encoding=\"UTF-8\"?>"]
|
||||||
]
|
],[
|
||||||
},
|
"tag_embed_attribute_list",
|
||||||
{
|
|
||||||
"state": "tag_embed_attribute_list",
|
|
||||||
"data": [
|
|
||||||
["meta.tag","<"],
|
["meta.tag","<"],
|
||||||
["meta.tag.tag-name","query"],
|
["meta.tag.tag-name","query"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["entity.other.attribute-name","xmlns:yahoo"],
|
["entity.other.attribute-name","xmlns:yahoo"],
|
||||||
["keyword.operator","="],
|
["keyword.operator","="],
|
||||||
["string","\"http://www.yahooapis.com/v1/base.rng\""]
|
["string","\"http://www.yahooapis.com/v1/base.rng\""]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["entity.other.attribute-name","yahoo:count"],
|
["entity.other.attribute-name","yahoo:count"],
|
||||||
["keyword.operator","="],
|
["keyword.operator","="],
|
||||||
|
|
@ -32,20 +24,14 @@
|
||||||
["keyword.operator","="],
|
["keyword.operator","="],
|
||||||
["string","\"en-US\""],
|
["string","\"en-US\""],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["meta.tag","<"],
|
["meta.tag","<"],
|
||||||
["meta.tag.tag-name","diagnostics"],
|
["meta.tag.tag-name","diagnostics"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["meta.tag","<"],
|
["meta.tag","<"],
|
||||||
["meta.tag.tag-name","publiclyCallable"],
|
["meta.tag.tag-name","publiclyCallable"],
|
||||||
|
|
@ -54,11 +40,8 @@
|
||||||
["meta.tag","</"],
|
["meta.tag","</"],
|
||||||
["meta.tag.tag-name","publiclyCallable"],
|
["meta.tag.tag-name","publiclyCallable"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["meta.tag","<"],
|
["meta.tag","<"],
|
||||||
["meta.tag.tag-name","url"],
|
["meta.tag.tag-name","url"],
|
||||||
|
|
@ -79,11 +62,8 @@
|
||||||
["meta.tag","</"],
|
["meta.tag","</"],
|
||||||
["meta.tag.tag-name","url"],
|
["meta.tag.tag-name","url"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["meta.tag","<"],
|
["meta.tag","<"],
|
||||||
["meta.tag.tag-name","user-time"],
|
["meta.tag.tag-name","user-time"],
|
||||||
|
|
@ -92,11 +72,8 @@
|
||||||
["meta.tag","</"],
|
["meta.tag","</"],
|
||||||
["meta.tag.tag-name","user-time"],
|
["meta.tag.tag-name","user-time"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["meta.tag","<"],
|
["meta.tag","<"],
|
||||||
["meta.tag.tag-name","service-time"],
|
["meta.tag.tag-name","service-time"],
|
||||||
|
|
@ -105,11 +82,8 @@
|
||||||
["meta.tag","</"],
|
["meta.tag","</"],
|
||||||
["meta.tag.tag-name","service-time"],
|
["meta.tag.tag-name","service-time"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["meta.tag","<"],
|
["meta.tag","<"],
|
||||||
["meta.tag.tag-name","build-version"],
|
["meta.tag.tag-name","build-version"],
|
||||||
|
|
@ -118,30 +92,21 @@
|
||||||
["meta.tag","</"],
|
["meta.tag","</"],
|
||||||
["meta.tag.tag-name","build-version"],
|
["meta.tag.tag-name","build-version"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["meta.tag","</"],
|
["meta.tag","</"],
|
||||||
["meta.tag.tag-name","diagnostics"],
|
["meta.tag.tag-name","diagnostics"],
|
||||||
["meta.tag.r",">"],
|
["meta.tag.r",">"],
|
||||||
["text"," "]
|
["text"," "]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["meta.tag","<"],
|
["meta.tag","<"],
|
||||||
["meta.tag.tag-name","results"],
|
["meta.tag.tag-name","results"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"tag_embed_attribute_list",
|
||||||
{
|
|
||||||
"state": "tag_embed_attribute_list",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["meta.tag","<"],
|
["meta.tag","<"],
|
||||||
["meta.tag.tag-name","place"],
|
["meta.tag.tag-name","place"],
|
||||||
|
|
@ -149,11 +114,8 @@
|
||||||
["entity.other.attribute-name","xmlns"],
|
["entity.other.attribute-name","xmlns"],
|
||||||
["keyword.operator","="],
|
["keyword.operator","="],
|
||||||
["string","\"http://where.yahooapis.com/v1/schema.rng\""]
|
["string","\"http://where.yahooapis.com/v1/schema.rng\""]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["entity.other.attribute-name","xml:lang"],
|
["entity.other.attribute-name","xml:lang"],
|
||||||
["keyword.operator","="],
|
["keyword.operator","="],
|
||||||
|
|
@ -163,11 +125,8 @@
|
||||||
["keyword.operator","="],
|
["keyword.operator","="],
|
||||||
["string","\"http://where.yahooapis.com/v1/place/24865670\""],
|
["string","\"http://where.yahooapis.com/v1/place/24865670\""],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["meta.tag","<"],
|
["meta.tag","<"],
|
||||||
["meta.tag.tag-name","woeid"],
|
["meta.tag.tag-name","woeid"],
|
||||||
|
|
@ -176,11 +135,8 @@
|
||||||
["meta.tag","</"],
|
["meta.tag","</"],
|
||||||
["meta.tag.tag-name","woeid"],
|
["meta.tag.tag-name","woeid"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["meta.tag","<"],
|
["meta.tag","<"],
|
||||||
["meta.tag.tag-name","placeTypeName"],
|
["meta.tag.tag-name","placeTypeName"],
|
||||||
|
|
@ -193,11 +149,8 @@
|
||||||
["meta.tag","</"],
|
["meta.tag","</"],
|
||||||
["meta.tag.tag-name","placeTypeName"],
|
["meta.tag.tag-name","placeTypeName"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["meta.tag","<"],
|
["meta.tag","<"],
|
||||||
["meta.tag.tag-name","name"],
|
["meta.tag.tag-name","name"],
|
||||||
|
|
@ -206,20 +159,14 @@
|
||||||
["meta.tag","</"],
|
["meta.tag","</"],
|
||||||
["meta.tag.tag-name","name"],
|
["meta.tag.tag-name","name"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["meta.tag","</"],
|
["meta.tag","</"],
|
||||||
["meta.tag.tag-name","place"],
|
["meta.tag.tag-name","place"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"tag_embed_attribute_list",
|
||||||
{
|
|
||||||
"state": "tag_embed_attribute_list",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["meta.tag","<"],
|
["meta.tag","<"],
|
||||||
["meta.tag.tag-name","place"],
|
["meta.tag.tag-name","place"],
|
||||||
|
|
@ -227,11 +174,8 @@
|
||||||
["entity.other.attribute-name","xmlns"],
|
["entity.other.attribute-name","xmlns"],
|
||||||
["keyword.operator","="],
|
["keyword.operator","="],
|
||||||
["string","\"http://where.yahooapis.com/v1/schema.rng\""]
|
["string","\"http://where.yahooapis.com/v1/schema.rng\""]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["entity.other.attribute-name","xml:lang"],
|
["entity.other.attribute-name","xml:lang"],
|
||||||
["keyword.operator","="],
|
["keyword.operator","="],
|
||||||
|
|
@ -241,11 +185,8 @@
|
||||||
["keyword.operator","="],
|
["keyword.operator","="],
|
||||||
["string","\"http://where.yahooapis.com/v1/place/24865675\""],
|
["string","\"http://where.yahooapis.com/v1/place/24865675\""],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["meta.tag","<"],
|
["meta.tag","<"],
|
||||||
["meta.tag.tag-name","woeid"],
|
["meta.tag.tag-name","woeid"],
|
||||||
|
|
@ -254,11 +195,8 @@
|
||||||
["meta.tag","</"],
|
["meta.tag","</"],
|
||||||
["meta.tag.tag-name","woeid"],
|
["meta.tag.tag-name","woeid"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["meta.tag","<"],
|
["meta.tag","<"],
|
||||||
["meta.tag.tag-name","placeTypeName"],
|
["meta.tag.tag-name","placeTypeName"],
|
||||||
|
|
@ -271,11 +209,8 @@
|
||||||
["meta.tag","</"],
|
["meta.tag","</"],
|
||||||
["meta.tag.tag-name","placeTypeName"],
|
["meta.tag.tag-name","placeTypeName"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["meta.tag","<"],
|
["meta.tag","<"],
|
||||||
["meta.tag.tag-name","name"],
|
["meta.tag.tag-name","name"],
|
||||||
|
|
@ -284,20 +219,14 @@
|
||||||
["meta.tag","</"],
|
["meta.tag","</"],
|
||||||
["meta.tag.tag-name","name"],
|
["meta.tag.tag-name","name"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["meta.tag","</"],
|
["meta.tag","</"],
|
||||||
["meta.tag.tag-name","place"],
|
["meta.tag.tag-name","place"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"tag_embed_attribute_list",
|
||||||
{
|
|
||||||
"state": "tag_embed_attribute_list",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["meta.tag","<"],
|
["meta.tag","<"],
|
||||||
["meta.tag.tag-name","place"],
|
["meta.tag.tag-name","place"],
|
||||||
|
|
@ -305,11 +234,8 @@
|
||||||
["entity.other.attribute-name","xmlns"],
|
["entity.other.attribute-name","xmlns"],
|
||||||
["keyword.operator","="],
|
["keyword.operator","="],
|
||||||
["string","\"http://where.yahooapis.com/v1/schema.rng\""]
|
["string","\"http://where.yahooapis.com/v1/schema.rng\""]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["entity.other.attribute-name","xml:lang"],
|
["entity.other.attribute-name","xml:lang"],
|
||||||
["keyword.operator","="],
|
["keyword.operator","="],
|
||||||
|
|
@ -319,11 +245,8 @@
|
||||||
["keyword.operator","="],
|
["keyword.operator","="],
|
||||||
["string","\"http://where.yahooapis.com/v1/place/24865673\""],
|
["string","\"http://where.yahooapis.com/v1/place/24865673\""],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["meta.tag","<"],
|
["meta.tag","<"],
|
||||||
["meta.tag.tag-name","woeid"],
|
["meta.tag.tag-name","woeid"],
|
||||||
|
|
@ -332,11 +255,8 @@
|
||||||
["meta.tag","</"],
|
["meta.tag","</"],
|
||||||
["meta.tag.tag-name","woeid"],
|
["meta.tag.tag-name","woeid"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["meta.tag","<"],
|
["meta.tag","<"],
|
||||||
["meta.tag.tag-name","placeTypeName"],
|
["meta.tag.tag-name","placeTypeName"],
|
||||||
|
|
@ -349,11 +269,8 @@
|
||||||
["meta.tag","</"],
|
["meta.tag","</"],
|
||||||
["meta.tag.tag-name","placeTypeName"],
|
["meta.tag.tag-name","placeTypeName"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["meta.tag","<"],
|
["meta.tag","<"],
|
||||||
["meta.tag.tag-name","name"],
|
["meta.tag.tag-name","name"],
|
||||||
|
|
@ -362,20 +279,14 @@
|
||||||
["meta.tag","</"],
|
["meta.tag","</"],
|
||||||
["meta.tag.tag-name","name"],
|
["meta.tag.tag-name","name"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["meta.tag","</"],
|
["meta.tag","</"],
|
||||||
["meta.tag.tag-name","place"],
|
["meta.tag.tag-name","place"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"tag_embed_attribute_list",
|
||||||
{
|
|
||||||
"state": "tag_embed_attribute_list",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["meta.tag","<"],
|
["meta.tag","<"],
|
||||||
["meta.tag.tag-name","place"],
|
["meta.tag.tag-name","place"],
|
||||||
|
|
@ -383,11 +294,8 @@
|
||||||
["entity.other.attribute-name","xmlns"],
|
["entity.other.attribute-name","xmlns"],
|
||||||
["keyword.operator","="],
|
["keyword.operator","="],
|
||||||
["string","\"http://where.yahooapis.com/v1/schema.rng\""]
|
["string","\"http://where.yahooapis.com/v1/schema.rng\""]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["entity.other.attribute-name","xml:lang"],
|
["entity.other.attribute-name","xml:lang"],
|
||||||
["keyword.operator","="],
|
["keyword.operator","="],
|
||||||
|
|
@ -397,11 +305,8 @@
|
||||||
["keyword.operator","="],
|
["keyword.operator","="],
|
||||||
["string","\"http://where.yahooapis.com/v1/place/28289421\""],
|
["string","\"http://where.yahooapis.com/v1/place/28289421\""],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["meta.tag","<"],
|
["meta.tag","<"],
|
||||||
["meta.tag.tag-name","woeid"],
|
["meta.tag.tag-name","woeid"],
|
||||||
|
|
@ -410,11 +315,8 @@
|
||||||
["meta.tag","</"],
|
["meta.tag","</"],
|
||||||
["meta.tag.tag-name","woeid"],
|
["meta.tag.tag-name","woeid"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["meta.tag","<"],
|
["meta.tag","<"],
|
||||||
["meta.tag.tag-name","placeTypeName"],
|
["meta.tag.tag-name","placeTypeName"],
|
||||||
|
|
@ -427,11 +329,8 @@
|
||||||
["meta.tag","</"],
|
["meta.tag","</"],
|
||||||
["meta.tag.tag-name","placeTypeName"],
|
["meta.tag.tag-name","placeTypeName"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["meta.tag","<"],
|
["meta.tag","<"],
|
||||||
["meta.tag.tag-name","name"],
|
["meta.tag.tag-name","name"],
|
||||||
|
|
@ -440,20 +339,14 @@
|
||||||
["meta.tag","</"],
|
["meta.tag","</"],
|
||||||
["meta.tag.tag-name","name"],
|
["meta.tag.tag-name","name"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["meta.tag","</"],
|
["meta.tag","</"],
|
||||||
["meta.tag.tag-name","place"],
|
["meta.tag.tag-name","place"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"tag_embed_attribute_list",
|
||||||
{
|
|
||||||
"state": "tag_embed_attribute_list",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["meta.tag","<"],
|
["meta.tag","<"],
|
||||||
["meta.tag.tag-name","place"],
|
["meta.tag.tag-name","place"],
|
||||||
|
|
@ -461,11 +354,8 @@
|
||||||
["entity.other.attribute-name","xmlns"],
|
["entity.other.attribute-name","xmlns"],
|
||||||
["keyword.operator","="],
|
["keyword.operator","="],
|
||||||
["string","\"http://where.yahooapis.com/v1/schema.rng\""]
|
["string","\"http://where.yahooapis.com/v1/schema.rng\""]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["entity.other.attribute-name","xml:lang"],
|
["entity.other.attribute-name","xml:lang"],
|
||||||
["keyword.operator","="],
|
["keyword.operator","="],
|
||||||
|
|
@ -475,11 +365,8 @@
|
||||||
["keyword.operator","="],
|
["keyword.operator","="],
|
||||||
["string","\"http://where.yahooapis.com/v1/place/24865671\""],
|
["string","\"http://where.yahooapis.com/v1/place/24865671\""],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["meta.tag","<"],
|
["meta.tag","<"],
|
||||||
["meta.tag.tag-name","woeid"],
|
["meta.tag.tag-name","woeid"],
|
||||||
|
|
@ -488,11 +375,8 @@
|
||||||
["meta.tag","</"],
|
["meta.tag","</"],
|
||||||
["meta.tag.tag-name","woeid"],
|
["meta.tag.tag-name","woeid"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["meta.tag","<"],
|
["meta.tag","<"],
|
||||||
["meta.tag.tag-name","placeTypeName"],
|
["meta.tag.tag-name","placeTypeName"],
|
||||||
|
|
@ -505,11 +389,8 @@
|
||||||
["meta.tag","</"],
|
["meta.tag","</"],
|
||||||
["meta.tag.tag-name","placeTypeName"],
|
["meta.tag.tag-name","placeTypeName"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["meta.tag","<"],
|
["meta.tag","<"],
|
||||||
["meta.tag.tag-name","name"],
|
["meta.tag.tag-name","name"],
|
||||||
|
|
@ -518,20 +399,14 @@
|
||||||
["meta.tag","</"],
|
["meta.tag","</"],
|
||||||
["meta.tag.tag-name","name"],
|
["meta.tag.tag-name","name"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["meta.tag","</"],
|
["meta.tag","</"],
|
||||||
["meta.tag.tag-name","place"],
|
["meta.tag.tag-name","place"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"tag_embed_attribute_list",
|
||||||
{
|
|
||||||
"state": "tag_embed_attribute_list",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["meta.tag","<"],
|
["meta.tag","<"],
|
||||||
["meta.tag.tag-name","place"],
|
["meta.tag.tag-name","place"],
|
||||||
|
|
@ -539,11 +414,8 @@
|
||||||
["entity.other.attribute-name","xmlns"],
|
["entity.other.attribute-name","xmlns"],
|
||||||
["keyword.operator","="],
|
["keyword.operator","="],
|
||||||
["string","\"http://where.yahooapis.com/v1/schema.rng\""]
|
["string","\"http://where.yahooapis.com/v1/schema.rng\""]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["entity.other.attribute-name","xml:lang"],
|
["entity.other.attribute-name","xml:lang"],
|
||||||
["keyword.operator","="],
|
["keyword.operator","="],
|
||||||
|
|
@ -553,11 +425,8 @@
|
||||||
["keyword.operator","="],
|
["keyword.operator","="],
|
||||||
["string","\"http://where.yahooapis.com/v1/place/24865672\""],
|
["string","\"http://where.yahooapis.com/v1/place/24865672\""],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["meta.tag","<"],
|
["meta.tag","<"],
|
||||||
["meta.tag.tag-name","woeid"],
|
["meta.tag.tag-name","woeid"],
|
||||||
|
|
@ -566,11 +435,8 @@
|
||||||
["meta.tag","</"],
|
["meta.tag","</"],
|
||||||
["meta.tag.tag-name","woeid"],
|
["meta.tag.tag-name","woeid"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["meta.tag","<"],
|
["meta.tag","<"],
|
||||||
["meta.tag.tag-name","placeTypeName"],
|
["meta.tag.tag-name","placeTypeName"],
|
||||||
|
|
@ -583,11 +449,8 @@
|
||||||
["meta.tag","</"],
|
["meta.tag","</"],
|
||||||
["meta.tag.tag-name","placeTypeName"],
|
["meta.tag.tag-name","placeTypeName"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["meta.tag","<"],
|
["meta.tag","<"],
|
||||||
["meta.tag.tag-name","name"],
|
["meta.tag.tag-name","name"],
|
||||||
|
|
@ -596,20 +459,14 @@
|
||||||
["meta.tag","</"],
|
["meta.tag","</"],
|
||||||
["meta.tag.tag-name","name"],
|
["meta.tag.tag-name","name"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["meta.tag","</"],
|
["meta.tag","</"],
|
||||||
["meta.tag.tag-name","place"],
|
["meta.tag.tag-name","place"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"tag_embed_attribute_list",
|
||||||
{
|
|
||||||
"state": "tag_embed_attribute_list",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["meta.tag","<"],
|
["meta.tag","<"],
|
||||||
["meta.tag.tag-name","place"],
|
["meta.tag.tag-name","place"],
|
||||||
|
|
@ -617,11 +474,8 @@
|
||||||
["entity.other.attribute-name","xmlns"],
|
["entity.other.attribute-name","xmlns"],
|
||||||
["keyword.operator","="],
|
["keyword.operator","="],
|
||||||
["string","\"http://where.yahooapis.com/v1/schema.rng\""]
|
["string","\"http://where.yahooapis.com/v1/schema.rng\""]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["entity.other.attribute-name","xml:lang"],
|
["entity.other.attribute-name","xml:lang"],
|
||||||
["keyword.operator","="],
|
["keyword.operator","="],
|
||||||
|
|
@ -631,11 +485,8 @@
|
||||||
["keyword.operator","="],
|
["keyword.operator","="],
|
||||||
["string","\"http://where.yahooapis.com/v1/place/55949070\""],
|
["string","\"http://where.yahooapis.com/v1/place/55949070\""],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["meta.tag","<"],
|
["meta.tag","<"],
|
||||||
["meta.tag.tag-name","woeid"],
|
["meta.tag.tag-name","woeid"],
|
||||||
|
|
@ -644,11 +495,8 @@
|
||||||
["meta.tag","</"],
|
["meta.tag","</"],
|
||||||
["meta.tag.tag-name","woeid"],
|
["meta.tag.tag-name","woeid"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["meta.tag","<"],
|
["meta.tag","<"],
|
||||||
["meta.tag.tag-name","placeTypeName"],
|
["meta.tag.tag-name","placeTypeName"],
|
||||||
|
|
@ -661,11 +509,8 @@
|
||||||
["meta.tag","</"],
|
["meta.tag","</"],
|
||||||
["meta.tag.tag-name","placeTypeName"],
|
["meta.tag.tag-name","placeTypeName"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["meta.tag","<"],
|
["meta.tag","<"],
|
||||||
["meta.tag.tag-name","name"],
|
["meta.tag.tag-name","name"],
|
||||||
|
|
@ -674,32 +519,21 @@
|
||||||
["meta.tag","</"],
|
["meta.tag","</"],
|
||||||
["meta.tag.tag-name","name"],
|
["meta.tag.tag-name","name"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["meta.tag","</"],
|
["meta.tag","</"],
|
||||||
["meta.tag.tag-name","place"],
|
["meta.tag.tag-name","place"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["meta.tag","</"],
|
["meta.tag","</"],
|
||||||
["meta.tag.tag-name","results"],
|
["meta.tag.tag-name","results"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["meta.tag","</"],
|
["meta.tag","</"],
|
||||||
["meta.tag.tag-name","query"],
|
["meta.tag.tag-name","query"],
|
||||||
["meta.tag.r",">"]
|
["meta.tag.r",">"]
|
||||||
]
|
]]
|
||||||
}
|
|
||||||
]
|
|
||||||
|
|
@ -1,43 +1,30 @@
|
||||||
[
|
[[
|
||||||
{
|
"start",
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","xquery"],
|
["keyword","xquery"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["keyword","version"],
|
["keyword","version"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["string","\"1.0\""],
|
["string","\"1.0\""],
|
||||||
["text",";"]
|
["text",";"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","let"],
|
["keyword","let"],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["variable","$message"],
|
["variable","$message"],
|
||||||
[ "text", " :" ],
|
["text"," "],
|
||||||
[ "keyword.operator", "=" ],
|
["keyword.operator",":="],
|
||||||
["text"," "],
|
["text"," "],
|
||||||
["string","\"Hello World!\""]
|
["string","\"Hello World!\""]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["keyword","return"],
|
["keyword","return"],
|
||||||
["text"," <"],
|
["text"," <"],
|
||||||
["meta.tag","results"],
|
["meta.tag","results"],
|
||||||
["text",">"]
|
["text",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text"," <"],
|
["text"," <"],
|
||||||
["meta.tag","message"],
|
["meta.tag","message"],
|
||||||
["text",">"],
|
["text",">"],
|
||||||
|
|
@ -47,18 +34,11 @@
|
||||||
["text","</"],
|
["text","</"],
|
||||||
["meta.tag","message"],
|
["meta.tag","message"],
|
||||||
["text",">"]
|
["text",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["text","</"],
|
["text","</"],
|
||||||
["meta.tag","results"],
|
["meta.tag","results"],
|
||||||
["text",">"]
|
["text",">"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
]]
|
||||||
"state": "start",
|
|
||||||
"data": []
|
|
||||||
}
|
|
||||||
]
|
|
||||||
|
|
@ -1,253 +1,150 @@
|
||||||
[
|
[[
|
||||||
{
|
"start",
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["comment","# This sample document was taken from wikipedia:"]
|
["comment","# This sample document was taken from wikipedia:"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["comment","# http://en.wikipedia.org/wiki/YAML#Sample_document"]
|
["comment","# http://en.wikipedia.org/wiki/YAML#Sample_document"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["list.markup","---"]
|
["list.markup","---"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["meta.tag","receipt"],
|
["meta.tag","receipt"],
|
||||||
["keyword",": "],
|
["keyword",": "],
|
||||||
["text","Oz-Ware Purchase Invoice"]
|
["text","Oz-Ware Purchase Invoice"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["meta.tag","date"],
|
["meta.tag","date"],
|
||||||
["keyword",": "],
|
["keyword",": "],
|
||||||
["constant.numeric","2007-08-06"]
|
["constant.numeric","2007-08-06"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["meta.tag","customer"],
|
["meta.tag","customer"],
|
||||||
["keyword",":"]
|
["keyword",":"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["meta.tag"," given"],
|
["meta.tag"," given"],
|
||||||
["keyword",": "],
|
["keyword",": "],
|
||||||
["text","Dorothy"]
|
["text","Dorothy"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["meta.tag"," family"],
|
["meta.tag"," family"],
|
||||||
["keyword",": "],
|
["keyword",": "],
|
||||||
["text","Gale"]
|
["text","Gale"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["meta.tag","items"],
|
["meta.tag","items"],
|
||||||
["keyword",":"]
|
["keyword",":"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["list.markup"," - "],
|
["list.markup"," - "],
|
||||||
["meta.tag","part_no"],
|
["meta.tag","part_no"],
|
||||||
["keyword",": "],
|
["keyword",": "],
|
||||||
["string","'A4786'"]
|
["string","'A4786'"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["meta.tag"," descrip"],
|
["meta.tag"," descrip"],
|
||||||
["keyword",": "],
|
["keyword",": "],
|
||||||
["text","Water Bucket "],
|
["text","Water Bucket "],
|
||||||
["paren.lparen","("],
|
["paren.lparen","("],
|
||||||
["text","Filled"],
|
["text","Filled"],
|
||||||
["paren.rparen",")"]
|
["paren.rparen",")"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["meta.tag"," price"],
|
["meta.tag"," price"],
|
||||||
["keyword",": "],
|
["keyword",": "],
|
||||||
["constant.numeric","1.47"]
|
["constant.numeric","1.47"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["meta.tag"," quantity"],
|
["meta.tag"," quantity"],
|
||||||
["keyword",": "],
|
["keyword",": "],
|
||||||
["constant.numeric","4"]
|
["constant.numeric","4"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["list.markup"," - "],
|
["list.markup"," - "],
|
||||||
["meta.tag","part_no"],
|
["meta.tag","part_no"],
|
||||||
["keyword",": "],
|
["keyword",": "],
|
||||||
["string","'E1628'"]
|
["string","'E1628'"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["meta.tag"," descrip"],
|
["meta.tag"," descrip"],
|
||||||
["keyword",": "],
|
["keyword",": "],
|
||||||
["text","High Heeled "],
|
["text","High Heeled "],
|
||||||
["string","\"Ruby\""],
|
["string","\"Ruby\""],
|
||||||
["text"," Slippers"]
|
["text"," Slippers"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["meta.tag"," size"],
|
["meta.tag"," size"],
|
||||||
["keyword",": "],
|
["keyword",": "],
|
||||||
["constant.numeric","8"]
|
["constant.numeric","8"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["meta.tag"," price"],
|
["meta.tag"," price"],
|
||||||
["keyword",": "],
|
["keyword",": "],
|
||||||
["constant.numeric","100.27"]
|
["constant.numeric","100.27"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["meta.tag"," quantity"],
|
["meta.tag"," quantity"],
|
||||||
["keyword",": "],
|
["keyword",": "],
|
||||||
["constant.numeric","1"]
|
["constant.numeric","1"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["meta.tag","bill-to"],
|
["meta.tag","bill-to"],
|
||||||
["keyword",": "],
|
["keyword",": "],
|
||||||
["constant.language","&id001"]
|
["constant.language","&id001"]
|
||||||
]
|
],[
|
||||||
},
|
"qqstring",
|
||||||
{
|
|
||||||
"state": "qqstring",
|
|
||||||
"data": [
|
|
||||||
["meta.tag"," street"],
|
["meta.tag"," street"],
|
||||||
["keyword",": "],
|
["keyword",": "],
|
||||||
["string","|"]
|
["string","|"]
|
||||||
]
|
],[
|
||||||
},
|
"qqstring",
|
||||||
{
|
|
||||||
"state": "qqstring",
|
|
||||||
"data": [
|
|
||||||
["string"," 123 Tornado Alley"]
|
["string"," 123 Tornado Alley"]
|
||||||
]
|
],[
|
||||||
},
|
"qqstring",
|
||||||
{
|
|
||||||
"state": "qqstring",
|
|
||||||
"data": [
|
|
||||||
["string"," Suite 16"]
|
["string"," Suite 16"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["meta.tag"," city"],
|
["meta.tag"," city"],
|
||||||
["keyword",": "],
|
["keyword",": "],
|
||||||
["text","East Centerville"]
|
["text","East Centerville"]
|
||||||
]
|
],[
|
||||||
},
|
"start",
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["meta.tag"," state"],
|
["meta.tag"," state"],
|
||||||
["keyword",": "],
|
["keyword",": "],
|
||||||
["text","KS"]
|
["text","KS"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"start",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "start",
|
|
||||||
"data": [
|
|
||||||
["meta.tag","ship-to"],
|
["meta.tag","ship-to"],
|
||||||
["keyword",": "],
|
["keyword",": "],
|
||||||
["constant.language","*id001"]
|
["constant.language","*id001"]
|
||||||
]
|
],[
|
||||||
},
|
"start"
|
||||||
{
|
],[
|
||||||
"state": "start",
|
"qqstring",
|
||||||
"data": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"state": "qqstring",
|
|
||||||
"data": [
|
|
||||||
["meta.tag","specialDelivery"],
|
["meta.tag","specialDelivery"],
|
||||||
["keyword",": "],
|
["keyword",": "],
|
||||||
["string",">"]
|
["string",">"]
|
||||||
]
|
],[
|
||||||
},
|
"qqstring",
|
||||||
{
|
|
||||||
"state": "qqstring",
|
|
||||||
"data": [
|
|
||||||
["string"," Follow the Yellow Brick"]
|
["string"," Follow the Yellow Brick"]
|
||||||
]
|
],[
|
||||||
},
|
"qqstring",
|
||||||
{
|
|
||||||
"state": "qqstring",
|
|
||||||
"data": [
|
|
||||||
["string"," Road to the Emerald City."]
|
["string"," Road to the Emerald City."]
|
||||||
]
|
],[
|
||||||
},
|
"qqstring",
|
||||||
{
|
|
||||||
"state": "qqstring",
|
|
||||||
"data": [
|
|
||||||
["string"," Pay no attention to the"]
|
["string"," Pay no attention to the"]
|
||||||
]
|
],[
|
||||||
},
|
"qqstring",
|
||||||
{
|
|
||||||
"state": "qqstring",
|
|
||||||
"data": [
|
|
||||||
["string"," man behind the curtain."]
|
["string"," man behind the curtain."]
|
||||||
]
|
],[
|
||||||
},
|
"qqstring"
|
||||||
{
|
]]
|
||||||
"state": "qqstring",
|
|
||||||
"data": []
|
|
||||||
}
|
|
||||||
]
|
|
||||||
|
|
@ -1,266 +0,0 @@
|
||||||
/* ***** BEGIN LICENSE BLOCK *****
|
|
||||||
* Distributed under the BSD license:
|
|
||||||
*
|
|
||||||
* Copyright (c) 2010, Ajax.org B.V.
|
|
||||||
* All rights reserved.
|
|
||||||
*
|
|
||||||
* Redistribution and use in source and binary forms, with or without
|
|
||||||
* modification, are permitted provided that the following conditions are met:
|
|
||||||
* * Redistributions of source code must retain the above copyright
|
|
||||||
* notice, this list of conditions and the following disclaimer.
|
|
||||||
* * Redistributions in binary form must reproduce the above copyright
|
|
||||||
* notice, this list of conditions and the following disclaimer in the
|
|
||||||
* documentation and/or other materials provided with the distribution.
|
|
||||||
* * Neither the name of Ajax.org B.V. nor the
|
|
||||||
* names of its contributors may be used to endorse or promote products
|
|
||||||
* derived from this software without specific prior written permission.
|
|
||||||
*
|
|
||||||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
|
||||||
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
|
||||||
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
||||||
* DISCLAIMED. IN NO EVENT SHALL AJAX.ORG B.V. BE LIABLE FOR ANY
|
|
||||||
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
|
||||||
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
|
||||||
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
|
|
||||||
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
||||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
|
||||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
||||||
*
|
|
||||||
* ***** END LICENSE BLOCK ***** */
|
|
||||||
|
|
||||||
if (typeof process !== "undefined") {
|
|
||||||
require("amd-loader");
|
|
||||||
}
|
|
||||||
|
|
||||||
define(function(require, exports, module) {
|
|
||||||
"use strict";
|
|
||||||
|
|
||||||
var Mode = require("./coffee").Mode;
|
|
||||||
var assert = require("../test/assertions");
|
|
||||||
|
|
||||||
module.exports = {
|
|
||||||
setUp : function() {
|
|
||||||
this.tokenizer = new Mode().getTokenizer();
|
|
||||||
this.testTokens = function(tokens, correct) {
|
|
||||||
assert.equal(tokens.length, correct.length);
|
|
||||||
correct.forEach(function(type, i) {
|
|
||||||
assert.equal(tokens[i].type, type);
|
|
||||||
});
|
|
||||||
};
|
|
||||||
},
|
|
||||||
|
|
||||||
"test: tokenize keyword": function() {
|
|
||||||
var tokens = this.tokenizer.getLineTokens("for", "start").tokens;
|
|
||||||
assert.equal(tokens.length, 1);
|
|
||||||
assert.equal(tokens[0].type, "keyword");
|
|
||||||
},
|
|
||||||
|
|
||||||
"test: tokenize regexp": function() {
|
|
||||||
var tokens = this.tokenizer.getLineTokens('/"[a]/', "start").tokens;
|
|
||||||
assert.equal(tokens.length, 1);
|
|
||||||
assert.equal(tokens[0].type, "string.regex");
|
|
||||||
},
|
|
||||||
|
|
||||||
"test: tokenize function: 'foo = ({args}) ->'": function() {
|
|
||||||
var tokens = this.tokenizer.getLineTokens("foo = ({args}) ->", "start").tokens;
|
|
||||||
var correct = [
|
|
||||||
"entity.name.function", "text", "keyword.operator", "text",
|
|
||||||
"paren.lparen", "variable.parameter", "paren.rparen", "text", "storage.type"
|
|
||||||
];
|
|
||||||
this.testTokens(tokens, correct);
|
|
||||||
|
|
||||||
tokens = this.tokenizer.getLineTokens("foo = ({a1, a2}) ->", "start").tokens;
|
|
||||||
this.testTokens(tokens, correct);
|
|
||||||
|
|
||||||
tokens = this.tokenizer.getLineTokens("foo = ({@a1, a2}) ->", "start").tokens;
|
|
||||||
this.testTokens(tokens, correct);
|
|
||||||
},
|
|
||||||
|
|
||||||
"test: tokenize function: 'foo : ({args}) ->'": function() {
|
|
||||||
var tokens = this.tokenizer.getLineTokens("foo : ({args}) ->", "start").tokens;
|
|
||||||
var correct = [
|
|
||||||
"entity.name.function", "text", "punctuation.operator", "text",
|
|
||||||
"paren.lparen", "variable.parameter", "paren.rparen", "text", "storage.type"
|
|
||||||
];
|
|
||||||
this.testTokens(tokens, correct);
|
|
||||||
},
|
|
||||||
|
|
||||||
"test: tokenize function: invalid case: 'foo = ({args}) ->'": function() {
|
|
||||||
var tokens = this.tokenizer.getLineTokens("foo = ({0abc}) ->", "start").tokens;
|
|
||||||
assert.notEqual(tokens[0].type, "entity.name.function");
|
|
||||||
|
|
||||||
tokens = this.tokenizer.getLineTokens("foo = ({/abc}) ->", "start").tokens;
|
|
||||||
assert.notEqual(tokens[0].type, "entity.name.function");
|
|
||||||
|
|
||||||
tokens = this.tokenizer.getLineTokens("foo = ({abc/}) ->", "start").tokens;
|
|
||||||
assert.notEqual(tokens[0].type, "entity.name.function");
|
|
||||||
|
|
||||||
tokens = this.tokenizer.getLineTokens("foo = ({#abc}) ->", "start").tokens;
|
|
||||||
assert.notEqual(tokens[0].type, "entity.name.function");
|
|
||||||
|
|
||||||
tokens = this.tokenizer.getLineTokens("foo = ({abc#}) ->", "start").tokens;
|
|
||||||
assert.notEqual(tokens[0].type, "entity.name.function");
|
|
||||||
|
|
||||||
tokens = this.tokenizer.getLineTokens("foo = ({)abc}) ->", "start").tokens;
|
|
||||||
assert.notEqual(tokens[0].type, "entity.name.function");
|
|
||||||
|
|
||||||
tokens = this.tokenizer.getLineTokens("foo = ({abc)}) ->", "start").tokens;
|
|
||||||
assert.notEqual(tokens[0].type, "entity.name.function");
|
|
||||||
|
|
||||||
tokens = this.tokenizer.getLineTokens("foo = ({a{bc}) ->", "start").tokens;
|
|
||||||
assert.notEqual(tokens[0].type, "entity.name.function");
|
|
||||||
},
|
|
||||||
|
|
||||||
"test: tokenize function: 'foo = ({}) ->'": function() {
|
|
||||||
var tokens = this.tokenizer.getLineTokens("foo = ({}) ->", "start").tokens;
|
|
||||||
var correct = [
|
|
||||||
"entity.name.function", "text", "keyword.operator", "text",
|
|
||||||
"paren.lparen", "paren.rparen", "text", "storage.type"
|
|
||||||
];
|
|
||||||
this.testTokens(tokens, correct);
|
|
||||||
|
|
||||||
tokens = this.tokenizer.getLineTokens("foo = ({ }) ->", "start").tokens;
|
|
||||||
correct = [
|
|
||||||
"entity.name.function", "text", "keyword.operator", "text",
|
|
||||||
"paren.lparen", "text", "paren.rparen", "text", "storage.type"
|
|
||||||
];
|
|
||||||
assert.equal(tokens.length, 9);
|
|
||||||
this.testTokens(tokens, correct);
|
|
||||||
},
|
|
||||||
|
|
||||||
"test: tokenize function: 'foo : ({}) ->'": function() {
|
|
||||||
var tokens = this.tokenizer.getLineTokens("foo : ({}) ->", "start").tokens;
|
|
||||||
var correct = [
|
|
||||||
"entity.name.function", "text", "punctuation.operator", "text",
|
|
||||||
"paren.lparen", "paren.rparen", "text", "storage.type"
|
|
||||||
];
|
|
||||||
this.testTokens(tokens, correct);
|
|
||||||
},
|
|
||||||
|
|
||||||
"test: tokenize function: 'foo = (args) ->'": function() {
|
|
||||||
var tokens = this.tokenizer.getLineTokens("foo = (args) ->", "start").tokens;
|
|
||||||
var correct = [
|
|
||||||
"entity.name.function", "text", "keyword.operator", "text",
|
|
||||||
"paren.lparen", "variable.parameter", "paren.rparen", "text", "storage.type"
|
|
||||||
];
|
|
||||||
this.testTokens(tokens, correct);
|
|
||||||
|
|
||||||
tokens = this.tokenizer.getLineTokens("foo = (arg1, arg2) ->", "start").tokens;
|
|
||||||
this.testTokens(tokens, correct);
|
|
||||||
|
|
||||||
tokens = this.tokenizer.getLineTokens("foo = (arg1 = 1, arg2 = 'name') ->", "start").tokens;
|
|
||||||
this.testTokens(tokens, correct);
|
|
||||||
|
|
||||||
tokens = this.tokenizer.getLineTokens("foo = (@arg1 = /abc/, arg2 = 'name') ->", "start").tokens;
|
|
||||||
this.testTokens(tokens, correct);
|
|
||||||
},
|
|
||||||
|
|
||||||
"test: tokenize function: invalid case: 'foo=(args) ->'": function() {
|
|
||||||
var tokens = this.tokenizer.getLineTokens("foo=(/args) ->", "start").tokens;
|
|
||||||
assert.notEqual(tokens[0].type, "entity.name.function");
|
|
||||||
},
|
|
||||||
|
|
||||||
"test: tokenize function: 'foo = () ->'": function() {
|
|
||||||
var tokens = this.tokenizer.getLineTokens("foo = () ->", "start").tokens;
|
|
||||||
var correct = [
|
|
||||||
"entity.name.function", "text", "keyword.operator", "text",
|
|
||||||
"paren.lparen", "paren.rparen", "text", "storage.type"
|
|
||||||
];
|
|
||||||
this.testTokens(tokens, correct);
|
|
||||||
|
|
||||||
tokens = this.tokenizer.getLineTokens("foo = ( ) ->", "start").tokens;
|
|
||||||
correct = [
|
|
||||||
"entity.name.function", "text", "keyword.operator", "text",
|
|
||||||
"paren.lparen", "text", "paren.rparen", "text", "storage.type"
|
|
||||||
];
|
|
||||||
this.testTokens(tokens, correct);
|
|
||||||
},
|
|
||||||
|
|
||||||
"test: tokenize function: 'foo : () ->'": function() {
|
|
||||||
var tokens = this.tokenizer.getLineTokens("foo : () ->", "start").tokens;
|
|
||||||
var correct = [
|
|
||||||
"entity.name.function", "text", "punctuation.operator", "text",
|
|
||||||
"paren.lparen", "paren.rparen", "text", "storage.type"
|
|
||||||
];
|
|
||||||
this.testTokens(tokens, correct);
|
|
||||||
|
|
||||||
tokens = this.tokenizer.getLineTokens("foo : ( ) ->", "start").tokens;
|
|
||||||
var correct = [
|
|
||||||
"entity.name.function", "text", "punctuation.operator", "text",
|
|
||||||
"paren.lparen", "text", "paren.rparen", "text", "storage.type"
|
|
||||||
];
|
|
||||||
this.testTokens(tokens, correct);
|
|
||||||
},
|
|
||||||
|
|
||||||
"test: tokenize function: 'window.foo = (args) ->'": function() {
|
|
||||||
var tokens = this.tokenizer.getLineTokens("window.foo = (args) ->", "start").tokens;
|
|
||||||
var correct = [
|
|
||||||
"variable.language", "punctuation.operator", "entity.name.function", "text", "keyword.operator", "text",
|
|
||||||
"paren.lparen", "variable.parameter", "paren.rparen", "text", "storage.type"
|
|
||||||
];
|
|
||||||
this.testTokens(tokens, correct);
|
|
||||||
},
|
|
||||||
|
|
||||||
"test: tokenize function: 'foo = ->'": function() {
|
|
||||||
var tokens = this.tokenizer.getLineTokens("foo = ->", "start").tokens;
|
|
||||||
var correct = [
|
|
||||||
"entity.name.function", "text", "keyword.operator", "text", "storage.type"
|
|
||||||
];
|
|
||||||
this.testTokens(tokens, correct);
|
|
||||||
},
|
|
||||||
|
|
||||||
"test: tokenize function: 'foo : ->'": function() {
|
|
||||||
var tokens = this.tokenizer.getLineTokens("foo : ->", "start").tokens;
|
|
||||||
var correct = [
|
|
||||||
"entity.name.function", "text", "punctuation.operator", "text", "storage.type"
|
|
||||||
];
|
|
||||||
this.testTokens(tokens, correct);
|
|
||||||
},
|
|
||||||
|
|
||||||
"test: tokenize callback function: 'foo bar: 1, (args) ->'": function() {
|
|
||||||
var tokens = this.tokenizer.getLineTokens("foo bar: 1, (args) ->", "start").tokens;
|
|
||||||
var correct = [
|
|
||||||
"identifier", "text", "identifier", "punctuation.operator", "text", "constant.numeric", "punctuation.operator", "text",
|
|
||||||
"paren.lparen", "variable.parameter", "paren.rparen", "text", "storage.type"
|
|
||||||
];
|
|
||||||
this.testTokens(tokens, correct);
|
|
||||||
},
|
|
||||||
|
|
||||||
"test: tokenize class: 'class Foo'": function() {
|
|
||||||
var tokens = this.tokenizer.getLineTokens("class Foo", "start").tokens;
|
|
||||||
var correct = [
|
|
||||||
"keyword", "text", "language.support.class"
|
|
||||||
];
|
|
||||||
this.testTokens(tokens, correct);
|
|
||||||
},
|
|
||||||
|
|
||||||
"test: tokenize class 'class Foo extends Bar'": function() {
|
|
||||||
var tokens = this.tokenizer.getLineTokens("class Foo extends Bar", "start").tokens;
|
|
||||||
var correct = [
|
|
||||||
"keyword", "text", "language.support.class", "text", "keyword", "text", "language.support.class"
|
|
||||||
];
|
|
||||||
this.testTokens(tokens, correct);
|
|
||||||
},
|
|
||||||
|
|
||||||
"test: tokenize illegal name property: 'foo.static.function'": function() {
|
|
||||||
var tokens = this.tokenizer.getLineTokens("foo.static.function", "start").tokens;
|
|
||||||
var correct = [
|
|
||||||
"identifier", "punctuation.operator", "identifier", "punctuation.operator", "identifier"
|
|
||||||
];
|
|
||||||
this.testTokens(tokens, correct);
|
|
||||||
},
|
|
||||||
|
|
||||||
// TODO: disable. not yet implemented
|
|
||||||
"!test tokenize string with interpolation": function() {
|
|
||||||
var tokens = this.tokenizer.getLineTokens('"#{ 22 / 7 } is a decent approximation of π"', "start").tokens;
|
|
||||||
console.log(tokens);
|
|
||||||
assert.equal(tokens.length, 12);
|
|
||||||
//assert.equal(tokens[0].type, "keyword");
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
});
|
|
||||||
|
|
||||||
if (typeof module !== "undefined" && module === require.main) {
|
|
||||||
require("asyncjs").test.testcase(module.exports).exec();
|
|
||||||
}
|
|
||||||
|
|
@ -1,202 +0,0 @@
|
||||||
/* ***** BEGIN LICENSE BLOCK *****
|
|
||||||
* Distributed under the BSD license:
|
|
||||||
*
|
|
||||||
* Copyright (c) 2010, Ajax.org B.V.
|
|
||||||
* All rights reserved.
|
|
||||||
*
|
|
||||||
* Redistribution and use in source and binary forms, with or without
|
|
||||||
* modification, are permitted provided that the following conditions are met:
|
|
||||||
* * Redistributions of source code must retain the above copyright
|
|
||||||
* notice, this list of conditions and the following disclaimer.
|
|
||||||
* * Redistributions in binary form must reproduce the above copyright
|
|
||||||
* notice, this list of conditions and the following disclaimer in the
|
|
||||||
* documentation and/or other materials provided with the distribution.
|
|
||||||
* * Neither the name of Ajax.org B.V. nor the
|
|
||||||
* names of its contributors may be used to endorse or promote products
|
|
||||||
* derived from this software without specific prior written permission.
|
|
||||||
*
|
|
||||||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
|
||||||
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
|
||||||
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
||||||
* DISCLAIMED. IN NO EVENT SHALL AJAX.ORG B.V. BE LIABLE FOR ANY
|
|
||||||
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
|
||||||
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
|
||||||
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
|
|
||||||
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
||||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
|
||||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
||||||
*
|
|
||||||
* ***** END LICENSE BLOCK ***** */
|
|
||||||
|
|
||||||
if (typeof process !== "undefined") {
|
|
||||||
require("amd-loader");
|
|
||||||
}
|
|
||||||
|
|
||||||
define(function(require, exports, module) {
|
|
||||||
"use strict";
|
|
||||||
|
|
||||||
var CurlyMode = require("./curly").Mode;
|
|
||||||
var assert = require("../test/assertions");
|
|
||||||
|
|
||||||
var testData = {
|
|
||||||
"test: tokenize Curly template" : [{
|
|
||||||
text: "{{test}}",
|
|
||||||
state: ["start", "start"],
|
|
||||||
tokens: [{
|
|
||||||
type: "variable",
|
|
||||||
value: "{{"
|
|
||||||
}, {
|
|
||||||
type: "text",
|
|
||||||
value: "test"
|
|
||||||
}, {
|
|
||||||
type: "variable",
|
|
||||||
value: "}}"
|
|
||||||
}]
|
|
||||||
}],
|
|
||||||
|
|
||||||
"test: tokenize embedded script" : [{
|
|
||||||
text: "<script a='a'>var</script>'123'",
|
|
||||||
state: ["start", "start"],
|
|
||||||
tokens: [{
|
|
||||||
type: "meta.tag",
|
|
||||||
value: "<"
|
|
||||||
}, {
|
|
||||||
type: "meta.tag.tag-name.script",
|
|
||||||
value: "script"
|
|
||||||
}, {
|
|
||||||
type: "text",
|
|
||||||
value: " "
|
|
||||||
}, {
|
|
||||||
type: "entity.other.attribute-name",
|
|
||||||
value: "a"
|
|
||||||
}, {
|
|
||||||
type: "keyword.operator",
|
|
||||||
value: "="
|
|
||||||
}, {
|
|
||||||
type: "string",
|
|
||||||
value: "'a'"
|
|
||||||
}, {
|
|
||||||
type: "meta.tag.r",
|
|
||||||
value: ">"
|
|
||||||
}, {
|
|
||||||
type: "storage.type",
|
|
||||||
value: "var"
|
|
||||||
}, {
|
|
||||||
type: "meta.tag",
|
|
||||||
value: "</"
|
|
||||||
}, {
|
|
||||||
type: "meta.tag.tag-name.script",
|
|
||||||
value: "script"
|
|
||||||
}, {
|
|
||||||
type: "meta.tag.r",
|
|
||||||
value: ">"
|
|
||||||
}, {
|
|
||||||
type: "text",
|
|
||||||
value: "'123'"
|
|
||||||
}]
|
|
||||||
}],
|
|
||||||
|
|
||||||
"test: tokenize multiline attribute value with double quotes": [{
|
|
||||||
text: "<a href=\"abc",
|
|
||||||
state: [ "start", "tag_qqstring"],
|
|
||||||
tokens: [{
|
|
||||||
type: "meta.tag",
|
|
||||||
value: "<"
|
|
||||||
}, {
|
|
||||||
type: "meta.tag.tag-name.anchor",
|
|
||||||
value: "a"
|
|
||||||
}, {
|
|
||||||
type: "text",
|
|
||||||
value: " "
|
|
||||||
}, {
|
|
||||||
type: "entity.other.attribute-name",
|
|
||||||
value: "href"
|
|
||||||
}, {
|
|
||||||
type: "keyword.operator",
|
|
||||||
value: "="
|
|
||||||
}, {
|
|
||||||
type: "string",
|
|
||||||
value: "\"abc"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}, {
|
|
||||||
text: "def\">",
|
|
||||||
state: [ "tag_qqstring", "start" ],
|
|
||||||
tokens: [ {
|
|
||||||
type: "string",
|
|
||||||
value: "def\""
|
|
||||||
}, {
|
|
||||||
type: "meta.tag.r",
|
|
||||||
value: ">"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}],
|
|
||||||
|
|
||||||
"test: tokenize multiline attribute value with single quotes": [{
|
|
||||||
text: "<a href='abc",
|
|
||||||
state: ["start", "tag_qstring"],
|
|
||||||
tokens: [{
|
|
||||||
type: "meta.tag",
|
|
||||||
value: "<"
|
|
||||||
}, {
|
|
||||||
type: "meta.tag.tag-name.anchor",
|
|
||||||
value: "a"
|
|
||||||
}, {
|
|
||||||
type: "text",
|
|
||||||
value: " "
|
|
||||||
}, {
|
|
||||||
type: "entity.other.attribute-name",
|
|
||||||
value: "href"
|
|
||||||
}, {
|
|
||||||
type: "keyword.operator",
|
|
||||||
value: "="
|
|
||||||
}, {
|
|
||||||
type: "string",
|
|
||||||
value: "'abc"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}, {
|
|
||||||
text: "def\"'>",
|
|
||||||
state: [ "tag_qstring", "start" ],
|
|
||||||
tokens: [ {
|
|
||||||
type: "string",
|
|
||||||
value: "def\"'"
|
|
||||||
}, {
|
|
||||||
type: "meta.tag.r",
|
|
||||||
value: ">"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}]
|
|
||||||
};
|
|
||||||
|
|
||||||
function generateTest(exampleData) {
|
|
||||||
return function testTokenizer() {
|
|
||||||
for (var i = 0; i < exampleData.length; i++) {
|
|
||||||
var s = exampleData[i];
|
|
||||||
|
|
||||||
var lineTokens = tokenizer.getLineTokens(s.text, s.state[0]);
|
|
||||||
|
|
||||||
assert.equal(
|
|
||||||
JSON.stringify(lineTokens, null, 4),
|
|
||||||
JSON.stringify({tokens:s.tokens, state: s.state[1]}, null, 4)
|
|
||||||
);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
var tokenizer;
|
|
||||||
module.exports = {
|
|
||||||
setUp : function() {
|
|
||||||
tokenizer = new CurlyMode().getTokenizer();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
for (var i in testData) {
|
|
||||||
module.exports[i] = generateTest(testData[i])
|
|
||||||
}
|
|
||||||
|
|
||||||
});
|
|
||||||
|
|
||||||
if (typeof module !== "undefined" && module === require.main) {
|
|
||||||
require("asyncjs").test.testcase(module.exports).exec();
|
|
||||||
}
|
|
||||||
|
|
@ -1,215 +0,0 @@
|
||||||
/* ***** BEGIN LICENSE BLOCK *****
|
|
||||||
* Distributed under the BSD license:
|
|
||||||
*
|
|
||||||
* Copyright (c) 2010, Ajax.org B.V.
|
|
||||||
* All rights reserved.
|
|
||||||
*
|
|
||||||
* Redistribution and use in source and binary forms, with or without
|
|
||||||
* modification, are permitted provided that the following conditions are met:
|
|
||||||
* * Redistributions of source code must retain the above copyright
|
|
||||||
* notice, this list of conditions and the following disclaimer.
|
|
||||||
* * Redistributions in binary form must reproduce the above copyright
|
|
||||||
* notice, this list of conditions and the following disclaimer in the
|
|
||||||
* documentation and/or other materials provided with the distribution.
|
|
||||||
* * Neither the name of Ajax.org B.V. nor the
|
|
||||||
* names of its contributors may be used to endorse or promote products
|
|
||||||
* derived from this software without specific prior written permission.
|
|
||||||
*
|
|
||||||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
|
||||||
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
|
||||||
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
||||||
* DISCLAIMED. IN NO EVENT SHALL AJAX.ORG B.V. BE LIABLE FOR ANY
|
|
||||||
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
|
||||||
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
|
||||||
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
|
|
||||||
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
||||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
|
||||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
||||||
*
|
|
||||||
* ***** END LICENSE BLOCK ***** */
|
|
||||||
|
|
||||||
if (typeof process !== "undefined") {
|
|
||||||
require("amd-loader");
|
|
||||||
}
|
|
||||||
|
|
||||||
define(function(require, exports, module) {
|
|
||||||
"use strict";
|
|
||||||
|
|
||||||
var JavaScriptMode = require("./javascript").Mode;
|
|
||||||
var assert = require("../test/assertions");
|
|
||||||
|
|
||||||
module.exports = {
|
|
||||||
|
|
||||||
name: "JavaScript Tokenizer",
|
|
||||||
|
|
||||||
setUp : function() {
|
|
||||||
this.tokenizer = new JavaScriptMode().getTokenizer();
|
|
||||||
},
|
|
||||||
|
|
||||||
"test: tokenize1" : function() {
|
|
||||||
var line = "foo = function";
|
|
||||||
|
|
||||||
var tokens = this.tokenizer.getLineTokens(line, "start").tokens;
|
|
||||||
|
|
||||||
assert.equal(5, tokens.length);
|
|
||||||
assert.equal("identifier", tokens[0].type);
|
|
||||||
assert.equal("text", tokens[1].type);
|
|
||||||
assert.equal("keyword.operator", tokens[2].type);
|
|
||||||
assert.equal("text", tokens[3].type);
|
|
||||||
assert.equal("storage.type", tokens[4].type);
|
|
||||||
},
|
|
||||||
|
|
||||||
"test: tokenize 'standard' functions" : function() {
|
|
||||||
var line = "string.charCodeAt(23); document.getElementById('test'); console.log('Here it is');";
|
|
||||||
|
|
||||||
var tokens = this.tokenizer.getLineTokens(line, "start").tokens;
|
|
||||||
|
|
||||||
assert.equal(23, tokens.length);
|
|
||||||
assert.equal("support.function", tokens[2].type); // charCodeAt
|
|
||||||
assert.equal("support.function.dom", tokens[10].type); // getElementById
|
|
||||||
assert.equal("support.function.firebug", tokens[18].type); // log
|
|
||||||
},
|
|
||||||
|
|
||||||
"test: tokenize doc comment" : function() {
|
|
||||||
var line = "abc /** de */ fg";
|
|
||||||
|
|
||||||
var tokens = this.tokenizer.getLineTokens(line, "start").tokens;
|
|
||||||
|
|
||||||
assert.equal(5, tokens.length);
|
|
||||||
assert.equal("identifier", tokens[0].type);
|
|
||||||
assert.equal("text", tokens[1].type);
|
|
||||||
assert.equal("comment.doc", tokens[2].type);
|
|
||||||
assert.equal("text", tokens[3].type);
|
|
||||||
assert.equal("identifier", tokens[4].type);
|
|
||||||
},
|
|
||||||
|
|
||||||
"test: tokenize doc comment with tag" : function() {
|
|
||||||
var line = "/** @param {} */";
|
|
||||||
|
|
||||||
var tokens = this.tokenizer.getLineTokens(line, "start").tokens;
|
|
||||||
|
|
||||||
assert.equal(3, tokens.length);
|
|
||||||
assert.equal("comment.doc", tokens[0].type);
|
|
||||||
assert.equal("comment.doc.tag", tokens[1].type);
|
|
||||||
assert.equal("comment.doc", tokens[2].type);
|
|
||||||
},
|
|
||||||
|
|
||||||
"test: tokenize parens" : function() {
|
|
||||||
var line = "[{( )}]";
|
|
||||||
|
|
||||||
var tokens = this.tokenizer.getLineTokens(line, "start").tokens;
|
|
||||||
|
|
||||||
// TODO is it useful to keep parens in separate tokens?
|
|
||||||
assert.equal(3, tokens.length);
|
|
||||||
assert.equal("paren.lparen", tokens[0].type);
|
|
||||||
assert.equal("text", tokens[1].type);
|
|
||||||
assert.equal("paren.rparen", tokens[2].type);
|
|
||||||
},
|
|
||||||
|
|
||||||
"test for last rule in ruleset to catch capturing group bugs" : function() {
|
|
||||||
var tokens = this.tokenizer.getLineTokens("}", "start").tokens;
|
|
||||||
|
|
||||||
assert.equal(1, tokens.length);
|
|
||||||
assert.equal("paren.rparen", tokens[0].type);
|
|
||||||
},
|
|
||||||
|
|
||||||
"test tokenize arithmetic expression which looks like a regexp": function() {
|
|
||||||
var tokens = this.tokenizer.getLineTokens("a/b/c", "start").tokens;
|
|
||||||
assert.equal(5, tokens.length);
|
|
||||||
|
|
||||||
var tokens = this.tokenizer.getLineTokens("a/=b/c", "start").tokens;
|
|
||||||
assert.equal(5, tokens.length);
|
|
||||||
},
|
|
||||||
|
|
||||||
"test tokenize reg exps" : function() {
|
|
||||||
var tokens = this.tokenizer.getLineTokens("a=/b/g", "start").tokens;
|
|
||||||
assert.equal(3, tokens.length);
|
|
||||||
assert.equal("string.regexp", tokens[2].type);
|
|
||||||
|
|
||||||
var tokens = this.tokenizer.getLineTokens("a+/b/g", "start").tokens;
|
|
||||||
assert.equal(3, tokens.length);
|
|
||||||
assert.equal("string.regexp", tokens[2].type);
|
|
||||||
|
|
||||||
var tokens = this.tokenizer.getLineTokens("a = 1 + /2 + 1/b", "start").tokens;
|
|
||||||
assert.equal(11, tokens.length);
|
|
||||||
assert.equal("string.regexp", tokens[8].type);
|
|
||||||
|
|
||||||
var tokens = this.tokenizer.getLineTokens("a=/a/ / /a/", "start").tokens;
|
|
||||||
assert.equal(7, tokens.length);
|
|
||||||
assert.equal("string.regexp", tokens[2].type);
|
|
||||||
assert.equal("string.regexp", tokens[6].type);
|
|
||||||
|
|
||||||
var tokens = this.tokenizer.getLineTokens("case /a/.test(c)", "start").tokens;
|
|
||||||
assert.equal(8, tokens.length);
|
|
||||||
assert.equal("string.regexp", tokens[2].type);
|
|
||||||
},
|
|
||||||
|
|
||||||
"test tokenize multi-line comment containing a single line comment" : function() {
|
|
||||||
var tokens = this.tokenizer.getLineTokens("/* foo // bar */", "start").tokens;
|
|
||||||
assert.equal(1, tokens.length);
|
|
||||||
assert.equal("comment", tokens[0].type);
|
|
||||||
|
|
||||||
var tokens = this.tokenizer.getLineTokens("/* foo // bar */", "regex_allowed").tokens;
|
|
||||||
assert.equal(1, tokens.length);
|
|
||||||
assert.equal("comment", tokens[0].type);
|
|
||||||
},
|
|
||||||
|
|
||||||
"test tokenize identifier with umlauts": function() {
|
|
||||||
var tokens = this.tokenizer.getLineTokens("füße", "start").tokens;
|
|
||||||
assert.equal(1, tokens.length);
|
|
||||||
},
|
|
||||||
|
|
||||||
"test // is not a regexp": function() {
|
|
||||||
var tokens = this.tokenizer.getLineTokens("{ // 123", "start").tokens;
|
|
||||||
assert.equal(3, tokens.length);
|
|
||||||
assert.equal("paren.lparen", tokens[0].type);
|
|
||||||
assert.equal("text", tokens[1].type);
|
|
||||||
assert.equal("comment", tokens[2].type);
|
|
||||||
},
|
|
||||||
|
|
||||||
"test skipping escaped chars": function() {
|
|
||||||
var line = "console.log('Meh\\nNeh');"
|
|
||||||
var tokens = this.tokenizer.getLineTokens(line, "start").tokens;
|
|
||||||
|
|
||||||
assert.equal(9, tokens.length);
|
|
||||||
assert.equal("constant.language.escape", tokens[5].type);
|
|
||||||
|
|
||||||
line = "console.log('\\u1232Feh');";
|
|
||||||
tokens = this.tokenizer.getLineTokens(line, "start").tokens;
|
|
||||||
|
|
||||||
assert.equal(9, tokens.length);
|
|
||||||
assert.equal("constant.language.escape", tokens[5].type);
|
|
||||||
},
|
|
||||||
|
|
||||||
"test multiline strings": function() {
|
|
||||||
var line = "console.log('Meh\\"
|
|
||||||
var data = this.tokenizer.getLineTokens(line, "start")
|
|
||||||
|
|
||||||
assert.equal(5, data.tokens.length);
|
|
||||||
assert.equal(data.state, "qstring");
|
|
||||||
|
|
||||||
line = "console.log('Meh\\ "
|
|
||||||
data = this.tokenizer.getLineTokens(line, "start")
|
|
||||||
|
|
||||||
assert.equal(6, data.tokens.length);
|
|
||||||
assert.equal(data.state, "start");
|
|
||||||
|
|
||||||
line = 'console.log("\\'
|
|
||||||
data = this.tokenizer.getLineTokens(line, "start")
|
|
||||||
|
|
||||||
assert.equal(5, data.tokens.length);
|
|
||||||
assert.equal(data.state, "qqstring");
|
|
||||||
|
|
||||||
line = 'a="'
|
|
||||||
data = this.tokenizer.getLineTokens(line, "start")
|
|
||||||
|
|
||||||
assert.equal(3, data.tokens.length);
|
|
||||||
assert.equal(data.state, "start");
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
});
|
|
||||||
|
|
||||||
if (typeof module !== "undefined" && module === require.main) {
|
|
||||||
require("asyncjs").test.testcase(module.exports).exec()
|
|
||||||
}
|
|
||||||
|
|
@ -1,99 +0,0 @@
|
||||||
if (typeof process !== "undefined") {
|
|
||||||
require("amd-loader");
|
|
||||||
}
|
|
||||||
|
|
||||||
define(function(require, exports, module) {
|
|
||||||
"use strict";
|
|
||||||
|
|
||||||
var LuceneMode = require("./lucene").Mode;
|
|
||||||
var assert = require("../test/assertions");
|
|
||||||
|
|
||||||
module.exports = {
|
|
||||||
|
|
||||||
name: "Lucene Tokenizer",
|
|
||||||
|
|
||||||
setUp : function() {
|
|
||||||
this.tokenizer = new LuceneMode().getTokenizer();
|
|
||||||
},
|
|
||||||
|
|
||||||
"test: recognises AND as keyword" : function() {
|
|
||||||
var tokens = this.tokenizer.getLineTokens("AND", "start").tokens;
|
|
||||||
assert.equal("keyword.operator", tokens[0].type);
|
|
||||||
},
|
|
||||||
|
|
||||||
"test: recognises OR as keyword" : function() {
|
|
||||||
var tokens = this.tokenizer.getLineTokens("OR", "start").tokens;
|
|
||||||
assert.equal("keyword.operator", tokens[0].type);
|
|
||||||
},
|
|
||||||
|
|
||||||
"test: recognises NOT as keyword" : function() {
|
|
||||||
var tokens = this.tokenizer.getLineTokens("NOT", "start").tokens;
|
|
||||||
assert.equal("keyword.operator", tokens[0].type);
|
|
||||||
},
|
|
||||||
|
|
||||||
'test: recognises "hello this is dog" as string' : function() {
|
|
||||||
var tokens = this.tokenizer.getLineTokens('"hello this is dog"', "start").tokens;
|
|
||||||
assert.equal("string", tokens[0].type);
|
|
||||||
},
|
|
||||||
|
|
||||||
'test: recognises -"hello this is dog" as negation with string' : function() {
|
|
||||||
var tokens = this.tokenizer.getLineTokens('-"hello this is dog"', "start").tokens;
|
|
||||||
assert.equal("constant.character.negation", tokens[0].type);
|
|
||||||
assert.equal("string", tokens[1].type);
|
|
||||||
},
|
|
||||||
|
|
||||||
'test: recognises ~100 as text with proximity' : function() {
|
|
||||||
var tokens = this.tokenizer.getLineTokens('~100', "start").tokens;
|
|
||||||
assert.equal("constant.character.proximity", tokens[0].type);
|
|
||||||
},
|
|
||||||
|
|
||||||
'test: recognises "hello this is dog"~100 as string with proximity' : function() {
|
|
||||||
var tokens = this.tokenizer.getLineTokens('"hello this is dog"~100', "start").tokens;
|
|
||||||
|
|
||||||
assert.equal("string", tokens[0].type);
|
|
||||||
assert.equal("constant.character.proximity", tokens[1].type);
|
|
||||||
},
|
|
||||||
|
|
||||||
'test: recognises raw:"hello this is dog" as keyword' : function() {
|
|
||||||
var tokens = this.tokenizer.getLineTokens('raw:"hello this is dog"', "start").tokens;
|
|
||||||
assert.equal("keyword", tokens[0].type);
|
|
||||||
},
|
|
||||||
|
|
||||||
'test: recognises raw:foo as"keyword' : function() {
|
|
||||||
var tokens = this.tokenizer.getLineTokens('raw:foo', "start").tokens;
|
|
||||||
assert.equal("keyword", tokens[0].type);
|
|
||||||
},
|
|
||||||
|
|
||||||
'test: recognises "(" as opening parenthesis' : function() {
|
|
||||||
var tokens = this.tokenizer.getLineTokens('(', "start").tokens;
|
|
||||||
assert.equal("paren.lparen", tokens[0].type);
|
|
||||||
},
|
|
||||||
|
|
||||||
'test: recognises ")" as closing parenthesis' : function() {
|
|
||||||
var tokens = this.tokenizer.getLineTokens(')', "start").tokens;
|
|
||||||
assert.equal("paren.rparen", tokens[0].type);
|
|
||||||
},
|
|
||||||
|
|
||||||
'test: recognises foo* as text with asterisk' : function() {
|
|
||||||
var tokens = this.tokenizer.getLineTokens('foo*', "start").tokens;
|
|
||||||
assert.equal("text", tokens[0].type);
|
|
||||||
assert.equal("constant.character.asterisk", tokens[1].type);
|
|
||||||
},
|
|
||||||
|
|
||||||
'test: recognises foo? as text with interro' : function() {
|
|
||||||
var tokens = this.tokenizer.getLineTokens('foo?', "start").tokens;
|
|
||||||
assert.equal("text", tokens[0].type);
|
|
||||||
assert.equal("constant.character.interro", tokens[1].type);
|
|
||||||
},
|
|
||||||
|
|
||||||
'test: recognises single word as text' : function() {
|
|
||||||
var tokens = this.tokenizer.getLineTokens(' foo', "start").tokens;
|
|
||||||
assert.equal("text", tokens[0].type);
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
});
|
|
||||||
|
|
||||||
if (typeof module !== "undefined" && module === require.main) {
|
|
||||||
require("asyncjs").test.testcase(module.exports).exec();
|
|
||||||
}
|
|
||||||
|
|
@ -1,100 +0,0 @@
|
||||||
/* ***** BEGIN LICENSE BLOCK *****
|
|
||||||
* Distributed under the BSD license:
|
|
||||||
*
|
|
||||||
* Copyright (c) 2012, Ajax.org B.V.
|
|
||||||
* All rights reserved.
|
|
||||||
*
|
|
||||||
* Redistribution and use in source and binary forms, with or without
|
|
||||||
* modification, are permitted provided that the following conditions are met:
|
|
||||||
* * Redistributions of source code must retain the above copyright
|
|
||||||
* notice, this list of conditions and the following disclaimer.
|
|
||||||
* * Redistributions in binary form must reproduce the above copyright
|
|
||||||
* notice, this list of conditions and the following disclaimer in the
|
|
||||||
* documentation and/or other materials provided with the distribution.
|
|
||||||
* * Neither the name of Ajax.org B.V. nor the
|
|
||||||
* names of its contributors may be used to endorse or promote products
|
|
||||||
* derived from this software without specific prior written permission.
|
|
||||||
*
|
|
||||||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
|
||||||
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
|
||||||
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
||||||
* DISCLAIMED. IN NO EVENT SHALL AJAX.ORG B.V. BE LIABLE FOR ANY
|
|
||||||
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
|
||||||
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
|
||||||
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
|
|
||||||
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
||||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
|
||||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
||||||
*
|
|
||||||
*
|
|
||||||
* Contributor(s):
|
|
||||||
*
|
|
||||||
* quexer <quexer AT gmail DOT com>
|
|
||||||
*
|
|
||||||
* ***** END LICENSE BLOCK ***** */
|
|
||||||
|
|
||||||
if (typeof process !== "undefined") {
|
|
||||||
require("amd-loader");
|
|
||||||
}
|
|
||||||
|
|
||||||
define(function(require, exports, module) {
|
|
||||||
"use strict";
|
|
||||||
|
|
||||||
var Mode = require("./markdown").Mode;
|
|
||||||
var assert = require("../test/assertions");
|
|
||||||
|
|
||||||
module.exports = {
|
|
||||||
setUp : function() {
|
|
||||||
this.tokenizer = new Mode().getTokenizer();
|
|
||||||
},
|
|
||||||
|
|
||||||
"test: header 1 ": function() {
|
|
||||||
var tokens = this.tokenizer.getLineTokens("#f", "start").tokens;
|
|
||||||
assert.equal(tokens.length, 1);
|
|
||||||
assert.equal(tokens[0].type, 'markup.heading.1');
|
|
||||||
},
|
|
||||||
|
|
||||||
"test: header 2": function() {
|
|
||||||
var tokens = this.tokenizer.getLineTokens("## foo", "start").tokens;
|
|
||||||
assert.equal(tokens.length, 1);
|
|
||||||
assert.equal(tokens[0].type, 'markup.heading.2');
|
|
||||||
},
|
|
||||||
|
|
||||||
"test: header ends with ' #'": function() {
|
|
||||||
var tokens = this.tokenizer.getLineTokens("# # # ", "start").tokens;
|
|
||||||
assert.equal(tokens.length, 1);
|
|
||||||
assert.equal(tokens[0].type, 'markup.heading.1');
|
|
||||||
},
|
|
||||||
|
|
||||||
"test: header ends with '#'": function() {
|
|
||||||
var tokens = this.tokenizer.getLineTokens("#foo# ", "start").tokens;
|
|
||||||
assert.equal(tokens.length, 1);
|
|
||||||
assert.equal(tokens[0].type, 'markup.heading.1');
|
|
||||||
},
|
|
||||||
|
|
||||||
"test: 6+ #s is not a valid header": function() {
|
|
||||||
var tokens = this.tokenizer.getLineTokens("####### foo", "start").tokens;
|
|
||||||
assert.equal(tokens.length, 1);
|
|
||||||
assert.equal(tokens[0].type, 'text');
|
|
||||||
},
|
|
||||||
|
|
||||||
"test: # followed be only space is not a valid header": function() {
|
|
||||||
var tokens = this.tokenizer.getLineTokens("# ", "start").tokens;
|
|
||||||
assert.equal(tokens.length, 1);
|
|
||||||
assert.equal(tokens[0].type, 'text');
|
|
||||||
},
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
"test: only space between #s is not a valid header": function() {
|
|
||||||
var tokens = this.tokenizer.getLineTokens("# #", "start").tokens;
|
|
||||||
assert.equal(tokens.length, 1);
|
|
||||||
assert.equal(tokens[0].type, 'text');
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
});
|
|
||||||
|
|
||||||
if (typeof module !== "undefined" && module === require.main) {
|
|
||||||
require("asyncjs").test.testcase(module.exports).exec();
|
|
||||||
}
|
|
||||||
|
|
@ -1,108 +0,0 @@
|
||||||
/* ***** BEGIN LICENSE BLOCK *****
|
|
||||||
* Distributed under the BSD license:
|
|
||||||
*
|
|
||||||
* Copyright (c) 2010, Ajax.org B.V.
|
|
||||||
* All rights reserved.
|
|
||||||
*
|
|
||||||
* Redistribution and use in source and binary forms, with or without
|
|
||||||
* modification, are permitted provided that the following conditions are met:
|
|
||||||
* * Redistributions of source code must retain the above copyright
|
|
||||||
* notice, this list of conditions and the following disclaimer.
|
|
||||||
* * Redistributions in binary form must reproduce the above copyright
|
|
||||||
* notice, this list of conditions and the following disclaimer in the
|
|
||||||
* documentation and/or other materials provided with the distribution.
|
|
||||||
* * Neither the name of Ajax.org B.V. nor the
|
|
||||||
* names of its contributors may be used to endorse or promote products
|
|
||||||
* derived from this software without specific prior written permission.
|
|
||||||
*
|
|
||||||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
|
||||||
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
|
||||||
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
||||||
* DISCLAIMED. IN NO EVENT SHALL AJAX.ORG B.V. BE LIABLE FOR ANY
|
|
||||||
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
|
||||||
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
|
||||||
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
|
|
||||||
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
||||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
|
||||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
||||||
*
|
|
||||||
* ***** END LICENSE BLOCK ***** */
|
|
||||||
|
|
||||||
if (typeof process !== "undefined") {
|
|
||||||
require("amd-loader");
|
|
||||||
}
|
|
||||||
|
|
||||||
define(function(require, exports, module) {
|
|
||||||
"use strict";
|
|
||||||
|
|
||||||
var RubyMode = require("./ruby").Mode;
|
|
||||||
var assert = require("../test/assertions");
|
|
||||||
|
|
||||||
module.exports = {
|
|
||||||
|
|
||||||
name: "Ruby Tokenizer",
|
|
||||||
|
|
||||||
setUp : function() {
|
|
||||||
this.tokenizer = new RubyMode().getTokenizer();
|
|
||||||
},
|
|
||||||
|
|
||||||
"test: symbol tokenizer" : function() {
|
|
||||||
// https://gist.github.com/1072693
|
|
||||||
assertValidTokens(this.tokenizer, "constant.other.symbol.ruby",
|
|
||||||
[":@thing", ":$thing", ":_thing", ":thing", ":Thing", ":thing1", ":thing_a",
|
|
||||||
":THING", ":thing!", ":thing=", ":thing?", ":t?"]);
|
|
||||||
assertInvalidTokens(this.tokenizer, "constant.other.symbol.ruby",
|
|
||||||
[":", ":@", ":$", ":1", ":1thing", ":th?ing", ":thi=ng", ":1thing",
|
|
||||||
":th!ing", ":thing#"]);
|
|
||||||
},
|
|
||||||
|
|
||||||
"test: namespaces aren't symbols" : function() {
|
|
||||||
var line = "Namespaced::Class";
|
|
||||||
var tokens = this.tokenizer.getLineTokens(line, "start").tokens;
|
|
||||||
|
|
||||||
assert.equal(3, tokens.length);
|
|
||||||
assert.equal("support.class", tokens[0].type);
|
|
||||||
assert.equal("text", tokens[1].type);
|
|
||||||
assert.equal("support.class", tokens[2].type);
|
|
||||||
},
|
|
||||||
|
|
||||||
"test: hex tokenizer" : function() {
|
|
||||||
assertValidTokens(this.tokenizer, "constant.numeric",
|
|
||||||
["0x9a", "0XA1", "0x9_a"]);
|
|
||||||
assertInvalidTokens(this.tokenizer, "constant.numeric",
|
|
||||||
["0x", "0x_9a", "0x9a_"]);
|
|
||||||
},
|
|
||||||
|
|
||||||
"test: float tokenizer" : function() {
|
|
||||||
assertValidTokens(this.tokenizer, "constant.numeric",
|
|
||||||
["1", "+1", "-1", "12_345", "0.000_1"]);
|
|
||||||
assertInvalidTokens(this.tokenizer, "constant.numeric",
|
|
||||||
["_", "_1", "1_", "1_.0", "0._1"]);
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
function assertValidTokens(tokenizer, tokenType, validTokens) {
|
|
||||||
for (var i = 0, length = validTokens.length; i < length; i++) {
|
|
||||||
var validToken = validTokens[i],
|
|
||||||
tokens = tokenizer.getLineTokens(validToken, "start").tokens;
|
|
||||||
assert.equal(tokens[0].value, validToken,
|
|
||||||
'"' + validToken + '" should be one token');
|
|
||||||
assert.equal(tokens[0].type, tokenType,
|
|
||||||
'"' + validToken + '" should be a "' + tokenType + '" token');
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
function assertInvalidTokens(tokenizer, tokenType, invalidTokens) {
|
|
||||||
for (var i = 0, length = invalidTokens.length; i < length; i++) {
|
|
||||||
var invalidToken = invalidTokens[i],
|
|
||||||
tokens = tokenizer.getLineTokens(invalidToken, "start").tokens;
|
|
||||||
assert.ok(tokens[0].type !== tokenType || tokens[0].value !== invalidToken,
|
|
||||||
'"' + invalidToken + '" is not a valid "' + tokenType + '"');
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
});
|
|
||||||
|
|
||||||
if (typeof module !== "undefined" && module === require.main) {
|
|
||||||
require("asyncjs").test.testcase(module.exports).exec()
|
|
||||||
}
|
|
||||||
|
|
@ -1,208 +0,0 @@
|
||||||
/* ***** BEGIN LICENSE BLOCK *****
|
|
||||||
* Distributed under the BSD license:
|
|
||||||
*
|
|
||||||
* Copyright (c) 2010, Ajax.org B.V.
|
|
||||||
* All rights reserved.
|
|
||||||
*
|
|
||||||
* Redistribution and use in source and binary forms, with or without
|
|
||||||
* modification, are permitted provided that the following conditions are met:
|
|
||||||
* * Redistributions of source code must retain the above copyright
|
|
||||||
* notice, this list of conditions and the following disclaimer.
|
|
||||||
* * Redistributions in binary form must reproduce the above copyright
|
|
||||||
* notice, this list of conditions and the following disclaimer in the
|
|
||||||
* documentation and/or other materials provided with the distribution.
|
|
||||||
* * Neither the name of Ajax.org B.V. nor the
|
|
||||||
* names of its contributors may be used to endorse or promote products
|
|
||||||
* derived from this software without specific prior written permission.
|
|
||||||
*
|
|
||||||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
|
||||||
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
|
||||||
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
||||||
* DISCLAIMED. IN NO EVENT SHALL AJAX.ORG B.V. BE LIABLE FOR ANY
|
|
||||||
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
|
||||||
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
|
||||||
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
|
|
||||||
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
||||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
|
||||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
||||||
*
|
|
||||||
* ***** END LICENSE BLOCK ***** */
|
|
||||||
|
|
||||||
if (typeof process !== "undefined") {
|
|
||||||
require("amd-loader");
|
|
||||||
}
|
|
||||||
|
|
||||||
define(function(require, exports, module) {
|
|
||||||
"use strict";
|
|
||||||
|
|
||||||
var XmlMode = require("./xml").Mode;
|
|
||||||
var assert = require("../test/assertions");
|
|
||||||
|
|
||||||
var testData = {
|
|
||||||
"test: tokenize1" : [{
|
|
||||||
text: "<Juhu>//Juhu Kinners</Kinners>",
|
|
||||||
state: ["start", "start"],
|
|
||||||
tokens: [
|
|
||||||
{
|
|
||||||
type: "meta.tag",
|
|
||||||
value: "<"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
type: "meta.tag.tag-name",
|
|
||||||
value: "Juhu"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
type: "meta.tag.r",
|
|
||||||
value: ">"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
type: "text",
|
|
||||||
value: "//Juhu Kinners"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
type: "meta.tag",
|
|
||||||
value: "</"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
type: "meta.tag.tag-name",
|
|
||||||
value: "Kinners"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
type: "meta.tag.r",
|
|
||||||
value: ">"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}],
|
|
||||||
|
|
||||||
"test: two tags in the same lines should be in separate tokens": [{
|
|
||||||
text: "<Juhu><Kinners>",
|
|
||||||
state: [ "start", "start"],
|
|
||||||
tokens: [
|
|
||||||
{
|
|
||||||
type: "meta.tag",
|
|
||||||
value: "<"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
type: "meta.tag.tag-name",
|
|
||||||
value: "Juhu"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
type: "meta.tag.r",
|
|
||||||
value: ">"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
type: "meta.tag",
|
|
||||||
value: "<"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
type: "meta.tag.tag-name",
|
|
||||||
value: "Kinners"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
type: "meta.tag.r",
|
|
||||||
value: ">"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}],
|
|
||||||
|
|
||||||
"test: multiline attributes": [{
|
|
||||||
text: "<copy set=\"{",
|
|
||||||
state: ["start", "tag_qqstring"],
|
|
||||||
tokens: [
|
|
||||||
{
|
|
||||||
type: "meta.tag",
|
|
||||||
value: "<"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
type: "meta.tag.tag-name",
|
|
||||||
value: "copy"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
type: "text",
|
|
||||||
value: " "
|
|
||||||
},
|
|
||||||
{
|
|
||||||
type: "entity.other.attribute-name",
|
|
||||||
value: "set"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
type: "keyword.operator",
|
|
||||||
value: "="
|
|
||||||
},
|
|
||||||
{
|
|
||||||
type: "string",
|
|
||||||
value: "\"{"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}, {
|
|
||||||
text: "}\" undo=\"{",
|
|
||||||
state: [ "tag_qqstring", "tag_qqstring"],
|
|
||||||
tokens: [
|
|
||||||
{
|
|
||||||
type: "string",
|
|
||||||
value: "}\""
|
|
||||||
},
|
|
||||||
{
|
|
||||||
type: "text",
|
|
||||||
value: " "
|
|
||||||
},
|
|
||||||
{
|
|
||||||
type: "entity.other.attribute-name",
|
|
||||||
value: "undo"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
type: "keyword.operator",
|
|
||||||
value: "="
|
|
||||||
},
|
|
||||||
{
|
|
||||||
type: "string",
|
|
||||||
value: "\"{"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}, {
|
|
||||||
text: "}\"/>",
|
|
||||||
state: ["tag_qqstring", "start"],
|
|
||||||
tokens: [
|
|
||||||
{
|
|
||||||
type: "string",
|
|
||||||
value: "}\""
|
|
||||||
},
|
|
||||||
{
|
|
||||||
type: "meta.tag.r",
|
|
||||||
value: "/>"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}]
|
|
||||||
};
|
|
||||||
|
|
||||||
function generateTest(exampleData) {
|
|
||||||
return function testTokenizer() {
|
|
||||||
for (var i = 0; i < exampleData.length; i++) {
|
|
||||||
var s = exampleData[i];
|
|
||||||
var lineTokens = tokenizer.getLineTokens(s.text, s.state[0]);
|
|
||||||
|
|
||||||
assert.equal(
|
|
||||||
JSON.stringify(lineTokens, null, 4),
|
|
||||||
JSON.stringify({tokens:s.tokens, state: s.state[1]}, null, 4)
|
|
||||||
);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
var tokenizer;
|
|
||||||
module.exports = {
|
|
||||||
name: "XML Tokenizer",
|
|
||||||
|
|
||||||
setUp : function() {
|
|
||||||
tokenizer = new XmlMode().getTokenizer();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
for (var i in testData) {
|
|
||||||
module.exports[i] = generateTest(testData[i])
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
if (typeof module !== "undefined" && module === require.main) {
|
|
||||||
require("asyncjs").test.testcase(module.exports).exec();
|
|
||||||
}
|
|
||||||
|
|
@ -23,23 +23,15 @@ var testNames = [
|
||||||
"ace/layer/text_test",
|
"ace/layer/text_test",
|
||||||
"ace/lib/event_emitter_test",
|
"ace/lib/event_emitter_test",
|
||||||
"ace/mode/coffee/parser_test",
|
"ace/mode/coffee/parser_test",
|
||||||
"ace/mode/coffee_highlight_rules_test",
|
|
||||||
"ace/mode/coldfusion_test",
|
"ace/mode/coldfusion_test",
|
||||||
"ace/mode/css_test",
|
"ace/mode/css_test",
|
||||||
"ace/mode/css_highlight_rules_test",
|
|
||||||
"ace/mode/css_worker",
|
"ace/mode/css_worker",
|
||||||
"ace/mode/html_test",
|
"ace/mode/html_test",
|
||||||
"ace/mode/html_highlight_rules_test",
|
|
||||||
"ace/mode/javascript_test",
|
"ace/mode/javascript_test",
|
||||||
"ace/mode/javascript_highlight_rules_test",
|
|
||||||
"ace/mode/javascript_worker_test",
|
"ace/mode/javascript_worker_test",
|
||||||
"ace/mode/lucene_highlight_rules_test",
|
|
||||||
"ace/mode/liquid_highlight_rules_test",
|
|
||||||
"ace/mode/python_test",
|
"ace/mode/python_test",
|
||||||
"ace/mode/ruby_highlight_rules_test",
|
|
||||||
"ace/mode/text_test",
|
"ace/mode/text_test",
|
||||||
"ace/mode/xml_test",
|
"ace/mode/xml_test",
|
||||||
"ace/mode/xml_highlight_rules_test",
|
|
||||||
"ace/mode/folding/cstyle_test",
|
"ace/mode/folding/cstyle_test",
|
||||||
"ace/mode/folding/html_test",
|
"ace/mode/folding/html_test",
|
||||||
"ace/mode/folding/pythonic_test",
|
"ace/mode/folding/pythonic_test",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue