mirror of
https://github.com/github/codeql.git
synced 2026-01-04 18:20:18 +01:00
124 lines
3.4 KiB
Plaintext
124 lines
3.4 KiB
Plaintext
#10000=@"/import2.js;sourcefile"
|
|
files(#10000,"/import2.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 } from 'foo';","")
|
|
#20003=@"loc,{#10000},1,1,1,24"
|
|
locations_default(#20003,#10000,1,1,1,24)
|
|
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,8,#20001,3,"}")
|
|
#20011=@"loc,{#10000},1,12,1,12"
|
|
locations_default(#20011,#10000,1,12,1,12)
|
|
hasLocation(#20010,#20011)
|
|
#20012=*
|
|
tokeninfo(#20012,6,#20001,4,"from")
|
|
#20013=@"loc,{#10000},1,14,1,17"
|
|
locations_default(#20013,#10000,1,14,1,17)
|
|
hasLocation(#20012,#20013)
|
|
#20014=*
|
|
tokeninfo(#20014,4,#20001,5,"'foo'")
|
|
#20015=@"loc,{#10000},1,19,1,23"
|
|
locations_default(#20015,#10000,1,19,1,23)
|
|
hasLocation(#20014,#20015)
|
|
#20016=*
|
|
tokeninfo(#20016,8,#20001,6,";")
|
|
#20017=@"loc,{#10000},1,24,1,24"
|
|
locations_default(#20017,#10000,1,24,1,24)
|
|
hasLocation(#20016,#20017)
|
|
#20018=*
|
|
tokeninfo(#20018,0,#20001,7,"")
|
|
#20019=@"loc,{#10000},1,25,1,24"
|
|
locations_default(#20019,#10000,1,25,1,24)
|
|
hasLocation(#20018,#20019)
|
|
toplevels(#20001,0)
|
|
hasLocation(#20001,#20003)
|
|
#20020=@"module;{#10000},1,1"
|
|
scopes(#20020,3)
|
|
scopenodes(#20001,#20020)
|
|
scopenesting(#20020,#20000)
|
|
is_module(#20001)
|
|
is_es2015_module(#20001)
|
|
#20021=@"var;{y};{#20020}"
|
|
variables(#20021,"y",#20020)
|
|
#20022=@"local_type_name;{y};{#20020}"
|
|
local_type_names(#20022,"y",#20020)
|
|
#20023=@"local_namespace_name;{y};{#20020}"
|
|
local_namespace_names(#20023,"y",#20020)
|
|
variables(#20021,"y",#20020)
|
|
local_type_names(#20022,"y",#20020)
|
|
local_namespace_names(#20023,"y",#20020)
|
|
#20024=*
|
|
stmts(#20024,27,#20001,0,"import ... 'foo';")
|
|
hasLocation(#20024,#20003)
|
|
stmt_containers(#20024,#20001)
|
|
#20025=*
|
|
exprs(#20025,4,#20024,-1,"'foo'")
|
|
hasLocation(#20025,#20015)
|
|
enclosing_stmt(#20025,#20024)
|
|
expr_containers(#20025,#20001)
|
|
literals("foo","'foo'",#20025)
|
|
#20026=*
|
|
regexpterm(#20026,14,#20025,0,"foo")
|
|
#20027=@"loc,{#10000},1,20,1,22"
|
|
locations_default(#20027,#10000,1,20,1,22)
|
|
hasLocation(#20026,#20027)
|
|
regexp_const_value(#20026,"foo")
|
|
#20028=*
|
|
exprs(#20028,83,#20024,0,"y")
|
|
hasLocation(#20028,#20009)
|
|
enclosing_stmt(#20028,#20024)
|
|
expr_containers(#20028,#20001)
|
|
#20029=*
|
|
exprs(#20029,0,#20028,0,"y")
|
|
hasLocation(#20029,#20009)
|
|
enclosing_stmt(#20029,#20024)
|
|
expr_containers(#20029,#20001)
|
|
literals("y","y",#20029)
|
|
#20030=*
|
|
exprs(#20030,78,#20028,1,"y")
|
|
hasLocation(#20030,#20009)
|
|
enclosing_stmt(#20030,#20024)
|
|
expr_containers(#20030,#20001)
|
|
literals("y","y",#20030)
|
|
decl(#20030,#20021)
|
|
typedecl(#20030,#20022)
|
|
namespacedecl(#20030,#20023)
|
|
#20031=*
|
|
entry_cfg_node(#20031,#20001)
|
|
#20032=@"loc,{#10000},1,1,1,0"
|
|
locations_default(#20032,#10000,1,1,1,0)
|
|
hasLocation(#20031,#20032)
|
|
#20033=*
|
|
exit_cfg_node(#20033,#20001)
|
|
hasLocation(#20033,#20019)
|
|
successor(#20024,#20033)
|
|
successor(#20028,#20024)
|
|
successor(#20031,#20028)
|
|
numlines(#10000,1,1,0)
|
|
filetype(#10000,"javascript")
|