2020-04-02 02:38:52 +00:00
|
|
|
{
|
|
|
|
"$schema": "https://raw.githubusercontent.com/martinring/tmlanguage/master/tmlanguage.json",
|
|
|
|
|
|
|
|
"scopeName": "source.ra_syntax_tree",
|
|
|
|
"patterns": [
|
|
|
|
{ "include": "#node_type" },
|
|
|
|
{ "include": "#node_range_index" },
|
|
|
|
{ "include": "#token_text" }
|
|
|
|
],
|
|
|
|
"repository": {
|
|
|
|
"node_type": {
|
2020-04-21 23:00:58 +00:00
|
|
|
"match": "^\\s*([A-Z_][A-Z_0-9]*?)@",
|
2020-04-02 02:38:52 +00:00
|
|
|
"captures": {
|
|
|
|
"1": {
|
|
|
|
"name": "entity.name.class"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"node_range_index": {
|
|
|
|
"match": "\\d+",
|
|
|
|
"name": "constant.numeric"
|
|
|
|
},
|
|
|
|
"token_text": {
|
|
|
|
"match": "\".+\"",
|
|
|
|
"name": "string"
|
|
|
|
}
|
|
|
|
},
|
2022-05-17 17:15:06 +00:00
|
|
|
"fileTypes": ["rast"]
|
2020-04-02 02:38:52 +00:00
|
|
|
}
|