mirror of
https://github.com/github/codeql.git
synced 2025-12-19 18:33:16 +01:00
351 lines
9.2 KiB
Plaintext
351 lines
9.2 KiB
Plaintext
#10000=@"/logicalOr.ts;sourcefile"
|
|
files(#10000,"/logicalOr.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 f(x,y) {","
|
|
")
|
|
#20003=@"loc,{#10000},1,1,1,17"
|
|
locations_default(#20003,#10000,1,1,1,17)
|
|
hasLocation(#20002,#20003)
|
|
#20004=*
|
|
lines(#20004,#20001," if (x || y) {}","
|
|
")
|
|
#20005=@"loc,{#10000},2,1,2,16"
|
|
locations_default(#20005,#10000,2,1,2,16)
|
|
hasLocation(#20004,#20005)
|
|
indentation(#10000,2," ",2)
|
|
#20006=*
|
|
lines(#20006,#20001," if (x && y) {}","
|
|
")
|
|
#20007=@"loc,{#10000},3,1,3,16"
|
|
locations_default(#20007,#10000,3,1,3,16)
|
|
hasLocation(#20006,#20007)
|
|
indentation(#10000,3," ",2)
|
|
#20008=*
|
|
lines(#20008,#20001,"}","
|
|
")
|
|
#20009=@"loc,{#10000},4,1,4,1"
|
|
locations_default(#20009,#10000,4,1,4,1)
|
|
hasLocation(#20008,#20009)
|
|
numlines(#20001,4,4,0)
|
|
#20010=*
|
|
tokeninfo(#20010,7,#20001,0,"function")
|
|
#20011=@"loc,{#10000},1,1,1,8"
|
|
locations_default(#20011,#10000,1,1,1,8)
|
|
hasLocation(#20010,#20011)
|
|
#20012=*
|
|
tokeninfo(#20012,6,#20001,1,"f")
|
|
#20013=@"loc,{#10000},1,10,1,10"
|
|
locations_default(#20013,#10000,1,10,1,10)
|
|
hasLocation(#20012,#20013)
|
|
#20014=*
|
|
tokeninfo(#20014,8,#20001,2,"(")
|
|
#20015=@"loc,{#10000},1,11,1,11"
|
|
locations_default(#20015,#10000,1,11,1,11)
|
|
hasLocation(#20014,#20015)
|
|
#20016=*
|
|
tokeninfo(#20016,6,#20001,3,"x")
|
|
#20017=@"loc,{#10000},1,12,1,12"
|
|
locations_default(#20017,#10000,1,12,1,12)
|
|
hasLocation(#20016,#20017)
|
|
#20018=*
|
|
tokeninfo(#20018,8,#20001,4,",")
|
|
#20019=@"loc,{#10000},1,13,1,13"
|
|
locations_default(#20019,#10000,1,13,1,13)
|
|
hasLocation(#20018,#20019)
|
|
#20020=*
|
|
tokeninfo(#20020,6,#20001,5,"y")
|
|
#20021=@"loc,{#10000},1,14,1,14"
|
|
locations_default(#20021,#10000,1,14,1,14)
|
|
hasLocation(#20020,#20021)
|
|
#20022=*
|
|
tokeninfo(#20022,8,#20001,6,")")
|
|
#20023=@"loc,{#10000},1,15,1,15"
|
|
locations_default(#20023,#10000,1,15,1,15)
|
|
hasLocation(#20022,#20023)
|
|
#20024=*
|
|
tokeninfo(#20024,8,#20001,7,"{")
|
|
#20025=@"loc,{#10000},1,17,1,17"
|
|
locations_default(#20025,#10000,1,17,1,17)
|
|
hasLocation(#20024,#20025)
|
|
#20026=*
|
|
tokeninfo(#20026,7,#20001,8,"if")
|
|
#20027=@"loc,{#10000},2,3,2,4"
|
|
locations_default(#20027,#10000,2,3,2,4)
|
|
hasLocation(#20026,#20027)
|
|
#20028=*
|
|
tokeninfo(#20028,8,#20001,9,"(")
|
|
#20029=@"loc,{#10000},2,6,2,6"
|
|
locations_default(#20029,#10000,2,6,2,6)
|
|
hasLocation(#20028,#20029)
|
|
#20030=*
|
|
tokeninfo(#20030,6,#20001,10,"x")
|
|
#20031=@"loc,{#10000},2,7,2,7"
|
|
locations_default(#20031,#10000,2,7,2,7)
|
|
hasLocation(#20030,#20031)
|
|
#20032=*
|
|
tokeninfo(#20032,8,#20001,11,"||")
|
|
#20033=@"loc,{#10000},2,9,2,10"
|
|
locations_default(#20033,#10000,2,9,2,10)
|
|
hasLocation(#20032,#20033)
|
|
#20034=*
|
|
tokeninfo(#20034,6,#20001,12,"y")
|
|
#20035=@"loc,{#10000},2,12,2,12"
|
|
locations_default(#20035,#10000,2,12,2,12)
|
|
hasLocation(#20034,#20035)
|
|
#20036=*
|
|
tokeninfo(#20036,8,#20001,13,")")
|
|
#20037=@"loc,{#10000},2,13,2,13"
|
|
locations_default(#20037,#10000,2,13,2,13)
|
|
hasLocation(#20036,#20037)
|
|
#20038=*
|
|
tokeninfo(#20038,8,#20001,14,"{")
|
|
#20039=@"loc,{#10000},2,15,2,15"
|
|
locations_default(#20039,#10000,2,15,2,15)
|
|
hasLocation(#20038,#20039)
|
|
#20040=*
|
|
tokeninfo(#20040,8,#20001,15,"}")
|
|
#20041=@"loc,{#10000},2,16,2,16"
|
|
locations_default(#20041,#10000,2,16,2,16)
|
|
hasLocation(#20040,#20041)
|
|
#20042=*
|
|
tokeninfo(#20042,7,#20001,16,"if")
|
|
#20043=@"loc,{#10000},3,3,3,4"
|
|
locations_default(#20043,#10000,3,3,3,4)
|
|
hasLocation(#20042,#20043)
|
|
#20044=*
|
|
tokeninfo(#20044,8,#20001,17,"(")
|
|
#20045=@"loc,{#10000},3,6,3,6"
|
|
locations_default(#20045,#10000,3,6,3,6)
|
|
hasLocation(#20044,#20045)
|
|
#20046=*
|
|
tokeninfo(#20046,6,#20001,18,"x")
|
|
#20047=@"loc,{#10000},3,7,3,7"
|
|
locations_default(#20047,#10000,3,7,3,7)
|
|
hasLocation(#20046,#20047)
|
|
#20048=*
|
|
tokeninfo(#20048,8,#20001,19,"&&")
|
|
#20049=@"loc,{#10000},3,9,3,10"
|
|
locations_default(#20049,#10000,3,9,3,10)
|
|
hasLocation(#20048,#20049)
|
|
#20050=*
|
|
tokeninfo(#20050,6,#20001,20,"y")
|
|
#20051=@"loc,{#10000},3,12,3,12"
|
|
locations_default(#20051,#10000,3,12,3,12)
|
|
hasLocation(#20050,#20051)
|
|
#20052=*
|
|
tokeninfo(#20052,8,#20001,21,")")
|
|
#20053=@"loc,{#10000},3,13,3,13"
|
|
locations_default(#20053,#10000,3,13,3,13)
|
|
hasLocation(#20052,#20053)
|
|
#20054=*
|
|
tokeninfo(#20054,8,#20001,22,"{")
|
|
#20055=@"loc,{#10000},3,15,3,15"
|
|
locations_default(#20055,#10000,3,15,3,15)
|
|
hasLocation(#20054,#20055)
|
|
#20056=*
|
|
tokeninfo(#20056,8,#20001,23,"}")
|
|
#20057=@"loc,{#10000},3,16,3,16"
|
|
locations_default(#20057,#10000,3,16,3,16)
|
|
hasLocation(#20056,#20057)
|
|
#20058=*
|
|
tokeninfo(#20058,8,#20001,24,"}")
|
|
hasLocation(#20058,#20009)
|
|
#20059=*
|
|
tokeninfo(#20059,0,#20001,25,"")
|
|
#20060=@"loc,{#10000},5,1,5,0"
|
|
locations_default(#20060,#10000,5,1,5,0)
|
|
hasLocation(#20059,#20060)
|
|
toplevels(#20001,0)
|
|
#20061=@"loc,{#10000},1,1,5,0"
|
|
locations_default(#20061,#10000,1,1,5,0)
|
|
hasLocation(#20001,#20061)
|
|
#20062=@"var;{f};{#20000}"
|
|
variables(#20062,"f",#20000)
|
|
#20063=*
|
|
stmts(#20063,17,#20001,0,"functio ... y) {}\n}")
|
|
#20064=@"loc,{#10000},1,1,4,1"
|
|
locations_default(#20064,#10000,1,1,4,1)
|
|
hasLocation(#20063,#20064)
|
|
stmt_containers(#20063,#20001)
|
|
#20065=*
|
|
exprs(#20065,78,#20063,-1,"f")
|
|
hasLocation(#20065,#20013)
|
|
expr_containers(#20065,#20063)
|
|
literals("f","f",#20065)
|
|
decl(#20065,#20062)
|
|
#20066=*
|
|
scopes(#20066,1)
|
|
scopenodes(#20063,#20066)
|
|
scopenesting(#20066,#20000)
|
|
#20067=@"var;{x};{#20066}"
|
|
variables(#20067,"x",#20066)
|
|
#20068=*
|
|
exprs(#20068,78,#20063,0,"x")
|
|
hasLocation(#20068,#20017)
|
|
expr_containers(#20068,#20063)
|
|
literals("x","x",#20068)
|
|
decl(#20068,#20067)
|
|
#20069=@"var;{y};{#20066}"
|
|
variables(#20069,"y",#20066)
|
|
#20070=*
|
|
exprs(#20070,78,#20063,1,"y")
|
|
hasLocation(#20070,#20021)
|
|
expr_containers(#20070,#20063)
|
|
literals("y","y",#20070)
|
|
decl(#20070,#20069)
|
|
#20071=@"var;{arguments};{#20066}"
|
|
variables(#20071,"arguments",#20066)
|
|
is_arguments_object(#20071)
|
|
#20072=*
|
|
stmts(#20072,1,#20063,-2,"{\n if ... y) {}\n}")
|
|
#20073=@"loc,{#10000},1,17,4,1"
|
|
locations_default(#20073,#10000,1,17,4,1)
|
|
hasLocation(#20072,#20073)
|
|
stmt_containers(#20072,#20063)
|
|
#20074=*
|
|
stmts(#20074,3,#20072,0,"if (x || y) {}")
|
|
#20075=@"loc,{#10000},2,3,2,16"
|
|
locations_default(#20075,#10000,2,3,2,16)
|
|
hasLocation(#20074,#20075)
|
|
stmt_containers(#20074,#20063)
|
|
#20076=*
|
|
exprs(#20076,45,#20074,0,"x || y")
|
|
#20077=@"loc,{#10000},2,7,2,12"
|
|
locations_default(#20077,#10000,2,7,2,12)
|
|
hasLocation(#20076,#20077)
|
|
enclosing_stmt(#20076,#20074)
|
|
expr_containers(#20076,#20063)
|
|
#20078=*
|
|
exprs(#20078,79,#20076,0,"x")
|
|
hasLocation(#20078,#20031)
|
|
enclosing_stmt(#20078,#20074)
|
|
expr_containers(#20078,#20063)
|
|
literals("x","x",#20078)
|
|
bind(#20078,#20067)
|
|
#20079=*
|
|
exprs(#20079,79,#20076,1,"y")
|
|
hasLocation(#20079,#20035)
|
|
enclosing_stmt(#20079,#20074)
|
|
expr_containers(#20079,#20063)
|
|
literals("y","y",#20079)
|
|
bind(#20079,#20069)
|
|
#20080=*
|
|
stmts(#20080,1,#20074,1,"{}")
|
|
#20081=@"loc,{#10000},2,15,2,16"
|
|
locations_default(#20081,#10000,2,15,2,16)
|
|
hasLocation(#20080,#20081)
|
|
stmt_containers(#20080,#20063)
|
|
#20082=*
|
|
stmts(#20082,3,#20072,1,"if (x && y) {}")
|
|
#20083=@"loc,{#10000},3,3,3,16"
|
|
locations_default(#20083,#10000,3,3,3,16)
|
|
hasLocation(#20082,#20083)
|
|
stmt_containers(#20082,#20063)
|
|
#20084=*
|
|
exprs(#20084,44,#20082,0,"x && y")
|
|
#20085=@"loc,{#10000},3,7,3,12"
|
|
locations_default(#20085,#10000,3,7,3,12)
|
|
hasLocation(#20084,#20085)
|
|
enclosing_stmt(#20084,#20082)
|
|
expr_containers(#20084,#20063)
|
|
#20086=*
|
|
exprs(#20086,79,#20084,0,"x")
|
|
hasLocation(#20086,#20047)
|
|
enclosing_stmt(#20086,#20082)
|
|
expr_containers(#20086,#20063)
|
|
literals("x","x",#20086)
|
|
bind(#20086,#20067)
|
|
#20087=*
|
|
exprs(#20087,79,#20084,1,"y")
|
|
hasLocation(#20087,#20051)
|
|
enclosing_stmt(#20087,#20082)
|
|
expr_containers(#20087,#20063)
|
|
literals("y","y",#20087)
|
|
bind(#20087,#20069)
|
|
#20088=*
|
|
stmts(#20088,1,#20082,1,"{}")
|
|
#20089=@"loc,{#10000},3,15,3,16"
|
|
locations_default(#20089,#10000,3,15,3,16)
|
|
hasLocation(#20088,#20089)
|
|
stmt_containers(#20088,#20063)
|
|
#20090=*
|
|
entry_cfg_node(#20090,#20001)
|
|
#20091=@"loc,{#10000},1,1,1,0"
|
|
locations_default(#20091,#10000,1,1,1,0)
|
|
hasLocation(#20090,#20091)
|
|
#20092=*
|
|
exit_cfg_node(#20092,#20001)
|
|
hasLocation(#20092,#20060)
|
|
successor(#20063,#20092)
|
|
#20093=*
|
|
entry_cfg_node(#20093,#20063)
|
|
hasLocation(#20093,#20091)
|
|
#20094=*
|
|
exit_cfg_node(#20094,#20063)
|
|
#20095=@"loc,{#10000},4,2,4,1"
|
|
locations_default(#20095,#10000,4,2,4,1)
|
|
hasLocation(#20094,#20095)
|
|
successor(#20072,#20074)
|
|
successor(#20082,#20084)
|
|
successor(#20084,#20086)
|
|
#20096=*
|
|
guard_node(#20096,1,#20086)
|
|
hasLocation(#20096,#20047)
|
|
successor(#20096,#20087)
|
|
#20097=*
|
|
guard_node(#20097,0,#20086)
|
|
hasLocation(#20097,#20047)
|
|
successor(#20097,#20094)
|
|
successor(#20086,#20096)
|
|
successor(#20086,#20097)
|
|
#20098=*
|
|
guard_node(#20098,1,#20087)
|
|
hasLocation(#20098,#20051)
|
|
successor(#20098,#20088)
|
|
#20099=*
|
|
guard_node(#20099,0,#20087)
|
|
hasLocation(#20099,#20051)
|
|
successor(#20099,#20094)
|
|
successor(#20087,#20098)
|
|
successor(#20087,#20099)
|
|
successor(#20088,#20094)
|
|
successor(#20074,#20076)
|
|
successor(#20076,#20078)
|
|
#20100=*
|
|
guard_node(#20100,1,#20078)
|
|
hasLocation(#20100,#20031)
|
|
successor(#20100,#20080)
|
|
#20101=*
|
|
guard_node(#20101,0,#20078)
|
|
hasLocation(#20101,#20031)
|
|
successor(#20101,#20079)
|
|
successor(#20078,#20100)
|
|
successor(#20078,#20101)
|
|
#20102=*
|
|
guard_node(#20102,1,#20079)
|
|
hasLocation(#20102,#20035)
|
|
successor(#20102,#20080)
|
|
#20103=*
|
|
guard_node(#20103,0,#20079)
|
|
hasLocation(#20103,#20035)
|
|
successor(#20103,#20082)
|
|
successor(#20079,#20102)
|
|
successor(#20079,#20103)
|
|
successor(#20080,#20082)
|
|
successor(#20070,#20072)
|
|
successor(#20068,#20070)
|
|
successor(#20093,#20068)
|
|
successor(#20065,#20063)
|
|
successor(#20090,#20065)
|
|
numlines(#10000,4,4,0)
|
|
filetype(#10000,"typescript")
|