-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdeeper.go
71 lines (70 loc) · 3.03 KB
/
deeper.go
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
package main
var typesToGoDeeper = map[string]struct{}{
"": {},
// Bash
"bash:arithmetic_assignment_chain": {},
"bash:arithmetic_bitwise_and": {},
"bash:arithmetic_bitwise_or": {},
"bash:arithmetic_bitwise_xor": {},
"bash:arithmetic_command": {},
"bash:arithmetic_equality": {},
"bash:arithmetic_exponent": {},
"bash:arithmetic_logic_and": {},
"bash:arithmetic_logic_or": {},
"bash:arithmetic_multiplication": {},
"bash:arithmetic_negation": {},
"bash:arithmetic_parenthesis_expr": {},
"bash:arithmetic_post_incr": {},
"bash:arithmetic_pre_incr": {},
"bash:arithmetic_shift": {},
"bash:arithmetic_simple": {},
"bash:arithmetic_sum": {},
"bash:arithmetic_with_variable_operator": {},
"bash:arithmetic_ternary_operator": {},
"bash:arith_compund_comparision": {},
"bash:array_assignment_list": {},
"bash:backquote": {},
"bash:backquote_shellcommand": {},
"bash:composed_command": {},
"bash:composed_variable": {},
"bash:file_ref": {},
"bash:heredoc_content_element": {},
"bash:heredoc_end_element": {},
"bash:heredoc_end_element_(ignoring_tabs)": {},
"bash:heredoc_end_marker": {},
"bash:heredoc_end_marker_(ignoring_tabs)": {},
"bash:heredoc_marker_tag": {},
"bash:heredoc_start_element": {},
"bash:heredoc_start_marker": {},
"bash:let_command": {},
"bash:pipeline_command": {},
"bash:process_substitution_element": {},
"bash:redirect_element": {},
"bash:redirect_list": {},
"bash:select_command": {},
"bash:string": {},
"bash:subshell_shellcommand": {},
"bash:time_with_optional_-p": {},
"bash:var_substitution": {},
// C++
"cpp:CPPASTQualifiedName": {},
"cpp:CPPASTUsingDeclaration": {},
// C#
"csharp:CloseBraceToken": {},
"csharp:CloseBracketToken": {},
"csharp:CloseParenToken": {},
"csharp:ColonColonToken": {},
"csharp:ColonToken": {},
"csharp:CommaToken": {},
"csharp:DotToken": {},
"csharp:InterpolatedStringEndToken": {},
"csharp:InterpolatedStringStartToken": {},
"csharp:InterpolatedVerbatimStringStartToken": {},
"csharp:OpenBraceToken": {},
"csharp:OpenBracketToken": {},
"csharp:OpenParenToken": {},
"csharp:SemicolonToken": {},
// Ruby
"ruby:defined?": {},
"ruby:splat": {},
}