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