mirror of
https://github.com/github/codeql.git
synced 2026-03-31 04:38:18 +02:00
278 lines
7.4 KiB
Plaintext
278 lines
7.4 KiB
Plaintext
#10000=@"/class_method.js;sourcefile"
|
|
files(#10000,"/class_method.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,"class A {","
|
|
")
|
|
#20003=@"loc,{#10000},1,1,1,9"
|
|
locations_default(#20003,#10000,1,1,1,9)
|
|
hasLocation(#20002,#20003)
|
|
#20004=*
|
|
lines(#20004,#20001," getX() {","
|
|
")
|
|
#20005=@"loc,{#10000},2,1,2,10"
|
|
locations_default(#20005,#10000,2,1,2,10)
|
|
hasLocation(#20004,#20005)
|
|
indentation(#10000,2," ",2)
|
|
#20006=*
|
|
lines(#20006,#20001," return this.x;","
|
|
")
|
|
#20007=@"loc,{#10000},3,1,3,18"
|
|
locations_default(#20007,#10000,3,1,3,18)
|
|
hasLocation(#20006,#20007)
|
|
indentation(#10000,3," ",4)
|
|
#20008=*
|
|
lines(#20008,#20001," }","
|
|
")
|
|
#20009=@"loc,{#10000},4,1,4,3"
|
|
locations_default(#20009,#10000,4,1,4,3)
|
|
hasLocation(#20008,#20009)
|
|
indentation(#10000,4," ",2)
|
|
#20010=*
|
|
lines(#20010,#20001,"}","")
|
|
#20011=@"loc,{#10000},5,1,5,1"
|
|
locations_default(#20011,#10000,5,1,5,1)
|
|
hasLocation(#20010,#20011)
|
|
numlines(#20001,5,5,0)
|
|
#20012=*
|
|
tokeninfo(#20012,7,#20001,0,"class")
|
|
#20013=@"loc,{#10000},1,1,1,5"
|
|
locations_default(#20013,#10000,1,1,1,5)
|
|
hasLocation(#20012,#20013)
|
|
#20014=*
|
|
tokeninfo(#20014,6,#20001,1,"A")
|
|
#20015=@"loc,{#10000},1,7,1,7"
|
|
locations_default(#20015,#10000,1,7,1,7)
|
|
hasLocation(#20014,#20015)
|
|
#20016=*
|
|
tokeninfo(#20016,8,#20001,2,"{")
|
|
#20017=@"loc,{#10000},1,9,1,9"
|
|
locations_default(#20017,#10000,1,9,1,9)
|
|
hasLocation(#20016,#20017)
|
|
#20018=*
|
|
tokeninfo(#20018,6,#20001,3,"getX")
|
|
#20019=@"loc,{#10000},2,3,2,6"
|
|
locations_default(#20019,#10000,2,3,2,6)
|
|
hasLocation(#20018,#20019)
|
|
#20020=*
|
|
tokeninfo(#20020,8,#20001,4,"(")
|
|
#20021=@"loc,{#10000},2,7,2,7"
|
|
locations_default(#20021,#10000,2,7,2,7)
|
|
hasLocation(#20020,#20021)
|
|
#20022=*
|
|
tokeninfo(#20022,8,#20001,5,")")
|
|
#20023=@"loc,{#10000},2,8,2,8"
|
|
locations_default(#20023,#10000,2,8,2,8)
|
|
hasLocation(#20022,#20023)
|
|
#20024=*
|
|
tokeninfo(#20024,8,#20001,6,"{")
|
|
#20025=@"loc,{#10000},2,10,2,10"
|
|
locations_default(#20025,#10000,2,10,2,10)
|
|
hasLocation(#20024,#20025)
|
|
#20026=*
|
|
tokeninfo(#20026,7,#20001,7,"return")
|
|
#20027=@"loc,{#10000},3,5,3,10"
|
|
locations_default(#20027,#10000,3,5,3,10)
|
|
hasLocation(#20026,#20027)
|
|
#20028=*
|
|
tokeninfo(#20028,7,#20001,8,"this")
|
|
#20029=@"loc,{#10000},3,12,3,15"
|
|
locations_default(#20029,#10000,3,12,3,15)
|
|
hasLocation(#20028,#20029)
|
|
#20030=*
|
|
tokeninfo(#20030,8,#20001,9,".")
|
|
#20031=@"loc,{#10000},3,16,3,16"
|
|
locations_default(#20031,#10000,3,16,3,16)
|
|
hasLocation(#20030,#20031)
|
|
#20032=*
|
|
tokeninfo(#20032,6,#20001,10,"x")
|
|
#20033=@"loc,{#10000},3,17,3,17"
|
|
locations_default(#20033,#10000,3,17,3,17)
|
|
hasLocation(#20032,#20033)
|
|
#20034=*
|
|
tokeninfo(#20034,8,#20001,11,";")
|
|
#20035=@"loc,{#10000},3,18,3,18"
|
|
locations_default(#20035,#10000,3,18,3,18)
|
|
hasLocation(#20034,#20035)
|
|
#20036=*
|
|
tokeninfo(#20036,8,#20001,12,"}")
|
|
#20037=@"loc,{#10000},4,3,4,3"
|
|
locations_default(#20037,#10000,4,3,4,3)
|
|
hasLocation(#20036,#20037)
|
|
#20038=*
|
|
tokeninfo(#20038,8,#20001,13,"}")
|
|
hasLocation(#20038,#20011)
|
|
#20039=*
|
|
tokeninfo(#20039,0,#20001,14,"")
|
|
#20040=@"loc,{#10000},5,2,5,1"
|
|
locations_default(#20040,#10000,5,2,5,1)
|
|
hasLocation(#20039,#20040)
|
|
toplevels(#20001,0)
|
|
#20041=@"loc,{#10000},1,1,5,1"
|
|
locations_default(#20041,#10000,1,1,5,1)
|
|
hasLocation(#20001,#20041)
|
|
#20042=@"var;{A};{#20000}"
|
|
variables(#20042,"A",#20000)
|
|
#20043=@"local_type_name;{A};{#20000}"
|
|
local_type_names(#20043,"A",#20000)
|
|
#20044=@"var;{this};{#20000}"
|
|
variables(#20044,"this",#20000)
|
|
#20045=*
|
|
stmts(#20045,26,#20001,0,"class A ... ;\n }\n}")
|
|
hasLocation(#20045,#20041)
|
|
stmt_containers(#20045,#20001)
|
|
#20046=*
|
|
exprs(#20046,78,#20045,0,"A")
|
|
hasLocation(#20046,#20015)
|
|
enclosing_stmt(#20046,#20045)
|
|
expr_containers(#20046,#20001)
|
|
literals("A","A",#20046)
|
|
decl(#20046,#20042)
|
|
typedecl(#20046,#20043)
|
|
#20047=*
|
|
scopes(#20047,10)
|
|
scopenodes(#20045,#20047)
|
|
scopenesting(#20047,#20000)
|
|
#20048=@"var;{this};{#20047}"
|
|
variables(#20048,"this",#20047)
|
|
#20049=*
|
|
properties(#20049,#20045,2,0,"getX() ... .x;\n }")
|
|
#20050=@"loc,{#10000},2,3,4,3"
|
|
locations_default(#20050,#10000,2,3,4,3)
|
|
hasLocation(#20049,#20050)
|
|
#20051=*
|
|
exprs(#20051,0,#20049,0,"getX")
|
|
hasLocation(#20051,#20019)
|
|
enclosing_stmt(#20051,#20045)
|
|
expr_containers(#20051,#20001)
|
|
literals("getX","getX",#20051)
|
|
#20052=*
|
|
exprs(#20052,9,#20049,1,"() {\n ... .x;\n }")
|
|
#20053=@"loc,{#10000},2,7,4,3"
|
|
locations_default(#20053,#10000,2,7,4,3)
|
|
hasLocation(#20052,#20053)
|
|
enclosing_stmt(#20052,#20045)
|
|
expr_containers(#20052,#20001)
|
|
#20054=*
|
|
scopes(#20054,1)
|
|
scopenodes(#20052,#20054)
|
|
scopenesting(#20054,#20047)
|
|
#20055=@"var;{this};{#20054}"
|
|
variables(#20055,"this",#20054)
|
|
#20056=@"var;{arguments};{#20054}"
|
|
variables(#20056,"arguments",#20054)
|
|
is_arguments_object(#20056)
|
|
#20057=*
|
|
stmts(#20057,1,#20052,-2,"{\n r ... .x;\n }")
|
|
#20058=@"loc,{#10000},2,10,4,3"
|
|
locations_default(#20058,#10000,2,10,4,3)
|
|
hasLocation(#20057,#20058)
|
|
stmt_containers(#20057,#20052)
|
|
#20059=*
|
|
stmts(#20059,9,#20057,0,"return this.x;")
|
|
#20060=@"loc,{#10000},3,5,3,18"
|
|
locations_default(#20060,#10000,3,5,3,18)
|
|
hasLocation(#20059,#20060)
|
|
stmt_containers(#20059,#20052)
|
|
#20061=*
|
|
exprs(#20061,14,#20059,0,"this.x")
|
|
#20062=@"loc,{#10000},3,12,3,17"
|
|
locations_default(#20062,#10000,3,12,3,17)
|
|
hasLocation(#20061,#20062)
|
|
enclosing_stmt(#20061,#20059)
|
|
expr_containers(#20061,#20052)
|
|
#20063=*
|
|
exprs(#20063,6,#20061,0,"this")
|
|
hasLocation(#20063,#20029)
|
|
enclosing_stmt(#20063,#20059)
|
|
expr_containers(#20063,#20052)
|
|
bind(#20063,#20055)
|
|
#20064=*
|
|
exprs(#20064,0,#20061,1,"x")
|
|
hasLocation(#20064,#20033)
|
|
enclosing_stmt(#20064,#20059)
|
|
expr_containers(#20064,#20052)
|
|
literals("x","x",#20064)
|
|
is_method(#20049)
|
|
#20065=*
|
|
properties(#20065,#20045,3,0,"constructor() {}")
|
|
#20066=@"loc,{#10000},1,9,1,8"
|
|
locations_default(#20066,#10000,1,9,1,8)
|
|
hasLocation(#20065,#20066)
|
|
#20067=*
|
|
exprs(#20067,0,#20065,0,"constructor")
|
|
hasLocation(#20067,#20066)
|
|
enclosing_stmt(#20067,#20045)
|
|
expr_containers(#20067,#20001)
|
|
literals("constructor","constructor",#20067)
|
|
#20068=*
|
|
exprs(#20068,9,#20065,1,"() {}")
|
|
hasLocation(#20068,#20066)
|
|
enclosing_stmt(#20068,#20045)
|
|
expr_containers(#20068,#20001)
|
|
#20069=*
|
|
scopes(#20069,1)
|
|
scopenodes(#20068,#20069)
|
|
scopenesting(#20069,#20047)
|
|
#20070=@"var;{this};{#20069}"
|
|
variables(#20070,"this",#20069)
|
|
#20071=@"var;{arguments};{#20069}"
|
|
variables(#20071,"arguments",#20069)
|
|
is_arguments_object(#20071)
|
|
#20072=*
|
|
stmts(#20072,1,#20068,-2,"{}")
|
|
hasLocation(#20072,#20066)
|
|
stmt_containers(#20072,#20068)
|
|
is_method(#20065)
|
|
#20073=*
|
|
entry_cfg_node(#20073,#20001)
|
|
#20074=@"loc,{#10000},1,1,1,0"
|
|
locations_default(#20074,#10000,1,1,1,0)
|
|
hasLocation(#20073,#20074)
|
|
#20075=*
|
|
exit_cfg_node(#20075,#20001)
|
|
hasLocation(#20075,#20040)
|
|
successor(#20068,#20065)
|
|
#20076=*
|
|
entry_cfg_node(#20076,#20068)
|
|
hasLocation(#20076,#20066)
|
|
#20077=*
|
|
exit_cfg_node(#20077,#20068)
|
|
hasLocation(#20077,#20066)
|
|
successor(#20072,#20077)
|
|
successor(#20076,#20072)
|
|
successor(#20067,#20068)
|
|
successor(#20065,#20045)
|
|
successor(#20052,#20049)
|
|
#20078=*
|
|
entry_cfg_node(#20078,#20052)
|
|
#20079=@"loc,{#10000},2,7,2,6"
|
|
locations_default(#20079,#10000,2,7,2,6)
|
|
hasLocation(#20078,#20079)
|
|
#20080=*
|
|
exit_cfg_node(#20080,#20052)
|
|
#20081=@"loc,{#10000},4,4,4,3"
|
|
locations_default(#20081,#10000,4,4,4,3)
|
|
hasLocation(#20080,#20081)
|
|
successor(#20064,#20061)
|
|
successor(#20063,#20064)
|
|
successor(#20061,#20059)
|
|
successor(#20059,#20080)
|
|
successor(#20057,#20063)
|
|
successor(#20078,#20057)
|
|
successor(#20051,#20052)
|
|
successor(#20049,#20067)
|
|
successor(#20046,#20051)
|
|
successor(#20045,#20075)
|
|
successor(#20073,#20046)
|
|
numlines(#10000,5,5,0)
|
|
filetype(#10000,"javascript")
|