mirror of
https://github.com/github/codeql.git
synced 2026-03-23 16:06:47 +01:00
318 lines
8.8 KiB
Plaintext
318 lines
8.8 KiB
Plaintext
#10000=@"/yield.js;sourcefile"
|
|
files(#10000,"/yield.js","yield","js",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,5,1"
|
|
locations_default(#20002,#10000,1,1,5,1)
|
|
hasLocation(#20001,#20002)
|
|
#20003=@"var;{foo};{#20000}"
|
|
variables(#20003,"foo",#20000)
|
|
#20004=*
|
|
stmts(#20004,17,#20001,0,"functio ... ex++;\n}")
|
|
hasLocation(#20004,#20002)
|
|
stmtContainers(#20004,#20001)
|
|
#20005=*
|
|
exprs(#20005,78,#20004,-1,"foo")
|
|
#20006=@"loc,{#10000},1,11,1,13"
|
|
locations_default(#20006,#10000,1,11,1,13)
|
|
hasLocation(#20005,#20006)
|
|
exprContainers(#20005,#20004)
|
|
literals("foo","foo",#20005)
|
|
decl(#20005,#20003)
|
|
#20007=*
|
|
scopes(#20007,1)
|
|
scopenodes(#20004,#20007)
|
|
scopenesting(#20007,#20000)
|
|
#20008=@"var;{index};{#20007}"
|
|
variables(#20008,"index",#20007)
|
|
#20009=@"var;{arguments};{#20007}"
|
|
variables(#20009,"arguments",#20007)
|
|
isArgumentsObject(#20009)
|
|
isGenerator(#20004)
|
|
#20010=*
|
|
stmts(#20010,1,#20004,-2,"{\n var ... ex++;\n}")
|
|
#20011=@"loc,{#10000},1,16,5,1"
|
|
locations_default(#20011,#10000,1,16,5,1)
|
|
hasLocation(#20010,#20011)
|
|
stmtContainers(#20010,#20004)
|
|
#20012=*
|
|
stmts(#20012,18,#20010,0,"var index = 0;")
|
|
#20013=@"loc,{#10000},2,3,2,16"
|
|
locations_default(#20013,#10000,2,3,2,16)
|
|
hasLocation(#20012,#20013)
|
|
stmtContainers(#20012,#20004)
|
|
#20014=*
|
|
exprs(#20014,64,#20012,0,"index = 0")
|
|
#20015=@"loc,{#10000},2,7,2,15"
|
|
locations_default(#20015,#10000,2,7,2,15)
|
|
hasLocation(#20014,#20015)
|
|
enclosingStmt(#20014,#20012)
|
|
exprContainers(#20014,#20004)
|
|
#20016=*
|
|
exprs(#20016,78,#20014,0,"index")
|
|
#20017=@"loc,{#10000},2,7,2,11"
|
|
locations_default(#20017,#10000,2,7,2,11)
|
|
hasLocation(#20016,#20017)
|
|
enclosingStmt(#20016,#20012)
|
|
exprContainers(#20016,#20004)
|
|
literals("index","index",#20016)
|
|
decl(#20016,#20008)
|
|
#20018=*
|
|
exprs(#20018,3,#20014,1,"0")
|
|
#20019=@"loc,{#10000},2,15,2,15"
|
|
locations_default(#20019,#10000,2,15,2,15)
|
|
hasLocation(#20018,#20019)
|
|
enclosingStmt(#20018,#20012)
|
|
exprContainers(#20018,#20004)
|
|
literals("0","0",#20018)
|
|
#20020=*
|
|
stmts(#20020,12,#20010,1,"while(i ... ndex++;")
|
|
#20021=@"loc,{#10000},3,3,4,18"
|
|
locations_default(#20021,#10000,3,3,4,18)
|
|
hasLocation(#20020,#20021)
|
|
stmtContainers(#20020,#20004)
|
|
#20022=*
|
|
exprs(#20022,28,#20020,0,"index <= 2")
|
|
#20023=@"loc,{#10000},3,9,3,18"
|
|
locations_default(#20023,#10000,3,9,3,18)
|
|
hasLocation(#20022,#20023)
|
|
enclosingStmt(#20022,#20020)
|
|
exprContainers(#20022,#20004)
|
|
#20024=*
|
|
exprs(#20024,79,#20022,0,"index")
|
|
#20025=@"loc,{#10000},3,9,3,13"
|
|
locations_default(#20025,#10000,3,9,3,13)
|
|
hasLocation(#20024,#20025)
|
|
enclosingStmt(#20024,#20020)
|
|
exprContainers(#20024,#20004)
|
|
literals("index","index",#20024)
|
|
bind(#20024,#20008)
|
|
#20026=*
|
|
exprs(#20026,3,#20022,1,"2")
|
|
#20027=@"loc,{#10000},3,18,3,18"
|
|
locations_default(#20027,#10000,3,18,3,18)
|
|
hasLocation(#20026,#20027)
|
|
enclosingStmt(#20026,#20020)
|
|
exprContainers(#20026,#20004)
|
|
literals("2","2",#20026)
|
|
#20028=*
|
|
stmts(#20028,2,#20020,1,"yield index++;")
|
|
#20029=@"loc,{#10000},4,5,4,18"
|
|
locations_default(#20029,#10000,4,5,4,18)
|
|
hasLocation(#20028,#20029)
|
|
stmtContainers(#20028,#20004)
|
|
#20030=*
|
|
exprs(#20030,69,#20028,0,"yield index++")
|
|
#20031=@"loc,{#10000},4,5,4,17"
|
|
locations_default(#20031,#10000,4,5,4,17)
|
|
hasLocation(#20030,#20031)
|
|
enclosingStmt(#20030,#20028)
|
|
exprContainers(#20030,#20004)
|
|
#20032=*
|
|
exprs(#20032,60,#20030,0,"index++")
|
|
#20033=@"loc,{#10000},4,11,4,17"
|
|
locations_default(#20033,#10000,4,11,4,17)
|
|
hasLocation(#20032,#20033)
|
|
enclosingStmt(#20032,#20028)
|
|
exprContainers(#20032,#20004)
|
|
#20034=*
|
|
exprs(#20034,79,#20032,0,"index")
|
|
#20035=@"loc,{#10000},4,11,4,15"
|
|
locations_default(#20035,#10000,4,11,4,15)
|
|
hasLocation(#20034,#20035)
|
|
enclosingStmt(#20034,#20028)
|
|
exprContainers(#20034,#20004)
|
|
literals("index","index",#20034)
|
|
bind(#20034,#20008)
|
|
numlines(#20004,5,5,1)
|
|
#20036=*
|
|
comments(#20036,0,#20001," when index reaches 2, yield's done will be true and its value will be undefined;","// when ... efined;")
|
|
#20037=@"loc,{#10000},3,21,3,103"
|
|
locations_default(#20037,#10000,3,21,3,103)
|
|
hasLocation(#20036,#20037)
|
|
#20038=*
|
|
lines(#20038,#20001,"function* foo(){","
|
|
")
|
|
#20039=@"loc,{#10000},1,1,1,16"
|
|
locations_default(#20039,#10000,1,1,1,16)
|
|
hasLocation(#20038,#20039)
|
|
#20040=*
|
|
lines(#20040,#20001," var index = 0;","
|
|
")
|
|
#20041=@"loc,{#10000},2,1,2,16"
|
|
locations_default(#20041,#10000,2,1,2,16)
|
|
hasLocation(#20040,#20041)
|
|
indentation(#10000,2," ",2)
|
|
#20042=*
|
|
lines(#20042,#20001," while(index <= 2) // when index reaches 2, yield's done will be true and its value will be undefined;","
|
|
")
|
|
#20043=@"loc,{#10000},3,1,3,103"
|
|
locations_default(#20043,#10000,3,1,3,103)
|
|
hasLocation(#20042,#20043)
|
|
indentation(#10000,3," ",2)
|
|
#20044=*
|
|
lines(#20044,#20001," yield index++;","
|
|
")
|
|
#20045=@"loc,{#10000},4,1,4,18"
|
|
locations_default(#20045,#10000,4,1,4,18)
|
|
hasLocation(#20044,#20045)
|
|
indentation(#10000,4," ",4)
|
|
#20046=*
|
|
lines(#20046,#20001,"}","")
|
|
#20047=@"loc,{#10000},5,1,5,1"
|
|
locations_default(#20047,#10000,5,1,5,1)
|
|
hasLocation(#20046,#20047)
|
|
numlines(#20001,5,5,1)
|
|
#20048=*
|
|
tokeninfo(#20048,7,#20001,0,"function")
|
|
#20049=@"loc,{#10000},1,1,1,8"
|
|
locations_default(#20049,#10000,1,1,1,8)
|
|
hasLocation(#20048,#20049)
|
|
#20050=*
|
|
tokeninfo(#20050,8,#20001,1,"*")
|
|
#20051=@"loc,{#10000},1,9,1,9"
|
|
locations_default(#20051,#10000,1,9,1,9)
|
|
hasLocation(#20050,#20051)
|
|
#20052=*
|
|
tokeninfo(#20052,6,#20001,2,"foo")
|
|
hasLocation(#20052,#20006)
|
|
#20053=*
|
|
tokeninfo(#20053,8,#20001,3,"(")
|
|
#20054=@"loc,{#10000},1,14,1,14"
|
|
locations_default(#20054,#10000,1,14,1,14)
|
|
hasLocation(#20053,#20054)
|
|
#20055=*
|
|
tokeninfo(#20055,8,#20001,4,")")
|
|
#20056=@"loc,{#10000},1,15,1,15"
|
|
locations_default(#20056,#10000,1,15,1,15)
|
|
hasLocation(#20055,#20056)
|
|
#20057=*
|
|
tokeninfo(#20057,8,#20001,5,"{")
|
|
#20058=@"loc,{#10000},1,16,1,16"
|
|
locations_default(#20058,#10000,1,16,1,16)
|
|
hasLocation(#20057,#20058)
|
|
#20059=*
|
|
tokeninfo(#20059,7,#20001,6,"var")
|
|
#20060=@"loc,{#10000},2,3,2,5"
|
|
locations_default(#20060,#10000,2,3,2,5)
|
|
hasLocation(#20059,#20060)
|
|
#20061=*
|
|
tokeninfo(#20061,6,#20001,7,"index")
|
|
hasLocation(#20061,#20017)
|
|
#20062=*
|
|
tokeninfo(#20062,8,#20001,8,"=")
|
|
#20063=@"loc,{#10000},2,13,2,13"
|
|
locations_default(#20063,#10000,2,13,2,13)
|
|
hasLocation(#20062,#20063)
|
|
#20064=*
|
|
tokeninfo(#20064,3,#20001,9,"0")
|
|
hasLocation(#20064,#20019)
|
|
#20065=*
|
|
tokeninfo(#20065,8,#20001,10,";")
|
|
#20066=@"loc,{#10000},2,16,2,16"
|
|
locations_default(#20066,#10000,2,16,2,16)
|
|
hasLocation(#20065,#20066)
|
|
#20067=*
|
|
tokeninfo(#20067,7,#20001,11,"while")
|
|
#20068=@"loc,{#10000},3,3,3,7"
|
|
locations_default(#20068,#10000,3,3,3,7)
|
|
hasLocation(#20067,#20068)
|
|
#20069=*
|
|
tokeninfo(#20069,8,#20001,12,"(")
|
|
#20070=@"loc,{#10000},3,8,3,8"
|
|
locations_default(#20070,#10000,3,8,3,8)
|
|
hasLocation(#20069,#20070)
|
|
#20071=*
|
|
tokeninfo(#20071,6,#20001,13,"index")
|
|
hasLocation(#20071,#20025)
|
|
#20072=*
|
|
tokeninfo(#20072,8,#20001,14,"<=")
|
|
#20073=@"loc,{#10000},3,15,3,16"
|
|
locations_default(#20073,#10000,3,15,3,16)
|
|
hasLocation(#20072,#20073)
|
|
#20074=*
|
|
tokeninfo(#20074,3,#20001,15,"2")
|
|
hasLocation(#20074,#20027)
|
|
#20075=*
|
|
tokeninfo(#20075,8,#20001,16,")")
|
|
#20076=@"loc,{#10000},3,19,3,19"
|
|
locations_default(#20076,#10000,3,19,3,19)
|
|
hasLocation(#20075,#20076)
|
|
#20077=*
|
|
tokeninfo(#20077,7,#20001,17,"yield")
|
|
#20078=@"loc,{#10000},4,5,4,9"
|
|
locations_default(#20078,#10000,4,5,4,9)
|
|
hasLocation(#20077,#20078)
|
|
next_token(#20036,#20077)
|
|
#20079=*
|
|
tokeninfo(#20079,6,#20001,18,"index")
|
|
hasLocation(#20079,#20035)
|
|
#20080=*
|
|
tokeninfo(#20080,8,#20001,19,"++")
|
|
#20081=@"loc,{#10000},4,16,4,17"
|
|
locations_default(#20081,#10000,4,16,4,17)
|
|
hasLocation(#20080,#20081)
|
|
#20082=*
|
|
tokeninfo(#20082,8,#20001,20,";")
|
|
#20083=@"loc,{#10000},4,18,4,18"
|
|
locations_default(#20083,#10000,4,18,4,18)
|
|
hasLocation(#20082,#20083)
|
|
#20084=*
|
|
tokeninfo(#20084,8,#20001,21,"}")
|
|
hasLocation(#20084,#20047)
|
|
#20085=*
|
|
tokeninfo(#20085,0,#20001,22,"")
|
|
#20086=@"loc,{#10000},5,2,5,1"
|
|
locations_default(#20086,#10000,5,2,5,1)
|
|
hasLocation(#20085,#20086)
|
|
#20087=*
|
|
entry_cfg_node(#20087,#20001)
|
|
#20088=@"loc,{#10000},1,1,1,0"
|
|
locations_default(#20088,#10000,1,1,1,0)
|
|
hasLocation(#20087,#20088)
|
|
#20089=*
|
|
exit_cfg_node(#20089,#20001)
|
|
hasLocation(#20089,#20086)
|
|
successor(#20004,#20089)
|
|
#20090=*
|
|
entry_cfg_node(#20090,#20004)
|
|
hasLocation(#20090,#20088)
|
|
#20091=*
|
|
exit_cfg_node(#20091,#20004)
|
|
hasLocation(#20091,#20086)
|
|
successor(#20010,#20012)
|
|
successor(#20020,#20024)
|
|
successor(#20028,#20034)
|
|
successor(#20034,#20032)
|
|
successor(#20032,#20030)
|
|
successor(#20030,#20024)
|
|
successor(#20026,#20022)
|
|
successor(#20024,#20026)
|
|
#20092=*
|
|
guard_node(#20092,1,#20022)
|
|
hasLocation(#20092,#20023)
|
|
successor(#20092,#20028)
|
|
#20093=*
|
|
guard_node(#20093,0,#20022)
|
|
hasLocation(#20093,#20023)
|
|
successor(#20093,#20091)
|
|
successor(#20022,#20092)
|
|
successor(#20022,#20093)
|
|
successor(#20012,#20016)
|
|
successor(#20018,#20014)
|
|
successor(#20016,#20018)
|
|
successor(#20014,#20020)
|
|
successor(#20090,#20010)
|
|
successor(#20005,#20004)
|
|
successor(#20087,#20005)
|
|
numlines(#10000,5,5,1)
|
|
filetype(#10000,"javascript")
|