-
Notifications
You must be signed in to change notification settings - Fork 0
/
agbytecodes.JSON-tmLanguage
58 lines (58 loc) · 1.39 KB
/
agbytecodes.JSON-tmLanguage
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
{ "name": "Dalvik Bytecodes (Androguard)",
"scopeName": "source.agbt",
"fileTypes": [""],
"patterns": [
{
"match": "\\s*(#).*$\\n?",
"name": "comment.line.number-sign.smali",
"comment": "comment"
},
{
"match": "^([\\w\\d\\-\\<\\>\\_]+)(@)([\\w\\d]+)(\\s*)(:)",
"name": "markup.bold",
"comment": "bb name"
},
{
"match": "(\\-|\\+)([\\d+a-z]+)",
"name": "storage.int",
"comment": "hexa value"
},
{
"match": ",\\s(\\d*)",
"name": "storage.int",
"captures": {
"1": { "name": "storage.int" }
},
"comment": "int value"
},
{
"match": "^(\\s+\\d*\\s+)",
"name": "markup.italic",
"comment": "decimal value"
},
{
"match": "(\\[)([\\w\\d\\-\\s@\\<\\>\\_\\:])+(\\])",
"name": "markup.list",
"comment": "next bbs list"
},
{
"match": "(\\()([\\d\\-a-z]+)(\\))(\\s+)([a-z\\-\/0-9]+)([0-9]*)(\\s+)",
"name": "keyword.control",
"captures": {
"2": { "name": "support.constant" },
"3": { "name": "keyword.control.instruction" }
},
"comment": "hexa + instruction"
},
{
"match": "(v\\d+)",
"name": "variable.smali",
"comment": "register"
},
{ "name": "string.quoted.single.smali",
"begin": "\\'",
"end": "\\'"
}
],
"uuid": "75ba8e42-b55b-4823-b4aa-e4e407da9c8e"
}