mirror of
https://github.com/github/codeql.git
synced 2026-04-13 11:04:07 +02:00
138 lines
3.8 KiB
Plaintext
138 lines
3.8 KiB
Plaintext
#10000=@"/import3.js;sourcefile"
|
|
files(#10000,"/import3.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 { y as z } from 'foo';","")
|
|
#20003=@"loc,{#10000},1,1,1,29"
|
|
locations_default(#20003,#10000,1,1,1,29)
|
|
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,8,#20001,1,"{")
|
|
#20007=@"loc,{#10000},1,8,1,8"
|
|
locations_default(#20007,#10000,1,8,1,8)
|
|
hasLocation(#20006,#20007)
|
|
#20008=*
|
|
tokeninfo(#20008,6,#20001,2,"y")
|
|
#20009=@"loc,{#10000},1,10,1,10"
|
|
locations_default(#20009,#10000,1,10,1,10)
|
|
hasLocation(#20008,#20009)
|
|
#20010=*
|
|
tokeninfo(#20010,6,#20001,3,"as")
|
|
#20011=@"loc,{#10000},1,12,1,13"
|
|
locations_default(#20011,#10000,1,12,1,13)
|
|
hasLocation(#20010,#20011)
|
|
#20012=*
|
|
tokeninfo(#20012,6,#20001,4,"z")
|
|
#20013=@"loc,{#10000},1,15,1,15"
|
|
locations_default(#20013,#10000,1,15,1,15)
|
|
hasLocation(#20012,#20013)
|
|
#20014=*
|
|
tokeninfo(#20014,8,#20001,5,"}")
|
|
#20015=@"loc,{#10000},1,17,1,17"
|
|
locations_default(#20015,#10000,1,17,1,17)
|
|
hasLocation(#20014,#20015)
|
|
#20016=*
|
|
tokeninfo(#20016,6,#20001,6,"from")
|
|
#20017=@"loc,{#10000},1,19,1,22"
|
|
locations_default(#20017,#10000,1,19,1,22)
|
|
hasLocation(#20016,#20017)
|
|
#20018=*
|
|
tokeninfo(#20018,4,#20001,7,"'foo'")
|
|
#20019=@"loc,{#10000},1,24,1,28"
|
|
locations_default(#20019,#10000,1,24,1,28)
|
|
hasLocation(#20018,#20019)
|
|
#20020=*
|
|
tokeninfo(#20020,8,#20001,8,";")
|
|
#20021=@"loc,{#10000},1,29,1,29"
|
|
locations_default(#20021,#10000,1,29,1,29)
|
|
hasLocation(#20020,#20021)
|
|
#20022=*
|
|
tokeninfo(#20022,0,#20001,9,"")
|
|
#20023=@"loc,{#10000},1,30,1,29"
|
|
locations_default(#20023,#10000,1,30,1,29)
|
|
hasLocation(#20022,#20023)
|
|
toplevels(#20001,0)
|
|
hasLocation(#20001,#20003)
|
|
#20024=@"module;{#10000},1,1"
|
|
scopes(#20024,3)
|
|
scopenodes(#20001,#20024)
|
|
scopenesting(#20024,#20000)
|
|
is_module(#20001)
|
|
is_es2015_module(#20001)
|
|
#20025=@"var;{z};{#20024}"
|
|
variables(#20025,"z",#20024)
|
|
#20026=@"local_type_name;{z};{#20024}"
|
|
local_type_names(#20026,"z",#20024)
|
|
#20027=@"local_namespace_name;{z};{#20024}"
|
|
local_namespace_names(#20027,"z",#20024)
|
|
variables(#20025,"z",#20024)
|
|
local_type_names(#20026,"z",#20024)
|
|
local_namespace_names(#20027,"z",#20024)
|
|
#20028=@"var;{this};{#20024}"
|
|
variables(#20028,"this",#20024)
|
|
#20029=*
|
|
stmts(#20029,27,#20001,0,"import ... 'foo';")
|
|
hasLocation(#20029,#20003)
|
|
stmt_containers(#20029,#20001)
|
|
#20030=*
|
|
exprs(#20030,4,#20029,-1,"'foo'")
|
|
hasLocation(#20030,#20019)
|
|
enclosing_stmt(#20030,#20029)
|
|
expr_containers(#20030,#20001)
|
|
literals("foo","'foo'",#20030)
|
|
#20031=*
|
|
regexpterm(#20031,14,#20030,0,"foo")
|
|
#20032=@"loc,{#10000},1,25,1,27"
|
|
locations_default(#20032,#10000,1,25,1,27)
|
|
hasLocation(#20031,#20032)
|
|
regexp_const_value(#20031,"foo")
|
|
#20033=*
|
|
exprs(#20033,83,#20029,0,"y as z")
|
|
#20034=@"loc,{#10000},1,10,1,15"
|
|
locations_default(#20034,#10000,1,10,1,15)
|
|
hasLocation(#20033,#20034)
|
|
enclosing_stmt(#20033,#20029)
|
|
expr_containers(#20033,#20001)
|
|
#20035=*
|
|
exprs(#20035,0,#20033,0,"y")
|
|
hasLocation(#20035,#20009)
|
|
enclosing_stmt(#20035,#20029)
|
|
expr_containers(#20035,#20001)
|
|
literals("y","y",#20035)
|
|
#20036=*
|
|
exprs(#20036,78,#20033,1,"z")
|
|
hasLocation(#20036,#20013)
|
|
enclosing_stmt(#20036,#20029)
|
|
expr_containers(#20036,#20001)
|
|
literals("z","z",#20036)
|
|
decl(#20036,#20025)
|
|
typedecl(#20036,#20026)
|
|
namespacedecl(#20036,#20027)
|
|
#20037=*
|
|
entry_cfg_node(#20037,#20001)
|
|
#20038=@"loc,{#10000},1,1,1,0"
|
|
locations_default(#20038,#10000,1,1,1,0)
|
|
hasLocation(#20037,#20038)
|
|
#20039=*
|
|
exit_cfg_node(#20039,#20001)
|
|
hasLocation(#20039,#20023)
|
|
successor(#20029,#20039)
|
|
successor(#20033,#20029)
|
|
successor(#20037,#20033)
|
|
numlines(#10000,1,1,0)
|
|
filetype(#10000,"javascript")
|