-
Notifications
You must be signed in to change notification settings - Fork 1
/
lldb_stack.sublime-syntax
99 lines (78 loc) · 1.91 KB
/
lldb_stack.sublime-syntax
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
%YAML 1.2
---
name: AnarchyTools LLDB Stack
scope: lldb.stack
hidden: true
contexts:
main:
- match: '\* Thread'
scope: string
push: thread
- match: '\* Local variables'
scope: support.class
push: locals
- match: '\[ continue \]'
scope: keyword button btn_continue
- match: '\[ pause \]'
scope: keyword button btn_pause
- match: '\[ step into \]'
scope: keyword button btn_step_into
- match: '\[ step over \]'
scope: keyword button btn_step_over
- match: '\[ step out \]'
scope: keyword button btn_step_out
- match: '\[ stop \]'
scope: keyword button btn_stop
thread:
- meta_scope: thread
- match: '([0-9]*)\s+\((.*), queue: (.*), id: ([0-9]+)\)'
scope: string
- match: ([0-9]+)\s+([a-zA-Z0-9._-]+)\s+([^:]+):([0-9]+)((:)([0-9]+))?\s\((.*)\)
captures:
1: constant.numeric
2: entity.name.class
3: entity.name.function
4: constant.numeric
5: default
6: default
7: constant.numeric
8: entity.name.function
- match: ([0-9]+)\s+([a-zA-Z0-9._-]+)\s+(.+)\s+(\+\s+[0-9]+)
captures:
1: constant.numeric
2: support.class
3: comment
4: comment
- match: '^(Status): (.*)'
captures:
1: keyword
2: constant.other
- match: '^$'
pop: true
locals:
- meta_scope: locals
- match: '(for frame )(#[0-9]+)'
captures:
1: support.class
2: constant.numeric
- match: (.*)( -> )
captures:
1: entity.name.variable
2: comment
push: value
- match: '^$'
pop: true
value:
- match: "None"
scope: keyword
- match: '"'
scope: string
push: string
- match: '$'
pop: true
string:
- meta_scope: string
- match: \\.
scope: constant.character.escape
- match: '"'
pop: true