-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Expand file tree
/
Copy pathhello.trap
More file actions
156 lines (156 loc) · 4.44 KB
/
Copy pathhello.trap
File metadata and controls
156 lines (156 loc) · 4.44 KB
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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
#10000=@"/g/hello;sourcefile"
files(#10000,"/g/hello")
#10001=@"/g;folder"
folders(#10001,"/g")
#10002=@"/;folder"
folders(#10002,"/")
containerparent(#10002,#10001)
containerparent(#10001,#10000)
#10003=@"loc,{#10000},0,0,0,0"
locations_default(#10003,#10000,0,0,0,0)
hasLocation(#10000,#10003)
#20000=@"global_scope"
scopes(#20000,0)
#20001=@"script;{#10000},2,1"
#20002=*
lines(#20002,#20001,"console.log(""Hello, world!"");","")
#20003=@"loc,{#10000},2,1,2,29"
locations_default(#20003,#10000,2,1,2,29)
hasLocation(#20002,#20003)
numlines(#20001,1,1,0)
#20004=*
tokeninfo(#20004,6,#20001,0,"console")
#20005=@"loc,{#10000},2,1,2,7"
locations_default(#20005,#10000,2,1,2,7)
hasLocation(#20004,#20005)
#20006=*
tokeninfo(#20006,8,#20001,1,".")
#20007=@"loc,{#10000},2,8,2,8"
locations_default(#20007,#10000,2,8,2,8)
hasLocation(#20006,#20007)
#20008=*
tokeninfo(#20008,6,#20001,2,"log")
#20009=@"loc,{#10000},2,9,2,11"
locations_default(#20009,#10000,2,9,2,11)
hasLocation(#20008,#20009)
#20010=*
tokeninfo(#20010,8,#20001,3,"(")
#20011=@"loc,{#10000},2,12,2,12"
locations_default(#20011,#10000,2,12,2,12)
hasLocation(#20010,#20011)
#20012=*
tokeninfo(#20012,4,#20001,4,"""Hello, world!""")
#20013=@"loc,{#10000},2,13,2,27"
locations_default(#20013,#10000,2,13,2,27)
hasLocation(#20012,#20013)
#20014=*
tokeninfo(#20014,8,#20001,5,")")
#20015=@"loc,{#10000},2,28,2,28"
locations_default(#20015,#10000,2,28,2,28)
hasLocation(#20014,#20015)
#20016=*
tokeninfo(#20016,8,#20001,6,";")
#20017=@"loc,{#10000},2,29,2,29"
locations_default(#20017,#10000,2,29,2,29)
hasLocation(#20016,#20017)
#20018=*
tokeninfo(#20018,0,#20001,7,"")
#20019=@"loc,{#10000},2,30,2,29"
locations_default(#20019,#10000,2,30,2,29)
hasLocation(#20018,#20019)
toplevels(#20001,0)
hasLocation(#20001,#20003)
#20020=@"var;{global};{#20000}"
variables(#20020,"global",#20000)
#20021=@"var;{process};{#20000}"
variables(#20021,"process",#20000)
#20022=@"var;{console};{#20000}"
variables(#20022,"console",#20000)
#20023=@"var;{Buffer};{#20000}"
variables(#20023,"Buffer",#20000)
#20024=@"module;{#10000},2,1"
scopes(#20024,3)
scopenodes(#20001,#20024)
scopenesting(#20024,#20000)
#20025=@"var;{require};{#20024}"
variables(#20025,"require",#20024)
#20026=@"var;{module};{#20024}"
variables(#20026,"module",#20024)
#20027=@"var;{exports};{#20024}"
variables(#20027,"exports",#20024)
#20028=@"var;{__filename};{#20024}"
variables(#20028,"__filename",#20024)
#20029=@"var;{__dirname};{#20024}"
variables(#20029,"__dirname",#20024)
#20030=@"var;{arguments};{#20024}"
variables(#20030,"arguments",#20024)
is_module(#20001)
#20031=@"var;{this};{#20024}"
variables(#20031,"this",#20024)
#20032=*
stmts(#20032,2,#20001,0,"console ... rld!"");")
hasLocation(#20032,#20003)
stmt_containers(#20032,#20001)
#20033=*
exprs(#20033,13,#20032,0,"console ... orld!"")")
#20034=@"loc,{#10000},2,1,2,28"
locations_default(#20034,#10000,2,1,2,28)
hasLocation(#20033,#20034)
enclosing_stmt(#20033,#20032)
expr_containers(#20033,#20001)
#20035=*
exprs(#20035,14,#20033,-1,"console.log")
#20036=@"loc,{#10000},2,1,2,11"
locations_default(#20036,#10000,2,1,2,11)
hasLocation(#20035,#20036)
enclosing_stmt(#20035,#20032)
expr_containers(#20035,#20001)
#20037=*
exprs(#20037,79,#20035,0,"console")
hasLocation(#20037,#20005)
enclosing_stmt(#20037,#20032)
expr_containers(#20037,#20001)
literals("console","console",#20037)
bind(#20037,#20022)
#20038=*
exprs(#20038,0,#20035,1,"log")
hasLocation(#20038,#20009)
enclosing_stmt(#20038,#20032)
expr_containers(#20038,#20001)
literals("log","log",#20038)
#20039=*
exprs(#20039,4,#20033,0,"""Hello, world!""")
hasLocation(#20039,#20013)
enclosing_stmt(#20039,#20032)
expr_containers(#20039,#20001)
literals("Hello, world!","""Hello, world!""",#20039)
#20040=*
regexpterm(#20040,14,#20039,0,"Hello, world!")
#20041=@"loc,{#10000},2,14,2,26"
locations_default(#20041,#10000,2,14,2,26)
hasLocation(#20040,#20041)
regexp_const_value(#20040,"Hello, world!")
#20042=*
entry_cfg_node(#20042,#20001)
#20043=@"loc,{#10000},2,1,2,0"
locations_default(#20043,#10000,2,1,2,0)
hasLocation(#20042,#20043)
#20044=*
exit_cfg_node(#20044,#20001)
hasLocation(#20044,#20019)
successor(#20032,#20037)
successor(#20039,#20033)
successor(#20038,#20035)
successor(#20037,#20038)
successor(#20035,#20039)
successor(#20033,#20044)
successor(#20042,#20032)
is_nodejs(#20001)
#20045=*
lines(#20045,#20001,"#!/usr/bin/env node","
")
#20046=@"loc,{#10000},1,1,1,19"
locations_default(#20046,#10000,1,1,1,19)
hasLocation(#20045,#20046)
numlines(#10000,2,1,0)
filetype(#10000,"javascript")