JS: Update TRAP files

This commit is contained in:
Asger F
2026-02-27 14:15:34 +01:00
parent 47895b3334
commit d440b5fa85
265 changed files with 46031 additions and 44942 deletions

View File

@@ -60,67 +60,69 @@ toplevels(#20001,0)
#20020=@"loc,{#10000},1,1,2,5"
locations_default(#20020,#10000,1,1,2,5)
hasLocation(#20001,#20020)
#20021=*
stmts(#20021,2,#20001,0,"1**0")
hasLocation(#20021,#20003)
stmt_containers(#20021,#20001)
#20021=@"var;{this};{#20000}"
variables(#20021,"this",#20000)
#20022=*
exprs(#20022,87,#20021,0,"1**0")
stmts(#20022,2,#20001,0,"1**0")
hasLocation(#20022,#20003)
enclosing_stmt(#20022,#20021)
expr_containers(#20022,#20001)
stmt_containers(#20022,#20001)
#20023=*
exprs(#20023,3,#20022,0,"1")
hasLocation(#20023,#20007)
enclosing_stmt(#20023,#20021)
exprs(#20023,87,#20022,0,"1**0")
hasLocation(#20023,#20003)
enclosing_stmt(#20023,#20022)
expr_containers(#20023,#20001)
literals("1","1",#20023)
#20024=*
exprs(#20024,3,#20022,1,"0")
hasLocation(#20024,#20011)
enclosing_stmt(#20024,#20021)
exprs(#20024,3,#20023,0,"1")
hasLocation(#20024,#20007)
enclosing_stmt(#20024,#20022)
expr_containers(#20024,#20001)
literals("0","0",#20024)
literals("1","1",#20024)
#20025=*
stmts(#20025,2,#20001,1,"x**=2")
hasLocation(#20025,#20005)
stmt_containers(#20025,#20001)
exprs(#20025,3,#20023,1,"0")
hasLocation(#20025,#20011)
enclosing_stmt(#20025,#20022)
expr_containers(#20025,#20001)
literals("0","0",#20025)
#20026=*
exprs(#20026,88,#20025,0,"x**=2")
stmts(#20026,2,#20001,1,"x**=2")
hasLocation(#20026,#20005)
enclosing_stmt(#20026,#20025)
expr_containers(#20026,#20001)
stmt_containers(#20026,#20001)
#20027=*
exprs(#20027,79,#20026,0,"x")
hasLocation(#20027,#20013)
enclosing_stmt(#20027,#20025)
exprs(#20027,88,#20026,0,"x**=2")
hasLocation(#20027,#20005)
enclosing_stmt(#20027,#20026)
expr_containers(#20027,#20001)
literals("x","x",#20027)
#20028=@"var;{x};{#20000}"
variables(#20028,"x",#20000)
bind(#20027,#20028)
#20029=*
exprs(#20029,3,#20026,1,"2")
hasLocation(#20029,#20017)
enclosing_stmt(#20029,#20025)
expr_containers(#20029,#20001)
literals("2","2",#20029)
#20028=*
exprs(#20028,79,#20027,0,"x")
hasLocation(#20028,#20013)
enclosing_stmt(#20028,#20026)
expr_containers(#20028,#20001)
literals("x","x",#20028)
#20029=@"var;{x};{#20000}"
variables(#20029,"x",#20000)
bind(#20028,#20029)
#20030=*
entry_cfg_node(#20030,#20001)
#20031=@"loc,{#10000},1,1,1,0"
locations_default(#20031,#10000,1,1,1,0)
hasLocation(#20030,#20031)
#20032=*
exit_cfg_node(#20032,#20001)
hasLocation(#20032,#20019)
successor(#20025,#20027)
successor(#20029,#20026)
successor(#20027,#20029)
successor(#20026,#20032)
successor(#20021,#20023)
successor(#20024,#20022)
successor(#20023,#20024)
successor(#20022,#20025)
successor(#20030,#20021)
exprs(#20030,3,#20027,1,"2")
hasLocation(#20030,#20017)
enclosing_stmt(#20030,#20026)
expr_containers(#20030,#20001)
literals("2","2",#20030)
#20031=*
entry_cfg_node(#20031,#20001)
#20032=@"loc,{#10000},1,1,1,0"
locations_default(#20032,#10000,1,1,1,0)
hasLocation(#20031,#20032)
#20033=*
exit_cfg_node(#20033,#20001)
hasLocation(#20033,#20019)
successor(#20026,#20028)
successor(#20030,#20027)
successor(#20028,#20030)
successor(#20027,#20033)
successor(#20022,#20024)
successor(#20025,#20023)
successor(#20024,#20025)
successor(#20023,#20026)
successor(#20031,#20022)
numlines(#10000,2,2,0)
filetype(#10000,"javascript")

View File

@@ -79,91 +79,95 @@ toplevels(#20001,0)
hasLocation(#20001,#20003)
#20028=@"var;{f};{#20000}"
variables(#20028,"f",#20000)
#20029=*
stmts(#20029,17,#20001,0,"functio ... ict'; }")
hasLocation(#20029,#20003)
stmt_containers(#20029,#20001)
#20029=@"var;{this};{#20000}"
variables(#20029,"this",#20000)
#20030=*
exprs(#20030,78,#20029,-1,"f")
hasLocation(#20030,#20007)
expr_containers(#20030,#20029)
literals("f","f",#20030)
decl(#20030,#20028)
stmts(#20030,17,#20001,0,"functio ... ict'; }")
hasLocation(#20030,#20003)
stmt_containers(#20030,#20001)
#20031=*
scopes(#20031,1)
scopenodes(#20029,#20031)
scopenesting(#20031,#20000)
#20032=@"var;{a};{#20031}"
variables(#20032,"a",#20031)
#20033=*
exprs(#20033,78,#20029,0,"a")
hasLocation(#20033,#20011)
expr_containers(#20033,#20029)
literals("a","a",#20033)
decl(#20033,#20032)
#20034=@"var;{arguments};{#20031}"
variables(#20034,"arguments",#20031)
is_arguments_object(#20034)
exprs(#20031,78,#20030,-1,"f")
hasLocation(#20031,#20007)
expr_containers(#20031,#20030)
literals("f","f",#20031)
decl(#20031,#20028)
#20032=*
scopes(#20032,1)
scopenodes(#20030,#20032)
scopenesting(#20032,#20000)
#20033=@"var;{this};{#20032}"
variables(#20033,"this",#20032)
#20034=@"var;{a};{#20032}"
variables(#20034,"a",#20032)
#20035=*
exprs(#20035,3,#20029,-5,"2")
hasLocation(#20035,#20015)
expr_containers(#20035,#20029)
literals("2","2",#20035)
#20036=*
stmts(#20036,1,#20029,-2,"{ 'use strict'; }")
#20037=@"loc,{#10000},1,17,1,33"
locations_default(#20037,#10000,1,17,1,33)
hasLocation(#20036,#20037)
stmt_containers(#20036,#20029)
exprs(#20035,78,#20030,0,"a")
hasLocation(#20035,#20011)
expr_containers(#20035,#20030)
literals("a","a",#20035)
decl(#20035,#20034)
#20036=@"var;{arguments};{#20032}"
variables(#20036,"arguments",#20032)
is_arguments_object(#20036)
#20037=*
exprs(#20037,3,#20030,-5,"2")
hasLocation(#20037,#20015)
expr_containers(#20037,#20030)
literals("2","2",#20037)
#20038=*
stmts(#20038,2,#20036,0,"'use strict';")
#20039=@"loc,{#10000},1,19,1,31"
locations_default(#20039,#10000,1,19,1,31)
stmts(#20038,1,#20030,-2,"{ 'use strict'; }")
#20039=@"loc,{#10000},1,17,1,33"
locations_default(#20039,#10000,1,17,1,33)
hasLocation(#20038,#20039)
stmt_containers(#20038,#20029)
stmt_containers(#20038,#20030)
#20040=*
exprs(#20040,4,#20038,0,"'use strict'")
hasLocation(#20040,#20021)
enclosing_stmt(#20040,#20038)
expr_containers(#20040,#20029)
literals("use strict","'use strict'",#20040)
#20041=*
regexpterm(#20041,14,#20040,0,"use strict")
#20042=@"loc,{#10000},1,20,1,29"
locations_default(#20042,#10000,1,20,1,29)
hasLocation(#20041,#20042)
regexp_const_value(#20041,"use strict")
stmts(#20040,2,#20038,0,"'use strict';")
#20041=@"loc,{#10000},1,19,1,31"
locations_default(#20041,#10000,1,19,1,31)
hasLocation(#20040,#20041)
stmt_containers(#20040,#20030)
#20042=*
exprs(#20042,4,#20040,0,"'use strict'")
hasLocation(#20042,#20021)
enclosing_stmt(#20042,#20040)
expr_containers(#20042,#20030)
literals("use strict","'use strict'",#20042)
#20043=*
entry_cfg_node(#20043,#20001)
#20044=@"loc,{#10000},1,1,1,0"
locations_default(#20044,#10000,1,1,1,0)
regexpterm(#20043,14,#20042,0,"use strict")
#20044=@"loc,{#10000},1,20,1,29"
locations_default(#20044,#10000,1,20,1,29)
hasLocation(#20043,#20044)
regexp_const_value(#20043,"use strict")
#20045=*
exit_cfg_node(#20045,#20001)
hasLocation(#20045,#20027)
successor(#20029,#20045)
#20046=*
entry_cfg_node(#20046,#20029)
hasLocation(#20046,#20044)
entry_cfg_node(#20045,#20001)
#20046=@"loc,{#10000},1,1,1,0"
locations_default(#20046,#10000,1,1,1,0)
hasLocation(#20045,#20046)
#20047=*
exit_cfg_node(#20047,#20029)
exit_cfg_node(#20047,#20001)
hasLocation(#20047,#20027)
successor(#20038,#20040)
successor(#20040,#20047)
successor(#20036,#20038)
successor(#20033,#20036)
successor(#20035,#20033)
successor(#20046,#20035)
successor(#20030,#20029)
successor(#20043,#20030)
successor(#20030,#20047)
#20048=*
js_parse_errors(#20048,#20001,"Error: Illegal 'use strict' directive in function with non-simple parameter list","function f(a=2) { 'use strict'; }")
#20049=@"loc,{#10000},1,19,1,19"
locations_default(#20049,#10000,1,19,1,19)
hasLocation(#20048,#20049)
entry_cfg_node(#20048,#20030)
hasLocation(#20048,#20046)
#20049=*
exit_cfg_node(#20049,#20030)
hasLocation(#20049,#20027)
successor(#20040,#20042)
successor(#20042,#20049)
successor(#20038,#20040)
successor(#20035,#20038)
successor(#20037,#20035)
successor(#20048,#20037)
successor(#20031,#20030)
successor(#20045,#20031)
#20050=*
lines(#20050,#20001,"function f(a=2) { 'use strict'; }","")
hasLocation(#20050,#20003)
js_parse_errors(#20050,#20001,"Error: Illegal 'use strict' directive in function with non-simple parameter list","function f(a=2) { 'use strict'; }")
#20051=@"loc,{#10000},1,19,1,19"
locations_default(#20051,#10000,1,19,1,19)
hasLocation(#20050,#20051)
#20052=*
lines(#20052,#20001,"function f(a=2) { 'use strict'; }","")
hasLocation(#20052,#20003)
numlines(#20001,1,0,0)
numlines(#10000,1,1,0)
filetype(#10000,"javascript")