mirror of
https://github.com/github/codeql.git
synced 2026-03-23 07:56:54 +01:00
327 lines
9.0 KiB
Plaintext
327 lines
9.0 KiB
Plaintext
#10000=@"/hello.ts;sourcefile"
|
|
files(#10000,"/hello.ts","hello","ts",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"
|
|
toplevels(#20001,0)
|
|
#20002=@"loc,{#10000},1,1,6,0"
|
|
locations_default(#20002,#10000,1,1,6,0)
|
|
hasLocation(#20001,#20002)
|
|
#20003=@"var;{greeter};{#20000}"
|
|
variables(#20003,"greeter",#20000)
|
|
#20004=*
|
|
stmts(#20004,17,#20001,0,"functio ... ""!"";\n}")
|
|
#20005=@"loc,{#10000},1,1,3,1"
|
|
locations_default(#20005,#10000,1,1,3,1)
|
|
hasLocation(#20004,#20005)
|
|
stmtContainers(#20004,#20001)
|
|
#20006=*
|
|
exprs(#20006,78,#20004,-1,"greeter")
|
|
#20007=@"loc,{#10000},1,10,1,16"
|
|
locations_default(#20007,#10000,1,10,1,16)
|
|
hasLocation(#20006,#20007)
|
|
exprContainers(#20006,#20004)
|
|
literals("greeter","greeter",#20006)
|
|
decl(#20006,#20003)
|
|
#20008=*
|
|
scopes(#20008,1)
|
|
scopenodes(#20004,#20008)
|
|
scopenesting(#20008,#20000)
|
|
#20009=@"var;{person};{#20008}"
|
|
variables(#20009,"person",#20008)
|
|
#20010=*
|
|
exprs(#20010,78,#20004,0,"person")
|
|
#20011=@"loc,{#10000},1,18,1,23"
|
|
locations_default(#20011,#10000,1,18,1,23)
|
|
hasLocation(#20010,#20011)
|
|
exprContainers(#20010,#20004)
|
|
literals("person","person",#20010)
|
|
decl(#20010,#20009)
|
|
#20012=@"var;{arguments};{#20008}"
|
|
variables(#20012,"arguments",#20008)
|
|
isArgumentsObject(#20012)
|
|
#20013=*
|
|
typeexprs(#20013,2,#20004,-6,"string")
|
|
#20014=@"loc,{#10000},1,26,1,31"
|
|
locations_default(#20014,#10000,1,26,1,31)
|
|
hasLocation(#20013,#20014)
|
|
exprContainers(#20013,#20004)
|
|
literals("string","string",#20013)
|
|
#20015=*
|
|
stmts(#20015,1,#20004,-2,"{\n r ... ""!"";\n}")
|
|
#20016=@"loc,{#10000},1,34,3,1"
|
|
locations_default(#20016,#10000,1,34,3,1)
|
|
hasLocation(#20015,#20016)
|
|
stmtContainers(#20015,#20004)
|
|
#20017=*
|
|
stmts(#20017,9,#20015,0,"return ... + ""!"";")
|
|
#20018=@"loc,{#10000},2,5,2,36"
|
|
locations_default(#20018,#10000,2,5,2,36)
|
|
hasLocation(#20017,#20018)
|
|
stmtContainers(#20017,#20004)
|
|
#20019=*
|
|
exprs(#20019,34,#20017,0,"""Hello, ... n + ""!""")
|
|
#20020=@"loc,{#10000},2,12,2,35"
|
|
locations_default(#20020,#10000,2,12,2,35)
|
|
hasLocation(#20019,#20020)
|
|
enclosingStmt(#20019,#20017)
|
|
exprContainers(#20019,#20004)
|
|
#20021=*
|
|
exprs(#20021,34,#20019,0,"""Hello, "" + person")
|
|
#20022=@"loc,{#10000},2,12,2,29"
|
|
locations_default(#20022,#10000,2,12,2,29)
|
|
hasLocation(#20021,#20022)
|
|
enclosingStmt(#20021,#20017)
|
|
exprContainers(#20021,#20004)
|
|
#20023=*
|
|
exprs(#20023,4,#20021,0,"""Hello, """)
|
|
#20024=@"loc,{#10000},2,12,2,20"
|
|
locations_default(#20024,#10000,2,12,2,20)
|
|
hasLocation(#20023,#20024)
|
|
enclosingStmt(#20023,#20017)
|
|
exprContainers(#20023,#20004)
|
|
literals("Hello, ","""Hello, """,#20023)
|
|
#20025=*
|
|
exprs(#20025,79,#20021,1,"person")
|
|
#20026=@"loc,{#10000},2,24,2,29"
|
|
locations_default(#20026,#10000,2,24,2,29)
|
|
hasLocation(#20025,#20026)
|
|
enclosingStmt(#20025,#20017)
|
|
exprContainers(#20025,#20004)
|
|
literals("person","person",#20025)
|
|
bind(#20025,#20009)
|
|
#20027=*
|
|
exprs(#20027,4,#20019,1,"""!""")
|
|
#20028=@"loc,{#10000},2,33,2,35"
|
|
locations_default(#20028,#10000,2,33,2,35)
|
|
hasLocation(#20027,#20028)
|
|
enclosingStmt(#20027,#20017)
|
|
exprContainers(#20027,#20004)
|
|
literals("!","""!""",#20027)
|
|
numlines(#20004,3,3,0)
|
|
#20029=*
|
|
stmts(#20029,2,#20001,1,"alert(g ... rld""));")
|
|
#20030=@"loc,{#10000},5,1,5,24"
|
|
locations_default(#20030,#10000,5,1,5,24)
|
|
hasLocation(#20029,#20030)
|
|
stmtContainers(#20029,#20001)
|
|
#20031=*
|
|
exprs(#20031,13,#20029,0,"alert(g ... orld""))")
|
|
#20032=@"loc,{#10000},5,1,5,23"
|
|
locations_default(#20032,#10000,5,1,5,23)
|
|
hasLocation(#20031,#20032)
|
|
enclosingStmt(#20031,#20029)
|
|
exprContainers(#20031,#20001)
|
|
#20033=*
|
|
exprs(#20033,79,#20031,-1,"alert")
|
|
#20034=@"loc,{#10000},5,1,5,5"
|
|
locations_default(#20034,#10000,5,1,5,5)
|
|
hasLocation(#20033,#20034)
|
|
enclosingStmt(#20033,#20029)
|
|
exprContainers(#20033,#20001)
|
|
literals("alert","alert",#20033)
|
|
#20035=@"var;{alert};{#20000}"
|
|
variables(#20035,"alert",#20000)
|
|
bind(#20033,#20035)
|
|
#20036=*
|
|
exprs(#20036,13,#20031,0,"greeter(""world"")")
|
|
#20037=@"loc,{#10000},5,7,5,22"
|
|
locations_default(#20037,#10000,5,7,5,22)
|
|
hasLocation(#20036,#20037)
|
|
enclosingStmt(#20036,#20029)
|
|
exprContainers(#20036,#20001)
|
|
#20038=*
|
|
exprs(#20038,79,#20036,-1,"greeter")
|
|
#20039=@"loc,{#10000},5,7,5,13"
|
|
locations_default(#20039,#10000,5,7,5,13)
|
|
hasLocation(#20038,#20039)
|
|
enclosingStmt(#20038,#20029)
|
|
exprContainers(#20038,#20001)
|
|
literals("greeter","greeter",#20038)
|
|
bind(#20038,#20003)
|
|
#20040=*
|
|
exprs(#20040,4,#20036,0,"""world""")
|
|
#20041=@"loc,{#10000},5,15,5,21"
|
|
locations_default(#20041,#10000,5,15,5,21)
|
|
hasLocation(#20040,#20041)
|
|
enclosingStmt(#20040,#20029)
|
|
exprContainers(#20040,#20001)
|
|
literals("world","""world""",#20040)
|
|
#20042=*
|
|
lines(#20042,#20001,"function greeter(person: string) {","
|
|
")
|
|
#20043=@"loc,{#10000},1,1,1,34"
|
|
locations_default(#20043,#10000,1,1,1,34)
|
|
hasLocation(#20042,#20043)
|
|
#20044=*
|
|
lines(#20044,#20001," return ""Hello, "" + person + ""!"";","
|
|
")
|
|
#20045=@"loc,{#10000},2,1,2,36"
|
|
locations_default(#20045,#10000,2,1,2,36)
|
|
hasLocation(#20044,#20045)
|
|
indentation(#10000,2," ",4)
|
|
#20046=*
|
|
lines(#20046,#20001,"}","
|
|
")
|
|
#20047=@"loc,{#10000},3,1,3,1"
|
|
locations_default(#20047,#10000,3,1,3,1)
|
|
hasLocation(#20046,#20047)
|
|
#20048=*
|
|
lines(#20048,#20001,"","
|
|
")
|
|
#20049=@"loc,{#10000},4,1,4,0"
|
|
locations_default(#20049,#10000,4,1,4,0)
|
|
hasLocation(#20048,#20049)
|
|
#20050=*
|
|
lines(#20050,#20001,"alert(greeter(""world""));","
|
|
")
|
|
hasLocation(#20050,#20030)
|
|
numlines(#20001,5,4,0)
|
|
#20051=*
|
|
tokeninfo(#20051,7,#20001,0,"function")
|
|
#20052=@"loc,{#10000},1,1,1,8"
|
|
locations_default(#20052,#10000,1,1,1,8)
|
|
hasLocation(#20051,#20052)
|
|
#20053=*
|
|
tokeninfo(#20053,6,#20001,1,"greeter")
|
|
hasLocation(#20053,#20007)
|
|
#20054=*
|
|
tokeninfo(#20054,8,#20001,2,"(")
|
|
#20055=@"loc,{#10000},1,17,1,17"
|
|
locations_default(#20055,#10000,1,17,1,17)
|
|
hasLocation(#20054,#20055)
|
|
#20056=*
|
|
tokeninfo(#20056,6,#20001,3,"person")
|
|
hasLocation(#20056,#20011)
|
|
#20057=*
|
|
tokeninfo(#20057,8,#20001,4,":")
|
|
#20058=@"loc,{#10000},1,24,1,24"
|
|
locations_default(#20058,#10000,1,24,1,24)
|
|
hasLocation(#20057,#20058)
|
|
#20059=*
|
|
tokeninfo(#20059,7,#20001,5,"string")
|
|
hasLocation(#20059,#20014)
|
|
#20060=*
|
|
tokeninfo(#20060,8,#20001,6,")")
|
|
#20061=@"loc,{#10000},1,32,1,32"
|
|
locations_default(#20061,#10000,1,32,1,32)
|
|
hasLocation(#20060,#20061)
|
|
#20062=*
|
|
tokeninfo(#20062,8,#20001,7,"{")
|
|
#20063=@"loc,{#10000},1,34,1,34"
|
|
locations_default(#20063,#10000,1,34,1,34)
|
|
hasLocation(#20062,#20063)
|
|
#20064=*
|
|
tokeninfo(#20064,7,#20001,8,"return")
|
|
#20065=@"loc,{#10000},2,5,2,10"
|
|
locations_default(#20065,#10000,2,5,2,10)
|
|
hasLocation(#20064,#20065)
|
|
#20066=*
|
|
tokeninfo(#20066,4,#20001,9,"""Hello, """)
|
|
hasLocation(#20066,#20024)
|
|
#20067=*
|
|
tokeninfo(#20067,8,#20001,10,"+")
|
|
#20068=@"loc,{#10000},2,22,2,22"
|
|
locations_default(#20068,#10000,2,22,2,22)
|
|
hasLocation(#20067,#20068)
|
|
#20069=*
|
|
tokeninfo(#20069,6,#20001,11,"person")
|
|
hasLocation(#20069,#20026)
|
|
#20070=*
|
|
tokeninfo(#20070,8,#20001,12,"+")
|
|
#20071=@"loc,{#10000},2,31,2,31"
|
|
locations_default(#20071,#10000,2,31,2,31)
|
|
hasLocation(#20070,#20071)
|
|
#20072=*
|
|
tokeninfo(#20072,4,#20001,13,"""!""")
|
|
hasLocation(#20072,#20028)
|
|
#20073=*
|
|
tokeninfo(#20073,8,#20001,14,";")
|
|
#20074=@"loc,{#10000},2,36,2,36"
|
|
locations_default(#20074,#10000,2,36,2,36)
|
|
hasLocation(#20073,#20074)
|
|
#20075=*
|
|
tokeninfo(#20075,8,#20001,15,"}")
|
|
hasLocation(#20075,#20047)
|
|
#20076=*
|
|
tokeninfo(#20076,6,#20001,16,"alert")
|
|
hasLocation(#20076,#20034)
|
|
#20077=*
|
|
tokeninfo(#20077,8,#20001,17,"(")
|
|
#20078=@"loc,{#10000},5,6,5,6"
|
|
locations_default(#20078,#10000,5,6,5,6)
|
|
hasLocation(#20077,#20078)
|
|
#20079=*
|
|
tokeninfo(#20079,6,#20001,18,"greeter")
|
|
hasLocation(#20079,#20039)
|
|
#20080=*
|
|
tokeninfo(#20080,8,#20001,19,"(")
|
|
#20081=@"loc,{#10000},5,14,5,14"
|
|
locations_default(#20081,#10000,5,14,5,14)
|
|
hasLocation(#20080,#20081)
|
|
#20082=*
|
|
tokeninfo(#20082,4,#20001,20,"""world""")
|
|
hasLocation(#20082,#20041)
|
|
#20083=*
|
|
tokeninfo(#20083,8,#20001,21,")")
|
|
#20084=@"loc,{#10000},5,22,5,22"
|
|
locations_default(#20084,#10000,5,22,5,22)
|
|
hasLocation(#20083,#20084)
|
|
#20085=*
|
|
tokeninfo(#20085,8,#20001,22,")")
|
|
#20086=@"loc,{#10000},5,23,5,23"
|
|
locations_default(#20086,#10000,5,23,5,23)
|
|
hasLocation(#20085,#20086)
|
|
#20087=*
|
|
tokeninfo(#20087,8,#20001,23,";")
|
|
#20088=@"loc,{#10000},5,24,5,24"
|
|
locations_default(#20088,#10000,5,24,5,24)
|
|
hasLocation(#20087,#20088)
|
|
#20089=*
|
|
tokeninfo(#20089,0,#20001,24,"")
|
|
#20090=@"loc,{#10000},6,1,6,0"
|
|
locations_default(#20090,#10000,6,1,6,0)
|
|
hasLocation(#20089,#20090)
|
|
#20091=*
|
|
entry_cfg_node(#20091,#20001)
|
|
#20092=@"loc,{#10000},1,1,1,0"
|
|
locations_default(#20092,#10000,1,1,1,0)
|
|
hasLocation(#20091,#20092)
|
|
#20093=*
|
|
exit_cfg_node(#20093,#20001)
|
|
hasLocation(#20093,#20090)
|
|
successor(#20029,#20033)
|
|
successor(#20040,#20036)
|
|
successor(#20038,#20040)
|
|
successor(#20036,#20031)
|
|
successor(#20033,#20038)
|
|
successor(#20031,#20093)
|
|
successor(#20004,#20029)
|
|
#20094=*
|
|
entry_cfg_node(#20094,#20004)
|
|
hasLocation(#20094,#20092)
|
|
#20095=*
|
|
exit_cfg_node(#20095,#20004)
|
|
#20096=@"loc,{#10000},3,2,3,1"
|
|
locations_default(#20096,#10000,3,2,3,1)
|
|
hasLocation(#20095,#20096)
|
|
successor(#20015,#20023)
|
|
successor(#20027,#20019)
|
|
successor(#20025,#20021)
|
|
successor(#20023,#20025)
|
|
successor(#20021,#20027)
|
|
successor(#20019,#20017)
|
|
successor(#20017,#20095)
|
|
successor(#20010,#20015)
|
|
successor(#20094,#20010)
|
|
successor(#20006,#20004)
|
|
successor(#20091,#20006)
|
|
numlines(#10000,5,4,0)
|
|
filetype(#10000,"typescript")
|