mirror of
https://github.com/github/codeql.git
synced 2025-12-19 10:23:15 +01:00
180 lines
4.9 KiB
Plaintext
180 lines
4.9 KiB
Plaintext
#10000=@"/constlet.js;sourcefile"
|
|
files(#10000,"/constlet.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,"const x = 23;","
|
|
")
|
|
#20003=@"loc,{#10000},1,1,1,13"
|
|
locations_default(#20003,#10000,1,1,1,13)
|
|
hasLocation(#20002,#20003)
|
|
#20004=*
|
|
lines(#20004,#20001,"let y = 42;","")
|
|
#20005=@"loc,{#10000},2,1,2,11"
|
|
locations_default(#20005,#10000,2,1,2,11)
|
|
hasLocation(#20004,#20005)
|
|
numlines(#20001,2,2,0)
|
|
#20006=*
|
|
tokeninfo(#20006,7,#20001,0,"const")
|
|
#20007=@"loc,{#10000},1,1,1,5"
|
|
locations_default(#20007,#10000,1,1,1,5)
|
|
hasLocation(#20006,#20007)
|
|
#20008=*
|
|
tokeninfo(#20008,6,#20001,1,"x")
|
|
#20009=@"loc,{#10000},1,7,1,7"
|
|
locations_default(#20009,#10000,1,7,1,7)
|
|
hasLocation(#20008,#20009)
|
|
#20010=*
|
|
tokeninfo(#20010,8,#20001,2,"=")
|
|
#20011=@"loc,{#10000},1,9,1,9"
|
|
locations_default(#20011,#10000,1,9,1,9)
|
|
hasLocation(#20010,#20011)
|
|
#20012=*
|
|
tokeninfo(#20012,3,#20001,3,"23")
|
|
#20013=@"loc,{#10000},1,11,1,12"
|
|
locations_default(#20013,#10000,1,11,1,12)
|
|
hasLocation(#20012,#20013)
|
|
#20014=*
|
|
tokeninfo(#20014,8,#20001,4,";")
|
|
#20015=@"loc,{#10000},1,13,1,13"
|
|
locations_default(#20015,#10000,1,13,1,13)
|
|
hasLocation(#20014,#20015)
|
|
#20016=*
|
|
tokeninfo(#20016,7,#20001,5,"let")
|
|
#20017=@"loc,{#10000},2,1,2,3"
|
|
locations_default(#20017,#10000,2,1,2,3)
|
|
hasLocation(#20016,#20017)
|
|
#20018=*
|
|
tokeninfo(#20018,6,#20001,6,"y")
|
|
#20019=@"loc,{#10000},2,5,2,5"
|
|
locations_default(#20019,#10000,2,5,2,5)
|
|
hasLocation(#20018,#20019)
|
|
#20020=*
|
|
tokeninfo(#20020,8,#20001,7,"=")
|
|
#20021=@"loc,{#10000},2,7,2,7"
|
|
locations_default(#20021,#10000,2,7,2,7)
|
|
hasLocation(#20020,#20021)
|
|
#20022=*
|
|
tokeninfo(#20022,3,#20001,8,"42")
|
|
#20023=@"loc,{#10000},2,9,2,10"
|
|
locations_default(#20023,#10000,2,9,2,10)
|
|
hasLocation(#20022,#20023)
|
|
#20024=*
|
|
tokeninfo(#20024,8,#20001,9,";")
|
|
#20025=@"loc,{#10000},2,11,2,11"
|
|
locations_default(#20025,#10000,2,11,2,11)
|
|
hasLocation(#20024,#20025)
|
|
#20026=*
|
|
tokeninfo(#20026,0,#20001,10,"")
|
|
#20027=@"loc,{#10000},2,12,2,11"
|
|
locations_default(#20027,#10000,2,12,2,11)
|
|
hasLocation(#20026,#20027)
|
|
toplevels(#20001,0)
|
|
#20028=@"loc,{#10000},1,1,2,11"
|
|
locations_default(#20028,#10000,1,1,2,11)
|
|
hasLocation(#20001,#20028)
|
|
#20029=@"var;{global};{#20000}"
|
|
variables(#20029,"global",#20000)
|
|
#20030=@"var;{process};{#20000}"
|
|
variables(#20030,"process",#20000)
|
|
#20031=@"var;{console};{#20000}"
|
|
variables(#20031,"console",#20000)
|
|
#20032=@"var;{Buffer};{#20000}"
|
|
variables(#20032,"Buffer",#20000)
|
|
#20033=@"module;{#10000},1,1"
|
|
scopes(#20033,3)
|
|
scopenodes(#20001,#20033)
|
|
scopenesting(#20033,#20000)
|
|
#20034=@"var;{require};{#20033}"
|
|
variables(#20034,"require",#20033)
|
|
#20035=@"var;{module};{#20033}"
|
|
variables(#20035,"module",#20033)
|
|
#20036=@"var;{exports};{#20033}"
|
|
variables(#20036,"exports",#20033)
|
|
#20037=@"var;{__filename};{#20033}"
|
|
variables(#20037,"__filename",#20033)
|
|
#20038=@"var;{__dirname};{#20033}"
|
|
variables(#20038,"__dirname",#20033)
|
|
#20039=@"var;{arguments};{#20033}"
|
|
variables(#20039,"arguments",#20033)
|
|
is_module(#20001)
|
|
#20040=@"var;{x};{#20033}"
|
|
variables(#20040,"x",#20033)
|
|
#20041=@"var;{y};{#20033}"
|
|
variables(#20041,"y",#20033)
|
|
#20042=*
|
|
stmts(#20042,22,#20001,0,"const x = 23;")
|
|
hasLocation(#20042,#20003)
|
|
stmt_containers(#20042,#20001)
|
|
#20043=*
|
|
exprs(#20043,64,#20042,0,"x = 23")
|
|
#20044=@"loc,{#10000},1,7,1,12"
|
|
locations_default(#20044,#10000,1,7,1,12)
|
|
hasLocation(#20043,#20044)
|
|
enclosing_stmt(#20043,#20042)
|
|
expr_containers(#20043,#20001)
|
|
#20045=*
|
|
exprs(#20045,78,#20043,0,"x")
|
|
hasLocation(#20045,#20009)
|
|
enclosing_stmt(#20045,#20042)
|
|
expr_containers(#20045,#20001)
|
|
literals("x","x",#20045)
|
|
decl(#20045,#20040)
|
|
#20046=*
|
|
exprs(#20046,3,#20043,1,"23")
|
|
hasLocation(#20046,#20013)
|
|
enclosing_stmt(#20046,#20042)
|
|
expr_containers(#20046,#20001)
|
|
literals("23","23",#20046)
|
|
#20047=*
|
|
stmts(#20047,23,#20001,1,"let y = 42;")
|
|
hasLocation(#20047,#20005)
|
|
stmt_containers(#20047,#20001)
|
|
#20048=*
|
|
exprs(#20048,64,#20047,0,"y = 42")
|
|
#20049=@"loc,{#10000},2,5,2,10"
|
|
locations_default(#20049,#10000,2,5,2,10)
|
|
hasLocation(#20048,#20049)
|
|
enclosing_stmt(#20048,#20047)
|
|
expr_containers(#20048,#20001)
|
|
#20050=*
|
|
exprs(#20050,78,#20048,0,"y")
|
|
hasLocation(#20050,#20019)
|
|
enclosing_stmt(#20050,#20047)
|
|
expr_containers(#20050,#20001)
|
|
literals("y","y",#20050)
|
|
decl(#20050,#20041)
|
|
#20051=*
|
|
exprs(#20051,3,#20048,1,"42")
|
|
hasLocation(#20051,#20023)
|
|
enclosing_stmt(#20051,#20047)
|
|
expr_containers(#20051,#20001)
|
|
literals("42","42",#20051)
|
|
#20052=*
|
|
entry_cfg_node(#20052,#20001)
|
|
#20053=@"loc,{#10000},1,1,1,0"
|
|
locations_default(#20053,#10000,1,1,1,0)
|
|
hasLocation(#20052,#20053)
|
|
#20054=*
|
|
exit_cfg_node(#20054,#20001)
|
|
hasLocation(#20054,#20027)
|
|
successor(#20047,#20050)
|
|
successor(#20051,#20048)
|
|
successor(#20050,#20051)
|
|
successor(#20048,#20054)
|
|
successor(#20042,#20045)
|
|
successor(#20046,#20043)
|
|
successor(#20045,#20046)
|
|
successor(#20043,#20047)
|
|
successor(#20052,#20042)
|
|
is_nodejs(#20001)
|
|
numlines(#10000,2,2,0)
|
|
filetype(#10000,"javascript")
|