Files
codeql/javascript/extractor/tests/comments/output/trap/comments.js.trap
2018-11-07 07:48:25 +00:00

84 lines
2.3 KiB
Plaintext

#10000=@"/comments.js;sourcefile"
files(#10000,"/comments.js","comments","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"
toplevels(#20001,0)
#20002=@"loc,{#10000},1,1,5,24"
locations_default(#20002,#10000,1,1,5,24)
hasLocation(#20001,#20002)
#20003=*
comments(#20003,0,#20001," line comment","// line comment")
#20004=@"loc,{#10000},1,1,1,15"
locations_default(#20004,#10000,1,1,1,15)
hasLocation(#20003,#20004)
#20005=*
comments(#20005,1,#20001," block comment ","/* block comment */")
#20006=@"loc,{#10000},2,1,2,19"
locations_default(#20006,#10000,2,1,2,19)
hasLocation(#20005,#20006)
#20007=*
comments(#20007,2,#20001," doc comment ","/** doc comment */")
#20008=@"loc,{#10000},3,1,3,18"
locations_default(#20008,#10000,3,1,3,18)
hasLocation(#20007,#20008)
#20009=*
comments(#20009,3,#20001," an HTML comment","<!-- an HTML comment")
#20010=@"loc,{#10000},4,1,4,20"
locations_default(#20010,#10000,4,1,4,20)
hasLocation(#20009,#20010)
#20011=*
comments(#20011,4,#20001," another HTML comment","--> ano ... comment")
#20012=@"loc,{#10000},5,1,5,24"
locations_default(#20012,#10000,5,1,5,24)
hasLocation(#20011,#20012)
#20013=*
lines(#20013,#20001,"// line comment","
")
hasLocation(#20013,#20004)
#20014=*
lines(#20014,#20001,"/* block comment */","
")
hasLocation(#20014,#20006)
#20015=*
lines(#20015,#20001,"/** doc comment */","
")
hasLocation(#20015,#20008)
#20016=*
lines(#20016,#20001,"<!-- an HTML comment","
")
hasLocation(#20016,#20010)
#20017=*
lines(#20017,#20001,"--> another HTML comment","")
hasLocation(#20017,#20012)
numlines(#20001,5,0,5)
#20018=*
tokeninfo(#20018,0,#20001,0,"")
#20019=@"loc,{#10000},5,25,5,24"
locations_default(#20019,#10000,5,25,5,24)
hasLocation(#20018,#20019)
next_token(#20003,#20018)
next_token(#20005,#20018)
next_token(#20007,#20018)
next_token(#20009,#20018)
#20020=*
entry_cfg_node(#20020,#20001)
#20021=@"loc,{#10000},1,1,1,0"
locations_default(#20021,#10000,1,1,1,0)
hasLocation(#20020,#20021)
#20022=*
exit_cfg_node(#20022,#20001)
hasLocation(#20022,#20019)
successor(#20020,#20022)
#20023=*
jsdoc(#20023,"doc comment",#20007)
hasLocation(#20023,#20008)
numlines(#10000,5,0,5)
filetype(#10000,"javascript")