mirror of
https://github.com/github/codeql.git
synced 2026-03-26 09:18:16 +01:00
165 lines
4.6 KiB
Plaintext
165 lines
4.6 KiB
Plaintext
#10000=@"/usestrict.js;sourcefile"
|
|
files(#10000,"/usestrict.js","usestrict","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,1,33"
|
|
locations_default(#20002,#10000,1,1,1,33)
|
|
hasLocation(#20001,#20002)
|
|
#20003=@"var;{f};{#20000}"
|
|
variables(#20003,"f",#20000)
|
|
#20004=*
|
|
stmts(#20004,17,#20001,0,"functio ... ict'; }")
|
|
hasLocation(#20004,#20002)
|
|
stmtContainers(#20004,#20001)
|
|
#20005=*
|
|
exprs(#20005,78,#20004,-1,"f")
|
|
#20006=@"loc,{#10000},1,10,1,10"
|
|
locations_default(#20006,#10000,1,10,1,10)
|
|
hasLocation(#20005,#20006)
|
|
exprContainers(#20005,#20004)
|
|
literals("f","f",#20005)
|
|
decl(#20005,#20003)
|
|
#20007=*
|
|
scopes(#20007,1)
|
|
scopenodes(#20004,#20007)
|
|
scopenesting(#20007,#20000)
|
|
#20008=@"var;{a};{#20007}"
|
|
variables(#20008,"a",#20007)
|
|
#20009=*
|
|
exprs(#20009,78,#20004,0,"a")
|
|
#20010=@"loc,{#10000},1,12,1,12"
|
|
locations_default(#20010,#10000,1,12,1,12)
|
|
hasLocation(#20009,#20010)
|
|
exprContainers(#20009,#20004)
|
|
literals("a","a",#20009)
|
|
decl(#20009,#20008)
|
|
#20011=@"var;{arguments};{#20007}"
|
|
variables(#20011,"arguments",#20007)
|
|
isArgumentsObject(#20011)
|
|
#20012=*
|
|
exprs(#20012,3,#20004,-5,"2")
|
|
#20013=@"loc,{#10000},1,14,1,14"
|
|
locations_default(#20013,#10000,1,14,1,14)
|
|
hasLocation(#20012,#20013)
|
|
exprContainers(#20012,#20004)
|
|
literals("2","2",#20012)
|
|
#20014=*
|
|
stmts(#20014,1,#20004,-2,"{ 'use strict'; }")
|
|
#20015=@"loc,{#10000},1,17,1,33"
|
|
locations_default(#20015,#10000,1,17,1,33)
|
|
hasLocation(#20014,#20015)
|
|
stmtContainers(#20014,#20004)
|
|
#20016=*
|
|
stmts(#20016,2,#20014,0,"'use strict';")
|
|
#20017=@"loc,{#10000},1,19,1,31"
|
|
locations_default(#20017,#10000,1,19,1,31)
|
|
hasLocation(#20016,#20017)
|
|
stmtContainers(#20016,#20004)
|
|
#20018=*
|
|
exprs(#20018,4,#20016,0,"'use strict'")
|
|
#20019=@"loc,{#10000},1,19,1,30"
|
|
locations_default(#20019,#10000,1,19,1,30)
|
|
hasLocation(#20018,#20019)
|
|
enclosingStmt(#20018,#20016)
|
|
exprContainers(#20018,#20004)
|
|
literals("use strict","'use strict'",#20018)
|
|
numlines(#20004,1,1,0)
|
|
#20020=*
|
|
lines(#20020,#20001,"function f(a=2) { 'use strict'; }","")
|
|
hasLocation(#20020,#20002)
|
|
numlines(#20001,1,1,0)
|
|
#20021=*
|
|
tokeninfo(#20021,7,#20001,0,"function")
|
|
#20022=@"loc,{#10000},1,1,1,8"
|
|
locations_default(#20022,#10000,1,1,1,8)
|
|
hasLocation(#20021,#20022)
|
|
#20023=*
|
|
tokeninfo(#20023,6,#20001,1,"f")
|
|
hasLocation(#20023,#20006)
|
|
#20024=*
|
|
tokeninfo(#20024,8,#20001,2,"(")
|
|
#20025=@"loc,{#10000},1,11,1,11"
|
|
locations_default(#20025,#10000,1,11,1,11)
|
|
hasLocation(#20024,#20025)
|
|
#20026=*
|
|
tokeninfo(#20026,6,#20001,3,"a")
|
|
hasLocation(#20026,#20010)
|
|
#20027=*
|
|
tokeninfo(#20027,8,#20001,4,"=")
|
|
#20028=@"loc,{#10000},1,13,1,13"
|
|
locations_default(#20028,#10000,1,13,1,13)
|
|
hasLocation(#20027,#20028)
|
|
#20029=*
|
|
tokeninfo(#20029,3,#20001,5,"2")
|
|
hasLocation(#20029,#20013)
|
|
#20030=*
|
|
tokeninfo(#20030,8,#20001,6,")")
|
|
#20031=@"loc,{#10000},1,15,1,15"
|
|
locations_default(#20031,#10000,1,15,1,15)
|
|
hasLocation(#20030,#20031)
|
|
#20032=*
|
|
tokeninfo(#20032,8,#20001,7,"{")
|
|
#20033=@"loc,{#10000},1,17,1,17"
|
|
locations_default(#20033,#10000,1,17,1,17)
|
|
hasLocation(#20032,#20033)
|
|
#20034=*
|
|
tokeninfo(#20034,4,#20001,8,"'use strict'")
|
|
hasLocation(#20034,#20019)
|
|
#20035=*
|
|
tokeninfo(#20035,8,#20001,9,";")
|
|
#20036=@"loc,{#10000},1,31,1,31"
|
|
locations_default(#20036,#10000,1,31,1,31)
|
|
hasLocation(#20035,#20036)
|
|
#20037=*
|
|
tokeninfo(#20037,8,#20001,10,"}")
|
|
#20038=@"loc,{#10000},1,33,1,33"
|
|
locations_default(#20038,#10000,1,33,1,33)
|
|
hasLocation(#20037,#20038)
|
|
#20039=*
|
|
tokeninfo(#20039,0,#20001,11,"")
|
|
#20040=@"loc,{#10000},1,34,1,33"
|
|
locations_default(#20040,#10000,1,34,1,33)
|
|
hasLocation(#20039,#20040)
|
|
#20041=*
|
|
entry_cfg_node(#20041,#20001)
|
|
#20042=@"loc,{#10000},1,1,1,0"
|
|
locations_default(#20042,#10000,1,1,1,0)
|
|
hasLocation(#20041,#20042)
|
|
#20043=*
|
|
exit_cfg_node(#20043,#20001)
|
|
hasLocation(#20043,#20040)
|
|
successor(#20004,#20043)
|
|
#20044=*
|
|
entry_cfg_node(#20044,#20004)
|
|
hasLocation(#20044,#20042)
|
|
#20045=*
|
|
exit_cfg_node(#20045,#20004)
|
|
hasLocation(#20045,#20040)
|
|
successor(#20014,#20016)
|
|
successor(#20016,#20018)
|
|
successor(#20018,#20045)
|
|
successor(#20009,#20014)
|
|
successor(#20012,#20009)
|
|
successor(#20044,#20012)
|
|
successor(#20005,#20004)
|
|
successor(#20041,#20005)
|
|
#20046=*
|
|
jsParseErrors(#20046,#20001,"Error: Illegal 'use strict' directive in function with non-simple parameter list","function f(a=2) { 'use strict'; }")
|
|
#20047=@"loc,{#10000},1,19,1,19"
|
|
locations_default(#20047,#10000,1,19,1,19)
|
|
hasLocation(#20046,#20047)
|
|
#20048=*
|
|
lines(#20048,#20001,"function f(a=2) { 'use strict'; }","")
|
|
hasLocation(#20048,#20002)
|
|
numlines(#20001,1,1,0)
|
|
numlines(#10000,1,1,0)
|
|
filetype(#10000,"javascript")
|