mirror of
https://github.com/github/codeql.git
synced 2026-04-13 11:04:07 +02:00
172 lines
4.8 KiB
Plaintext
172 lines
4.8 KiB
Plaintext
#10000=@"/import4.js;sourcefile"
|
|
files(#10000,"/import4.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,"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=@"var;{this};{#20028}"
|
|
variables(#20035,"this",#20028)
|
|
#20036=*
|
|
stmts(#20036,27,#20001,0,"import ... 'foo';")
|
|
hasLocation(#20036,#20003)
|
|
stmt_containers(#20036,#20001)
|
|
#20037=*
|
|
exprs(#20037,4,#20036,-1,"'foo'")
|
|
hasLocation(#20037,#20023)
|
|
enclosing_stmt(#20037,#20036)
|
|
expr_containers(#20037,#20001)
|
|
literals("foo","'foo'",#20037)
|
|
#20038=*
|
|
regexpterm(#20038,14,#20037,0,"foo")
|
|
#20039=@"loc,{#10000},1,28,1,30"
|
|
locations_default(#20039,#10000,1,28,1,30)
|
|
hasLocation(#20038,#20039)
|
|
regexp_const_value(#20038,"foo")
|
|
#20040=*
|
|
exprs(#20040,84,#20036,0,"x")
|
|
hasLocation(#20040,#20007)
|
|
enclosing_stmt(#20040,#20036)
|
|
expr_containers(#20040,#20001)
|
|
#20041=*
|
|
exprs(#20041,78,#20040,1,"x")
|
|
hasLocation(#20041,#20007)
|
|
enclosing_stmt(#20041,#20036)
|
|
expr_containers(#20041,#20001)
|
|
literals("x","x",#20041)
|
|
decl(#20041,#20029)
|
|
typedecl(#20041,#20031)
|
|
namespacedecl(#20041,#20033)
|
|
#20042=*
|
|
exprs(#20042,83,#20036,1,"y as z")
|
|
#20043=@"loc,{#10000},1,13,1,18"
|
|
locations_default(#20043,#10000,1,13,1,18)
|
|
hasLocation(#20042,#20043)
|
|
enclosing_stmt(#20042,#20036)
|
|
expr_containers(#20042,#20001)
|
|
#20044=*
|
|
exprs(#20044,0,#20042,0,"y")
|
|
hasLocation(#20044,#20013)
|
|
enclosing_stmt(#20044,#20036)
|
|
expr_containers(#20044,#20001)
|
|
literals("y","y",#20044)
|
|
#20045=*
|
|
exprs(#20045,78,#20042,1,"z")
|
|
hasLocation(#20045,#20017)
|
|
enclosing_stmt(#20045,#20036)
|
|
expr_containers(#20045,#20001)
|
|
literals("z","z",#20045)
|
|
decl(#20045,#20030)
|
|
typedecl(#20045,#20032)
|
|
namespacedecl(#20045,#20034)
|
|
#20046=*
|
|
entry_cfg_node(#20046,#20001)
|
|
#20047=@"loc,{#10000},1,1,1,0"
|
|
locations_default(#20047,#10000,1,1,1,0)
|
|
hasLocation(#20046,#20047)
|
|
#20048=*
|
|
exit_cfg_node(#20048,#20001)
|
|
hasLocation(#20048,#20027)
|
|
successor(#20036,#20048)
|
|
successor(#20042,#20036)
|
|
successor(#20040,#20042)
|
|
successor(#20046,#20040)
|
|
numlines(#10000,1,1,0)
|
|
filetype(#10000,"javascript")
|