mirror of
https://github.com/github/codeql.git
synced 2025-12-27 14:16:34 +01:00
269 lines
7.1 KiB
Plaintext
269 lines
7.1 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=*
|
|
stmts(#20044,26,#20001,0,"class A ... ;\n }\n}")
|
|
hasLocation(#20044,#20041)
|
|
stmt_containers(#20044,#20001)
|
|
#20045=*
|
|
exprs(#20045,78,#20044,0,"A")
|
|
hasLocation(#20045,#20015)
|
|
enclosing_stmt(#20045,#20044)
|
|
expr_containers(#20045,#20001)
|
|
literals("A","A",#20045)
|
|
decl(#20045,#20042)
|
|
typedecl(#20045,#20043)
|
|
#20046=*
|
|
scopes(#20046,10)
|
|
scopenodes(#20044,#20046)
|
|
scopenesting(#20046,#20000)
|
|
#20047=*
|
|
properties(#20047,#20044,2,0,"getX() ... .x;\n }")
|
|
#20048=@"loc,{#10000},2,3,4,3"
|
|
locations_default(#20048,#10000,2,3,4,3)
|
|
hasLocation(#20047,#20048)
|
|
#20049=*
|
|
exprs(#20049,0,#20047,0,"getX")
|
|
hasLocation(#20049,#20019)
|
|
enclosing_stmt(#20049,#20044)
|
|
expr_containers(#20049,#20001)
|
|
literals("getX","getX",#20049)
|
|
#20050=*
|
|
exprs(#20050,9,#20047,1,"() {\n ... .x;\n }")
|
|
#20051=@"loc,{#10000},2,7,4,3"
|
|
locations_default(#20051,#10000,2,7,4,3)
|
|
hasLocation(#20050,#20051)
|
|
enclosing_stmt(#20050,#20044)
|
|
expr_containers(#20050,#20001)
|
|
#20052=*
|
|
scopes(#20052,1)
|
|
scopenodes(#20050,#20052)
|
|
scopenesting(#20052,#20046)
|
|
#20053=@"var;{arguments};{#20052}"
|
|
variables(#20053,"arguments",#20052)
|
|
is_arguments_object(#20053)
|
|
#20054=*
|
|
stmts(#20054,1,#20050,-2,"{\n r ... .x;\n }")
|
|
#20055=@"loc,{#10000},2,10,4,3"
|
|
locations_default(#20055,#10000,2,10,4,3)
|
|
hasLocation(#20054,#20055)
|
|
stmt_containers(#20054,#20050)
|
|
#20056=*
|
|
stmts(#20056,9,#20054,0,"return this.x;")
|
|
#20057=@"loc,{#10000},3,5,3,18"
|
|
locations_default(#20057,#10000,3,5,3,18)
|
|
hasLocation(#20056,#20057)
|
|
stmt_containers(#20056,#20050)
|
|
#20058=*
|
|
exprs(#20058,14,#20056,0,"this.x")
|
|
#20059=@"loc,{#10000},3,12,3,17"
|
|
locations_default(#20059,#10000,3,12,3,17)
|
|
hasLocation(#20058,#20059)
|
|
enclosing_stmt(#20058,#20056)
|
|
expr_containers(#20058,#20050)
|
|
#20060=*
|
|
exprs(#20060,6,#20058,0,"this")
|
|
hasLocation(#20060,#20029)
|
|
enclosing_stmt(#20060,#20056)
|
|
expr_containers(#20060,#20050)
|
|
#20061=*
|
|
exprs(#20061,0,#20058,1,"x")
|
|
hasLocation(#20061,#20033)
|
|
enclosing_stmt(#20061,#20056)
|
|
expr_containers(#20061,#20050)
|
|
literals("x","x",#20061)
|
|
is_method(#20047)
|
|
#20062=*
|
|
properties(#20062,#20044,3,0,"constructor() {}")
|
|
#20063=@"loc,{#10000},1,9,1,8"
|
|
locations_default(#20063,#10000,1,9,1,8)
|
|
hasLocation(#20062,#20063)
|
|
#20064=*
|
|
exprs(#20064,0,#20062,0,"constructor")
|
|
hasLocation(#20064,#20063)
|
|
enclosing_stmt(#20064,#20044)
|
|
expr_containers(#20064,#20001)
|
|
literals("constructor","constructor",#20064)
|
|
#20065=*
|
|
exprs(#20065,9,#20062,1,"() {}")
|
|
hasLocation(#20065,#20063)
|
|
enclosing_stmt(#20065,#20044)
|
|
expr_containers(#20065,#20001)
|
|
#20066=*
|
|
scopes(#20066,1)
|
|
scopenodes(#20065,#20066)
|
|
scopenesting(#20066,#20046)
|
|
#20067=@"var;{arguments};{#20066}"
|
|
variables(#20067,"arguments",#20066)
|
|
is_arguments_object(#20067)
|
|
#20068=*
|
|
stmts(#20068,1,#20065,-2,"{}")
|
|
hasLocation(#20068,#20063)
|
|
stmt_containers(#20068,#20065)
|
|
is_method(#20062)
|
|
#20069=*
|
|
entry_cfg_node(#20069,#20001)
|
|
#20070=@"loc,{#10000},1,1,1,0"
|
|
locations_default(#20070,#10000,1,1,1,0)
|
|
hasLocation(#20069,#20070)
|
|
#20071=*
|
|
exit_cfg_node(#20071,#20001)
|
|
hasLocation(#20071,#20040)
|
|
successor(#20065,#20062)
|
|
#20072=*
|
|
entry_cfg_node(#20072,#20065)
|
|
hasLocation(#20072,#20063)
|
|
#20073=*
|
|
exit_cfg_node(#20073,#20065)
|
|
hasLocation(#20073,#20063)
|
|
successor(#20068,#20073)
|
|
successor(#20072,#20068)
|
|
successor(#20064,#20065)
|
|
successor(#20062,#20044)
|
|
successor(#20050,#20047)
|
|
#20074=*
|
|
entry_cfg_node(#20074,#20050)
|
|
#20075=@"loc,{#10000},2,7,2,6"
|
|
locations_default(#20075,#10000,2,7,2,6)
|
|
hasLocation(#20074,#20075)
|
|
#20076=*
|
|
exit_cfg_node(#20076,#20050)
|
|
#20077=@"loc,{#10000},4,4,4,3"
|
|
locations_default(#20077,#10000,4,4,4,3)
|
|
hasLocation(#20076,#20077)
|
|
successor(#20054,#20060)
|
|
successor(#20061,#20058)
|
|
successor(#20060,#20061)
|
|
successor(#20058,#20056)
|
|
successor(#20056,#20076)
|
|
successor(#20074,#20054)
|
|
successor(#20049,#20050)
|
|
successor(#20047,#20064)
|
|
successor(#20045,#20049)
|
|
successor(#20044,#20071)
|
|
successor(#20069,#20045)
|
|
numlines(#10000,5,5,0)
|
|
filetype(#10000,"javascript")
|