mirror of
https://github.com/github/codeql.git
synced 2026-04-14 19:44:03 +02:00
250 lines
6.9 KiB
Plaintext
250 lines
6.9 KiB
Plaintext
#10000=@"/import7.js;sourcefile"
|
|
files(#10000,"/import7.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 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=@"var;{this};{#20045}"
|
|
variables(#20052,"this",#20045)
|
|
#20053=*
|
|
stmts(#20053,27,#20001,0,"import x from 'foo';")
|
|
hasLocation(#20053,#20003)
|
|
stmt_containers(#20053,#20001)
|
|
#20054=*
|
|
exprs(#20054,4,#20053,-1,"'foo'")
|
|
hasLocation(#20054,#20015)
|
|
enclosing_stmt(#20054,#20053)
|
|
expr_containers(#20054,#20001)
|
|
literals("foo","'foo'",#20054)
|
|
#20055=*
|
|
regexpterm(#20055,14,#20054,0,"foo")
|
|
#20056=@"loc,{#10000},1,16,1,18"
|
|
locations_default(#20056,#10000,1,16,1,18)
|
|
hasLocation(#20055,#20056)
|
|
regexp_const_value(#20055,"foo")
|
|
#20057=*
|
|
exprs(#20057,84,#20053,0,"x")
|
|
hasLocation(#20057,#20011)
|
|
enclosing_stmt(#20057,#20053)
|
|
expr_containers(#20057,#20001)
|
|
#20058=*
|
|
exprs(#20058,78,#20057,1,"x")
|
|
hasLocation(#20058,#20011)
|
|
enclosing_stmt(#20058,#20053)
|
|
expr_containers(#20058,#20001)
|
|
literals("x","x",#20058)
|
|
decl(#20058,#20046)
|
|
typedecl(#20058,#20048)
|
|
namespacedecl(#20058,#20050)
|
|
#20059=*
|
|
stmts(#20059,27,#20001,1,"import 'bar';")
|
|
hasLocation(#20059,#20005)
|
|
stmt_containers(#20059,#20001)
|
|
#20060=*
|
|
exprs(#20060,4,#20059,-1,"'bar'")
|
|
hasLocation(#20060,#20021)
|
|
enclosing_stmt(#20060,#20059)
|
|
expr_containers(#20060,#20001)
|
|
literals("bar","'bar'",#20060)
|
|
#20061=*
|
|
regexpterm(#20061,14,#20060,0,"bar")
|
|
#20062=@"loc,{#10000},2,9,2,11"
|
|
locations_default(#20062,#10000,2,9,2,11)
|
|
hasLocation(#20061,#20062)
|
|
regexp_const_value(#20061,"bar")
|
|
#20063=*
|
|
stmts(#20063,27,#20001,2,"import ... 'baz';")
|
|
hasLocation(#20063,#20007)
|
|
stmt_containers(#20063,#20001)
|
|
#20064=*
|
|
exprs(#20064,4,#20063,-1,"'baz'")
|
|
hasLocation(#20064,#20039)
|
|
enclosing_stmt(#20064,#20063)
|
|
expr_containers(#20064,#20001)
|
|
literals("baz","'baz'",#20064)
|
|
#20065=*
|
|
regexpterm(#20065,14,#20064,0,"baz")
|
|
#20066=@"loc,{#10000},3,25,3,27"
|
|
locations_default(#20066,#10000,3,25,3,27)
|
|
hasLocation(#20065,#20066)
|
|
regexp_const_value(#20065,"baz")
|
|
#20067=*
|
|
exprs(#20067,83,#20063,0,"y as z")
|
|
#20068=@"loc,{#10000},3,10,3,15"
|
|
locations_default(#20068,#10000,3,10,3,15)
|
|
hasLocation(#20067,#20068)
|
|
enclosing_stmt(#20067,#20063)
|
|
expr_containers(#20067,#20001)
|
|
#20069=*
|
|
exprs(#20069,0,#20067,0,"y")
|
|
hasLocation(#20069,#20029)
|
|
enclosing_stmt(#20069,#20063)
|
|
expr_containers(#20069,#20001)
|
|
literals("y","y",#20069)
|
|
#20070=*
|
|
exprs(#20070,78,#20067,1,"z")
|
|
hasLocation(#20070,#20033)
|
|
enclosing_stmt(#20070,#20063)
|
|
expr_containers(#20070,#20001)
|
|
literals("z","z",#20070)
|
|
decl(#20070,#20047)
|
|
typedecl(#20070,#20049)
|
|
namespacedecl(#20070,#20051)
|
|
#20071=*
|
|
entry_cfg_node(#20071,#20001)
|
|
#20072=@"loc,{#10000},1,1,1,0"
|
|
locations_default(#20072,#10000,1,1,1,0)
|
|
hasLocation(#20071,#20072)
|
|
#20073=*
|
|
exit_cfg_node(#20073,#20001)
|
|
hasLocation(#20073,#20043)
|
|
successor(#20063,#20073)
|
|
successor(#20059,#20063)
|
|
successor(#20053,#20059)
|
|
successor(#20067,#20053)
|
|
successor(#20057,#20067)
|
|
successor(#20071,#20057)
|
|
numlines(#10000,3,3,0)
|
|
filetype(#10000,"javascript")
|