2020-04-01 21:38:52 -05: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 18:00:58 -05:00
|
|
|
"match": "^\\s*([A-Z_][A-Z_0-9]*?)@",
|
2020-04-01 21:38:52 -05:00
|
|
|
"captures": {
|
|
|
|
"1": {
|
|
|
|
"name": "entity.name.class"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"node_range_index": {
|
|
|
|
"match": "\\d+",
|
|
|
|
"name": "constant.numeric"
|
|
|
|
},
|
|
|
|
"token_text": {
|
|
|
|
"match": "\".+\"",
|
|
|
|
"name": "string"
|
|
|
|
}
|
|
|
|
},
|
2022-05-17 12:15:06 -05:00
|
|
|
"fileTypes": ["rast"]
|
2020-04-01 21:38:52 -05:00
|
|
|
}
|