mirror of
https://github.com/github/codeql.git
synced 2026-01-05 18:50:23 +01:00
As I see it, these all seem to have invalid code initially anyway, but this is definitely something a JS expert should review :)
249 lines
6.6 KiB
Plaintext
249 lines
6.6 KiB
Plaintext
#10000=@"/variance.js;sourcefile"
|
|
files(#10000,"/variance.js")
|
|
#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,"export type PackagerAsset = {","
|
|
")
|
|
#20003=@"loc,{#10000},1,1,1,29"
|
|
locations_default(#20003,#10000,1,1,1,29)
|
|
hasLocation(#20002,#20003)
|
|
#20004=*
|
|
lines(#20004,#20001," +__packager_asset: boolean,","
|
|
")
|
|
#20005=@"loc,{#10000},2,1,2,29"
|
|
locations_default(#20005,#10000,2,1,2,29)
|
|
hasLocation(#20004,#20005)
|
|
indentation(#10000,2," ",2)
|
|
#20006=*
|
|
lines(#20006,#20001,"};","
|
|
")
|
|
#20007=@"loc,{#10000},3,1,3,2"
|
|
locations_default(#20007,#10000,3,1,3,2)
|
|
hasLocation(#20006,#20007)
|
|
#20008=*
|
|
lines(#20008,#20001,"","
|
|
")
|
|
#20009=@"loc,{#10000},4,1,4,0"
|
|
locations_default(#20009,#10000,4,1,4,0)
|
|
hasLocation(#20008,#20009)
|
|
#20010=*
|
|
lines(#20010,#20001,"class Foo {","
|
|
")
|
|
#20011=@"loc,{#10000},5,1,5,11"
|
|
locations_default(#20011,#10000,5,1,5,11)
|
|
hasLocation(#20010,#20011)
|
|
#20012=*
|
|
lines(#20012,#20001," +x: int","
|
|
")
|
|
#20013=@"loc,{#10000},6,1,6,9"
|
|
locations_default(#20013,#10000,6,1,6,9)
|
|
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,6,0)
|
|
#20016=*
|
|
tokeninfo(#20016,7,#20001,0,"export")
|
|
#20017=@"loc,{#10000},1,1,1,6"
|
|
locations_default(#20017,#10000,1,1,1,6)
|
|
hasLocation(#20016,#20017)
|
|
#20018=*
|
|
tokeninfo(#20018,6,#20001,1,"type")
|
|
#20019=@"loc,{#10000},1,8,1,11"
|
|
locations_default(#20019,#10000,1,8,1,11)
|
|
hasLocation(#20018,#20019)
|
|
#20020=*
|
|
tokeninfo(#20020,6,#20001,2,"PackagerAsset")
|
|
#20021=@"loc,{#10000},1,13,1,25"
|
|
locations_default(#20021,#10000,1,13,1,25)
|
|
hasLocation(#20020,#20021)
|
|
#20022=*
|
|
tokeninfo(#20022,8,#20001,3,"=")
|
|
#20023=@"loc,{#10000},1,27,1,27"
|
|
locations_default(#20023,#10000,1,27,1,27)
|
|
hasLocation(#20022,#20023)
|
|
#20024=*
|
|
tokeninfo(#20024,8,#20001,4,"{")
|
|
#20025=@"loc,{#10000},1,29,1,29"
|
|
locations_default(#20025,#10000,1,29,1,29)
|
|
hasLocation(#20024,#20025)
|
|
#20026=*
|
|
tokeninfo(#20026,8,#20001,5,"+")
|
|
#20027=@"loc,{#10000},2,3,2,3"
|
|
locations_default(#20027,#10000,2,3,2,3)
|
|
hasLocation(#20026,#20027)
|
|
#20028=*
|
|
tokeninfo(#20028,6,#20001,6,"__packager_asset")
|
|
#20029=@"loc,{#10000},2,4,2,19"
|
|
locations_default(#20029,#10000,2,4,2,19)
|
|
hasLocation(#20028,#20029)
|
|
#20030=*
|
|
tokeninfo(#20030,8,#20001,7,":")
|
|
#20031=@"loc,{#10000},2,20,2,20"
|
|
locations_default(#20031,#10000,2,20,2,20)
|
|
hasLocation(#20030,#20031)
|
|
#20032=*
|
|
tokeninfo(#20032,6,#20001,8,"boolean")
|
|
#20033=@"loc,{#10000},2,22,2,28"
|
|
locations_default(#20033,#10000,2,22,2,28)
|
|
hasLocation(#20032,#20033)
|
|
#20034=*
|
|
tokeninfo(#20034,8,#20001,9,",")
|
|
#20035=@"loc,{#10000},2,29,2,29"
|
|
locations_default(#20035,#10000,2,29,2,29)
|
|
hasLocation(#20034,#20035)
|
|
#20036=*
|
|
tokeninfo(#20036,8,#20001,10,"}")
|
|
#20037=@"loc,{#10000},3,1,3,1"
|
|
locations_default(#20037,#10000,3,1,3,1)
|
|
hasLocation(#20036,#20037)
|
|
#20038=*
|
|
tokeninfo(#20038,8,#20001,11,";")
|
|
#20039=@"loc,{#10000},3,2,3,2"
|
|
locations_default(#20039,#10000,3,2,3,2)
|
|
hasLocation(#20038,#20039)
|
|
#20040=*
|
|
tokeninfo(#20040,7,#20001,12,"class")
|
|
#20041=@"loc,{#10000},5,1,5,5"
|
|
locations_default(#20041,#10000,5,1,5,5)
|
|
hasLocation(#20040,#20041)
|
|
#20042=*
|
|
tokeninfo(#20042,6,#20001,13,"Foo")
|
|
#20043=@"loc,{#10000},5,7,5,9"
|
|
locations_default(#20043,#10000,5,7,5,9)
|
|
hasLocation(#20042,#20043)
|
|
#20044=*
|
|
tokeninfo(#20044,8,#20001,14,"{")
|
|
#20045=@"loc,{#10000},5,11,5,11"
|
|
locations_default(#20045,#10000,5,11,5,11)
|
|
hasLocation(#20044,#20045)
|
|
#20046=*
|
|
tokeninfo(#20046,8,#20001,15,"+")
|
|
#20047=@"loc,{#10000},6,3,6,3"
|
|
locations_default(#20047,#10000,6,3,6,3)
|
|
hasLocation(#20046,#20047)
|
|
#20048=*
|
|
tokeninfo(#20048,6,#20001,16,"x")
|
|
#20049=@"loc,{#10000},6,4,6,4"
|
|
locations_default(#20049,#10000,6,4,6,4)
|
|
hasLocation(#20048,#20049)
|
|
#20050=*
|
|
tokeninfo(#20050,8,#20001,17,":")
|
|
#20051=@"loc,{#10000},6,5,6,5"
|
|
locations_default(#20051,#10000,6,5,6,5)
|
|
hasLocation(#20050,#20051)
|
|
#20052=*
|
|
tokeninfo(#20052,6,#20001,18,"int")
|
|
#20053=@"loc,{#10000},6,7,6,9"
|
|
locations_default(#20053,#10000,6,7,6,9)
|
|
hasLocation(#20052,#20053)
|
|
#20054=*
|
|
tokeninfo(#20054,8,#20001,19,"}")
|
|
hasLocation(#20054,#20015)
|
|
#20055=*
|
|
tokeninfo(#20055,0,#20001,20,"")
|
|
#20056=@"loc,{#10000},7,2,7,1"
|
|
locations_default(#20056,#10000,7,2,7,1)
|
|
hasLocation(#20055,#20056)
|
|
toplevels(#20001,0)
|
|
#20057=@"loc,{#10000},1,1,7,1"
|
|
locations_default(#20057,#10000,1,1,7,1)
|
|
hasLocation(#20001,#20057)
|
|
#20058=@"var;{Foo};{#20000}"
|
|
variables(#20058,"Foo",#20000)
|
|
#20059=@"local_type_name;{Foo};{#20000}"
|
|
local_type_names(#20059,"Foo",#20000)
|
|
#20060=*
|
|
stmts(#20060,26,#20001,0,"class F ... : int\n}")
|
|
#20061=@"loc,{#10000},5,1,7,1"
|
|
locations_default(#20061,#10000,5,1,7,1)
|
|
hasLocation(#20060,#20061)
|
|
stmt_containers(#20060,#20001)
|
|
#20062=*
|
|
exprs(#20062,78,#20060,0,"Foo")
|
|
hasLocation(#20062,#20043)
|
|
enclosing_stmt(#20062,#20060)
|
|
expr_containers(#20062,#20001)
|
|
literals("Foo","Foo",#20062)
|
|
decl(#20062,#20058)
|
|
typedecl(#20062,#20059)
|
|
#20063=*
|
|
scopes(#20063,10)
|
|
scopenodes(#20060,#20063)
|
|
scopenesting(#20063,#20000)
|
|
#20064=*
|
|
properties(#20064,#20060,2,8,"+x: int")
|
|
#20065=@"loc,{#10000},6,3,6,9"
|
|
locations_default(#20065,#10000,6,3,6,9)
|
|
hasLocation(#20064,#20065)
|
|
#20066=*
|
|
#20067=*
|
|
exprs(#20067,0,#20064,0,"x")
|
|
hasLocation(#20067,#20049)
|
|
expr_containers(#20067,#20066)
|
|
literals("x","x",#20067)
|
|
#20068=*
|
|
properties(#20068,#20060,3,0,"constructor() {}")
|
|
#20069=@"loc,{#10000},5,11,5,10"
|
|
locations_default(#20069,#10000,5,11,5,10)
|
|
hasLocation(#20068,#20069)
|
|
#20070=*
|
|
exprs(#20070,0,#20068,0,"constructor")
|
|
hasLocation(#20070,#20069)
|
|
enclosing_stmt(#20070,#20060)
|
|
expr_containers(#20070,#20001)
|
|
literals("constructor","constructor",#20070)
|
|
exprs(#20066,9,#20068,1,"() {}")
|
|
hasLocation(#20066,#20069)
|
|
enclosing_stmt(#20066,#20060)
|
|
expr_containers(#20066,#20001)
|
|
#20071=*
|
|
scopes(#20071,1)
|
|
scopenodes(#20066,#20071)
|
|
scopenesting(#20071,#20063)
|
|
#20072=@"var;{arguments};{#20071}"
|
|
variables(#20072,"arguments",#20071)
|
|
is_arguments_object(#20072)
|
|
#20073=*
|
|
stmts(#20073,1,#20066,-2,"{}")
|
|
hasLocation(#20073,#20069)
|
|
stmt_containers(#20073,#20066)
|
|
is_method(#20068)
|
|
#20074=*
|
|
entry_cfg_node(#20074,#20001)
|
|
#20075=@"loc,{#10000},1,1,1,0"
|
|
locations_default(#20075,#10000,1,1,1,0)
|
|
hasLocation(#20074,#20075)
|
|
#20076=*
|
|
exit_cfg_node(#20076,#20001)
|
|
hasLocation(#20076,#20056)
|
|
successor(#20067,#20064)
|
|
successor(#20066,#20068)
|
|
#20077=*
|
|
entry_cfg_node(#20077,#20066)
|
|
hasLocation(#20077,#20069)
|
|
successor(#20064,#20073)
|
|
#20078=*
|
|
exit_cfg_node(#20078,#20066)
|
|
hasLocation(#20078,#20069)
|
|
successor(#20073,#20078)
|
|
successor(#20077,#20067)
|
|
successor(#20070,#20066)
|
|
successor(#20068,#20060)
|
|
successor(#20062,#20070)
|
|
successor(#20060,#20076)
|
|
successor(#20074,#20062)
|
|
numlines(#10000,7,6,0)
|
|
filetype(#10000,"javascript")
|