mirror of
https://github.com/github/codeql.git
synced 2026-04-13 19:14:04 +02:00
289 lines
7.8 KiB
Plaintext
289 lines
7.8 KiB
Plaintext
#10000=@"/tryfinally.ts;sourcefile"
|
|
files(#10000,"/tryfinally.ts")
|
|
#10001=@"/;folder"
|
|
folders(#10001,"/")
|
|
containerparent(#10001,#10000)
|
|
#10002=@"loc,{#10000},0,0,0,0"
|
|
locations_default(#10002,#10000,0,0,0,0)
|
|
hasLocation(#10000,#10002)
|
|
#20000=@"global_scope"
|
|
scopes(#20000,0)
|
|
#20001=@"script;{#10000},1,1"
|
|
#20002=*
|
|
lines(#20002,#20001,"function foo() {","
|
|
")
|
|
#20003=@"loc,{#10000},1,1,1,16"
|
|
locations_default(#20003,#10000,1,1,1,16)
|
|
hasLocation(#20002,#20003)
|
|
#20004=*
|
|
lines(#20004,#20001," var x = 5;","
|
|
")
|
|
#20005=@"loc,{#10000},2,1,2,12"
|
|
locations_default(#20005,#10000,2,1,2,12)
|
|
hasLocation(#20004,#20005)
|
|
indentation(#10000,2," ",2)
|
|
#20006=*
|
|
lines(#20006,#20001," try {","
|
|
")
|
|
#20007=@"loc,{#10000},3,1,3,7"
|
|
locations_default(#20007,#10000,3,1,3,7)
|
|
hasLocation(#20006,#20007)
|
|
indentation(#10000,3," ",2)
|
|
#20008=*
|
|
lines(#20008,#20001," } finally {","
|
|
")
|
|
#20009=@"loc,{#10000},4,1,4,13"
|
|
locations_default(#20009,#10000,4,1,4,13)
|
|
hasLocation(#20008,#20009)
|
|
indentation(#10000,4," ",2)
|
|
#20010=*
|
|
lines(#20010,#20001," return x;","
|
|
")
|
|
#20011=@"loc,{#10000},5,1,5,13"
|
|
locations_default(#20011,#10000,5,1,5,13)
|
|
hasLocation(#20010,#20011)
|
|
indentation(#10000,5," ",4)
|
|
#20012=*
|
|
lines(#20012,#20001," }","
|
|
")
|
|
#20013=@"loc,{#10000},6,1,6,3"
|
|
locations_default(#20013,#10000,6,1,6,3)
|
|
hasLocation(#20012,#20013)
|
|
indentation(#10000,6," ",2)
|
|
#20014=*
|
|
lines(#20014,#20001,"}","
|
|
")
|
|
#20015=@"loc,{#10000},7,1,7,1"
|
|
locations_default(#20015,#10000,7,1,7,1)
|
|
hasLocation(#20014,#20015)
|
|
numlines(#20001,7,7,0)
|
|
#20016=*
|
|
tokeninfo(#20016,7,#20001,0,"function")
|
|
#20017=@"loc,{#10000},1,1,1,8"
|
|
locations_default(#20017,#10000,1,1,1,8)
|
|
hasLocation(#20016,#20017)
|
|
#20018=*
|
|
tokeninfo(#20018,6,#20001,1,"foo")
|
|
#20019=@"loc,{#10000},1,10,1,12"
|
|
locations_default(#20019,#10000,1,10,1,12)
|
|
hasLocation(#20018,#20019)
|
|
#20020=*
|
|
tokeninfo(#20020,8,#20001,2,"(")
|
|
#20021=@"loc,{#10000},1,13,1,13"
|
|
locations_default(#20021,#10000,1,13,1,13)
|
|
hasLocation(#20020,#20021)
|
|
#20022=*
|
|
tokeninfo(#20022,8,#20001,3,")")
|
|
#20023=@"loc,{#10000},1,14,1,14"
|
|
locations_default(#20023,#10000,1,14,1,14)
|
|
hasLocation(#20022,#20023)
|
|
#20024=*
|
|
tokeninfo(#20024,8,#20001,4,"{")
|
|
#20025=@"loc,{#10000},1,16,1,16"
|
|
locations_default(#20025,#10000,1,16,1,16)
|
|
hasLocation(#20024,#20025)
|
|
#20026=*
|
|
tokeninfo(#20026,7,#20001,5,"var")
|
|
#20027=@"loc,{#10000},2,3,2,5"
|
|
locations_default(#20027,#10000,2,3,2,5)
|
|
hasLocation(#20026,#20027)
|
|
#20028=*
|
|
tokeninfo(#20028,6,#20001,6,"x")
|
|
#20029=@"loc,{#10000},2,7,2,7"
|
|
locations_default(#20029,#10000,2,7,2,7)
|
|
hasLocation(#20028,#20029)
|
|
#20030=*
|
|
tokeninfo(#20030,8,#20001,7,"=")
|
|
#20031=@"loc,{#10000},2,9,2,9"
|
|
locations_default(#20031,#10000,2,9,2,9)
|
|
hasLocation(#20030,#20031)
|
|
#20032=*
|
|
tokeninfo(#20032,3,#20001,8,"5")
|
|
#20033=@"loc,{#10000},2,11,2,11"
|
|
locations_default(#20033,#10000,2,11,2,11)
|
|
hasLocation(#20032,#20033)
|
|
#20034=*
|
|
tokeninfo(#20034,8,#20001,9,";")
|
|
#20035=@"loc,{#10000},2,12,2,12"
|
|
locations_default(#20035,#10000,2,12,2,12)
|
|
hasLocation(#20034,#20035)
|
|
#20036=*
|
|
tokeninfo(#20036,7,#20001,10,"try")
|
|
#20037=@"loc,{#10000},3,3,3,5"
|
|
locations_default(#20037,#10000,3,3,3,5)
|
|
hasLocation(#20036,#20037)
|
|
#20038=*
|
|
tokeninfo(#20038,8,#20001,11,"{")
|
|
#20039=@"loc,{#10000},3,7,3,7"
|
|
locations_default(#20039,#10000,3,7,3,7)
|
|
hasLocation(#20038,#20039)
|
|
#20040=*
|
|
tokeninfo(#20040,8,#20001,12,"}")
|
|
#20041=@"loc,{#10000},4,3,4,3"
|
|
locations_default(#20041,#10000,4,3,4,3)
|
|
hasLocation(#20040,#20041)
|
|
#20042=*
|
|
tokeninfo(#20042,7,#20001,13,"finally")
|
|
#20043=@"loc,{#10000},4,5,4,11"
|
|
locations_default(#20043,#10000,4,5,4,11)
|
|
hasLocation(#20042,#20043)
|
|
#20044=*
|
|
tokeninfo(#20044,8,#20001,14,"{")
|
|
#20045=@"loc,{#10000},4,13,4,13"
|
|
locations_default(#20045,#10000,4,13,4,13)
|
|
hasLocation(#20044,#20045)
|
|
#20046=*
|
|
tokeninfo(#20046,7,#20001,15,"return")
|
|
#20047=@"loc,{#10000},5,5,5,10"
|
|
locations_default(#20047,#10000,5,5,5,10)
|
|
hasLocation(#20046,#20047)
|
|
#20048=*
|
|
tokeninfo(#20048,6,#20001,16,"x")
|
|
#20049=@"loc,{#10000},5,12,5,12"
|
|
locations_default(#20049,#10000,5,12,5,12)
|
|
hasLocation(#20048,#20049)
|
|
#20050=*
|
|
tokeninfo(#20050,8,#20001,17,";")
|
|
#20051=@"loc,{#10000},5,13,5,13"
|
|
locations_default(#20051,#10000,5,13,5,13)
|
|
hasLocation(#20050,#20051)
|
|
#20052=*
|
|
tokeninfo(#20052,8,#20001,18,"}")
|
|
#20053=@"loc,{#10000},6,3,6,3"
|
|
locations_default(#20053,#10000,6,3,6,3)
|
|
hasLocation(#20052,#20053)
|
|
#20054=*
|
|
tokeninfo(#20054,8,#20001,19,"}")
|
|
hasLocation(#20054,#20015)
|
|
#20055=*
|
|
tokeninfo(#20055,0,#20001,20,"")
|
|
#20056=@"loc,{#10000},8,1,8,0"
|
|
locations_default(#20056,#10000,8,1,8,0)
|
|
hasLocation(#20055,#20056)
|
|
toplevels(#20001,0)
|
|
#20057=@"loc,{#10000},1,1,8,0"
|
|
locations_default(#20057,#10000,1,1,8,0)
|
|
hasLocation(#20001,#20057)
|
|
#20058=@"var;{foo};{#20000}"
|
|
variables(#20058,"foo",#20000)
|
|
#20059=@"var;{this};{#20000}"
|
|
variables(#20059,"this",#20000)
|
|
#20060=*
|
|
stmts(#20060,17,#20001,0,"functio ... ;\n }\n}")
|
|
#20061=@"loc,{#10000},1,1,7,1"
|
|
locations_default(#20061,#10000,1,1,7,1)
|
|
hasLocation(#20060,#20061)
|
|
stmt_containers(#20060,#20001)
|
|
#20062=*
|
|
exprs(#20062,78,#20060,-1,"foo")
|
|
hasLocation(#20062,#20019)
|
|
expr_containers(#20062,#20060)
|
|
literals("foo","foo",#20062)
|
|
decl(#20062,#20058)
|
|
#20063=*
|
|
scopes(#20063,1)
|
|
scopenodes(#20060,#20063)
|
|
scopenesting(#20063,#20000)
|
|
#20064=@"var;{x};{#20063}"
|
|
variables(#20064,"x",#20063)
|
|
#20065=@"var;{this};{#20063}"
|
|
variables(#20065,"this",#20063)
|
|
#20066=@"var;{arguments};{#20063}"
|
|
variables(#20066,"arguments",#20063)
|
|
is_arguments_object(#20066)
|
|
#20067=*
|
|
stmts(#20067,1,#20060,-2,"{\n var ... ;\n }\n}")
|
|
#20068=@"loc,{#10000},1,16,7,1"
|
|
locations_default(#20068,#10000,1,16,7,1)
|
|
hasLocation(#20067,#20068)
|
|
stmt_containers(#20067,#20060)
|
|
#20069=*
|
|
stmts(#20069,18,#20067,0,"var x = 5;")
|
|
#20070=@"loc,{#10000},2,3,2,12"
|
|
locations_default(#20070,#10000,2,3,2,12)
|
|
hasLocation(#20069,#20070)
|
|
stmt_containers(#20069,#20060)
|
|
#20071=*
|
|
exprs(#20071,64,#20069,0,"x = 5")
|
|
#20072=@"loc,{#10000},2,7,2,11"
|
|
locations_default(#20072,#10000,2,7,2,11)
|
|
hasLocation(#20071,#20072)
|
|
enclosing_stmt(#20071,#20069)
|
|
expr_containers(#20071,#20060)
|
|
#20073=*
|
|
exprs(#20073,78,#20071,0,"x")
|
|
hasLocation(#20073,#20029)
|
|
enclosing_stmt(#20073,#20069)
|
|
expr_containers(#20073,#20060)
|
|
literals("x","x",#20073)
|
|
decl(#20073,#20064)
|
|
#20074=*
|
|
exprs(#20074,3,#20071,1,"5")
|
|
hasLocation(#20074,#20033)
|
|
enclosing_stmt(#20074,#20069)
|
|
expr_containers(#20074,#20060)
|
|
literals("5","5",#20074)
|
|
#20075=*
|
|
stmts(#20075,11,#20067,1,"try {\n ... x;\n }")
|
|
#20076=@"loc,{#10000},3,3,6,3"
|
|
locations_default(#20076,#10000,3,3,6,3)
|
|
hasLocation(#20075,#20076)
|
|
stmt_containers(#20075,#20060)
|
|
#20077=*
|
|
stmts(#20077,1,#20075,0,"{\n }")
|
|
#20078=@"loc,{#10000},3,7,4,3"
|
|
locations_default(#20078,#10000,3,7,4,3)
|
|
hasLocation(#20077,#20078)
|
|
stmt_containers(#20077,#20060)
|
|
#20079=*
|
|
stmts(#20079,1,#20075,-1,"{\n return x;\n }")
|
|
#20080=@"loc,{#10000},4,13,6,3"
|
|
locations_default(#20080,#10000,4,13,6,3)
|
|
hasLocation(#20079,#20080)
|
|
stmt_containers(#20079,#20060)
|
|
#20081=*
|
|
stmts(#20081,9,#20079,0,"return x;")
|
|
#20082=@"loc,{#10000},5,5,5,13"
|
|
locations_default(#20082,#10000,5,5,5,13)
|
|
hasLocation(#20081,#20082)
|
|
stmt_containers(#20081,#20060)
|
|
#20083=*
|
|
exprs(#20083,79,#20081,0,"x")
|
|
hasLocation(#20083,#20049)
|
|
enclosing_stmt(#20083,#20081)
|
|
expr_containers(#20083,#20060)
|
|
literals("x","x",#20083)
|
|
bind(#20083,#20064)
|
|
#20084=*
|
|
entry_cfg_node(#20084,#20001)
|
|
#20085=@"loc,{#10000},1,1,1,0"
|
|
locations_default(#20085,#10000,1,1,1,0)
|
|
hasLocation(#20084,#20085)
|
|
#20086=*
|
|
exit_cfg_node(#20086,#20001)
|
|
hasLocation(#20086,#20056)
|
|
successor(#20060,#20086)
|
|
#20087=*
|
|
entry_cfg_node(#20087,#20060)
|
|
hasLocation(#20087,#20085)
|
|
#20088=*
|
|
exit_cfg_node(#20088,#20060)
|
|
#20089=@"loc,{#10000},7,2,7,1"
|
|
locations_default(#20089,#10000,7,2,7,1)
|
|
hasLocation(#20088,#20089)
|
|
successor(#20075,#20077)
|
|
successor(#20077,#20079)
|
|
successor(#20083,#20081)
|
|
successor(#20081,#20088)
|
|
successor(#20079,#20083)
|
|
successor(#20069,#20073)
|
|
successor(#20074,#20071)
|
|
successor(#20073,#20074)
|
|
successor(#20071,#20075)
|
|
successor(#20067,#20069)
|
|
successor(#20087,#20067)
|
|
successor(#20062,#20060)
|
|
successor(#20084,#20062)
|
|
numlines(#10000,7,7,0)
|
|
filetype(#10000,"typescript")
|