mirror of
https://github.com/github/codeql.git
synced 2025-12-19 18:33:16 +01:00
285 lines
7.6 KiB
Plaintext
285 lines
7.6 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=*
|
|
stmts(#20059,17,#20001,0,"functio ... ;\n }\n}")
|
|
#20060=@"loc,{#10000},1,1,7,1"
|
|
locations_default(#20060,#10000,1,1,7,1)
|
|
hasLocation(#20059,#20060)
|
|
stmt_containers(#20059,#20001)
|
|
#20061=*
|
|
exprs(#20061,78,#20059,-1,"foo")
|
|
hasLocation(#20061,#20019)
|
|
expr_containers(#20061,#20059)
|
|
literals("foo","foo",#20061)
|
|
decl(#20061,#20058)
|
|
#20062=*
|
|
scopes(#20062,1)
|
|
scopenodes(#20059,#20062)
|
|
scopenesting(#20062,#20000)
|
|
#20063=@"var;{x};{#20062}"
|
|
variables(#20063,"x",#20062)
|
|
#20064=@"var;{arguments};{#20062}"
|
|
variables(#20064,"arguments",#20062)
|
|
is_arguments_object(#20064)
|
|
#20065=*
|
|
stmts(#20065,1,#20059,-2,"{\n var ... ;\n }\n}")
|
|
#20066=@"loc,{#10000},1,16,7,1"
|
|
locations_default(#20066,#10000,1,16,7,1)
|
|
hasLocation(#20065,#20066)
|
|
stmt_containers(#20065,#20059)
|
|
#20067=*
|
|
stmts(#20067,18,#20065,0,"var x = 5;")
|
|
#20068=@"loc,{#10000},2,3,2,12"
|
|
locations_default(#20068,#10000,2,3,2,12)
|
|
hasLocation(#20067,#20068)
|
|
stmt_containers(#20067,#20059)
|
|
#20069=*
|
|
exprs(#20069,64,#20067,0,"x = 5")
|
|
#20070=@"loc,{#10000},2,7,2,11"
|
|
locations_default(#20070,#10000,2,7,2,11)
|
|
hasLocation(#20069,#20070)
|
|
enclosing_stmt(#20069,#20067)
|
|
expr_containers(#20069,#20059)
|
|
#20071=*
|
|
exprs(#20071,78,#20069,0,"x")
|
|
hasLocation(#20071,#20029)
|
|
enclosing_stmt(#20071,#20067)
|
|
expr_containers(#20071,#20059)
|
|
literals("x","x",#20071)
|
|
decl(#20071,#20063)
|
|
#20072=*
|
|
exprs(#20072,3,#20069,1,"5")
|
|
hasLocation(#20072,#20033)
|
|
enclosing_stmt(#20072,#20067)
|
|
expr_containers(#20072,#20059)
|
|
literals("5","5",#20072)
|
|
#20073=*
|
|
stmts(#20073,11,#20065,1,"try {\n ... x;\n }")
|
|
#20074=@"loc,{#10000},3,3,6,3"
|
|
locations_default(#20074,#10000,3,3,6,3)
|
|
hasLocation(#20073,#20074)
|
|
stmt_containers(#20073,#20059)
|
|
#20075=*
|
|
stmts(#20075,1,#20073,0,"{\n }")
|
|
#20076=@"loc,{#10000},3,7,4,3"
|
|
locations_default(#20076,#10000,3,7,4,3)
|
|
hasLocation(#20075,#20076)
|
|
stmt_containers(#20075,#20059)
|
|
#20077=*
|
|
stmts(#20077,1,#20073,-1,"{\n return x;\n }")
|
|
#20078=@"loc,{#10000},4,13,6,3"
|
|
locations_default(#20078,#10000,4,13,6,3)
|
|
hasLocation(#20077,#20078)
|
|
stmt_containers(#20077,#20059)
|
|
#20079=*
|
|
stmts(#20079,9,#20077,0,"return x;")
|
|
#20080=@"loc,{#10000},5,5,5,13"
|
|
locations_default(#20080,#10000,5,5,5,13)
|
|
hasLocation(#20079,#20080)
|
|
stmt_containers(#20079,#20059)
|
|
#20081=*
|
|
exprs(#20081,79,#20079,0,"x")
|
|
hasLocation(#20081,#20049)
|
|
enclosing_stmt(#20081,#20079)
|
|
expr_containers(#20081,#20059)
|
|
literals("x","x",#20081)
|
|
bind(#20081,#20063)
|
|
#20082=*
|
|
entry_cfg_node(#20082,#20001)
|
|
#20083=@"loc,{#10000},1,1,1,0"
|
|
locations_default(#20083,#10000,1,1,1,0)
|
|
hasLocation(#20082,#20083)
|
|
#20084=*
|
|
exit_cfg_node(#20084,#20001)
|
|
hasLocation(#20084,#20056)
|
|
successor(#20059,#20084)
|
|
#20085=*
|
|
entry_cfg_node(#20085,#20059)
|
|
hasLocation(#20085,#20083)
|
|
#20086=*
|
|
exit_cfg_node(#20086,#20059)
|
|
#20087=@"loc,{#10000},7,2,7,1"
|
|
locations_default(#20087,#10000,7,2,7,1)
|
|
hasLocation(#20086,#20087)
|
|
successor(#20065,#20067)
|
|
successor(#20073,#20075)
|
|
successor(#20075,#20077)
|
|
successor(#20077,#20081)
|
|
successor(#20081,#20079)
|
|
successor(#20079,#20086)
|
|
successor(#20067,#20071)
|
|
successor(#20072,#20069)
|
|
successor(#20071,#20072)
|
|
successor(#20069,#20073)
|
|
successor(#20085,#20065)
|
|
successor(#20061,#20059)
|
|
successor(#20082,#20061)
|
|
numlines(#10000,7,7,0)
|
|
filetype(#10000,"typescript")
|