mirror of
https://github.com/github/codeql.git
synced 2026-01-06 19:20:25 +01:00
248 lines
6.9 KiB
Plaintext
248 lines
6.9 KiB
Plaintext
#10000=@"/import7.js;sourcefile"
|
|
files(#10000,"/import7.js","import7","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 from 'foo';","
|
|
")
|
|
#20003=@"loc,{#10000},1,1,1,20"
|
|
locations_default(#20003,#10000,1,1,1,20)
|
|
hasLocation(#20002,#20003)
|
|
#20004=*
|
|
lines(#20004,#20001,"import 'bar';","
|
|
")
|
|
#20005=@"loc,{#10000},2,1,2,13"
|
|
locations_default(#20005,#10000,2,1,2,13)
|
|
hasLocation(#20004,#20005)
|
|
#20006=*
|
|
lines(#20006,#20001,"import { y as z } from 'baz';","")
|
|
#20007=@"loc,{#10000},3,1,3,29"
|
|
locations_default(#20007,#10000,3,1,3,29)
|
|
hasLocation(#20006,#20007)
|
|
numlines(#20001,3,3,0)
|
|
#20008=*
|
|
tokeninfo(#20008,7,#20001,0,"import")
|
|
#20009=@"loc,{#10000},1,1,1,6"
|
|
locations_default(#20009,#10000,1,1,1,6)
|
|
hasLocation(#20008,#20009)
|
|
#20010=*
|
|
tokeninfo(#20010,6,#20001,1,"x")
|
|
#20011=@"loc,{#10000},1,8,1,8"
|
|
locations_default(#20011,#10000,1,8,1,8)
|
|
hasLocation(#20010,#20011)
|
|
#20012=*
|
|
tokeninfo(#20012,6,#20001,2,"from")
|
|
#20013=@"loc,{#10000},1,10,1,13"
|
|
locations_default(#20013,#10000,1,10,1,13)
|
|
hasLocation(#20012,#20013)
|
|
#20014=*
|
|
tokeninfo(#20014,4,#20001,3,"'foo'")
|
|
#20015=@"loc,{#10000},1,15,1,19"
|
|
locations_default(#20015,#10000,1,15,1,19)
|
|
hasLocation(#20014,#20015)
|
|
#20016=*
|
|
tokeninfo(#20016,8,#20001,4,";")
|
|
#20017=@"loc,{#10000},1,20,1,20"
|
|
locations_default(#20017,#10000,1,20,1,20)
|
|
hasLocation(#20016,#20017)
|
|
#20018=*
|
|
tokeninfo(#20018,7,#20001,5,"import")
|
|
#20019=@"loc,{#10000},2,1,2,6"
|
|
locations_default(#20019,#10000,2,1,2,6)
|
|
hasLocation(#20018,#20019)
|
|
#20020=*
|
|
tokeninfo(#20020,4,#20001,6,"'bar'")
|
|
#20021=@"loc,{#10000},2,8,2,12"
|
|
locations_default(#20021,#10000,2,8,2,12)
|
|
hasLocation(#20020,#20021)
|
|
#20022=*
|
|
tokeninfo(#20022,8,#20001,7,";")
|
|
#20023=@"loc,{#10000},2,13,2,13"
|
|
locations_default(#20023,#10000,2,13,2,13)
|
|
hasLocation(#20022,#20023)
|
|
#20024=*
|
|
tokeninfo(#20024,7,#20001,8,"import")
|
|
#20025=@"loc,{#10000},3,1,3,6"
|
|
locations_default(#20025,#10000,3,1,3,6)
|
|
hasLocation(#20024,#20025)
|
|
#20026=*
|
|
tokeninfo(#20026,8,#20001,9,"{")
|
|
#20027=@"loc,{#10000},3,8,3,8"
|
|
locations_default(#20027,#10000,3,8,3,8)
|
|
hasLocation(#20026,#20027)
|
|
#20028=*
|
|
tokeninfo(#20028,6,#20001,10,"y")
|
|
#20029=@"loc,{#10000},3,10,3,10"
|
|
locations_default(#20029,#10000,3,10,3,10)
|
|
hasLocation(#20028,#20029)
|
|
#20030=*
|
|
tokeninfo(#20030,6,#20001,11,"as")
|
|
#20031=@"loc,{#10000},3,12,3,13"
|
|
locations_default(#20031,#10000,3,12,3,13)
|
|
hasLocation(#20030,#20031)
|
|
#20032=*
|
|
tokeninfo(#20032,6,#20001,12,"z")
|
|
#20033=@"loc,{#10000},3,15,3,15"
|
|
locations_default(#20033,#10000,3,15,3,15)
|
|
hasLocation(#20032,#20033)
|
|
#20034=*
|
|
tokeninfo(#20034,8,#20001,13,"}")
|
|
#20035=@"loc,{#10000},3,17,3,17"
|
|
locations_default(#20035,#10000,3,17,3,17)
|
|
hasLocation(#20034,#20035)
|
|
#20036=*
|
|
tokeninfo(#20036,6,#20001,14,"from")
|
|
#20037=@"loc,{#10000},3,19,3,22"
|
|
locations_default(#20037,#10000,3,19,3,22)
|
|
hasLocation(#20036,#20037)
|
|
#20038=*
|
|
tokeninfo(#20038,4,#20001,15,"'baz'")
|
|
#20039=@"loc,{#10000},3,24,3,28"
|
|
locations_default(#20039,#10000,3,24,3,28)
|
|
hasLocation(#20038,#20039)
|
|
#20040=*
|
|
tokeninfo(#20040,8,#20001,16,";")
|
|
#20041=@"loc,{#10000},3,29,3,29"
|
|
locations_default(#20041,#10000,3,29,3,29)
|
|
hasLocation(#20040,#20041)
|
|
#20042=*
|
|
tokeninfo(#20042,0,#20001,17,"")
|
|
#20043=@"loc,{#10000},3,30,3,29"
|
|
locations_default(#20043,#10000,3,30,3,29)
|
|
hasLocation(#20042,#20043)
|
|
toplevels(#20001,0)
|
|
#20044=@"loc,{#10000},1,1,3,29"
|
|
locations_default(#20044,#10000,1,1,3,29)
|
|
hasLocation(#20001,#20044)
|
|
#20045=@"module;{#10000},1,1"
|
|
scopes(#20045,3)
|
|
scopenodes(#20001,#20045)
|
|
scopenesting(#20045,#20000)
|
|
is_module(#20001)
|
|
is_es2015_module(#20001)
|
|
#20046=@"var;{x};{#20045}"
|
|
variables(#20046,"x",#20045)
|
|
#20047=@"var;{z};{#20045}"
|
|
variables(#20047,"z",#20045)
|
|
#20048=@"local_type_name;{x};{#20045}"
|
|
local_type_names(#20048,"x",#20045)
|
|
#20049=@"local_type_name;{z};{#20045}"
|
|
local_type_names(#20049,"z",#20045)
|
|
#20050=@"local_namespace_name;{x};{#20045}"
|
|
local_namespace_names(#20050,"x",#20045)
|
|
#20051=@"local_namespace_name;{z};{#20045}"
|
|
local_namespace_names(#20051,"z",#20045)
|
|
variables(#20046,"x",#20045)
|
|
variables(#20047,"z",#20045)
|
|
local_type_names(#20048,"x",#20045)
|
|
local_type_names(#20049,"z",#20045)
|
|
local_namespace_names(#20050,"x",#20045)
|
|
local_namespace_names(#20051,"z",#20045)
|
|
#20052=*
|
|
stmts(#20052,27,#20001,0,"import x from 'foo';")
|
|
hasLocation(#20052,#20003)
|
|
stmt_containers(#20052,#20001)
|
|
#20053=*
|
|
exprs(#20053,4,#20052,-1,"'foo'")
|
|
hasLocation(#20053,#20015)
|
|
enclosing_stmt(#20053,#20052)
|
|
expr_containers(#20053,#20001)
|
|
literals("foo","'foo'",#20053)
|
|
#20054=*
|
|
regexpterm(#20054,14,#20053,0,"foo")
|
|
#20055=@"loc,{#10000},1,16,1,18"
|
|
locations_default(#20055,#10000,1,16,1,18)
|
|
hasLocation(#20054,#20055)
|
|
regexp_const_value(#20054,"foo")
|
|
#20056=*
|
|
exprs(#20056,84,#20052,0,"x")
|
|
hasLocation(#20056,#20011)
|
|
enclosing_stmt(#20056,#20052)
|
|
expr_containers(#20056,#20001)
|
|
#20057=*
|
|
exprs(#20057,78,#20056,1,"x")
|
|
hasLocation(#20057,#20011)
|
|
enclosing_stmt(#20057,#20052)
|
|
expr_containers(#20057,#20001)
|
|
literals("x","x",#20057)
|
|
decl(#20057,#20046)
|
|
typedecl(#20057,#20048)
|
|
namespacedecl(#20057,#20050)
|
|
#20058=*
|
|
stmts(#20058,27,#20001,1,"import 'bar';")
|
|
hasLocation(#20058,#20005)
|
|
stmt_containers(#20058,#20001)
|
|
#20059=*
|
|
exprs(#20059,4,#20058,-1,"'bar'")
|
|
hasLocation(#20059,#20021)
|
|
enclosing_stmt(#20059,#20058)
|
|
expr_containers(#20059,#20001)
|
|
literals("bar","'bar'",#20059)
|
|
#20060=*
|
|
regexpterm(#20060,14,#20059,0,"bar")
|
|
#20061=@"loc,{#10000},2,9,2,11"
|
|
locations_default(#20061,#10000,2,9,2,11)
|
|
hasLocation(#20060,#20061)
|
|
regexp_const_value(#20060,"bar")
|
|
#20062=*
|
|
stmts(#20062,27,#20001,2,"import ... 'baz';")
|
|
hasLocation(#20062,#20007)
|
|
stmt_containers(#20062,#20001)
|
|
#20063=*
|
|
exprs(#20063,4,#20062,-1,"'baz'")
|
|
hasLocation(#20063,#20039)
|
|
enclosing_stmt(#20063,#20062)
|
|
expr_containers(#20063,#20001)
|
|
literals("baz","'baz'",#20063)
|
|
#20064=*
|
|
regexpterm(#20064,14,#20063,0,"baz")
|
|
#20065=@"loc,{#10000},3,25,3,27"
|
|
locations_default(#20065,#10000,3,25,3,27)
|
|
hasLocation(#20064,#20065)
|
|
regexp_const_value(#20064,"baz")
|
|
#20066=*
|
|
exprs(#20066,83,#20062,0,"y as z")
|
|
#20067=@"loc,{#10000},3,10,3,15"
|
|
locations_default(#20067,#10000,3,10,3,15)
|
|
hasLocation(#20066,#20067)
|
|
enclosing_stmt(#20066,#20062)
|
|
expr_containers(#20066,#20001)
|
|
#20068=*
|
|
exprs(#20068,0,#20066,0,"y")
|
|
hasLocation(#20068,#20029)
|
|
enclosing_stmt(#20068,#20062)
|
|
expr_containers(#20068,#20001)
|
|
literals("y","y",#20068)
|
|
#20069=*
|
|
exprs(#20069,78,#20066,1,"z")
|
|
hasLocation(#20069,#20033)
|
|
enclosing_stmt(#20069,#20062)
|
|
expr_containers(#20069,#20001)
|
|
literals("z","z",#20069)
|
|
decl(#20069,#20047)
|
|
typedecl(#20069,#20049)
|
|
namespacedecl(#20069,#20051)
|
|
#20070=*
|
|
entry_cfg_node(#20070,#20001)
|
|
#20071=@"loc,{#10000},1,1,1,0"
|
|
locations_default(#20071,#10000,1,1,1,0)
|
|
hasLocation(#20070,#20071)
|
|
#20072=*
|
|
exit_cfg_node(#20072,#20001)
|
|
hasLocation(#20072,#20043)
|
|
successor(#20062,#20072)
|
|
successor(#20058,#20062)
|
|
successor(#20052,#20058)
|
|
successor(#20066,#20052)
|
|
successor(#20056,#20066)
|
|
successor(#20070,#20056)
|
|
numlines(#10000,3,3,0)
|
|
filetype(#10000,"javascript")
|