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