Files
codeql/javascript/extractor/tests/closure/output/trap/googDotModule.js.trap
2026-02-27 14:15:34 +01:00

292 lines
7.9 KiB
Plaintext

#10000=@"/googDotModule.js;sourcefile"
files(#10000,"/googDotModule.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,"goog.module('test');","
")
#20003=@"loc,{#10000},1,1,1,20"
locations_default(#20003,#10000,1,1,1,20)
hasLocation(#20002,#20003)
#20004=*
lines(#20004,#20001,"var x = 5;","
")
#20005=@"loc,{#10000},2,1,2,10"
locations_default(#20005,#10000,2,1,2,10)
hasLocation(#20004,#20005)
#20006=*
lines(#20006,#20001,"exports = { x: x };","
")
#20007=@"loc,{#10000},3,1,3,19"
locations_default(#20007,#10000,3,1,3,19)
hasLocation(#20006,#20007)
numlines(#20001,3,3,0)
#20008=*
tokeninfo(#20008,6,#20001,0,"goog")
#20009=@"loc,{#10000},1,1,1,4"
locations_default(#20009,#10000,1,1,1,4)
hasLocation(#20008,#20009)
#20010=*
tokeninfo(#20010,8,#20001,1,".")
#20011=@"loc,{#10000},1,5,1,5"
locations_default(#20011,#10000,1,5,1,5)
hasLocation(#20010,#20011)
#20012=*
tokeninfo(#20012,6,#20001,2,"module")
#20013=@"loc,{#10000},1,6,1,11"
locations_default(#20013,#10000,1,6,1,11)
hasLocation(#20012,#20013)
#20014=*
tokeninfo(#20014,8,#20001,3,"(")
#20015=@"loc,{#10000},1,12,1,12"
locations_default(#20015,#10000,1,12,1,12)
hasLocation(#20014,#20015)
#20016=*
tokeninfo(#20016,4,#20001,4,"'test'")
#20017=@"loc,{#10000},1,13,1,18"
locations_default(#20017,#10000,1,13,1,18)
hasLocation(#20016,#20017)
#20018=*
tokeninfo(#20018,8,#20001,5,")")
#20019=@"loc,{#10000},1,19,1,19"
locations_default(#20019,#10000,1,19,1,19)
hasLocation(#20018,#20019)
#20020=*
tokeninfo(#20020,8,#20001,6,";")
#20021=@"loc,{#10000},1,20,1,20"
locations_default(#20021,#10000,1,20,1,20)
hasLocation(#20020,#20021)
#20022=*
tokeninfo(#20022,7,#20001,7,"var")
#20023=@"loc,{#10000},2,1,2,3"
locations_default(#20023,#10000,2,1,2,3)
hasLocation(#20022,#20023)
#20024=*
tokeninfo(#20024,6,#20001,8,"x")
#20025=@"loc,{#10000},2,5,2,5"
locations_default(#20025,#10000,2,5,2,5)
hasLocation(#20024,#20025)
#20026=*
tokeninfo(#20026,8,#20001,9,"=")
#20027=@"loc,{#10000},2,7,2,7"
locations_default(#20027,#10000,2,7,2,7)
hasLocation(#20026,#20027)
#20028=*
tokeninfo(#20028,3,#20001,10,"5")
#20029=@"loc,{#10000},2,9,2,9"
locations_default(#20029,#10000,2,9,2,9)
hasLocation(#20028,#20029)
#20030=*
tokeninfo(#20030,8,#20001,11,";")
#20031=@"loc,{#10000},2,10,2,10"
locations_default(#20031,#10000,2,10,2,10)
hasLocation(#20030,#20031)
#20032=*
tokeninfo(#20032,6,#20001,12,"exports")
#20033=@"loc,{#10000},3,1,3,7"
locations_default(#20033,#10000,3,1,3,7)
hasLocation(#20032,#20033)
#20034=*
tokeninfo(#20034,8,#20001,13,"=")
#20035=@"loc,{#10000},3,9,3,9"
locations_default(#20035,#10000,3,9,3,9)
hasLocation(#20034,#20035)
#20036=*
tokeninfo(#20036,8,#20001,14,"{")
#20037=@"loc,{#10000},3,11,3,11"
locations_default(#20037,#10000,3,11,3,11)
hasLocation(#20036,#20037)
#20038=*
tokeninfo(#20038,6,#20001,15,"x")
#20039=@"loc,{#10000},3,13,3,13"
locations_default(#20039,#10000,3,13,3,13)
hasLocation(#20038,#20039)
#20040=*
tokeninfo(#20040,8,#20001,16,":")
#20041=@"loc,{#10000},3,14,3,14"
locations_default(#20041,#10000,3,14,3,14)
hasLocation(#20040,#20041)
#20042=*
tokeninfo(#20042,6,#20001,17,"x")
#20043=@"loc,{#10000},3,16,3,16"
locations_default(#20043,#10000,3,16,3,16)
hasLocation(#20042,#20043)
#20044=*
tokeninfo(#20044,8,#20001,18,"}")
#20045=@"loc,{#10000},3,18,3,18"
locations_default(#20045,#10000,3,18,3,18)
hasLocation(#20044,#20045)
#20046=*
tokeninfo(#20046,8,#20001,19,";")
#20047=@"loc,{#10000},3,19,3,19"
locations_default(#20047,#10000,3,19,3,19)
hasLocation(#20046,#20047)
#20048=*
tokeninfo(#20048,0,#20001,20,"")
#20049=@"loc,{#10000},4,1,4,0"
locations_default(#20049,#10000,4,1,4,0)
hasLocation(#20048,#20049)
toplevels(#20001,0)
#20050=@"loc,{#10000},1,1,4,0"
locations_default(#20050,#10000,1,1,4,0)
hasLocation(#20001,#20050)
#20051=@"module;{#10000},1,1"
scopes(#20051,3)
scopenodes(#20001,#20051)
scopenesting(#20051,#20000)
#20052=@"var;{exports};{#20051}"
variables(#20052,"exports",#20051)
is_module(#20001)
is_closure_module(#20001)
#20053=@"var;{x};{#20051}"
variables(#20053,"x",#20051)
#20054=@"var;{this};{#20051}"
variables(#20054,"this",#20051)
#20055=*
stmts(#20055,2,#20001,0,"goog.module('test');")
hasLocation(#20055,#20003)
stmt_containers(#20055,#20001)
#20056=*
exprs(#20056,13,#20055,0,"goog.module('test')")
#20057=@"loc,{#10000},1,1,1,19"
locations_default(#20057,#10000,1,1,1,19)
hasLocation(#20056,#20057)
enclosing_stmt(#20056,#20055)
expr_containers(#20056,#20001)
#20058=*
exprs(#20058,14,#20056,-1,"goog.module")
#20059=@"loc,{#10000},1,1,1,11"
locations_default(#20059,#10000,1,1,1,11)
hasLocation(#20058,#20059)
enclosing_stmt(#20058,#20055)
expr_containers(#20058,#20001)
#20060=*
exprs(#20060,79,#20058,0,"goog")
hasLocation(#20060,#20009)
enclosing_stmt(#20060,#20055)
expr_containers(#20060,#20001)
literals("goog","goog",#20060)
#20061=@"var;{goog};{#20000}"
variables(#20061,"goog",#20000)
bind(#20060,#20061)
#20062=*
exprs(#20062,0,#20058,1,"module")
hasLocation(#20062,#20013)
enclosing_stmt(#20062,#20055)
expr_containers(#20062,#20001)
literals("module","module",#20062)
#20063=*
exprs(#20063,4,#20056,0,"'test'")
hasLocation(#20063,#20017)
enclosing_stmt(#20063,#20055)
expr_containers(#20063,#20001)
literals("test","'test'",#20063)
#20064=*
regexpterm(#20064,14,#20063,0,"test")
#20065=@"loc,{#10000},1,14,1,17"
locations_default(#20065,#10000,1,14,1,17)
hasLocation(#20064,#20065)
regexp_const_value(#20064,"test")
#20066=*
stmts(#20066,18,#20001,1,"var x = 5;")
hasLocation(#20066,#20005)
stmt_containers(#20066,#20001)
#20067=*
exprs(#20067,64,#20066,0,"x = 5")
#20068=@"loc,{#10000},2,5,2,9"
locations_default(#20068,#10000,2,5,2,9)
hasLocation(#20067,#20068)
enclosing_stmt(#20067,#20066)
expr_containers(#20067,#20001)
#20069=*
exprs(#20069,78,#20067,0,"x")
hasLocation(#20069,#20025)
enclosing_stmt(#20069,#20066)
expr_containers(#20069,#20001)
literals("x","x",#20069)
decl(#20069,#20053)
#20070=*
exprs(#20070,3,#20067,1,"5")
hasLocation(#20070,#20029)
enclosing_stmt(#20070,#20066)
expr_containers(#20070,#20001)
literals("5","5",#20070)
#20071=*
stmts(#20071,2,#20001,2,"exports = { x: x };")
hasLocation(#20071,#20007)
stmt_containers(#20071,#20001)
#20072=*
exprs(#20072,47,#20071,0,"exports = { x: x }")
#20073=@"loc,{#10000},3,1,3,18"
locations_default(#20073,#10000,3,1,3,18)
hasLocation(#20072,#20073)
enclosing_stmt(#20072,#20071)
expr_containers(#20072,#20001)
#20074=*
exprs(#20074,79,#20072,0,"exports")
hasLocation(#20074,#20033)
enclosing_stmt(#20074,#20071)
expr_containers(#20074,#20001)
literals("exports","exports",#20074)
bind(#20074,#20052)
#20075=*
exprs(#20075,8,#20072,1,"{ x: x }")
#20076=@"loc,{#10000},3,11,3,18"
locations_default(#20076,#10000,3,11,3,18)
hasLocation(#20075,#20076)
enclosing_stmt(#20075,#20071)
expr_containers(#20075,#20001)
#20077=*
properties(#20077,#20075,0,0,"x: x")
#20078=@"loc,{#10000},3,13,3,16"
locations_default(#20078,#10000,3,13,3,16)
hasLocation(#20077,#20078)
#20079=*
exprs(#20079,0,#20077,0,"x")
hasLocation(#20079,#20039)
enclosing_stmt(#20079,#20071)
expr_containers(#20079,#20001)
literals("x","x",#20079)
#20080=*
exprs(#20080,79,#20077,1,"x")
hasLocation(#20080,#20043)
enclosing_stmt(#20080,#20071)
expr_containers(#20080,#20001)
literals("x","x",#20080)
bind(#20080,#20053)
#20081=*
entry_cfg_node(#20081,#20001)
#20082=@"loc,{#10000},1,1,1,0"
locations_default(#20082,#10000,1,1,1,0)
hasLocation(#20081,#20082)
#20083=*
exit_cfg_node(#20083,#20001)
hasLocation(#20083,#20049)
successor(#20071,#20074)
successor(#20075,#20079)
successor(#20080,#20077)
successor(#20079,#20080)
successor(#20077,#20072)
successor(#20074,#20075)
successor(#20072,#20083)
successor(#20066,#20069)
successor(#20070,#20067)
successor(#20069,#20070)
successor(#20067,#20071)
successor(#20055,#20060)
successor(#20063,#20056)
successor(#20062,#20058)
successor(#20060,#20062)
successor(#20058,#20063)
successor(#20056,#20066)
successor(#20081,#20055)
numlines(#10000,3,3,0)
filetype(#10000,"javascript")