mirror of
https://github.com/github/codeql.git
synced 2026-01-06 11:10:23 +01:00
170 lines
4.7 KiB
Plaintext
170 lines
4.7 KiB
Plaintext
#10000=@"/import4.js;sourcefile"
|
|
files(#10000,"/import4.js","import4","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,"import x, { y as z } from 'foo';","")
|
|
#20003=@"loc,{#10000},1,1,1,32"
|
|
locations_default(#20003,#10000,1,1,1,32)
|
|
hasLocation(#20002,#20003)
|
|
numlines(#20001,1,1,0)
|
|
#20004=*
|
|
tokeninfo(#20004,7,#20001,0,"import")
|
|
#20005=@"loc,{#10000},1,1,1,6"
|
|
locations_default(#20005,#10000,1,1,1,6)
|
|
hasLocation(#20004,#20005)
|
|
#20006=*
|
|
tokeninfo(#20006,6,#20001,1,"x")
|
|
#20007=@"loc,{#10000},1,8,1,8"
|
|
locations_default(#20007,#10000,1,8,1,8)
|
|
hasLocation(#20006,#20007)
|
|
#20008=*
|
|
tokeninfo(#20008,8,#20001,2,",")
|
|
#20009=@"loc,{#10000},1,9,1,9"
|
|
locations_default(#20009,#10000,1,9,1,9)
|
|
hasLocation(#20008,#20009)
|
|
#20010=*
|
|
tokeninfo(#20010,8,#20001,3,"{")
|
|
#20011=@"loc,{#10000},1,11,1,11"
|
|
locations_default(#20011,#10000,1,11,1,11)
|
|
hasLocation(#20010,#20011)
|
|
#20012=*
|
|
tokeninfo(#20012,6,#20001,4,"y")
|
|
#20013=@"loc,{#10000},1,13,1,13"
|
|
locations_default(#20013,#10000,1,13,1,13)
|
|
hasLocation(#20012,#20013)
|
|
#20014=*
|
|
tokeninfo(#20014,6,#20001,5,"as")
|
|
#20015=@"loc,{#10000},1,15,1,16"
|
|
locations_default(#20015,#10000,1,15,1,16)
|
|
hasLocation(#20014,#20015)
|
|
#20016=*
|
|
tokeninfo(#20016,6,#20001,6,"z")
|
|
#20017=@"loc,{#10000},1,18,1,18"
|
|
locations_default(#20017,#10000,1,18,1,18)
|
|
hasLocation(#20016,#20017)
|
|
#20018=*
|
|
tokeninfo(#20018,8,#20001,7,"}")
|
|
#20019=@"loc,{#10000},1,20,1,20"
|
|
locations_default(#20019,#10000,1,20,1,20)
|
|
hasLocation(#20018,#20019)
|
|
#20020=*
|
|
tokeninfo(#20020,6,#20001,8,"from")
|
|
#20021=@"loc,{#10000},1,22,1,25"
|
|
locations_default(#20021,#10000,1,22,1,25)
|
|
hasLocation(#20020,#20021)
|
|
#20022=*
|
|
tokeninfo(#20022,4,#20001,9,"'foo'")
|
|
#20023=@"loc,{#10000},1,27,1,31"
|
|
locations_default(#20023,#10000,1,27,1,31)
|
|
hasLocation(#20022,#20023)
|
|
#20024=*
|
|
tokeninfo(#20024,8,#20001,10,";")
|
|
#20025=@"loc,{#10000},1,32,1,32"
|
|
locations_default(#20025,#10000,1,32,1,32)
|
|
hasLocation(#20024,#20025)
|
|
#20026=*
|
|
tokeninfo(#20026,0,#20001,11,"")
|
|
#20027=@"loc,{#10000},1,33,1,32"
|
|
locations_default(#20027,#10000,1,33,1,32)
|
|
hasLocation(#20026,#20027)
|
|
toplevels(#20001,0)
|
|
hasLocation(#20001,#20003)
|
|
#20028=@"module;{#10000},1,1"
|
|
scopes(#20028,3)
|
|
scopenodes(#20001,#20028)
|
|
scopenesting(#20028,#20000)
|
|
is_module(#20001)
|
|
is_es2015_module(#20001)
|
|
#20029=@"var;{x};{#20028}"
|
|
variables(#20029,"x",#20028)
|
|
#20030=@"var;{z};{#20028}"
|
|
variables(#20030,"z",#20028)
|
|
#20031=@"local_type_name;{x};{#20028}"
|
|
local_type_names(#20031,"x",#20028)
|
|
#20032=@"local_type_name;{z};{#20028}"
|
|
local_type_names(#20032,"z",#20028)
|
|
#20033=@"local_namespace_name;{x};{#20028}"
|
|
local_namespace_names(#20033,"x",#20028)
|
|
#20034=@"local_namespace_name;{z};{#20028}"
|
|
local_namespace_names(#20034,"z",#20028)
|
|
variables(#20029,"x",#20028)
|
|
variables(#20030,"z",#20028)
|
|
local_type_names(#20031,"x",#20028)
|
|
local_type_names(#20032,"z",#20028)
|
|
local_namespace_names(#20033,"x",#20028)
|
|
local_namespace_names(#20034,"z",#20028)
|
|
#20035=*
|
|
stmts(#20035,27,#20001,0,"import ... 'foo';")
|
|
hasLocation(#20035,#20003)
|
|
stmt_containers(#20035,#20001)
|
|
#20036=*
|
|
exprs(#20036,4,#20035,-1,"'foo'")
|
|
hasLocation(#20036,#20023)
|
|
enclosing_stmt(#20036,#20035)
|
|
expr_containers(#20036,#20001)
|
|
literals("foo","'foo'",#20036)
|
|
#20037=*
|
|
regexpterm(#20037,14,#20036,0,"foo")
|
|
#20038=@"loc,{#10000},1,28,1,30"
|
|
locations_default(#20038,#10000,1,28,1,30)
|
|
hasLocation(#20037,#20038)
|
|
regexp_const_value(#20037,"foo")
|
|
#20039=*
|
|
exprs(#20039,84,#20035,0,"x")
|
|
hasLocation(#20039,#20007)
|
|
enclosing_stmt(#20039,#20035)
|
|
expr_containers(#20039,#20001)
|
|
#20040=*
|
|
exprs(#20040,78,#20039,1,"x")
|
|
hasLocation(#20040,#20007)
|
|
enclosing_stmt(#20040,#20035)
|
|
expr_containers(#20040,#20001)
|
|
literals("x","x",#20040)
|
|
decl(#20040,#20029)
|
|
typedecl(#20040,#20031)
|
|
namespacedecl(#20040,#20033)
|
|
#20041=*
|
|
exprs(#20041,83,#20035,1,"y as z")
|
|
#20042=@"loc,{#10000},1,13,1,18"
|
|
locations_default(#20042,#10000,1,13,1,18)
|
|
hasLocation(#20041,#20042)
|
|
enclosing_stmt(#20041,#20035)
|
|
expr_containers(#20041,#20001)
|
|
#20043=*
|
|
exprs(#20043,0,#20041,0,"y")
|
|
hasLocation(#20043,#20013)
|
|
enclosing_stmt(#20043,#20035)
|
|
expr_containers(#20043,#20001)
|
|
literals("y","y",#20043)
|
|
#20044=*
|
|
exprs(#20044,78,#20041,1,"z")
|
|
hasLocation(#20044,#20017)
|
|
enclosing_stmt(#20044,#20035)
|
|
expr_containers(#20044,#20001)
|
|
literals("z","z",#20044)
|
|
decl(#20044,#20030)
|
|
typedecl(#20044,#20032)
|
|
namespacedecl(#20044,#20034)
|
|
#20045=*
|
|
entry_cfg_node(#20045,#20001)
|
|
#20046=@"loc,{#10000},1,1,1,0"
|
|
locations_default(#20046,#10000,1,1,1,0)
|
|
hasLocation(#20045,#20046)
|
|
#20047=*
|
|
exit_cfg_node(#20047,#20001)
|
|
hasLocation(#20047,#20027)
|
|
successor(#20035,#20047)
|
|
successor(#20041,#20035)
|
|
successor(#20039,#20041)
|
|
successor(#20045,#20039)
|
|
numlines(#10000,1,1,0)
|
|
filetype(#10000,"javascript")
|