From 02c3b2593292ff37bd2f5b7c4b39234f0e7bcaea Mon Sep 17 00:00:00 2001 From: Steve Oney Date: Tue, 8 Sep 2015 11:41:57 -0400 Subject: [PATCH 1/5] Fixed bug that caused annyang to sometimes crash when one command affected other commands --- annyang.js | 11 ++++++----- test_index.html | 13 +++++++++++++ 2 files changed, 19 insertions(+), 5 deletions(-) create mode 100644 test_index.html diff --git a/annyang.js b/annyang.js index 7b60633..9e807ef 100644 --- a/annyang.js +++ b/annyang.js @@ -197,19 +197,20 @@ } // try and match recognized text to one of the commands on the list - for (var j = 0, l = commandsList.length; j < l; j++) { - var result = commandsList[j].command.exec(commandText); + for (var j = 0; j + + + + + + From 3eaf9f46765c9b187998eec4a34ed63e200cc239 Mon Sep 17 00:00:00 2001 From: Steve Oney Date: Tue, 8 Sep 2015 11:44:00 -0400 Subject: [PATCH 2/5] remove test_index.html --- test_index.html | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 test_index.html diff --git a/test_index.html b/test_index.html deleted file mode 100644 index 1a58059..0000000 --- a/test_index.html +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - From bd3dcbe183831cce9c1bda95b6282a01a914cc7d Mon Sep 17 00:00:00 2001 From: Tal Ater Date: Mon, 25 Jan 2016 12:00:33 +0200 Subject: [PATCH 3/5] Added (breaking) test for bug #128 when a command removes commands when it is called. --- test/coverage/__root__/annyang.js.html | 92 +++++++++++++------------- test/coverage/__root__/index.html | 2 +- test/coverage/coverage.json | 2 +- test/coverage/index.html | 2 +- test/spec/BasicSpec.js | 19 +++++- 5 files changed, 67 insertions(+), 50 deletions(-) diff --git a/test/coverage/__root__/annyang.js.html b/test/coverage/__root__/annyang.js.html index 87a5780..bac9957 100644 --- a/test/coverage/__root__/annyang.js.html +++ b/test/coverage/__root__/annyang.js.html @@ -756,37 +756,37 @@

-63× +67×     19×       -63× +67×       -169× -169× +171× +171× 426×       -86× +88×     -86× +88×       -73× -73× +77× +77×     @@ -882,7 +882,7 @@

    -54× +56×     @@ -890,36 +890,36 @@

      -53× -53× -53× -265× +55× +55× +55× +275×     -53× -53× +55× +55×   -53× +55×   -110× -110× +112× +112×         -110× -213× -213× -39× -39× +112× +216× +216× +41× +41×             -39× -39× +41× +41× 39×     @@ -987,9 +987,9 @@

      -55× -55× -55× +56× +56× +56×       @@ -1022,8 +1022,8 @@

      +45× 44× -43×     @@ -1059,16 +1059,16 @@

      -45× +47×   -45× +47×   -45× -74× -74× -74× +47× +78× +78× +78×   -63× +67× 11×   10× @@ -1105,18 +1105,18 @@

      -44× -38× -38× +48× +41× +41×   - - -30× -34× + +32× +36× +     -23× +24×       @@ -1189,7 +1189,7 @@

      -40× +41×       @@ -2029,7 +2029,7 @@

diff --git a/test/coverage/__root__/index.html b/test/coverage/__root__/index.html index b4b1540..07dd635 100644 --- a/test/coverage/__root__/index.html +++ b/test/coverage/__root__/index.html @@ -77,7 +77,7 @@

diff --git a/test/coverage/coverage.json b/test/coverage/coverage.json index 74852d3..b387456 100644 --- a/test/coverage/coverage.json +++ b/test/coverage/coverage.json @@ -1 +1 @@ -{"annyang.js":{"path":"annyang.js","s":{"1":1,"2":1,"3":1,"4":1,"5":0,"6":0,"7":1,"8":1,"9":1,"10":1,"11":1,"12":1,"13":1,"14":1,"15":1,"16":1,"17":1,"18":1,"19":1,"20":1,"21":1,"22":63,"23":19,"24":63,"25":1,"26":169,"27":169,"28":426,"29":1,"30":86,"31":1,"32":86,"33":1,"34":1,"35":73,"36":73,"37":6,"38":1,"39":1,"40":0,"41":1,"42":1,"43":0,"44":1,"45":1,"46":1,"47":1,"48":1,"49":32,"50":32,"51":1,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0,"61":1,"62":31,"63":31,"64":31,"65":0,"66":0,"67":0,"68":0,"69":1,"70":54,"71":1,"72":0,"73":1,"74":53,"75":53,"76":53,"77":265,"78":53,"79":53,"80":53,"81":110,"82":110,"83":0,"84":110,"85":213,"86":213,"87":39,"88":39,"89":0,"90":0,"91":0,"92":39,"93":39,"94":39,"95":14,"96":14,"97":1,"98":0,"99":1,"100":0,"101":39,"102":39,"103":39,"104":39,"105":0,"106":39,"107":39,"108":0,"109":39,"110":39,"111":39,"112":7,"113":1,"114":55,"115":55,"116":55,"117":9,"118":8,"119":44,"120":43,"121":1,"122":2,"123":2,"124":45,"125":45,"126":45,"127":74,"128":74,"129":74,"130":63,"131":11,"132":10,"133":1,"134":1,"135":1,"136":44,"137":38,"138":38,"139":6,"140":6,"141":30,"142":34,"143":7,"144":23,"145":19,"146":2,"147":17,"148":17,"149":0,"150":17,"151":22,"152":40},"b":{"1":[1,0,0,0,0],"2":[0,1],"3":[10,9],"4":[1,85],"5":[6,67],"6":[0,1],"7":[0,1],"8":[1,0],"9":[0,0,0],"10":[0,0],"11":[0,31],"12":[0,0],"13":[1,53],"14":[0,1],"15":[0,110],"16":[39,174],"17":[0,39],"18":[0,0],"19":[0,1],"20":[0,1],"21":[39,39],"22":[0,39],"23":[0,39],"24":[1,6],"25":[55,0],"26":[43,1],"27":[74,0],"28":[74,73],"29":[63,11],"30":[10,1],"31":[11,10],"32":[1,0],"33":[38,6],"34":[1,5],"35":[7,27],"36":[2,17],"37":[17,17],"38":[0,17],"39":[17,15],"40":[22,15]},"f":{"1":1,"2":63,"3":19,"4":169,"5":426,"6":86,"7":86,"8":73,"9":1,"10":32,"11":0,"12":31,"13":54,"14":39,"15":55,"16":9,"17":8,"18":44,"19":2,"20":45,"21":44,"22":30,"23":19,"24":22,"25":40},"fnMap":{"1":{"name":"(anonymous_1)","line":7,"loc":{"start":{"line":7,"column":1},"end":{"line":7,"column":22}}},"2":{"name":"(anonymous_2)","line":53,"loc":{"start":{"line":53,"column":24},"end":{"line":53,"column":42}}},"3":{"name":"(anonymous_3)","line":56,"loc":{"start":{"line":56,"column":39},"end":{"line":56,"column":65}}},"4":{"name":"(anonymous_4)","line":65,"loc":{"start":{"line":65,"column":24},"end":{"line":65,"column":44}}},"5":{"name":"(anonymous_5)","line":67,"loc":{"start":{"line":67,"column":22},"end":{"line":67,"column":41}}},"6":{"name":"(anonymous_6)","line":72,"loc":{"start":{"line":72,"column":22},"end":{"line":72,"column":33}}},"7":{"name":"(anonymous_7)","line":76,"loc":{"start":{"line":76,"column":21},"end":{"line":76,"column":32}}},"8":{"name":"(anonymous_8)","line":82,"loc":{"start":{"line":82,"column":24},"end":{"line":82,"column":54}}},"9":{"name":"(anonymous_9)","line":112,"loc":{"start":{"line":112,"column":10},"end":{"line":112,"column":44}}},"10":{"name":"(anonymous_10)","line":139,"loc":{"start":{"line":139,"column":30},"end":{"line":139,"column":41}}},"11":{"name":"(anonymous_11)","line":144,"loc":{"start":{"line":144,"column":30},"end":{"line":144,"column":46}}},"12":{"name":"(anonymous_12)","line":164,"loc":{"start":{"line":164,"column":30},"end":{"line":164,"column":41}}},"13":{"name":"(anonymous_13)","line":179,"loc":{"start":{"line":179,"column":30},"end":{"line":179,"column":46}}},"14":{"name":"(anonymous_14)","line":253,"loc":{"start":{"line":253,"column":11},"end":{"line":253,"column":29}}},"15":{"name":"(anonymous_15)","line":284,"loc":{"start":{"line":284,"column":11},"end":{"line":284,"column":22}}},"16":{"name":"(anonymous_16)","line":299,"loc":{"start":{"line":299,"column":11},"end":{"line":299,"column":22}}},"17":{"name":"(anonymous_17)","line":309,"loc":{"start":{"line":309,"column":12},"end":{"line":309,"column":23}}},"18":{"name":"(anonymous_18)","line":319,"loc":{"start":{"line":319,"column":11},"end":{"line":319,"column":30}}},"19":{"name":"(anonymous_19)","line":334,"loc":{"start":{"line":334,"column":17},"end":{"line":334,"column":36}}},"20":{"name":"(anonymous_20)","line":356,"loc":{"start":{"line":356,"column":17},"end":{"line":356,"column":36}}},"21":{"name":"(anonymous_21)","line":402,"loc":{"start":{"line":402,"column":20},"end":{"line":402,"column":47}}},"22":{"name":"(anonymous_22)","line":408,"loc":{"start":{"line":408,"column":41},"end":{"line":408,"column":59}}},"23":{"name":"(anonymous_23)","line":457,"loc":{"start":{"line":457,"column":17},"end":{"line":457,"column":51}}},"24":{"name":"(anonymous_24)","line":475,"loc":{"start":{"line":475,"column":17},"end":{"line":475,"column":28}}},"25":{"name":"(anonymous_25)","line":486,"loc":{"start":{"line":486,"column":25},"end":{"line":486,"column":36}}}},"statementMap":{"1":{"start":{"line":7,"column":0},"end":{"line":491,"column":14}},"2":{"start":{"line":21,"column":2},"end":{"line":21,"column":18}},"3":{"start":{"line":24,"column":2},"end":{"line":28,"column":50}},"4":{"start":{"line":32,"column":2},"end":{"line":35,"column":3}},"5":{"start":{"line":33,"column":4},"end":{"line":33,"column":24}},"6":{"start":{"line":34,"column":4},"end":{"line":34,"column":21}},"7":{"start":{"line":37,"column":2},"end":{"line":37,"column":24}},"8":{"start":{"line":38,"column":2},"end":{"line":38,"column":18}},"9":{"start":{"line":39,"column":2},"end":{"line":39,"column":173}},"10":{"start":{"line":40,"column":2},"end":{"line":40,"column":18}},"11":{"start":{"line":41,"column":2},"end":{"line":41,"column":24}},"12":{"start":{"line":42,"column":2},"end":{"line":42,"column":25}},"13":{"start":{"line":43,"column":2},"end":{"line":43,"column":53}},"14":{"start":{"line":44,"column":2},"end":{"line":44,"column":29}},"15":{"start":{"line":45,"column":2},"end":{"line":45,"column":26}},"16":{"start":{"line":48,"column":2},"end":{"line":48,"column":41}},"17":{"start":{"line":49,"column":2},"end":{"line":49,"column":42}},"18":{"start":{"line":50,"column":2},"end":{"line":50,"column":37}},"19":{"start":{"line":51,"column":2},"end":{"line":51,"column":31}},"20":{"start":{"line":52,"column":2},"end":{"line":52,"column":47}},"21":{"start":{"line":53,"column":2},"end":{"line":62,"column":4}},"22":{"start":{"line":54,"column":4},"end":{"line":60,"column":57}},"23":{"start":{"line":57,"column":20},"end":{"line":57,"column":58}},"24":{"start":{"line":61,"column":4},"end":{"line":61,"column":48}},"25":{"start":{"line":65,"column":2},"end":{"line":70,"column":4}},"26":{"start":{"line":66,"column":4},"end":{"line":66,"column":56}},"27":{"start":{"line":67,"column":4},"end":{"line":69,"column":7}},"28":{"start":{"line":68,"column":6},"end":{"line":68,"column":54}},"29":{"start":{"line":72,"column":2},"end":{"line":74,"column":4}},"30":{"start":{"line":73,"column":4},"end":{"line":73,"column":37}},"31":{"start":{"line":76,"column":2},"end":{"line":80,"column":4}},"32":{"start":{"line":77,"column":4},"end":{"line":79,"column":5}},"33":{"start":{"line":78,"column":6},"end":{"line":78,"column":35}},"34":{"start":{"line":82,"column":2},"end":{"line":87,"column":4}},"35":{"start":{"line":83,"column":4},"end":{"line":83,"column":82}},"36":{"start":{"line":84,"column":4},"end":{"line":86,"column":5}},"37":{"start":{"line":85,"column":6},"end":{"line":85,"column":77}},"38":{"start":{"line":89,"column":2},"end":{"line":489,"column":4}},"39":{"start":{"line":115,"column":6},"end":{"line":119,"column":7}},"40":{"start":{"line":116,"column":8},"end":{"line":116,"column":29}},"41":{"start":{"line":118,"column":8},"end":{"line":118,"column":40}},"42":{"start":{"line":122,"column":6},"end":{"line":124,"column":7}},"43":{"start":{"line":123,"column":8},"end":{"line":123,"column":28}},"44":{"start":{"line":127,"column":6},"end":{"line":127,"column":44}},"45":{"start":{"line":130,"column":6},"end":{"line":130,"column":38}},"46":{"start":{"line":134,"column":6},"end":{"line":134,"column":66}},"47":{"start":{"line":137,"column":6},"end":{"line":137,"column":33}},"48":{"start":{"line":139,"column":6},"end":{"line":142,"column":8}},"49":{"start":{"line":140,"column":8},"end":{"line":140,"column":27}},"50":{"start":{"line":141,"column":8},"end":{"line":141,"column":41}},"51":{"start":{"line":144,"column":6},"end":{"line":162,"column":8}},"52":{"start":{"line":145,"column":8},"end":{"line":145,"column":41}},"53":{"start":{"line":146,"column":8},"end":{"line":161,"column":9}},"54":{"start":{"line":148,"column":10},"end":{"line":148,"column":50}},"55":{"start":{"line":149,"column":10},"end":{"line":149,"column":16}},"56":{"start":{"line":153,"column":10},"end":{"line":153,"column":30}},"57":{"start":{"line":155,"column":10},"end":{"line":159,"column":11}},"58":{"start":{"line":156,"column":12},"end":{"line":156,"column":62}},"59":{"start":{"line":158,"column":12},"end":{"line":158,"column":61}},"60":{"start":{"line":160,"column":10},"end":{"line":160,"column":16}},"61":{"start":{"line":164,"column":6},"end":{"line":177,"column":8}},"62":{"start":{"line":165,"column":8},"end":{"line":165,"column":28}},"63":{"start":{"line":166,"column":8},"end":{"line":166,"column":39}},"64":{"start":{"line":168,"column":8},"end":{"line":176,"column":9}},"65":{"start":{"line":170,"column":10},"end":{"line":170,"column":70}},"66":{"start":{"line":171,"column":10},"end":{"line":175,"column":11}},"67":{"start":{"line":172,"column":12},"end":{"line":172,"column":68}},"68":{"start":{"line":174,"column":12},"end":{"line":174,"column":33}},"69":{"start":{"line":179,"column":6},"end":{"line":224,"column":8}},"70":{"start":{"line":180,"column":8},"end":{"line":185,"column":9}},"71":{"start":{"line":181,"column":10},"end":{"line":183,"column":11}},"72":{"start":{"line":182,"column":12},"end":{"line":182,"column":68}},"73":{"start":{"line":184,"column":10},"end":{"line":184,"column":23}},"74":{"start":{"line":188,"column":8},"end":{"line":188,"column":71}},"75":{"start":{"line":189,"column":8},"end":{"line":189,"column":25}},"76":{"start":{"line":190,"column":8},"end":{"line":192,"column":9}},"77":{"start":{"line":191,"column":10},"end":{"line":191,"column":61}},"78":{"start":{"line":194,"column":8},"end":{"line":194,"column":51}},"79":{"start":{"line":195,"column":8},"end":{"line":195,"column":24}},"80":{"start":{"line":197,"column":8},"end":{"line":221,"column":9}},"81":{"start":{"line":199,"column":10},"end":{"line":199,"column":42}},"82":{"start":{"line":200,"column":10},"end":{"line":202,"column":11}},"83":{"start":{"line":201,"column":12},"end":{"line":201,"column":78}},"84":{"start":{"line":205,"column":10},"end":{"line":220,"column":11}},"85":{"start":{"line":206,"column":12},"end":{"line":206,"column":67}},"86":{"start":{"line":207,"column":12},"end":{"line":219,"column":13}},"87":{"start":{"line":208,"column":14},"end":{"line":208,"column":47}},"88":{"start":{"line":209,"column":14},"end":{"line":214,"column":15}},"89":{"start":{"line":210,"column":16},"end":{"line":210,"column":99}},"90":{"start":{"line":211,"column":16},"end":{"line":213,"column":17}},"91":{"start":{"line":212,"column":18},"end":{"line":212,"column":66}},"92":{"start":{"line":216,"column":14},"end":{"line":216,"column":63}},"93":{"start":{"line":217,"column":14},"end":{"line":217,"column":107}},"94":{"start":{"line":218,"column":14},"end":{"line":218,"column":26}},"95":{"start":{"line":222,"column":8},"end":{"line":222,"column":58}},"96":{"start":{"line":223,"column":8},"end":{"line":223,"column":21}},"97":{"start":{"line":227,"column":6},"end":{"line":229,"column":7}},"98":{"start":{"line":228,"column":8},"end":{"line":228,"column":26}},"99":{"start":{"line":230,"column":6},"end":{"line":232,"column":7}},"100":{"start":{"line":231,"column":8},"end":{"line":231,"column":35}},"101":{"start":{"line":254,"column":6},"end":{"line":254,"column":29}},"102":{"start":{"line":255,"column":6},"end":{"line":255,"column":21}},"103":{"start":{"line":256,"column":6},"end":{"line":256,"column":30}},"104":{"start":{"line":257,"column":6},"end":{"line":261,"column":7}},"105":{"start":{"line":258,"column":8},"end":{"line":258,"column":44}},"106":{"start":{"line":260,"column":8},"end":{"line":260,"column":27}},"107":{"start":{"line":262,"column":6},"end":{"line":264,"column":7}},"108":{"start":{"line":263,"column":8},"end":{"line":263,"column":54}},"109":{"start":{"line":266,"column":6},"end":{"line":266,"column":43}},"110":{"start":{"line":267,"column":6},"end":{"line":273,"column":7}},"111":{"start":{"line":268,"column":8},"end":{"line":268,"column":28}},"112":{"start":{"line":270,"column":8},"end":{"line":272,"column":9}},"113":{"start":{"line":271,"column":10},"end":{"line":271,"column":38}},"114":{"start":{"line":285,"column":6},"end":{"line":285,"column":26}},"115":{"start":{"line":286,"column":6},"end":{"line":288,"column":7}},"116":{"start":{"line":287,"column":8},"end":{"line":287,"column":28}},"117":{"start":{"line":300,"column":6},"end":{"line":300,"column":28}},"118":{"start":{"line":310,"column":6},"end":{"line":310,"column":27}},"119":{"start":{"line":320,"column":6},"end":{"line":324,"column":7}},"120":{"start":{"line":321,"column":8},"end":{"line":321,"column":32}},"121":{"start":{"line":323,"column":8},"end":{"line":323,"column":26}},"122":{"start":{"line":335,"column":6},"end":{"line":335,"column":21}},"123":{"start":{"line":336,"column":6},"end":{"line":336,"column":34}},"124":{"start":{"line":357,"column":6},"end":{"line":357,"column":13}},"125":{"start":{"line":359,"column":6},"end":{"line":359,"column":21}},"126":{"start":{"line":361,"column":6},"end":{"line":377,"column":7}},"127":{"start":{"line":362,"column":8},"end":{"line":376,"column":9}},"128":{"start":{"line":363,"column":10},"end":{"line":363,"column":58}},"129":{"start":{"line":364,"column":10},"end":{"line":375,"column":11}},"130":{"start":{"line":366,"column":12},"end":{"line":366,"column":65}},"131":{"start":{"line":367,"column":17},"end":{"line":375,"column":11}},"132":{"start":{"line":369,"column":12},"end":{"line":369,"column":84}},"133":{"start":{"line":371,"column":12},"end":{"line":373,"column":13}},"134":{"start":{"line":372,"column":14},"end":{"line":372,"column":82}},"135":{"start":{"line":374,"column":12},"end":{"line":374,"column":21}},"136":{"start":{"line":403,"column":6},"end":{"line":406,"column":7}},"137":{"start":{"line":404,"column":8},"end":{"line":404,"column":26}},"138":{"start":{"line":405,"column":8},"end":{"line":405,"column":15}},"139":{"start":{"line":407,"column":6},"end":{"line":407,"column":97}},"140":{"start":{"line":408,"column":6},"end":{"line":415,"column":9}},"141":{"start":{"line":409,"column":8},"end":{"line":413,"column":9}},"142":{"start":{"line":410,"column":10},"end":{"line":412,"column":11}},"143":{"start":{"line":411,"column":12},"end":{"line":411,"column":25}},"144":{"start":{"line":414,"column":8},"end":{"line":414,"column":20}},"145":{"start":{"line":458,"column":6},"end":{"line":460,"column":7}},"146":{"start":{"line":459,"column":8},"end":{"line":459,"column":15}},"147":{"start":{"line":461,"column":6},"end":{"line":461,"column":42}},"148":{"start":{"line":462,"column":6},"end":{"line":464,"column":7}},"149":{"start":{"line":463,"column":8},"end":{"line":463,"column":15}},"150":{"start":{"line":465,"column":6},"end":{"line":465,"column":69}},"151":{"start":{"line":476,"column":6},"end":{"line":476,"column":44}},"152":{"start":{"line":487,"column":6},"end":{"line":487,"column":25}}},"branchMap":{"1":{"line":24,"type":"binary-expr","locations":[{"start":{"line":24,"column":26},"end":{"line":24,"column":48}},{"start":{"line":25,"column":26},"end":{"line":25,"column":54}},{"start":{"line":26,"column":26},"end":{"line":26,"column":51}},{"start":{"line":27,"column":26},"end":{"line":27,"column":50}},{"start":{"line":28,"column":26},"end":{"line":28,"column":49}}]},"2":{"line":32,"type":"if","locations":[{"start":{"line":32,"column":2},"end":{"line":32,"column":2}},{"start":{"line":32,"column":2},"end":{"line":32,"column":2}}]},"3":{"line":57,"type":"cond-expr","locations":[{"start":{"line":57,"column":38},"end":{"line":57,"column":43}},{"start":{"line":57,"column":46},"end":{"line":57,"column":57}}]},"4":{"line":77,"type":"if","locations":[{"start":{"line":77,"column":4},"end":{"line":77,"column":4}},{"start":{"line":77,"column":4},"end":{"line":77,"column":4}}]},"5":{"line":84,"type":"if","locations":[{"start":{"line":84,"column":4},"end":{"line":84,"column":4}},{"start":{"line":84,"column":4},"end":{"line":84,"column":4}}]},"6":{"line":115,"type":"if","locations":[{"start":{"line":115,"column":6},"end":{"line":115,"column":6}},{"start":{"line":115,"column":6},"end":{"line":115,"column":6}}]},"7":{"line":122,"type":"if","locations":[{"start":{"line":122,"column":6},"end":{"line":122,"column":6}},{"start":{"line":122,"column":6},"end":{"line":122,"column":6}}]},"8":{"line":122,"type":"binary-expr","locations":[{"start":{"line":122,"column":10},"end":{"line":122,"column":21}},{"start":{"line":122,"column":25},"end":{"line":122,"column":42}}]},"9":{"line":146,"type":"switch","locations":[{"start":{"line":147,"column":8},"end":{"line":149,"column":16}},{"start":{"line":150,"column":8},"end":{"line":150,"column":27}},{"start":{"line":151,"column":8},"end":{"line":160,"column":16}}]},"10":{"line":155,"type":"if","locations":[{"start":{"line":155,"column":10},"end":{"line":155,"column":10}},{"start":{"line":155,"column":10},"end":{"line":155,"column":10}}]},"11":{"line":168,"type":"if","locations":[{"start":{"line":168,"column":8},"end":{"line":168,"column":8}},{"start":{"line":168,"column":8},"end":{"line":168,"column":8}}]},"12":{"line":171,"type":"if","locations":[{"start":{"line":171,"column":10},"end":{"line":171,"column":10}},{"start":{"line":171,"column":10},"end":{"line":171,"column":10}}]},"13":{"line":180,"type":"if","locations":[{"start":{"line":180,"column":8},"end":{"line":180,"column":8}},{"start":{"line":180,"column":8},"end":{"line":180,"column":8}}]},"14":{"line":181,"type":"if","locations":[{"start":{"line":181,"column":10},"end":{"line":181,"column":10}},{"start":{"line":181,"column":10},"end":{"line":181,"column":10}}]},"15":{"line":200,"type":"if","locations":[{"start":{"line":200,"column":10},"end":{"line":200,"column":10}},{"start":{"line":200,"column":10},"end":{"line":200,"column":10}}]},"16":{"line":207,"type":"if","locations":[{"start":{"line":207,"column":12},"end":{"line":207,"column":12}},{"start":{"line":207,"column":12},"end":{"line":207,"column":12}}]},"17":{"line":209,"type":"if","locations":[{"start":{"line":209,"column":14},"end":{"line":209,"column":14}},{"start":{"line":209,"column":14},"end":{"line":209,"column":14}}]},"18":{"line":211,"type":"if","locations":[{"start":{"line":211,"column":16},"end":{"line":211,"column":16}},{"start":{"line":211,"column":16},"end":{"line":211,"column":16}}]},"19":{"line":227,"type":"if","locations":[{"start":{"line":227,"column":6},"end":{"line":227,"column":6}},{"start":{"line":227,"column":6},"end":{"line":227,"column":6}}]},"20":{"line":230,"type":"if","locations":[{"start":{"line":230,"column":6},"end":{"line":230,"column":6}},{"start":{"line":230,"column":6},"end":{"line":230,"column":6}}]},"21":{"line":256,"type":"binary-expr","locations":[{"start":{"line":256,"column":16},"end":{"line":256,"column":23}},{"start":{"line":256,"column":27},"end":{"line":256,"column":29}}]},"22":{"line":257,"type":"if","locations":[{"start":{"line":257,"column":6},"end":{"line":257,"column":6}},{"start":{"line":257,"column":6},"end":{"line":257,"column":6}}]},"23":{"line":262,"type":"if","locations":[{"start":{"line":262,"column":6},"end":{"line":262,"column":6}},{"start":{"line":262,"column":6},"end":{"line":262,"column":6}}]},"24":{"line":270,"type":"if","locations":[{"start":{"line":270,"column":8},"end":{"line":270,"column":8}},{"start":{"line":270,"column":8},"end":{"line":270,"column":8}}]},"25":{"line":286,"type":"if","locations":[{"start":{"line":286,"column":6},"end":{"line":286,"column":6}},{"start":{"line":286,"column":6},"end":{"line":286,"column":6}}]},"26":{"line":320,"type":"if","locations":[{"start":{"line":320,"column":6},"end":{"line":320,"column":6}},{"start":{"line":320,"column":6},"end":{"line":320,"column":6}}]},"27":{"line":362,"type":"if","locations":[{"start":{"line":362,"column":8},"end":{"line":362,"column":8}},{"start":{"line":362,"column":8},"end":{"line":362,"column":8}}]},"28":{"line":363,"type":"binary-expr","locations":[{"start":{"line":363,"column":15},"end":{"line":363,"column":37}},{"start":{"line":363,"column":41},"end":{"line":363,"column":57}}]},"29":{"line":364,"type":"if","locations":[{"start":{"line":364,"column":10},"end":{"line":364,"column":10}},{"start":{"line":364,"column":10},"end":{"line":364,"column":10}}]},"30":{"line":367,"type":"if","locations":[{"start":{"line":367,"column":17},"end":{"line":367,"column":17}},{"start":{"line":367,"column":17},"end":{"line":367,"column":17}}]},"31":{"line":367,"type":"binary-expr","locations":[{"start":{"line":367,"column":21},"end":{"line":367,"column":43}},{"start":{"line":367,"column":47},"end":{"line":367,"column":74}}]},"32":{"line":371,"type":"if","locations":[{"start":{"line":371,"column":12},"end":{"line":371,"column":12}},{"start":{"line":371,"column":12},"end":{"line":371,"column":12}}]},"33":{"line":403,"type":"if","locations":[{"start":{"line":403,"column":6},"end":{"line":403,"column":6}},{"start":{"line":403,"column":6},"end":{"line":403,"column":6}}]},"34":{"line":407,"type":"cond-expr","locations":[{"start":{"line":407,"column":59},"end":{"line":407,"column":75}},{"start":{"line":407,"column":78},"end":{"line":407,"column":96}}]},"35":{"line":410,"type":"if","locations":[{"start":{"line":410,"column":10},"end":{"line":410,"column":10}},{"start":{"line":410,"column":10},"end":{"line":410,"column":10}}]},"36":{"line":458,"type":"if","locations":[{"start":{"line":458,"column":6},"end":{"line":458,"column":6}},{"start":{"line":458,"column":6},"end":{"line":458,"column":6}}]},"37":{"line":461,"type":"binary-expr","locations":[{"start":{"line":461,"column":15},"end":{"line":461,"column":29}},{"start":{"line":461,"column":33},"end":{"line":461,"column":41}}]},"38":{"line":462,"type":"if","locations":[{"start":{"line":462,"column":6},"end":{"line":462,"column":6}},{"start":{"line":462,"column":6},"end":{"line":462,"column":6}}]},"39":{"line":465,"type":"binary-expr","locations":[{"start":{"line":465,"column":51},"end":{"line":465,"column":58}},{"start":{"line":465,"column":62},"end":{"line":465,"column":66}}]},"40":{"line":476,"type":"binary-expr","locations":[{"start":{"line":476,"column":13},"end":{"line":476,"column":24}},{"start":{"line":476,"column":28},"end":{"line":476,"column":43}}]}}}} \ No newline at end of file +{"annyang.js":{"path":"annyang.js","s":{"1":1,"2":1,"3":1,"4":1,"5":0,"6":0,"7":1,"8":1,"9":1,"10":1,"11":1,"12":1,"13":1,"14":1,"15":1,"16":1,"17":1,"18":1,"19":1,"20":1,"21":1,"22":67,"23":19,"24":67,"25":1,"26":171,"27":171,"28":426,"29":1,"30":88,"31":1,"32":88,"33":1,"34":1,"35":77,"36":77,"37":6,"38":1,"39":1,"40":0,"41":1,"42":1,"43":0,"44":1,"45":1,"46":1,"47":1,"48":1,"49":32,"50":32,"51":1,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0,"61":1,"62":31,"63":31,"64":31,"65":0,"66":0,"67":0,"68":0,"69":1,"70":56,"71":1,"72":0,"73":1,"74":55,"75":55,"76":55,"77":275,"78":55,"79":55,"80":55,"81":112,"82":112,"83":0,"84":112,"85":216,"86":216,"87":41,"88":41,"89":0,"90":0,"91":0,"92":41,"93":41,"94":39,"95":14,"96":14,"97":1,"98":0,"99":1,"100":0,"101":39,"102":39,"103":39,"104":39,"105":0,"106":39,"107":39,"108":0,"109":39,"110":39,"111":39,"112":7,"113":1,"114":56,"115":56,"116":56,"117":9,"118":8,"119":45,"120":44,"121":1,"122":2,"123":2,"124":47,"125":47,"126":47,"127":78,"128":78,"129":78,"130":67,"131":11,"132":10,"133":1,"134":1,"135":1,"136":48,"137":41,"138":41,"139":7,"140":7,"141":32,"142":36,"143":8,"144":24,"145":19,"146":2,"147":17,"148":17,"149":0,"150":17,"151":22,"152":41},"b":{"1":[1,0,0,0,0],"2":[0,1],"3":[10,9],"4":[1,87],"5":[6,71],"6":[0,1],"7":[0,1],"8":[1,0],"9":[0,0,0],"10":[0,0],"11":[0,31],"12":[0,0],"13":[1,55],"14":[0,1],"15":[0,112],"16":[41,175],"17":[0,41],"18":[0,0],"19":[0,1],"20":[0,1],"21":[39,39],"22":[0,39],"23":[0,39],"24":[1,6],"25":[56,0],"26":[44,1],"27":[78,0],"28":[78,77],"29":[67,11],"30":[10,1],"31":[11,10],"32":[1,0],"33":[41,7],"34":[1,6],"35":[8,28],"36":[2,17],"37":[17,17],"38":[0,17],"39":[17,15],"40":[22,15]},"f":{"1":1,"2":67,"3":19,"4":171,"5":426,"6":88,"7":88,"8":77,"9":1,"10":32,"11":0,"12":31,"13":56,"14":39,"15":56,"16":9,"17":8,"18":45,"19":2,"20":47,"21":48,"22":32,"23":19,"24":22,"25":41},"fnMap":{"1":{"name":"(anonymous_1)","line":7,"loc":{"start":{"line":7,"column":1},"end":{"line":7,"column":22}}},"2":{"name":"(anonymous_2)","line":53,"loc":{"start":{"line":53,"column":24},"end":{"line":53,"column":42}}},"3":{"name":"(anonymous_3)","line":56,"loc":{"start":{"line":56,"column":39},"end":{"line":56,"column":65}}},"4":{"name":"(anonymous_4)","line":65,"loc":{"start":{"line":65,"column":24},"end":{"line":65,"column":44}}},"5":{"name":"(anonymous_5)","line":67,"loc":{"start":{"line":67,"column":22},"end":{"line":67,"column":41}}},"6":{"name":"(anonymous_6)","line":72,"loc":{"start":{"line":72,"column":22},"end":{"line":72,"column":33}}},"7":{"name":"(anonymous_7)","line":76,"loc":{"start":{"line":76,"column":21},"end":{"line":76,"column":32}}},"8":{"name":"(anonymous_8)","line":82,"loc":{"start":{"line":82,"column":24},"end":{"line":82,"column":54}}},"9":{"name":"(anonymous_9)","line":112,"loc":{"start":{"line":112,"column":10},"end":{"line":112,"column":44}}},"10":{"name":"(anonymous_10)","line":139,"loc":{"start":{"line":139,"column":30},"end":{"line":139,"column":41}}},"11":{"name":"(anonymous_11)","line":144,"loc":{"start":{"line":144,"column":30},"end":{"line":144,"column":46}}},"12":{"name":"(anonymous_12)","line":164,"loc":{"start":{"line":164,"column":30},"end":{"line":164,"column":41}}},"13":{"name":"(anonymous_13)","line":179,"loc":{"start":{"line":179,"column":30},"end":{"line":179,"column":46}}},"14":{"name":"(anonymous_14)","line":253,"loc":{"start":{"line":253,"column":11},"end":{"line":253,"column":29}}},"15":{"name":"(anonymous_15)","line":284,"loc":{"start":{"line":284,"column":11},"end":{"line":284,"column":22}}},"16":{"name":"(anonymous_16)","line":299,"loc":{"start":{"line":299,"column":11},"end":{"line":299,"column":22}}},"17":{"name":"(anonymous_17)","line":309,"loc":{"start":{"line":309,"column":12},"end":{"line":309,"column":23}}},"18":{"name":"(anonymous_18)","line":319,"loc":{"start":{"line":319,"column":11},"end":{"line":319,"column":30}}},"19":{"name":"(anonymous_19)","line":334,"loc":{"start":{"line":334,"column":17},"end":{"line":334,"column":36}}},"20":{"name":"(anonymous_20)","line":356,"loc":{"start":{"line":356,"column":17},"end":{"line":356,"column":36}}},"21":{"name":"(anonymous_21)","line":402,"loc":{"start":{"line":402,"column":20},"end":{"line":402,"column":47}}},"22":{"name":"(anonymous_22)","line":408,"loc":{"start":{"line":408,"column":41},"end":{"line":408,"column":59}}},"23":{"name":"(anonymous_23)","line":457,"loc":{"start":{"line":457,"column":17},"end":{"line":457,"column":51}}},"24":{"name":"(anonymous_24)","line":475,"loc":{"start":{"line":475,"column":17},"end":{"line":475,"column":28}}},"25":{"name":"(anonymous_25)","line":486,"loc":{"start":{"line":486,"column":25},"end":{"line":486,"column":36}}}},"statementMap":{"1":{"start":{"line":7,"column":0},"end":{"line":491,"column":14}},"2":{"start":{"line":21,"column":2},"end":{"line":21,"column":18}},"3":{"start":{"line":24,"column":2},"end":{"line":28,"column":50}},"4":{"start":{"line":32,"column":2},"end":{"line":35,"column":3}},"5":{"start":{"line":33,"column":4},"end":{"line":33,"column":24}},"6":{"start":{"line":34,"column":4},"end":{"line":34,"column":21}},"7":{"start":{"line":37,"column":2},"end":{"line":37,"column":24}},"8":{"start":{"line":38,"column":2},"end":{"line":38,"column":18}},"9":{"start":{"line":39,"column":2},"end":{"line":39,"column":173}},"10":{"start":{"line":40,"column":2},"end":{"line":40,"column":18}},"11":{"start":{"line":41,"column":2},"end":{"line":41,"column":24}},"12":{"start":{"line":42,"column":2},"end":{"line":42,"column":25}},"13":{"start":{"line":43,"column":2},"end":{"line":43,"column":53}},"14":{"start":{"line":44,"column":2},"end":{"line":44,"column":29}},"15":{"start":{"line":45,"column":2},"end":{"line":45,"column":26}},"16":{"start":{"line":48,"column":2},"end":{"line":48,"column":41}},"17":{"start":{"line":49,"column":2},"end":{"line":49,"column":42}},"18":{"start":{"line":50,"column":2},"end":{"line":50,"column":37}},"19":{"start":{"line":51,"column":2},"end":{"line":51,"column":31}},"20":{"start":{"line":52,"column":2},"end":{"line":52,"column":47}},"21":{"start":{"line":53,"column":2},"end":{"line":62,"column":4}},"22":{"start":{"line":54,"column":4},"end":{"line":60,"column":57}},"23":{"start":{"line":57,"column":20},"end":{"line":57,"column":58}},"24":{"start":{"line":61,"column":4},"end":{"line":61,"column":48}},"25":{"start":{"line":65,"column":2},"end":{"line":70,"column":4}},"26":{"start":{"line":66,"column":4},"end":{"line":66,"column":56}},"27":{"start":{"line":67,"column":4},"end":{"line":69,"column":7}},"28":{"start":{"line":68,"column":6},"end":{"line":68,"column":54}},"29":{"start":{"line":72,"column":2},"end":{"line":74,"column":4}},"30":{"start":{"line":73,"column":4},"end":{"line":73,"column":37}},"31":{"start":{"line":76,"column":2},"end":{"line":80,"column":4}},"32":{"start":{"line":77,"column":4},"end":{"line":79,"column":5}},"33":{"start":{"line":78,"column":6},"end":{"line":78,"column":35}},"34":{"start":{"line":82,"column":2},"end":{"line":87,"column":4}},"35":{"start":{"line":83,"column":4},"end":{"line":83,"column":82}},"36":{"start":{"line":84,"column":4},"end":{"line":86,"column":5}},"37":{"start":{"line":85,"column":6},"end":{"line":85,"column":77}},"38":{"start":{"line":89,"column":2},"end":{"line":489,"column":4}},"39":{"start":{"line":115,"column":6},"end":{"line":119,"column":7}},"40":{"start":{"line":116,"column":8},"end":{"line":116,"column":29}},"41":{"start":{"line":118,"column":8},"end":{"line":118,"column":40}},"42":{"start":{"line":122,"column":6},"end":{"line":124,"column":7}},"43":{"start":{"line":123,"column":8},"end":{"line":123,"column":28}},"44":{"start":{"line":127,"column":6},"end":{"line":127,"column":44}},"45":{"start":{"line":130,"column":6},"end":{"line":130,"column":38}},"46":{"start":{"line":134,"column":6},"end":{"line":134,"column":66}},"47":{"start":{"line":137,"column":6},"end":{"line":137,"column":33}},"48":{"start":{"line":139,"column":6},"end":{"line":142,"column":8}},"49":{"start":{"line":140,"column":8},"end":{"line":140,"column":27}},"50":{"start":{"line":141,"column":8},"end":{"line":141,"column":41}},"51":{"start":{"line":144,"column":6},"end":{"line":162,"column":8}},"52":{"start":{"line":145,"column":8},"end":{"line":145,"column":41}},"53":{"start":{"line":146,"column":8},"end":{"line":161,"column":9}},"54":{"start":{"line":148,"column":10},"end":{"line":148,"column":50}},"55":{"start":{"line":149,"column":10},"end":{"line":149,"column":16}},"56":{"start":{"line":153,"column":10},"end":{"line":153,"column":30}},"57":{"start":{"line":155,"column":10},"end":{"line":159,"column":11}},"58":{"start":{"line":156,"column":12},"end":{"line":156,"column":62}},"59":{"start":{"line":158,"column":12},"end":{"line":158,"column":61}},"60":{"start":{"line":160,"column":10},"end":{"line":160,"column":16}},"61":{"start":{"line":164,"column":6},"end":{"line":177,"column":8}},"62":{"start":{"line":165,"column":8},"end":{"line":165,"column":28}},"63":{"start":{"line":166,"column":8},"end":{"line":166,"column":39}},"64":{"start":{"line":168,"column":8},"end":{"line":176,"column":9}},"65":{"start":{"line":170,"column":10},"end":{"line":170,"column":70}},"66":{"start":{"line":171,"column":10},"end":{"line":175,"column":11}},"67":{"start":{"line":172,"column":12},"end":{"line":172,"column":68}},"68":{"start":{"line":174,"column":12},"end":{"line":174,"column":33}},"69":{"start":{"line":179,"column":6},"end":{"line":224,"column":8}},"70":{"start":{"line":180,"column":8},"end":{"line":185,"column":9}},"71":{"start":{"line":181,"column":10},"end":{"line":183,"column":11}},"72":{"start":{"line":182,"column":12},"end":{"line":182,"column":68}},"73":{"start":{"line":184,"column":10},"end":{"line":184,"column":23}},"74":{"start":{"line":188,"column":8},"end":{"line":188,"column":71}},"75":{"start":{"line":189,"column":8},"end":{"line":189,"column":25}},"76":{"start":{"line":190,"column":8},"end":{"line":192,"column":9}},"77":{"start":{"line":191,"column":10},"end":{"line":191,"column":61}},"78":{"start":{"line":194,"column":8},"end":{"line":194,"column":51}},"79":{"start":{"line":195,"column":8},"end":{"line":195,"column":24}},"80":{"start":{"line":197,"column":8},"end":{"line":221,"column":9}},"81":{"start":{"line":199,"column":10},"end":{"line":199,"column":42}},"82":{"start":{"line":200,"column":10},"end":{"line":202,"column":11}},"83":{"start":{"line":201,"column":12},"end":{"line":201,"column":78}},"84":{"start":{"line":205,"column":10},"end":{"line":220,"column":11}},"85":{"start":{"line":206,"column":12},"end":{"line":206,"column":67}},"86":{"start":{"line":207,"column":12},"end":{"line":219,"column":13}},"87":{"start":{"line":208,"column":14},"end":{"line":208,"column":47}},"88":{"start":{"line":209,"column":14},"end":{"line":214,"column":15}},"89":{"start":{"line":210,"column":16},"end":{"line":210,"column":99}},"90":{"start":{"line":211,"column":16},"end":{"line":213,"column":17}},"91":{"start":{"line":212,"column":18},"end":{"line":212,"column":66}},"92":{"start":{"line":216,"column":14},"end":{"line":216,"column":63}},"93":{"start":{"line":217,"column":14},"end":{"line":217,"column":107}},"94":{"start":{"line":218,"column":14},"end":{"line":218,"column":26}},"95":{"start":{"line":222,"column":8},"end":{"line":222,"column":58}},"96":{"start":{"line":223,"column":8},"end":{"line":223,"column":21}},"97":{"start":{"line":227,"column":6},"end":{"line":229,"column":7}},"98":{"start":{"line":228,"column":8},"end":{"line":228,"column":26}},"99":{"start":{"line":230,"column":6},"end":{"line":232,"column":7}},"100":{"start":{"line":231,"column":8},"end":{"line":231,"column":35}},"101":{"start":{"line":254,"column":6},"end":{"line":254,"column":29}},"102":{"start":{"line":255,"column":6},"end":{"line":255,"column":21}},"103":{"start":{"line":256,"column":6},"end":{"line":256,"column":30}},"104":{"start":{"line":257,"column":6},"end":{"line":261,"column":7}},"105":{"start":{"line":258,"column":8},"end":{"line":258,"column":44}},"106":{"start":{"line":260,"column":8},"end":{"line":260,"column":27}},"107":{"start":{"line":262,"column":6},"end":{"line":264,"column":7}},"108":{"start":{"line":263,"column":8},"end":{"line":263,"column":54}},"109":{"start":{"line":266,"column":6},"end":{"line":266,"column":43}},"110":{"start":{"line":267,"column":6},"end":{"line":273,"column":7}},"111":{"start":{"line":268,"column":8},"end":{"line":268,"column":28}},"112":{"start":{"line":270,"column":8},"end":{"line":272,"column":9}},"113":{"start":{"line":271,"column":10},"end":{"line":271,"column":38}},"114":{"start":{"line":285,"column":6},"end":{"line":285,"column":26}},"115":{"start":{"line":286,"column":6},"end":{"line":288,"column":7}},"116":{"start":{"line":287,"column":8},"end":{"line":287,"column":28}},"117":{"start":{"line":300,"column":6},"end":{"line":300,"column":28}},"118":{"start":{"line":310,"column":6},"end":{"line":310,"column":27}},"119":{"start":{"line":320,"column":6},"end":{"line":324,"column":7}},"120":{"start":{"line":321,"column":8},"end":{"line":321,"column":32}},"121":{"start":{"line":323,"column":8},"end":{"line":323,"column":26}},"122":{"start":{"line":335,"column":6},"end":{"line":335,"column":21}},"123":{"start":{"line":336,"column":6},"end":{"line":336,"column":34}},"124":{"start":{"line":357,"column":6},"end":{"line":357,"column":13}},"125":{"start":{"line":359,"column":6},"end":{"line":359,"column":21}},"126":{"start":{"line":361,"column":6},"end":{"line":377,"column":7}},"127":{"start":{"line":362,"column":8},"end":{"line":376,"column":9}},"128":{"start":{"line":363,"column":10},"end":{"line":363,"column":58}},"129":{"start":{"line":364,"column":10},"end":{"line":375,"column":11}},"130":{"start":{"line":366,"column":12},"end":{"line":366,"column":65}},"131":{"start":{"line":367,"column":17},"end":{"line":375,"column":11}},"132":{"start":{"line":369,"column":12},"end":{"line":369,"column":84}},"133":{"start":{"line":371,"column":12},"end":{"line":373,"column":13}},"134":{"start":{"line":372,"column":14},"end":{"line":372,"column":82}},"135":{"start":{"line":374,"column":12},"end":{"line":374,"column":21}},"136":{"start":{"line":403,"column":6},"end":{"line":406,"column":7}},"137":{"start":{"line":404,"column":8},"end":{"line":404,"column":26}},"138":{"start":{"line":405,"column":8},"end":{"line":405,"column":15}},"139":{"start":{"line":407,"column":6},"end":{"line":407,"column":97}},"140":{"start":{"line":408,"column":6},"end":{"line":415,"column":9}},"141":{"start":{"line":409,"column":8},"end":{"line":413,"column":9}},"142":{"start":{"line":410,"column":10},"end":{"line":412,"column":11}},"143":{"start":{"line":411,"column":12},"end":{"line":411,"column":25}},"144":{"start":{"line":414,"column":8},"end":{"line":414,"column":20}},"145":{"start":{"line":458,"column":6},"end":{"line":460,"column":7}},"146":{"start":{"line":459,"column":8},"end":{"line":459,"column":15}},"147":{"start":{"line":461,"column":6},"end":{"line":461,"column":42}},"148":{"start":{"line":462,"column":6},"end":{"line":464,"column":7}},"149":{"start":{"line":463,"column":8},"end":{"line":463,"column":15}},"150":{"start":{"line":465,"column":6},"end":{"line":465,"column":69}},"151":{"start":{"line":476,"column":6},"end":{"line":476,"column":44}},"152":{"start":{"line":487,"column":6},"end":{"line":487,"column":25}}},"branchMap":{"1":{"line":24,"type":"binary-expr","locations":[{"start":{"line":24,"column":26},"end":{"line":24,"column":48}},{"start":{"line":25,"column":26},"end":{"line":25,"column":54}},{"start":{"line":26,"column":26},"end":{"line":26,"column":51}},{"start":{"line":27,"column":26},"end":{"line":27,"column":50}},{"start":{"line":28,"column":26},"end":{"line":28,"column":49}}]},"2":{"line":32,"type":"if","locations":[{"start":{"line":32,"column":2},"end":{"line":32,"column":2}},{"start":{"line":32,"column":2},"end":{"line":32,"column":2}}]},"3":{"line":57,"type":"cond-expr","locations":[{"start":{"line":57,"column":38},"end":{"line":57,"column":43}},{"start":{"line":57,"column":46},"end":{"line":57,"column":57}}]},"4":{"line":77,"type":"if","locations":[{"start":{"line":77,"column":4},"end":{"line":77,"column":4}},{"start":{"line":77,"column":4},"end":{"line":77,"column":4}}]},"5":{"line":84,"type":"if","locations":[{"start":{"line":84,"column":4},"end":{"line":84,"column":4}},{"start":{"line":84,"column":4},"end":{"line":84,"column":4}}]},"6":{"line":115,"type":"if","locations":[{"start":{"line":115,"column":6},"end":{"line":115,"column":6}},{"start":{"line":115,"column":6},"end":{"line":115,"column":6}}]},"7":{"line":122,"type":"if","locations":[{"start":{"line":122,"column":6},"end":{"line":122,"column":6}},{"start":{"line":122,"column":6},"end":{"line":122,"column":6}}]},"8":{"line":122,"type":"binary-expr","locations":[{"start":{"line":122,"column":10},"end":{"line":122,"column":21}},{"start":{"line":122,"column":25},"end":{"line":122,"column":42}}]},"9":{"line":146,"type":"switch","locations":[{"start":{"line":147,"column":8},"end":{"line":149,"column":16}},{"start":{"line":150,"column":8},"end":{"line":150,"column":27}},{"start":{"line":151,"column":8},"end":{"line":160,"column":16}}]},"10":{"line":155,"type":"if","locations":[{"start":{"line":155,"column":10},"end":{"line":155,"column":10}},{"start":{"line":155,"column":10},"end":{"line":155,"column":10}}]},"11":{"line":168,"type":"if","locations":[{"start":{"line":168,"column":8},"end":{"line":168,"column":8}},{"start":{"line":168,"column":8},"end":{"line":168,"column":8}}]},"12":{"line":171,"type":"if","locations":[{"start":{"line":171,"column":10},"end":{"line":171,"column":10}},{"start":{"line":171,"column":10},"end":{"line":171,"column":10}}]},"13":{"line":180,"type":"if","locations":[{"start":{"line":180,"column":8},"end":{"line":180,"column":8}},{"start":{"line":180,"column":8},"end":{"line":180,"column":8}}]},"14":{"line":181,"type":"if","locations":[{"start":{"line":181,"column":10},"end":{"line":181,"column":10}},{"start":{"line":181,"column":10},"end":{"line":181,"column":10}}]},"15":{"line":200,"type":"if","locations":[{"start":{"line":200,"column":10},"end":{"line":200,"column":10}},{"start":{"line":200,"column":10},"end":{"line":200,"column":10}}]},"16":{"line":207,"type":"if","locations":[{"start":{"line":207,"column":12},"end":{"line":207,"column":12}},{"start":{"line":207,"column":12},"end":{"line":207,"column":12}}]},"17":{"line":209,"type":"if","locations":[{"start":{"line":209,"column":14},"end":{"line":209,"column":14}},{"start":{"line":209,"column":14},"end":{"line":209,"column":14}}]},"18":{"line":211,"type":"if","locations":[{"start":{"line":211,"column":16},"end":{"line":211,"column":16}},{"start":{"line":211,"column":16},"end":{"line":211,"column":16}}]},"19":{"line":227,"type":"if","locations":[{"start":{"line":227,"column":6},"end":{"line":227,"column":6}},{"start":{"line":227,"column":6},"end":{"line":227,"column":6}}]},"20":{"line":230,"type":"if","locations":[{"start":{"line":230,"column":6},"end":{"line":230,"column":6}},{"start":{"line":230,"column":6},"end":{"line":230,"column":6}}]},"21":{"line":256,"type":"binary-expr","locations":[{"start":{"line":256,"column":16},"end":{"line":256,"column":23}},{"start":{"line":256,"column":27},"end":{"line":256,"column":29}}]},"22":{"line":257,"type":"if","locations":[{"start":{"line":257,"column":6},"end":{"line":257,"column":6}},{"start":{"line":257,"column":6},"end":{"line":257,"column":6}}]},"23":{"line":262,"type":"if","locations":[{"start":{"line":262,"column":6},"end":{"line":262,"column":6}},{"start":{"line":262,"column":6},"end":{"line":262,"column":6}}]},"24":{"line":270,"type":"if","locations":[{"start":{"line":270,"column":8},"end":{"line":270,"column":8}},{"start":{"line":270,"column":8},"end":{"line":270,"column":8}}]},"25":{"line":286,"type":"if","locations":[{"start":{"line":286,"column":6},"end":{"line":286,"column":6}},{"start":{"line":286,"column":6},"end":{"line":286,"column":6}}]},"26":{"line":320,"type":"if","locations":[{"start":{"line":320,"column":6},"end":{"line":320,"column":6}},{"start":{"line":320,"column":6},"end":{"line":320,"column":6}}]},"27":{"line":362,"type":"if","locations":[{"start":{"line":362,"column":8},"end":{"line":362,"column":8}},{"start":{"line":362,"column":8},"end":{"line":362,"column":8}}]},"28":{"line":363,"type":"binary-expr","locations":[{"start":{"line":363,"column":15},"end":{"line":363,"column":37}},{"start":{"line":363,"column":41},"end":{"line":363,"column":57}}]},"29":{"line":364,"type":"if","locations":[{"start":{"line":364,"column":10},"end":{"line":364,"column":10}},{"start":{"line":364,"column":10},"end":{"line":364,"column":10}}]},"30":{"line":367,"type":"if","locations":[{"start":{"line":367,"column":17},"end":{"line":367,"column":17}},{"start":{"line":367,"column":17},"end":{"line":367,"column":17}}]},"31":{"line":367,"type":"binary-expr","locations":[{"start":{"line":367,"column":21},"end":{"line":367,"column":43}},{"start":{"line":367,"column":47},"end":{"line":367,"column":74}}]},"32":{"line":371,"type":"if","locations":[{"start":{"line":371,"column":12},"end":{"line":371,"column":12}},{"start":{"line":371,"column":12},"end":{"line":371,"column":12}}]},"33":{"line":403,"type":"if","locations":[{"start":{"line":403,"column":6},"end":{"line":403,"column":6}},{"start":{"line":403,"column":6},"end":{"line":403,"column":6}}]},"34":{"line":407,"type":"cond-expr","locations":[{"start":{"line":407,"column":59},"end":{"line":407,"column":75}},{"start":{"line":407,"column":78},"end":{"line":407,"column":96}}]},"35":{"line":410,"type":"if","locations":[{"start":{"line":410,"column":10},"end":{"line":410,"column":10}},{"start":{"line":410,"column":10},"end":{"line":410,"column":10}}]},"36":{"line":458,"type":"if","locations":[{"start":{"line":458,"column":6},"end":{"line":458,"column":6}},{"start":{"line":458,"column":6},"end":{"line":458,"column":6}}]},"37":{"line":461,"type":"binary-expr","locations":[{"start":{"line":461,"column":15},"end":{"line":461,"column":29}},{"start":{"line":461,"column":33},"end":{"line":461,"column":41}}]},"38":{"line":462,"type":"if","locations":[{"start":{"line":462,"column":6},"end":{"line":462,"column":6}},{"start":{"line":462,"column":6},"end":{"line":462,"column":6}}]},"39":{"line":465,"type":"binary-expr","locations":[{"start":{"line":465,"column":51},"end":{"line":465,"column":58}},{"start":{"line":465,"column":62},"end":{"line":465,"column":66}}]},"40":{"line":476,"type":"binary-expr","locations":[{"start":{"line":476,"column":13},"end":{"line":476,"column":24}},{"start":{"line":476,"column":28},"end":{"line":476,"column":43}}]}}}} \ No newline at end of file diff --git a/test/coverage/index.html b/test/coverage/index.html index 2873be0..084ab37 100644 --- a/test/coverage/index.html +++ b/test/coverage/index.html @@ -77,7 +77,7 @@

diff --git a/test/spec/BasicSpec.js b/test/spec/BasicSpec.js index cbe133e..76541de 100644 --- a/test/spec/BasicSpec.js +++ b/test/spec/BasicSpec.js @@ -281,7 +281,6 @@ }); - describe("annyang.addCallback('resultMatch')", function() { var recognition; @@ -612,6 +611,24 @@ expect(spyOnMatch).not.toHaveBeenCalled(); }); + it('should not break when a command is removed by another command being called', function () { + var commands = { + 'Malcolm': function() { annyang.removeCommands(); }, + 'Wash': function() { annyang.removeCommands('Malcolm'); } + }; + + annyang.addCommands(commands); + expect(function() { + recognition.say('Malcolm'); + }).not.toThrowError(); + + annyang.removeCommands(); + annyang.addCommands(commands); + expect(function() { + recognition.say('Wash'); + }).not.toThrowError(); + }); + }); describe("annyang.removeCommands", function() { From c45154213b354e8b9546cc61567ec604131e892a Mon Sep 17 00:00:00 2001 From: Tal Ater Date: Mon, 25 Jan 2016 12:06:57 +0200 Subject: [PATCH 4/5] Reverted back to more efficient for loop The old loop that only checked for the length once and not on every iteration is more efficient. Even if a command is removed and the length of commandsList changes it doesn't matter because the loop exits because of the return statement. --- annyang.js | 2 +- annyang.min.js | 2 +- sites/facebook.min.js | 2 +- sites/geektime.min.js | 2 +- test/coverage/__root__/annyang.js.html | 31 ++++++++++++++------------ test/coverage/__root__/index.html | 20 ++++++++--------- test/coverage/coverage.json | 2 +- test/coverage/index.html | 20 ++++++++--------- 8 files changed, 42 insertions(+), 39 deletions(-) diff --git a/annyang.js b/annyang.js index 0a7133a..7befd7f 100644 --- a/annyang.js +++ b/annyang.js @@ -202,7 +202,7 @@ } // try and match recognized text to one of the commands on the list - for (var j = 0; ja?setTimeout(b.annyang.start,1e3-a):b.annyang.start()}},d.onresult=function(a){if(k)return i&&b.console.log("Speech heard, but annyang is paused"),!1;for(var c=a.results[a.resultIndex],d=[],e=0;em;m++){var o=f[m].command.exec(h);if(o){var p=o.slice(1);return i&&(b.console.log("command matched: %c"+f[m].originalPhrase,j),p.length&&b.console.log("with parameters",p)),f[m].callback.apply(this,p),s(g.resultMatch,h,f[m].originalPhrase,d),!0}}}return s(g.resultNoMatch,d),!1},n&&(f=[]),m.length&&this.addCommands(m)},start:function(c){k=!1,u(),c=c||{},e=c.autoRestart!==a?!!c.autoRestart:!0,c.continuous!==a&&(d.continuous=!!c.continuous),h=(new Date).getTime();try{d.start()}catch(f){i&&b.console.log(f.message)}},abort:function(){e=!1,t&&d.abort()},pause:function(){k=!0},resume:function(){b.annyang.start()},debug:function(a){i=arguments.length>0?!!a:!0},setLanguage:function(a){u(),d.lang=a},addCommands:function(a){var c;u();for(var d in a)if(a.hasOwnProperty(d))if(c=b[a[d]]||a[d],"function"==typeof c)v(r(d),c,d);else{if(!("object"==typeof c&&c.regexp instanceof RegExp)){i&&b.console.log("Can not register command: %c"+d,j);continue}v(new RegExp(c.regexp.source,"i"),c.callback,d)}},removeCommands:function(b){return b===a?void(f=[]):(b=Array.isArray(b)?b:[b],void(f=f.filter(function(a){for(var c=0;ca?setTimeout(b.annyang.start,1e3-a):b.annyang.start()}},d.onresult=function(a){if(k)return i&&b.console.log("Speech heard, but annyang is paused"),!1;for(var c=a.results[a.resultIndex],d=[],e=0;em;m++){var o=f[m],p=o.command.exec(h);if(p){var q=p.slice(1);return i&&(b.console.log("command matched: %c"+o.originalPhrase,j),q.length&&b.console.log("with parameters",q)),o.callback.apply(this,q),s(g.resultMatch,h,o.originalPhrase,d),!0}}}return s(g.resultNoMatch,d),!1},n&&(f=[]),m.length&&this.addCommands(m)},start:function(c){k=!1,u(),c=c||{},e=c.autoRestart!==a?!!c.autoRestart:!0,c.continuous!==a&&(d.continuous=!!c.continuous),h=(new Date).getTime();try{d.start()}catch(f){i&&b.console.log(f.message)}},abort:function(){e=!1,t&&d.abort()},pause:function(){k=!0},resume:function(){b.annyang.start()},debug:function(a){i=arguments.length>0?!!a:!0},setLanguage:function(a){u(),d.lang=a},addCommands:function(a){var c;u();for(var d in a)if(a.hasOwnProperty(d))if(c=b[a[d]]||a[d],"function"==typeof c)v(r(d),c,d);else{if(!("object"==typeof c&&c.regexp instanceof RegExp)){i&&b.console.log("Can not register command: %c"+d,j);continue}v(new RegExp(c.regexp.source,"i"),c.callback,d)}},removeCommands:function(b){return b===a?void(f=[]):(b=Array.isArray(b)?b:[b],void(f=f.filter(function(a){for(var c=0;ca?setTimeout(b.annyang.start,1e3-a):b.annyang.start()}},d.onresult=function(a){if(k)return i&&b.console.log("Speech heard, but annyang is paused"),!1;for(var c=a.results[a.resultIndex],d=[],e=0;em;m++){var o=f[m].command.exec(h);if(o){var p=o.slice(1);return i&&(b.console.log("command matched: %c"+f[m].originalPhrase,j),p.length&&b.console.log("with parameters",p)),f[m].callback.apply(this,p),s(g.resultMatch,h,f[m].originalPhrase,d),!0}}}return s(g.resultNoMatch,d),!1},n&&(f=[]),m.length&&this.addCommands(m)},start:function(c){k=!1,u(),c=c||{},e=c.autoRestart!==a?!!c.autoRestart:!0,c.continuous!==a&&(d.continuous=!!c.continuous),h=(new Date).getTime();try{d.start()}catch(f){i&&b.console.log(f.message)}},abort:function(){e=!1,t&&d.abort()},pause:function(){k=!0},resume:function(){b.annyang.start()},debug:function(a){i=arguments.length>0?!!a:!0},setLanguage:function(a){u(),d.lang=a},addCommands:function(a){var c;u();for(var d in a)if(a.hasOwnProperty(d))if(c=b[a[d]]||a[d],"function"==typeof c)v(r(d),c,d);else{if(!("object"==typeof c&&c.regexp instanceof RegExp)){i&&b.console.log("Can not register command: %c"+d,j);continue}v(new RegExp(c.regexp.source,"i"),c.callback,d)}},removeCommands:function(b){return b===a?void(f=[]):(b=Array.isArray(b)?b:[b],void(f=f.filter(function(a){for(var c=0;ca?setTimeout(b.annyang.start,1e3-a):b.annyang.start()}},d.onresult=function(a){if(k)return i&&b.console.log("Speech heard, but annyang is paused"),!1;for(var c=a.results[a.resultIndex],d=[],e=0;em;m++){var o=f[m],p=o.command.exec(h);if(p){var q=p.slice(1);return i&&(b.console.log("command matched: %c"+o.originalPhrase,j),q.length&&b.console.log("with parameters",q)),o.callback.apply(this,q),s(g.resultMatch,h,o.originalPhrase,d),!0}}}return s(g.resultNoMatch,d),!1},n&&(f=[]),m.length&&this.addCommands(m)},start:function(c){k=!1,u(),c=c||{},e=c.autoRestart!==a?!!c.autoRestart:!0,c.continuous!==a&&(d.continuous=!!c.continuous),h=(new Date).getTime();try{d.start()}catch(f){i&&b.console.log(f.message)}},abort:function(){e=!1,t&&d.abort()},pause:function(){k=!0},resume:function(){b.annyang.start()},debug:function(a){i=arguments.length>0?!!a:!0},setLanguage:function(a){u(),d.lang=a},addCommands:function(a){var c;u();for(var d in a)if(a.hasOwnProperty(d))if(c=b[a[d]]||a[d],"function"==typeof c)v(r(d),c,d);else{if(!("object"==typeof c&&c.regexp instanceof RegExp)){i&&b.console.log("Can not register command: %c"+d,j);continue}v(new RegExp(c.regexp.source,"i"),c.callback,d)}},removeCommands:function(b){return b===a?void(f=[]):(b=Array.isArray(b)?b:[b],void(f=f.filter(function(a){for(var c=0;ca?setTimeout(b.annyang.start,1e3-a):b.annyang.start()}},d.onresult=function(a){if(k)return i&&b.console.log("Speech heard, but annyang is paused"),!1;for(var c=a.results[a.resultIndex],d=[],e=0;em;m++){var o=f[m].command.exec(h);if(o){var p=o.slice(1);return i&&(b.console.log("command matched: %c"+f[m].originalPhrase,j),p.length&&b.console.log("with parameters",p)),f[m].callback.apply(this,p),s(g.resultMatch,h,f[m].originalPhrase,d),!0}}}return s(g.resultNoMatch,d),!1},n&&(f=[]),m.length&&this.addCommands(m)},start:function(c){k=!1,u(),c=c||{},e=c.autoRestart!==a?!!c.autoRestart:!0,c.continuous!==a&&(d.continuous=!!c.continuous),h=(new Date).getTime();try{d.start()}catch(f){i&&b.console.log(f.message)}},abort:function(){e=!1,t&&d.abort()},pause:function(){k=!0},resume:function(){b.annyang.start()},debug:function(a){i=arguments.length>0?!!a:!0},setLanguage:function(a){u(),d.lang=a},addCommands:function(a){var c;u();for(var d in a)if(a.hasOwnProperty(d))if(c=b[a[d]]||a[d],"function"==typeof c)v(r(d),c,d);else{if(!("object"==typeof c&&c.regexp instanceof RegExp)){i&&b.console.log("Can not register command: %c"+d,j);continue}v(new RegExp(c.regexp.source,"i"),c.callback,d)}},removeCommands:function(b){return b===a?void(f=[]):(b=Array.isArray(b)?b:[b],void(f=f.filter(function(a){for(var c=0;ca?setTimeout(b.annyang.start,1e3-a):b.annyang.start()}},d.onresult=function(a){if(k)return i&&b.console.log("Speech heard, but annyang is paused"),!1;for(var c=a.results[a.resultIndex],d=[],e=0;em;m++){var o=f[m],p=o.command.exec(h);if(p){var q=p.slice(1);return i&&(b.console.log("command matched: %c"+o.originalPhrase,j),q.length&&b.console.log("with parameters",q)),o.callback.apply(this,q),s(g.resultMatch,h,o.originalPhrase,d),!0}}}return s(g.resultNoMatch,d),!1},n&&(f=[]),m.length&&this.addCommands(m)},start:function(c){k=!1,u(),c=c||{},e=c.autoRestart!==a?!!c.autoRestart:!0,c.continuous!==a&&(d.continuous=!!c.continuous),h=(new Date).getTime();try{d.start()}catch(f){i&&b.console.log(f.message)}},abort:function(){e=!1,t&&d.abort()},pause:function(){k=!0},resume:function(){b.annyang.start()},debug:function(a){i=arguments.length>0?!!a:!0},setLanguage:function(a){u(),d.lang=a},addCommands:function(a){var c;u();for(var d in a)if(a.hasOwnProperty(d))if(c=b[a[d]]||a[d],"function"==typeof c)v(r(d),c,d);else{if(!("object"==typeof c&&c.regexp instanceof RegExp)){i&&b.console.log("Can not register command: %c"+d,j);continue}v(new RegExp(c.regexp.source,"i"),c.callback,d)}},removeCommands:function(b){return b===a?void(f=[]):(b=Array.isArray(b)?b:[b],void(f=f.filter(function(a){for(var c=0;c

- 82.24% + 82.35% Statements - 125/152 + 126/153
65.48% @@ -35,9 +35,9 @@

24/25

- 82.24% + 82.35% Lines - 125/152 + 126/153
@@ -703,7 +703,8 @@

658 659 660 -661  +661 +662        @@ -768,9 +769,9 @@

    -171× -171× -426× +173× +173× +428×       @@ -910,6 +911,7 @@

112× 216× 216× +216× 41× 41×   @@ -920,7 +922,7 @@

  41× 41× -39× +41×       @@ -1568,18 +1570,19 @@

  // try and match recognized text to one of the commands on the list for (var j = 0, l = commandsList.length; j < l; j++) { - var result = commandsList[j].command.exec(commandText); + var currentCommand = commandsList[j]; + var result = currentCommand.command.exec(commandText); if (result) { var parameters = result.slice(1); Iif (debugState) { - root.console.log('command matched: %c'+commandsList[j].originalPhrase, debugStyle); + root.console.log('command matched: %c'+currentCommand.originalPhrase, debugStyle); if (parameters.length) { root.console.log('with parameters', parameters); } } // execute the matched command - commandsList[j].callback.apply(this, parameters); - invokeCallbacks(callbacks.resultMatch, commandText, commandsList[j].originalPhrase, results); + currentCommand.callback.apply(this, parameters); + invokeCallbacks(callbacks.resultMatch, commandText, currentCommand.originalPhrase, results); return true; } } @@ -2029,7 +2032,7 @@

diff --git a/test/coverage/__root__/index.html b/test/coverage/__root__/index.html index 07dd635..87bb4b9 100644 --- a/test/coverage/__root__/index.html +++ b/test/coverage/__root__/index.html @@ -20,9 +20,9 @@

- 82.24% + 82.35% Statements - 125/152 + 126/153
65.48% @@ -35,9 +35,9 @@

24/25

- 82.24% + 82.35% Lines - 125/152 + 126/153
@@ -60,15 +60,15 @@

annyang.js -
- 82.24% - 125/152 +
+ 82.35% + 126/153 65.48% 55/84 96% 24/25 - 82.24% - 125/152 + 82.35% + 126/153 @@ -77,7 +77,7 @@

diff --git a/test/coverage/coverage.json b/test/coverage/coverage.json index b387456..397dfc2 100644 --- a/test/coverage/coverage.json +++ b/test/coverage/coverage.json @@ -1 +1 @@ -{"annyang.js":{"path":"annyang.js","s":{"1":1,"2":1,"3":1,"4":1,"5":0,"6":0,"7":1,"8":1,"9":1,"10":1,"11":1,"12":1,"13":1,"14":1,"15":1,"16":1,"17":1,"18":1,"19":1,"20":1,"21":1,"22":67,"23":19,"24":67,"25":1,"26":171,"27":171,"28":426,"29":1,"30":88,"31":1,"32":88,"33":1,"34":1,"35":77,"36":77,"37":6,"38":1,"39":1,"40":0,"41":1,"42":1,"43":0,"44":1,"45":1,"46":1,"47":1,"48":1,"49":32,"50":32,"51":1,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0,"61":1,"62":31,"63":31,"64":31,"65":0,"66":0,"67":0,"68":0,"69":1,"70":56,"71":1,"72":0,"73":1,"74":55,"75":55,"76":55,"77":275,"78":55,"79":55,"80":55,"81":112,"82":112,"83":0,"84":112,"85":216,"86":216,"87":41,"88":41,"89":0,"90":0,"91":0,"92":41,"93":41,"94":39,"95":14,"96":14,"97":1,"98":0,"99":1,"100":0,"101":39,"102":39,"103":39,"104":39,"105":0,"106":39,"107":39,"108":0,"109":39,"110":39,"111":39,"112":7,"113":1,"114":56,"115":56,"116":56,"117":9,"118":8,"119":45,"120":44,"121":1,"122":2,"123":2,"124":47,"125":47,"126":47,"127":78,"128":78,"129":78,"130":67,"131":11,"132":10,"133":1,"134":1,"135":1,"136":48,"137":41,"138":41,"139":7,"140":7,"141":32,"142":36,"143":8,"144":24,"145":19,"146":2,"147":17,"148":17,"149":0,"150":17,"151":22,"152":41},"b":{"1":[1,0,0,0,0],"2":[0,1],"3":[10,9],"4":[1,87],"5":[6,71],"6":[0,1],"7":[0,1],"8":[1,0],"9":[0,0,0],"10":[0,0],"11":[0,31],"12":[0,0],"13":[1,55],"14":[0,1],"15":[0,112],"16":[41,175],"17":[0,41],"18":[0,0],"19":[0,1],"20":[0,1],"21":[39,39],"22":[0,39],"23":[0,39],"24":[1,6],"25":[56,0],"26":[44,1],"27":[78,0],"28":[78,77],"29":[67,11],"30":[10,1],"31":[11,10],"32":[1,0],"33":[41,7],"34":[1,6],"35":[8,28],"36":[2,17],"37":[17,17],"38":[0,17],"39":[17,15],"40":[22,15]},"f":{"1":1,"2":67,"3":19,"4":171,"5":426,"6":88,"7":88,"8":77,"9":1,"10":32,"11":0,"12":31,"13":56,"14":39,"15":56,"16":9,"17":8,"18":45,"19":2,"20":47,"21":48,"22":32,"23":19,"24":22,"25":41},"fnMap":{"1":{"name":"(anonymous_1)","line":7,"loc":{"start":{"line":7,"column":1},"end":{"line":7,"column":22}}},"2":{"name":"(anonymous_2)","line":53,"loc":{"start":{"line":53,"column":24},"end":{"line":53,"column":42}}},"3":{"name":"(anonymous_3)","line":56,"loc":{"start":{"line":56,"column":39},"end":{"line":56,"column":65}}},"4":{"name":"(anonymous_4)","line":65,"loc":{"start":{"line":65,"column":24},"end":{"line":65,"column":44}}},"5":{"name":"(anonymous_5)","line":67,"loc":{"start":{"line":67,"column":22},"end":{"line":67,"column":41}}},"6":{"name":"(anonymous_6)","line":72,"loc":{"start":{"line":72,"column":22},"end":{"line":72,"column":33}}},"7":{"name":"(anonymous_7)","line":76,"loc":{"start":{"line":76,"column":21},"end":{"line":76,"column":32}}},"8":{"name":"(anonymous_8)","line":82,"loc":{"start":{"line":82,"column":24},"end":{"line":82,"column":54}}},"9":{"name":"(anonymous_9)","line":112,"loc":{"start":{"line":112,"column":10},"end":{"line":112,"column":44}}},"10":{"name":"(anonymous_10)","line":139,"loc":{"start":{"line":139,"column":30},"end":{"line":139,"column":41}}},"11":{"name":"(anonymous_11)","line":144,"loc":{"start":{"line":144,"column":30},"end":{"line":144,"column":46}}},"12":{"name":"(anonymous_12)","line":164,"loc":{"start":{"line":164,"column":30},"end":{"line":164,"column":41}}},"13":{"name":"(anonymous_13)","line":179,"loc":{"start":{"line":179,"column":30},"end":{"line":179,"column":46}}},"14":{"name":"(anonymous_14)","line":253,"loc":{"start":{"line":253,"column":11},"end":{"line":253,"column":29}}},"15":{"name":"(anonymous_15)","line":284,"loc":{"start":{"line":284,"column":11},"end":{"line":284,"column":22}}},"16":{"name":"(anonymous_16)","line":299,"loc":{"start":{"line":299,"column":11},"end":{"line":299,"column":22}}},"17":{"name":"(anonymous_17)","line":309,"loc":{"start":{"line":309,"column":12},"end":{"line":309,"column":23}}},"18":{"name":"(anonymous_18)","line":319,"loc":{"start":{"line":319,"column":11},"end":{"line":319,"column":30}}},"19":{"name":"(anonymous_19)","line":334,"loc":{"start":{"line":334,"column":17},"end":{"line":334,"column":36}}},"20":{"name":"(anonymous_20)","line":356,"loc":{"start":{"line":356,"column":17},"end":{"line":356,"column":36}}},"21":{"name":"(anonymous_21)","line":402,"loc":{"start":{"line":402,"column":20},"end":{"line":402,"column":47}}},"22":{"name":"(anonymous_22)","line":408,"loc":{"start":{"line":408,"column":41},"end":{"line":408,"column":59}}},"23":{"name":"(anonymous_23)","line":457,"loc":{"start":{"line":457,"column":17},"end":{"line":457,"column":51}}},"24":{"name":"(anonymous_24)","line":475,"loc":{"start":{"line":475,"column":17},"end":{"line":475,"column":28}}},"25":{"name":"(anonymous_25)","line":486,"loc":{"start":{"line":486,"column":25},"end":{"line":486,"column":36}}}},"statementMap":{"1":{"start":{"line":7,"column":0},"end":{"line":491,"column":14}},"2":{"start":{"line":21,"column":2},"end":{"line":21,"column":18}},"3":{"start":{"line":24,"column":2},"end":{"line":28,"column":50}},"4":{"start":{"line":32,"column":2},"end":{"line":35,"column":3}},"5":{"start":{"line":33,"column":4},"end":{"line":33,"column":24}},"6":{"start":{"line":34,"column":4},"end":{"line":34,"column":21}},"7":{"start":{"line":37,"column":2},"end":{"line":37,"column":24}},"8":{"start":{"line":38,"column":2},"end":{"line":38,"column":18}},"9":{"start":{"line":39,"column":2},"end":{"line":39,"column":173}},"10":{"start":{"line":40,"column":2},"end":{"line":40,"column":18}},"11":{"start":{"line":41,"column":2},"end":{"line":41,"column":24}},"12":{"start":{"line":42,"column":2},"end":{"line":42,"column":25}},"13":{"start":{"line":43,"column":2},"end":{"line":43,"column":53}},"14":{"start":{"line":44,"column":2},"end":{"line":44,"column":29}},"15":{"start":{"line":45,"column":2},"end":{"line":45,"column":26}},"16":{"start":{"line":48,"column":2},"end":{"line":48,"column":41}},"17":{"start":{"line":49,"column":2},"end":{"line":49,"column":42}},"18":{"start":{"line":50,"column":2},"end":{"line":50,"column":37}},"19":{"start":{"line":51,"column":2},"end":{"line":51,"column":31}},"20":{"start":{"line":52,"column":2},"end":{"line":52,"column":47}},"21":{"start":{"line":53,"column":2},"end":{"line":62,"column":4}},"22":{"start":{"line":54,"column":4},"end":{"line":60,"column":57}},"23":{"start":{"line":57,"column":20},"end":{"line":57,"column":58}},"24":{"start":{"line":61,"column":4},"end":{"line":61,"column":48}},"25":{"start":{"line":65,"column":2},"end":{"line":70,"column":4}},"26":{"start":{"line":66,"column":4},"end":{"line":66,"column":56}},"27":{"start":{"line":67,"column":4},"end":{"line":69,"column":7}},"28":{"start":{"line":68,"column":6},"end":{"line":68,"column":54}},"29":{"start":{"line":72,"column":2},"end":{"line":74,"column":4}},"30":{"start":{"line":73,"column":4},"end":{"line":73,"column":37}},"31":{"start":{"line":76,"column":2},"end":{"line":80,"column":4}},"32":{"start":{"line":77,"column":4},"end":{"line":79,"column":5}},"33":{"start":{"line":78,"column":6},"end":{"line":78,"column":35}},"34":{"start":{"line":82,"column":2},"end":{"line":87,"column":4}},"35":{"start":{"line":83,"column":4},"end":{"line":83,"column":82}},"36":{"start":{"line":84,"column":4},"end":{"line":86,"column":5}},"37":{"start":{"line":85,"column":6},"end":{"line":85,"column":77}},"38":{"start":{"line":89,"column":2},"end":{"line":489,"column":4}},"39":{"start":{"line":115,"column":6},"end":{"line":119,"column":7}},"40":{"start":{"line":116,"column":8},"end":{"line":116,"column":29}},"41":{"start":{"line":118,"column":8},"end":{"line":118,"column":40}},"42":{"start":{"line":122,"column":6},"end":{"line":124,"column":7}},"43":{"start":{"line":123,"column":8},"end":{"line":123,"column":28}},"44":{"start":{"line":127,"column":6},"end":{"line":127,"column":44}},"45":{"start":{"line":130,"column":6},"end":{"line":130,"column":38}},"46":{"start":{"line":134,"column":6},"end":{"line":134,"column":66}},"47":{"start":{"line":137,"column":6},"end":{"line":137,"column":33}},"48":{"start":{"line":139,"column":6},"end":{"line":142,"column":8}},"49":{"start":{"line":140,"column":8},"end":{"line":140,"column":27}},"50":{"start":{"line":141,"column":8},"end":{"line":141,"column":41}},"51":{"start":{"line":144,"column":6},"end":{"line":162,"column":8}},"52":{"start":{"line":145,"column":8},"end":{"line":145,"column":41}},"53":{"start":{"line":146,"column":8},"end":{"line":161,"column":9}},"54":{"start":{"line":148,"column":10},"end":{"line":148,"column":50}},"55":{"start":{"line":149,"column":10},"end":{"line":149,"column":16}},"56":{"start":{"line":153,"column":10},"end":{"line":153,"column":30}},"57":{"start":{"line":155,"column":10},"end":{"line":159,"column":11}},"58":{"start":{"line":156,"column":12},"end":{"line":156,"column":62}},"59":{"start":{"line":158,"column":12},"end":{"line":158,"column":61}},"60":{"start":{"line":160,"column":10},"end":{"line":160,"column":16}},"61":{"start":{"line":164,"column":6},"end":{"line":177,"column":8}},"62":{"start":{"line":165,"column":8},"end":{"line":165,"column":28}},"63":{"start":{"line":166,"column":8},"end":{"line":166,"column":39}},"64":{"start":{"line":168,"column":8},"end":{"line":176,"column":9}},"65":{"start":{"line":170,"column":10},"end":{"line":170,"column":70}},"66":{"start":{"line":171,"column":10},"end":{"line":175,"column":11}},"67":{"start":{"line":172,"column":12},"end":{"line":172,"column":68}},"68":{"start":{"line":174,"column":12},"end":{"line":174,"column":33}},"69":{"start":{"line":179,"column":6},"end":{"line":224,"column":8}},"70":{"start":{"line":180,"column":8},"end":{"line":185,"column":9}},"71":{"start":{"line":181,"column":10},"end":{"line":183,"column":11}},"72":{"start":{"line":182,"column":12},"end":{"line":182,"column":68}},"73":{"start":{"line":184,"column":10},"end":{"line":184,"column":23}},"74":{"start":{"line":188,"column":8},"end":{"line":188,"column":71}},"75":{"start":{"line":189,"column":8},"end":{"line":189,"column":25}},"76":{"start":{"line":190,"column":8},"end":{"line":192,"column":9}},"77":{"start":{"line":191,"column":10},"end":{"line":191,"column":61}},"78":{"start":{"line":194,"column":8},"end":{"line":194,"column":51}},"79":{"start":{"line":195,"column":8},"end":{"line":195,"column":24}},"80":{"start":{"line":197,"column":8},"end":{"line":221,"column":9}},"81":{"start":{"line":199,"column":10},"end":{"line":199,"column":42}},"82":{"start":{"line":200,"column":10},"end":{"line":202,"column":11}},"83":{"start":{"line":201,"column":12},"end":{"line":201,"column":78}},"84":{"start":{"line":205,"column":10},"end":{"line":220,"column":11}},"85":{"start":{"line":206,"column":12},"end":{"line":206,"column":67}},"86":{"start":{"line":207,"column":12},"end":{"line":219,"column":13}},"87":{"start":{"line":208,"column":14},"end":{"line":208,"column":47}},"88":{"start":{"line":209,"column":14},"end":{"line":214,"column":15}},"89":{"start":{"line":210,"column":16},"end":{"line":210,"column":99}},"90":{"start":{"line":211,"column":16},"end":{"line":213,"column":17}},"91":{"start":{"line":212,"column":18},"end":{"line":212,"column":66}},"92":{"start":{"line":216,"column":14},"end":{"line":216,"column":63}},"93":{"start":{"line":217,"column":14},"end":{"line":217,"column":107}},"94":{"start":{"line":218,"column":14},"end":{"line":218,"column":26}},"95":{"start":{"line":222,"column":8},"end":{"line":222,"column":58}},"96":{"start":{"line":223,"column":8},"end":{"line":223,"column":21}},"97":{"start":{"line":227,"column":6},"end":{"line":229,"column":7}},"98":{"start":{"line":228,"column":8},"end":{"line":228,"column":26}},"99":{"start":{"line":230,"column":6},"end":{"line":232,"column":7}},"100":{"start":{"line":231,"column":8},"end":{"line":231,"column":35}},"101":{"start":{"line":254,"column":6},"end":{"line":254,"column":29}},"102":{"start":{"line":255,"column":6},"end":{"line":255,"column":21}},"103":{"start":{"line":256,"column":6},"end":{"line":256,"column":30}},"104":{"start":{"line":257,"column":6},"end":{"line":261,"column":7}},"105":{"start":{"line":258,"column":8},"end":{"line":258,"column":44}},"106":{"start":{"line":260,"column":8},"end":{"line":260,"column":27}},"107":{"start":{"line":262,"column":6},"end":{"line":264,"column":7}},"108":{"start":{"line":263,"column":8},"end":{"line":263,"column":54}},"109":{"start":{"line":266,"column":6},"end":{"line":266,"column":43}},"110":{"start":{"line":267,"column":6},"end":{"line":273,"column":7}},"111":{"start":{"line":268,"column":8},"end":{"line":268,"column":28}},"112":{"start":{"line":270,"column":8},"end":{"line":272,"column":9}},"113":{"start":{"line":271,"column":10},"end":{"line":271,"column":38}},"114":{"start":{"line":285,"column":6},"end":{"line":285,"column":26}},"115":{"start":{"line":286,"column":6},"end":{"line":288,"column":7}},"116":{"start":{"line":287,"column":8},"end":{"line":287,"column":28}},"117":{"start":{"line":300,"column":6},"end":{"line":300,"column":28}},"118":{"start":{"line":310,"column":6},"end":{"line":310,"column":27}},"119":{"start":{"line":320,"column":6},"end":{"line":324,"column":7}},"120":{"start":{"line":321,"column":8},"end":{"line":321,"column":32}},"121":{"start":{"line":323,"column":8},"end":{"line":323,"column":26}},"122":{"start":{"line":335,"column":6},"end":{"line":335,"column":21}},"123":{"start":{"line":336,"column":6},"end":{"line":336,"column":34}},"124":{"start":{"line":357,"column":6},"end":{"line":357,"column":13}},"125":{"start":{"line":359,"column":6},"end":{"line":359,"column":21}},"126":{"start":{"line":361,"column":6},"end":{"line":377,"column":7}},"127":{"start":{"line":362,"column":8},"end":{"line":376,"column":9}},"128":{"start":{"line":363,"column":10},"end":{"line":363,"column":58}},"129":{"start":{"line":364,"column":10},"end":{"line":375,"column":11}},"130":{"start":{"line":366,"column":12},"end":{"line":366,"column":65}},"131":{"start":{"line":367,"column":17},"end":{"line":375,"column":11}},"132":{"start":{"line":369,"column":12},"end":{"line":369,"column":84}},"133":{"start":{"line":371,"column":12},"end":{"line":373,"column":13}},"134":{"start":{"line":372,"column":14},"end":{"line":372,"column":82}},"135":{"start":{"line":374,"column":12},"end":{"line":374,"column":21}},"136":{"start":{"line":403,"column":6},"end":{"line":406,"column":7}},"137":{"start":{"line":404,"column":8},"end":{"line":404,"column":26}},"138":{"start":{"line":405,"column":8},"end":{"line":405,"column":15}},"139":{"start":{"line":407,"column":6},"end":{"line":407,"column":97}},"140":{"start":{"line":408,"column":6},"end":{"line":415,"column":9}},"141":{"start":{"line":409,"column":8},"end":{"line":413,"column":9}},"142":{"start":{"line":410,"column":10},"end":{"line":412,"column":11}},"143":{"start":{"line":411,"column":12},"end":{"line":411,"column":25}},"144":{"start":{"line":414,"column":8},"end":{"line":414,"column":20}},"145":{"start":{"line":458,"column":6},"end":{"line":460,"column":7}},"146":{"start":{"line":459,"column":8},"end":{"line":459,"column":15}},"147":{"start":{"line":461,"column":6},"end":{"line":461,"column":42}},"148":{"start":{"line":462,"column":6},"end":{"line":464,"column":7}},"149":{"start":{"line":463,"column":8},"end":{"line":463,"column":15}},"150":{"start":{"line":465,"column":6},"end":{"line":465,"column":69}},"151":{"start":{"line":476,"column":6},"end":{"line":476,"column":44}},"152":{"start":{"line":487,"column":6},"end":{"line":487,"column":25}}},"branchMap":{"1":{"line":24,"type":"binary-expr","locations":[{"start":{"line":24,"column":26},"end":{"line":24,"column":48}},{"start":{"line":25,"column":26},"end":{"line":25,"column":54}},{"start":{"line":26,"column":26},"end":{"line":26,"column":51}},{"start":{"line":27,"column":26},"end":{"line":27,"column":50}},{"start":{"line":28,"column":26},"end":{"line":28,"column":49}}]},"2":{"line":32,"type":"if","locations":[{"start":{"line":32,"column":2},"end":{"line":32,"column":2}},{"start":{"line":32,"column":2},"end":{"line":32,"column":2}}]},"3":{"line":57,"type":"cond-expr","locations":[{"start":{"line":57,"column":38},"end":{"line":57,"column":43}},{"start":{"line":57,"column":46},"end":{"line":57,"column":57}}]},"4":{"line":77,"type":"if","locations":[{"start":{"line":77,"column":4},"end":{"line":77,"column":4}},{"start":{"line":77,"column":4},"end":{"line":77,"column":4}}]},"5":{"line":84,"type":"if","locations":[{"start":{"line":84,"column":4},"end":{"line":84,"column":4}},{"start":{"line":84,"column":4},"end":{"line":84,"column":4}}]},"6":{"line":115,"type":"if","locations":[{"start":{"line":115,"column":6},"end":{"line":115,"column":6}},{"start":{"line":115,"column":6},"end":{"line":115,"column":6}}]},"7":{"line":122,"type":"if","locations":[{"start":{"line":122,"column":6},"end":{"line":122,"column":6}},{"start":{"line":122,"column":6},"end":{"line":122,"column":6}}]},"8":{"line":122,"type":"binary-expr","locations":[{"start":{"line":122,"column":10},"end":{"line":122,"column":21}},{"start":{"line":122,"column":25},"end":{"line":122,"column":42}}]},"9":{"line":146,"type":"switch","locations":[{"start":{"line":147,"column":8},"end":{"line":149,"column":16}},{"start":{"line":150,"column":8},"end":{"line":150,"column":27}},{"start":{"line":151,"column":8},"end":{"line":160,"column":16}}]},"10":{"line":155,"type":"if","locations":[{"start":{"line":155,"column":10},"end":{"line":155,"column":10}},{"start":{"line":155,"column":10},"end":{"line":155,"column":10}}]},"11":{"line":168,"type":"if","locations":[{"start":{"line":168,"column":8},"end":{"line":168,"column":8}},{"start":{"line":168,"column":8},"end":{"line":168,"column":8}}]},"12":{"line":171,"type":"if","locations":[{"start":{"line":171,"column":10},"end":{"line":171,"column":10}},{"start":{"line":171,"column":10},"end":{"line":171,"column":10}}]},"13":{"line":180,"type":"if","locations":[{"start":{"line":180,"column":8},"end":{"line":180,"column":8}},{"start":{"line":180,"column":8},"end":{"line":180,"column":8}}]},"14":{"line":181,"type":"if","locations":[{"start":{"line":181,"column":10},"end":{"line":181,"column":10}},{"start":{"line":181,"column":10},"end":{"line":181,"column":10}}]},"15":{"line":200,"type":"if","locations":[{"start":{"line":200,"column":10},"end":{"line":200,"column":10}},{"start":{"line":200,"column":10},"end":{"line":200,"column":10}}]},"16":{"line":207,"type":"if","locations":[{"start":{"line":207,"column":12},"end":{"line":207,"column":12}},{"start":{"line":207,"column":12},"end":{"line":207,"column":12}}]},"17":{"line":209,"type":"if","locations":[{"start":{"line":209,"column":14},"end":{"line":209,"column":14}},{"start":{"line":209,"column":14},"end":{"line":209,"column":14}}]},"18":{"line":211,"type":"if","locations":[{"start":{"line":211,"column":16},"end":{"line":211,"column":16}},{"start":{"line":211,"column":16},"end":{"line":211,"column":16}}]},"19":{"line":227,"type":"if","locations":[{"start":{"line":227,"column":6},"end":{"line":227,"column":6}},{"start":{"line":227,"column":6},"end":{"line":227,"column":6}}]},"20":{"line":230,"type":"if","locations":[{"start":{"line":230,"column":6},"end":{"line":230,"column":6}},{"start":{"line":230,"column":6},"end":{"line":230,"column":6}}]},"21":{"line":256,"type":"binary-expr","locations":[{"start":{"line":256,"column":16},"end":{"line":256,"column":23}},{"start":{"line":256,"column":27},"end":{"line":256,"column":29}}]},"22":{"line":257,"type":"if","locations":[{"start":{"line":257,"column":6},"end":{"line":257,"column":6}},{"start":{"line":257,"column":6},"end":{"line":257,"column":6}}]},"23":{"line":262,"type":"if","locations":[{"start":{"line":262,"column":6},"end":{"line":262,"column":6}},{"start":{"line":262,"column":6},"end":{"line":262,"column":6}}]},"24":{"line":270,"type":"if","locations":[{"start":{"line":270,"column":8},"end":{"line":270,"column":8}},{"start":{"line":270,"column":8},"end":{"line":270,"column":8}}]},"25":{"line":286,"type":"if","locations":[{"start":{"line":286,"column":6},"end":{"line":286,"column":6}},{"start":{"line":286,"column":6},"end":{"line":286,"column":6}}]},"26":{"line":320,"type":"if","locations":[{"start":{"line":320,"column":6},"end":{"line":320,"column":6}},{"start":{"line":320,"column":6},"end":{"line":320,"column":6}}]},"27":{"line":362,"type":"if","locations":[{"start":{"line":362,"column":8},"end":{"line":362,"column":8}},{"start":{"line":362,"column":8},"end":{"line":362,"column":8}}]},"28":{"line":363,"type":"binary-expr","locations":[{"start":{"line":363,"column":15},"end":{"line":363,"column":37}},{"start":{"line":363,"column":41},"end":{"line":363,"column":57}}]},"29":{"line":364,"type":"if","locations":[{"start":{"line":364,"column":10},"end":{"line":364,"column":10}},{"start":{"line":364,"column":10},"end":{"line":364,"column":10}}]},"30":{"line":367,"type":"if","locations":[{"start":{"line":367,"column":17},"end":{"line":367,"column":17}},{"start":{"line":367,"column":17},"end":{"line":367,"column":17}}]},"31":{"line":367,"type":"binary-expr","locations":[{"start":{"line":367,"column":21},"end":{"line":367,"column":43}},{"start":{"line":367,"column":47},"end":{"line":367,"column":74}}]},"32":{"line":371,"type":"if","locations":[{"start":{"line":371,"column":12},"end":{"line":371,"column":12}},{"start":{"line":371,"column":12},"end":{"line":371,"column":12}}]},"33":{"line":403,"type":"if","locations":[{"start":{"line":403,"column":6},"end":{"line":403,"column":6}},{"start":{"line":403,"column":6},"end":{"line":403,"column":6}}]},"34":{"line":407,"type":"cond-expr","locations":[{"start":{"line":407,"column":59},"end":{"line":407,"column":75}},{"start":{"line":407,"column":78},"end":{"line":407,"column":96}}]},"35":{"line":410,"type":"if","locations":[{"start":{"line":410,"column":10},"end":{"line":410,"column":10}},{"start":{"line":410,"column":10},"end":{"line":410,"column":10}}]},"36":{"line":458,"type":"if","locations":[{"start":{"line":458,"column":6},"end":{"line":458,"column":6}},{"start":{"line":458,"column":6},"end":{"line":458,"column":6}}]},"37":{"line":461,"type":"binary-expr","locations":[{"start":{"line":461,"column":15},"end":{"line":461,"column":29}},{"start":{"line":461,"column":33},"end":{"line":461,"column":41}}]},"38":{"line":462,"type":"if","locations":[{"start":{"line":462,"column":6},"end":{"line":462,"column":6}},{"start":{"line":462,"column":6},"end":{"line":462,"column":6}}]},"39":{"line":465,"type":"binary-expr","locations":[{"start":{"line":465,"column":51},"end":{"line":465,"column":58}},{"start":{"line":465,"column":62},"end":{"line":465,"column":66}}]},"40":{"line":476,"type":"binary-expr","locations":[{"start":{"line":476,"column":13},"end":{"line":476,"column":24}},{"start":{"line":476,"column":28},"end":{"line":476,"column":43}}]}}}} \ No newline at end of file +{"annyang.js":{"path":"annyang.js","s":{"1":1,"2":1,"3":1,"4":1,"5":0,"6":0,"7":1,"8":1,"9":1,"10":1,"11":1,"12":1,"13":1,"14":1,"15":1,"16":1,"17":1,"18":1,"19":1,"20":1,"21":1,"22":67,"23":19,"24":67,"25":1,"26":173,"27":173,"28":428,"29":1,"30":88,"31":1,"32":88,"33":1,"34":1,"35":77,"36":77,"37":6,"38":1,"39":1,"40":0,"41":1,"42":1,"43":0,"44":1,"45":1,"46":1,"47":1,"48":1,"49":32,"50":32,"51":1,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0,"61":1,"62":31,"63":31,"64":31,"65":0,"66":0,"67":0,"68":0,"69":1,"70":56,"71":1,"72":0,"73":1,"74":55,"75":55,"76":55,"77":275,"78":55,"79":55,"80":55,"81":112,"82":112,"83":0,"84":112,"85":216,"86":216,"87":216,"88":41,"89":41,"90":0,"91":0,"92":0,"93":41,"94":41,"95":41,"96":14,"97":14,"98":1,"99":0,"100":1,"101":0,"102":39,"103":39,"104":39,"105":39,"106":0,"107":39,"108":39,"109":0,"110":39,"111":39,"112":39,"113":7,"114":1,"115":56,"116":56,"117":56,"118":9,"119":8,"120":45,"121":44,"122":1,"123":2,"124":2,"125":47,"126":47,"127":47,"128":78,"129":78,"130":78,"131":67,"132":11,"133":10,"134":1,"135":1,"136":1,"137":48,"138":41,"139":41,"140":7,"141":7,"142":32,"143":36,"144":8,"145":24,"146":19,"147":2,"148":17,"149":17,"150":0,"151":17,"152":22,"153":41},"b":{"1":[1,0,0,0,0],"2":[0,1],"3":[10,9],"4":[1,87],"5":[6,71],"6":[0,1],"7":[0,1],"8":[1,0],"9":[0,0,0],"10":[0,0],"11":[0,31],"12":[0,0],"13":[1,55],"14":[0,1],"15":[0,112],"16":[41,175],"17":[0,41],"18":[0,0],"19":[0,1],"20":[0,1],"21":[39,39],"22":[0,39],"23":[0,39],"24":[1,6],"25":[56,0],"26":[44,1],"27":[78,0],"28":[78,77],"29":[67,11],"30":[10,1],"31":[11,10],"32":[1,0],"33":[41,7],"34":[1,6],"35":[8,28],"36":[2,17],"37":[17,17],"38":[0,17],"39":[17,15],"40":[22,15]},"f":{"1":1,"2":67,"3":19,"4":173,"5":428,"6":88,"7":88,"8":77,"9":1,"10":32,"11":0,"12":31,"13":56,"14":39,"15":56,"16":9,"17":8,"18":45,"19":2,"20":47,"21":48,"22":32,"23":19,"24":22,"25":41},"fnMap":{"1":{"name":"(anonymous_1)","line":7,"loc":{"start":{"line":7,"column":1},"end":{"line":7,"column":22}}},"2":{"name":"(anonymous_2)","line":53,"loc":{"start":{"line":53,"column":24},"end":{"line":53,"column":42}}},"3":{"name":"(anonymous_3)","line":56,"loc":{"start":{"line":56,"column":39},"end":{"line":56,"column":65}}},"4":{"name":"(anonymous_4)","line":65,"loc":{"start":{"line":65,"column":24},"end":{"line":65,"column":44}}},"5":{"name":"(anonymous_5)","line":67,"loc":{"start":{"line":67,"column":22},"end":{"line":67,"column":41}}},"6":{"name":"(anonymous_6)","line":72,"loc":{"start":{"line":72,"column":22},"end":{"line":72,"column":33}}},"7":{"name":"(anonymous_7)","line":76,"loc":{"start":{"line":76,"column":21},"end":{"line":76,"column":32}}},"8":{"name":"(anonymous_8)","line":82,"loc":{"start":{"line":82,"column":24},"end":{"line":82,"column":54}}},"9":{"name":"(anonymous_9)","line":112,"loc":{"start":{"line":112,"column":10},"end":{"line":112,"column":44}}},"10":{"name":"(anonymous_10)","line":139,"loc":{"start":{"line":139,"column":30},"end":{"line":139,"column":41}}},"11":{"name":"(anonymous_11)","line":144,"loc":{"start":{"line":144,"column":30},"end":{"line":144,"column":46}}},"12":{"name":"(anonymous_12)","line":164,"loc":{"start":{"line":164,"column":30},"end":{"line":164,"column":41}}},"13":{"name":"(anonymous_13)","line":179,"loc":{"start":{"line":179,"column":30},"end":{"line":179,"column":46}}},"14":{"name":"(anonymous_14)","line":254,"loc":{"start":{"line":254,"column":11},"end":{"line":254,"column":29}}},"15":{"name":"(anonymous_15)","line":285,"loc":{"start":{"line":285,"column":11},"end":{"line":285,"column":22}}},"16":{"name":"(anonymous_16)","line":300,"loc":{"start":{"line":300,"column":11},"end":{"line":300,"column":22}}},"17":{"name":"(anonymous_17)","line":310,"loc":{"start":{"line":310,"column":12},"end":{"line":310,"column":23}}},"18":{"name":"(anonymous_18)","line":320,"loc":{"start":{"line":320,"column":11},"end":{"line":320,"column":30}}},"19":{"name":"(anonymous_19)","line":335,"loc":{"start":{"line":335,"column":17},"end":{"line":335,"column":36}}},"20":{"name":"(anonymous_20)","line":357,"loc":{"start":{"line":357,"column":17},"end":{"line":357,"column":36}}},"21":{"name":"(anonymous_21)","line":403,"loc":{"start":{"line":403,"column":20},"end":{"line":403,"column":47}}},"22":{"name":"(anonymous_22)","line":409,"loc":{"start":{"line":409,"column":41},"end":{"line":409,"column":59}}},"23":{"name":"(anonymous_23)","line":458,"loc":{"start":{"line":458,"column":17},"end":{"line":458,"column":51}}},"24":{"name":"(anonymous_24)","line":476,"loc":{"start":{"line":476,"column":17},"end":{"line":476,"column":28}}},"25":{"name":"(anonymous_25)","line":487,"loc":{"start":{"line":487,"column":25},"end":{"line":487,"column":36}}}},"statementMap":{"1":{"start":{"line":7,"column":0},"end":{"line":492,"column":14}},"2":{"start":{"line":21,"column":2},"end":{"line":21,"column":18}},"3":{"start":{"line":24,"column":2},"end":{"line":28,"column":50}},"4":{"start":{"line":32,"column":2},"end":{"line":35,"column":3}},"5":{"start":{"line":33,"column":4},"end":{"line":33,"column":24}},"6":{"start":{"line":34,"column":4},"end":{"line":34,"column":21}},"7":{"start":{"line":37,"column":2},"end":{"line":37,"column":24}},"8":{"start":{"line":38,"column":2},"end":{"line":38,"column":18}},"9":{"start":{"line":39,"column":2},"end":{"line":39,"column":173}},"10":{"start":{"line":40,"column":2},"end":{"line":40,"column":18}},"11":{"start":{"line":41,"column":2},"end":{"line":41,"column":24}},"12":{"start":{"line":42,"column":2},"end":{"line":42,"column":25}},"13":{"start":{"line":43,"column":2},"end":{"line":43,"column":53}},"14":{"start":{"line":44,"column":2},"end":{"line":44,"column":29}},"15":{"start":{"line":45,"column":2},"end":{"line":45,"column":26}},"16":{"start":{"line":48,"column":2},"end":{"line":48,"column":41}},"17":{"start":{"line":49,"column":2},"end":{"line":49,"column":42}},"18":{"start":{"line":50,"column":2},"end":{"line":50,"column":37}},"19":{"start":{"line":51,"column":2},"end":{"line":51,"column":31}},"20":{"start":{"line":52,"column":2},"end":{"line":52,"column":47}},"21":{"start":{"line":53,"column":2},"end":{"line":62,"column":4}},"22":{"start":{"line":54,"column":4},"end":{"line":60,"column":57}},"23":{"start":{"line":57,"column":20},"end":{"line":57,"column":58}},"24":{"start":{"line":61,"column":4},"end":{"line":61,"column":48}},"25":{"start":{"line":65,"column":2},"end":{"line":70,"column":4}},"26":{"start":{"line":66,"column":4},"end":{"line":66,"column":56}},"27":{"start":{"line":67,"column":4},"end":{"line":69,"column":7}},"28":{"start":{"line":68,"column":6},"end":{"line":68,"column":54}},"29":{"start":{"line":72,"column":2},"end":{"line":74,"column":4}},"30":{"start":{"line":73,"column":4},"end":{"line":73,"column":37}},"31":{"start":{"line":76,"column":2},"end":{"line":80,"column":4}},"32":{"start":{"line":77,"column":4},"end":{"line":79,"column":5}},"33":{"start":{"line":78,"column":6},"end":{"line":78,"column":35}},"34":{"start":{"line":82,"column":2},"end":{"line":87,"column":4}},"35":{"start":{"line":83,"column":4},"end":{"line":83,"column":82}},"36":{"start":{"line":84,"column":4},"end":{"line":86,"column":5}},"37":{"start":{"line":85,"column":6},"end":{"line":85,"column":77}},"38":{"start":{"line":89,"column":2},"end":{"line":490,"column":4}},"39":{"start":{"line":115,"column":6},"end":{"line":119,"column":7}},"40":{"start":{"line":116,"column":8},"end":{"line":116,"column":29}},"41":{"start":{"line":118,"column":8},"end":{"line":118,"column":40}},"42":{"start":{"line":122,"column":6},"end":{"line":124,"column":7}},"43":{"start":{"line":123,"column":8},"end":{"line":123,"column":28}},"44":{"start":{"line":127,"column":6},"end":{"line":127,"column":44}},"45":{"start":{"line":130,"column":6},"end":{"line":130,"column":38}},"46":{"start":{"line":134,"column":6},"end":{"line":134,"column":66}},"47":{"start":{"line":137,"column":6},"end":{"line":137,"column":33}},"48":{"start":{"line":139,"column":6},"end":{"line":142,"column":8}},"49":{"start":{"line":140,"column":8},"end":{"line":140,"column":27}},"50":{"start":{"line":141,"column":8},"end":{"line":141,"column":41}},"51":{"start":{"line":144,"column":6},"end":{"line":162,"column":8}},"52":{"start":{"line":145,"column":8},"end":{"line":145,"column":41}},"53":{"start":{"line":146,"column":8},"end":{"line":161,"column":9}},"54":{"start":{"line":148,"column":10},"end":{"line":148,"column":50}},"55":{"start":{"line":149,"column":10},"end":{"line":149,"column":16}},"56":{"start":{"line":153,"column":10},"end":{"line":153,"column":30}},"57":{"start":{"line":155,"column":10},"end":{"line":159,"column":11}},"58":{"start":{"line":156,"column":12},"end":{"line":156,"column":62}},"59":{"start":{"line":158,"column":12},"end":{"line":158,"column":61}},"60":{"start":{"line":160,"column":10},"end":{"line":160,"column":16}},"61":{"start":{"line":164,"column":6},"end":{"line":177,"column":8}},"62":{"start":{"line":165,"column":8},"end":{"line":165,"column":28}},"63":{"start":{"line":166,"column":8},"end":{"line":166,"column":39}},"64":{"start":{"line":168,"column":8},"end":{"line":176,"column":9}},"65":{"start":{"line":170,"column":10},"end":{"line":170,"column":70}},"66":{"start":{"line":171,"column":10},"end":{"line":175,"column":11}},"67":{"start":{"line":172,"column":12},"end":{"line":172,"column":68}},"68":{"start":{"line":174,"column":12},"end":{"line":174,"column":33}},"69":{"start":{"line":179,"column":6},"end":{"line":225,"column":8}},"70":{"start":{"line":180,"column":8},"end":{"line":185,"column":9}},"71":{"start":{"line":181,"column":10},"end":{"line":183,"column":11}},"72":{"start":{"line":182,"column":12},"end":{"line":182,"column":68}},"73":{"start":{"line":184,"column":10},"end":{"line":184,"column":23}},"74":{"start":{"line":188,"column":8},"end":{"line":188,"column":71}},"75":{"start":{"line":189,"column":8},"end":{"line":189,"column":25}},"76":{"start":{"line":190,"column":8},"end":{"line":192,"column":9}},"77":{"start":{"line":191,"column":10},"end":{"line":191,"column":61}},"78":{"start":{"line":194,"column":8},"end":{"line":194,"column":51}},"79":{"start":{"line":195,"column":8},"end":{"line":195,"column":24}},"80":{"start":{"line":197,"column":8},"end":{"line":222,"column":9}},"81":{"start":{"line":199,"column":10},"end":{"line":199,"column":42}},"82":{"start":{"line":200,"column":10},"end":{"line":202,"column":11}},"83":{"start":{"line":201,"column":12},"end":{"line":201,"column":78}},"84":{"start":{"line":205,"column":10},"end":{"line":221,"column":11}},"85":{"start":{"line":206,"column":12},"end":{"line":206,"column":49}},"86":{"start":{"line":207,"column":12},"end":{"line":207,"column":66}},"87":{"start":{"line":208,"column":12},"end":{"line":220,"column":13}},"88":{"start":{"line":209,"column":14},"end":{"line":209,"column":47}},"89":{"start":{"line":210,"column":14},"end":{"line":215,"column":15}},"90":{"start":{"line":211,"column":16},"end":{"line":211,"column":98}},"91":{"start":{"line":212,"column":16},"end":{"line":214,"column":17}},"92":{"start":{"line":213,"column":18},"end":{"line":213,"column":66}},"93":{"start":{"line":217,"column":14},"end":{"line":217,"column":62}},"94":{"start":{"line":218,"column":14},"end":{"line":218,"column":106}},"95":{"start":{"line":219,"column":14},"end":{"line":219,"column":26}},"96":{"start":{"line":223,"column":8},"end":{"line":223,"column":58}},"97":{"start":{"line":224,"column":8},"end":{"line":224,"column":21}},"98":{"start":{"line":228,"column":6},"end":{"line":230,"column":7}},"99":{"start":{"line":229,"column":8},"end":{"line":229,"column":26}},"100":{"start":{"line":231,"column":6},"end":{"line":233,"column":7}},"101":{"start":{"line":232,"column":8},"end":{"line":232,"column":35}},"102":{"start":{"line":255,"column":6},"end":{"line":255,"column":29}},"103":{"start":{"line":256,"column":6},"end":{"line":256,"column":21}},"104":{"start":{"line":257,"column":6},"end":{"line":257,"column":30}},"105":{"start":{"line":258,"column":6},"end":{"line":262,"column":7}},"106":{"start":{"line":259,"column":8},"end":{"line":259,"column":44}},"107":{"start":{"line":261,"column":8},"end":{"line":261,"column":27}},"108":{"start":{"line":263,"column":6},"end":{"line":265,"column":7}},"109":{"start":{"line":264,"column":8},"end":{"line":264,"column":54}},"110":{"start":{"line":267,"column":6},"end":{"line":267,"column":43}},"111":{"start":{"line":268,"column":6},"end":{"line":274,"column":7}},"112":{"start":{"line":269,"column":8},"end":{"line":269,"column":28}},"113":{"start":{"line":271,"column":8},"end":{"line":273,"column":9}},"114":{"start":{"line":272,"column":10},"end":{"line":272,"column":38}},"115":{"start":{"line":286,"column":6},"end":{"line":286,"column":26}},"116":{"start":{"line":287,"column":6},"end":{"line":289,"column":7}},"117":{"start":{"line":288,"column":8},"end":{"line":288,"column":28}},"118":{"start":{"line":301,"column":6},"end":{"line":301,"column":28}},"119":{"start":{"line":311,"column":6},"end":{"line":311,"column":27}},"120":{"start":{"line":321,"column":6},"end":{"line":325,"column":7}},"121":{"start":{"line":322,"column":8},"end":{"line":322,"column":32}},"122":{"start":{"line":324,"column":8},"end":{"line":324,"column":26}},"123":{"start":{"line":336,"column":6},"end":{"line":336,"column":21}},"124":{"start":{"line":337,"column":6},"end":{"line":337,"column":34}},"125":{"start":{"line":358,"column":6},"end":{"line":358,"column":13}},"126":{"start":{"line":360,"column":6},"end":{"line":360,"column":21}},"127":{"start":{"line":362,"column":6},"end":{"line":378,"column":7}},"128":{"start":{"line":363,"column":8},"end":{"line":377,"column":9}},"129":{"start":{"line":364,"column":10},"end":{"line":364,"column":58}},"130":{"start":{"line":365,"column":10},"end":{"line":376,"column":11}},"131":{"start":{"line":367,"column":12},"end":{"line":367,"column":65}},"132":{"start":{"line":368,"column":17},"end":{"line":376,"column":11}},"133":{"start":{"line":370,"column":12},"end":{"line":370,"column":84}},"134":{"start":{"line":372,"column":12},"end":{"line":374,"column":13}},"135":{"start":{"line":373,"column":14},"end":{"line":373,"column":82}},"136":{"start":{"line":375,"column":12},"end":{"line":375,"column":21}},"137":{"start":{"line":404,"column":6},"end":{"line":407,"column":7}},"138":{"start":{"line":405,"column":8},"end":{"line":405,"column":26}},"139":{"start":{"line":406,"column":8},"end":{"line":406,"column":15}},"140":{"start":{"line":408,"column":6},"end":{"line":408,"column":97}},"141":{"start":{"line":409,"column":6},"end":{"line":416,"column":9}},"142":{"start":{"line":410,"column":8},"end":{"line":414,"column":9}},"143":{"start":{"line":411,"column":10},"end":{"line":413,"column":11}},"144":{"start":{"line":412,"column":12},"end":{"line":412,"column":25}},"145":{"start":{"line":415,"column":8},"end":{"line":415,"column":20}},"146":{"start":{"line":459,"column":6},"end":{"line":461,"column":7}},"147":{"start":{"line":460,"column":8},"end":{"line":460,"column":15}},"148":{"start":{"line":462,"column":6},"end":{"line":462,"column":42}},"149":{"start":{"line":463,"column":6},"end":{"line":465,"column":7}},"150":{"start":{"line":464,"column":8},"end":{"line":464,"column":15}},"151":{"start":{"line":466,"column":6},"end":{"line":466,"column":69}},"152":{"start":{"line":477,"column":6},"end":{"line":477,"column":44}},"153":{"start":{"line":488,"column":6},"end":{"line":488,"column":25}}},"branchMap":{"1":{"line":24,"type":"binary-expr","locations":[{"start":{"line":24,"column":26},"end":{"line":24,"column":48}},{"start":{"line":25,"column":26},"end":{"line":25,"column":54}},{"start":{"line":26,"column":26},"end":{"line":26,"column":51}},{"start":{"line":27,"column":26},"end":{"line":27,"column":50}},{"start":{"line":28,"column":26},"end":{"line":28,"column":49}}]},"2":{"line":32,"type":"if","locations":[{"start":{"line":32,"column":2},"end":{"line":32,"column":2}},{"start":{"line":32,"column":2},"end":{"line":32,"column":2}}]},"3":{"line":57,"type":"cond-expr","locations":[{"start":{"line":57,"column":38},"end":{"line":57,"column":43}},{"start":{"line":57,"column":46},"end":{"line":57,"column":57}}]},"4":{"line":77,"type":"if","locations":[{"start":{"line":77,"column":4},"end":{"line":77,"column":4}},{"start":{"line":77,"column":4},"end":{"line":77,"column":4}}]},"5":{"line":84,"type":"if","locations":[{"start":{"line":84,"column":4},"end":{"line":84,"column":4}},{"start":{"line":84,"column":4},"end":{"line":84,"column":4}}]},"6":{"line":115,"type":"if","locations":[{"start":{"line":115,"column":6},"end":{"line":115,"column":6}},{"start":{"line":115,"column":6},"end":{"line":115,"column":6}}]},"7":{"line":122,"type":"if","locations":[{"start":{"line":122,"column":6},"end":{"line":122,"column":6}},{"start":{"line":122,"column":6},"end":{"line":122,"column":6}}]},"8":{"line":122,"type":"binary-expr","locations":[{"start":{"line":122,"column":10},"end":{"line":122,"column":21}},{"start":{"line":122,"column":25},"end":{"line":122,"column":42}}]},"9":{"line":146,"type":"switch","locations":[{"start":{"line":147,"column":8},"end":{"line":149,"column":16}},{"start":{"line":150,"column":8},"end":{"line":150,"column":27}},{"start":{"line":151,"column":8},"end":{"line":160,"column":16}}]},"10":{"line":155,"type":"if","locations":[{"start":{"line":155,"column":10},"end":{"line":155,"column":10}},{"start":{"line":155,"column":10},"end":{"line":155,"column":10}}]},"11":{"line":168,"type":"if","locations":[{"start":{"line":168,"column":8},"end":{"line":168,"column":8}},{"start":{"line":168,"column":8},"end":{"line":168,"column":8}}]},"12":{"line":171,"type":"if","locations":[{"start":{"line":171,"column":10},"end":{"line":171,"column":10}},{"start":{"line":171,"column":10},"end":{"line":171,"column":10}}]},"13":{"line":180,"type":"if","locations":[{"start":{"line":180,"column":8},"end":{"line":180,"column":8}},{"start":{"line":180,"column":8},"end":{"line":180,"column":8}}]},"14":{"line":181,"type":"if","locations":[{"start":{"line":181,"column":10},"end":{"line":181,"column":10}},{"start":{"line":181,"column":10},"end":{"line":181,"column":10}}]},"15":{"line":200,"type":"if","locations":[{"start":{"line":200,"column":10},"end":{"line":200,"column":10}},{"start":{"line":200,"column":10},"end":{"line":200,"column":10}}]},"16":{"line":208,"type":"if","locations":[{"start":{"line":208,"column":12},"end":{"line":208,"column":12}},{"start":{"line":208,"column":12},"end":{"line":208,"column":12}}]},"17":{"line":210,"type":"if","locations":[{"start":{"line":210,"column":14},"end":{"line":210,"column":14}},{"start":{"line":210,"column":14},"end":{"line":210,"column":14}}]},"18":{"line":212,"type":"if","locations":[{"start":{"line":212,"column":16},"end":{"line":212,"column":16}},{"start":{"line":212,"column":16},"end":{"line":212,"column":16}}]},"19":{"line":228,"type":"if","locations":[{"start":{"line":228,"column":6},"end":{"line":228,"column":6}},{"start":{"line":228,"column":6},"end":{"line":228,"column":6}}]},"20":{"line":231,"type":"if","locations":[{"start":{"line":231,"column":6},"end":{"line":231,"column":6}},{"start":{"line":231,"column":6},"end":{"line":231,"column":6}}]},"21":{"line":257,"type":"binary-expr","locations":[{"start":{"line":257,"column":16},"end":{"line":257,"column":23}},{"start":{"line":257,"column":27},"end":{"line":257,"column":29}}]},"22":{"line":258,"type":"if","locations":[{"start":{"line":258,"column":6},"end":{"line":258,"column":6}},{"start":{"line":258,"column":6},"end":{"line":258,"column":6}}]},"23":{"line":263,"type":"if","locations":[{"start":{"line":263,"column":6},"end":{"line":263,"column":6}},{"start":{"line":263,"column":6},"end":{"line":263,"column":6}}]},"24":{"line":271,"type":"if","locations":[{"start":{"line":271,"column":8},"end":{"line":271,"column":8}},{"start":{"line":271,"column":8},"end":{"line":271,"column":8}}]},"25":{"line":287,"type":"if","locations":[{"start":{"line":287,"column":6},"end":{"line":287,"column":6}},{"start":{"line":287,"column":6},"end":{"line":287,"column":6}}]},"26":{"line":321,"type":"if","locations":[{"start":{"line":321,"column":6},"end":{"line":321,"column":6}},{"start":{"line":321,"column":6},"end":{"line":321,"column":6}}]},"27":{"line":363,"type":"if","locations":[{"start":{"line":363,"column":8},"end":{"line":363,"column":8}},{"start":{"line":363,"column":8},"end":{"line":363,"column":8}}]},"28":{"line":364,"type":"binary-expr","locations":[{"start":{"line":364,"column":15},"end":{"line":364,"column":37}},{"start":{"line":364,"column":41},"end":{"line":364,"column":57}}]},"29":{"line":365,"type":"if","locations":[{"start":{"line":365,"column":10},"end":{"line":365,"column":10}},{"start":{"line":365,"column":10},"end":{"line":365,"column":10}}]},"30":{"line":368,"type":"if","locations":[{"start":{"line":368,"column":17},"end":{"line":368,"column":17}},{"start":{"line":368,"column":17},"end":{"line":368,"column":17}}]},"31":{"line":368,"type":"binary-expr","locations":[{"start":{"line":368,"column":21},"end":{"line":368,"column":43}},{"start":{"line":368,"column":47},"end":{"line":368,"column":74}}]},"32":{"line":372,"type":"if","locations":[{"start":{"line":372,"column":12},"end":{"line":372,"column":12}},{"start":{"line":372,"column":12},"end":{"line":372,"column":12}}]},"33":{"line":404,"type":"if","locations":[{"start":{"line":404,"column":6},"end":{"line":404,"column":6}},{"start":{"line":404,"column":6},"end":{"line":404,"column":6}}]},"34":{"line":408,"type":"cond-expr","locations":[{"start":{"line":408,"column":59},"end":{"line":408,"column":75}},{"start":{"line":408,"column":78},"end":{"line":408,"column":96}}]},"35":{"line":411,"type":"if","locations":[{"start":{"line":411,"column":10},"end":{"line":411,"column":10}},{"start":{"line":411,"column":10},"end":{"line":411,"column":10}}]},"36":{"line":459,"type":"if","locations":[{"start":{"line":459,"column":6},"end":{"line":459,"column":6}},{"start":{"line":459,"column":6},"end":{"line":459,"column":6}}]},"37":{"line":462,"type":"binary-expr","locations":[{"start":{"line":462,"column":15},"end":{"line":462,"column":29}},{"start":{"line":462,"column":33},"end":{"line":462,"column":41}}]},"38":{"line":463,"type":"if","locations":[{"start":{"line":463,"column":6},"end":{"line":463,"column":6}},{"start":{"line":463,"column":6},"end":{"line":463,"column":6}}]},"39":{"line":466,"type":"binary-expr","locations":[{"start":{"line":466,"column":51},"end":{"line":466,"column":58}},{"start":{"line":466,"column":62},"end":{"line":466,"column":66}}]},"40":{"line":477,"type":"binary-expr","locations":[{"start":{"line":477,"column":13},"end":{"line":477,"column":24}},{"start":{"line":477,"column":28},"end":{"line":477,"column":43}}]}}}} \ No newline at end of file diff --git a/test/coverage/index.html b/test/coverage/index.html index 084ab37..75a29ca 100644 --- a/test/coverage/index.html +++ b/test/coverage/index.html @@ -20,9 +20,9 @@

- 82.24% + 82.35% Statements - 125/152 + 126/153
65.48% @@ -35,9 +35,9 @@

24/25

- 82.24% + 82.35% Lines - 125/152 + 126/153
@@ -60,15 +60,15 @@

__root__/ -
- 82.24% - 125/152 +
+ 82.35% + 126/153 65.48% 55/84 96% 24/25 - 82.24% - 125/152 + 82.35% + 126/153 @@ -77,7 +77,7 @@

From 07fc3406eca6111d200cc1b4202be7d1db8c1204 Mon Sep 17 00:00:00 2001 From: Tal Ater Date: Mon, 25 Jan 2016 12:09:49 +0200 Subject: [PATCH 5/5] Added test for when a command adds commands --- test/coverage/__root__/annyang.js.html | 88 +++++++++++++------------- test/coverage/__root__/index.html | 2 +- test/coverage/coverage.json | 2 +- test/coverage/index.html | 2 +- test/spec/BasicSpec.js | 10 +++ 5 files changed, 57 insertions(+), 47 deletions(-) diff --git a/test/coverage/__root__/annyang.js.html b/test/coverage/__root__/annyang.js.html index 9d604aa..7606ca5 100644 --- a/test/coverage/__root__/annyang.js.html +++ b/test/coverage/__root__/annyang.js.html @@ -757,37 +757,37 @@

-67× +69×     19×       -67× +69×       -173× -173× -428× +175× +175× +429×       -88× +90×     -88× +90×       -77× -77× +79× +79×     @@ -883,7 +883,7 @@

    -56× +57×     @@ -891,38 +891,38 @@

      -55× -55× -55× -275× +56× +56× +56× +280×     -55× -55× +56× +56×   -55× +56×   -112× -112× +113× +113×         -112× -216× -216× -216× -41× -41× +113× +217× +217× +217× +42× +42×             -41× -41× -41× +42× +42× +42×       @@ -989,9 +989,9 @@

      -56× -56× -56× +57× +57× +57×       @@ -1024,8 +1024,8 @@

      +46× 45× -44×     @@ -1061,16 +1061,16 @@

      -47× +49×   -47× +49×   -47× -78× -78× -78× +49× +80× +80× +80×   -67× +69× 11×   10× @@ -1107,9 +1107,9 @@

      -48× -41× -41× +49× +42× +42×   @@ -1191,7 +1191,7 @@

      -41× +42×       @@ -2032,7 +2032,7 @@

diff --git a/test/coverage/__root__/index.html b/test/coverage/__root__/index.html index 87bb4b9..8ee3917 100644 --- a/test/coverage/__root__/index.html +++ b/test/coverage/__root__/index.html @@ -77,7 +77,7 @@

diff --git a/test/coverage/coverage.json b/test/coverage/coverage.json index 397dfc2..2953dc1 100644 --- a/test/coverage/coverage.json +++ b/test/coverage/coverage.json @@ -1 +1 @@ -{"annyang.js":{"path":"annyang.js","s":{"1":1,"2":1,"3":1,"4":1,"5":0,"6":0,"7":1,"8":1,"9":1,"10":1,"11":1,"12":1,"13":1,"14":1,"15":1,"16":1,"17":1,"18":1,"19":1,"20":1,"21":1,"22":67,"23":19,"24":67,"25":1,"26":173,"27":173,"28":428,"29":1,"30":88,"31":1,"32":88,"33":1,"34":1,"35":77,"36":77,"37":6,"38":1,"39":1,"40":0,"41":1,"42":1,"43":0,"44":1,"45":1,"46":1,"47":1,"48":1,"49":32,"50":32,"51":1,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0,"61":1,"62":31,"63":31,"64":31,"65":0,"66":0,"67":0,"68":0,"69":1,"70":56,"71":1,"72":0,"73":1,"74":55,"75":55,"76":55,"77":275,"78":55,"79":55,"80":55,"81":112,"82":112,"83":0,"84":112,"85":216,"86":216,"87":216,"88":41,"89":41,"90":0,"91":0,"92":0,"93":41,"94":41,"95":41,"96":14,"97":14,"98":1,"99":0,"100":1,"101":0,"102":39,"103":39,"104":39,"105":39,"106":0,"107":39,"108":39,"109":0,"110":39,"111":39,"112":39,"113":7,"114":1,"115":56,"116":56,"117":56,"118":9,"119":8,"120":45,"121":44,"122":1,"123":2,"124":2,"125":47,"126":47,"127":47,"128":78,"129":78,"130":78,"131":67,"132":11,"133":10,"134":1,"135":1,"136":1,"137":48,"138":41,"139":41,"140":7,"141":7,"142":32,"143":36,"144":8,"145":24,"146":19,"147":2,"148":17,"149":17,"150":0,"151":17,"152":22,"153":41},"b":{"1":[1,0,0,0,0],"2":[0,1],"3":[10,9],"4":[1,87],"5":[6,71],"6":[0,1],"7":[0,1],"8":[1,0],"9":[0,0,0],"10":[0,0],"11":[0,31],"12":[0,0],"13":[1,55],"14":[0,1],"15":[0,112],"16":[41,175],"17":[0,41],"18":[0,0],"19":[0,1],"20":[0,1],"21":[39,39],"22":[0,39],"23":[0,39],"24":[1,6],"25":[56,0],"26":[44,1],"27":[78,0],"28":[78,77],"29":[67,11],"30":[10,1],"31":[11,10],"32":[1,0],"33":[41,7],"34":[1,6],"35":[8,28],"36":[2,17],"37":[17,17],"38":[0,17],"39":[17,15],"40":[22,15]},"f":{"1":1,"2":67,"3":19,"4":173,"5":428,"6":88,"7":88,"8":77,"9":1,"10":32,"11":0,"12":31,"13":56,"14":39,"15":56,"16":9,"17":8,"18":45,"19":2,"20":47,"21":48,"22":32,"23":19,"24":22,"25":41},"fnMap":{"1":{"name":"(anonymous_1)","line":7,"loc":{"start":{"line":7,"column":1},"end":{"line":7,"column":22}}},"2":{"name":"(anonymous_2)","line":53,"loc":{"start":{"line":53,"column":24},"end":{"line":53,"column":42}}},"3":{"name":"(anonymous_3)","line":56,"loc":{"start":{"line":56,"column":39},"end":{"line":56,"column":65}}},"4":{"name":"(anonymous_4)","line":65,"loc":{"start":{"line":65,"column":24},"end":{"line":65,"column":44}}},"5":{"name":"(anonymous_5)","line":67,"loc":{"start":{"line":67,"column":22},"end":{"line":67,"column":41}}},"6":{"name":"(anonymous_6)","line":72,"loc":{"start":{"line":72,"column":22},"end":{"line":72,"column":33}}},"7":{"name":"(anonymous_7)","line":76,"loc":{"start":{"line":76,"column":21},"end":{"line":76,"column":32}}},"8":{"name":"(anonymous_8)","line":82,"loc":{"start":{"line":82,"column":24},"end":{"line":82,"column":54}}},"9":{"name":"(anonymous_9)","line":112,"loc":{"start":{"line":112,"column":10},"end":{"line":112,"column":44}}},"10":{"name":"(anonymous_10)","line":139,"loc":{"start":{"line":139,"column":30},"end":{"line":139,"column":41}}},"11":{"name":"(anonymous_11)","line":144,"loc":{"start":{"line":144,"column":30},"end":{"line":144,"column":46}}},"12":{"name":"(anonymous_12)","line":164,"loc":{"start":{"line":164,"column":30},"end":{"line":164,"column":41}}},"13":{"name":"(anonymous_13)","line":179,"loc":{"start":{"line":179,"column":30},"end":{"line":179,"column":46}}},"14":{"name":"(anonymous_14)","line":254,"loc":{"start":{"line":254,"column":11},"end":{"line":254,"column":29}}},"15":{"name":"(anonymous_15)","line":285,"loc":{"start":{"line":285,"column":11},"end":{"line":285,"column":22}}},"16":{"name":"(anonymous_16)","line":300,"loc":{"start":{"line":300,"column":11},"end":{"line":300,"column":22}}},"17":{"name":"(anonymous_17)","line":310,"loc":{"start":{"line":310,"column":12},"end":{"line":310,"column":23}}},"18":{"name":"(anonymous_18)","line":320,"loc":{"start":{"line":320,"column":11},"end":{"line":320,"column":30}}},"19":{"name":"(anonymous_19)","line":335,"loc":{"start":{"line":335,"column":17},"end":{"line":335,"column":36}}},"20":{"name":"(anonymous_20)","line":357,"loc":{"start":{"line":357,"column":17},"end":{"line":357,"column":36}}},"21":{"name":"(anonymous_21)","line":403,"loc":{"start":{"line":403,"column":20},"end":{"line":403,"column":47}}},"22":{"name":"(anonymous_22)","line":409,"loc":{"start":{"line":409,"column":41},"end":{"line":409,"column":59}}},"23":{"name":"(anonymous_23)","line":458,"loc":{"start":{"line":458,"column":17},"end":{"line":458,"column":51}}},"24":{"name":"(anonymous_24)","line":476,"loc":{"start":{"line":476,"column":17},"end":{"line":476,"column":28}}},"25":{"name":"(anonymous_25)","line":487,"loc":{"start":{"line":487,"column":25},"end":{"line":487,"column":36}}}},"statementMap":{"1":{"start":{"line":7,"column":0},"end":{"line":492,"column":14}},"2":{"start":{"line":21,"column":2},"end":{"line":21,"column":18}},"3":{"start":{"line":24,"column":2},"end":{"line":28,"column":50}},"4":{"start":{"line":32,"column":2},"end":{"line":35,"column":3}},"5":{"start":{"line":33,"column":4},"end":{"line":33,"column":24}},"6":{"start":{"line":34,"column":4},"end":{"line":34,"column":21}},"7":{"start":{"line":37,"column":2},"end":{"line":37,"column":24}},"8":{"start":{"line":38,"column":2},"end":{"line":38,"column":18}},"9":{"start":{"line":39,"column":2},"end":{"line":39,"column":173}},"10":{"start":{"line":40,"column":2},"end":{"line":40,"column":18}},"11":{"start":{"line":41,"column":2},"end":{"line":41,"column":24}},"12":{"start":{"line":42,"column":2},"end":{"line":42,"column":25}},"13":{"start":{"line":43,"column":2},"end":{"line":43,"column":53}},"14":{"start":{"line":44,"column":2},"end":{"line":44,"column":29}},"15":{"start":{"line":45,"column":2},"end":{"line":45,"column":26}},"16":{"start":{"line":48,"column":2},"end":{"line":48,"column":41}},"17":{"start":{"line":49,"column":2},"end":{"line":49,"column":42}},"18":{"start":{"line":50,"column":2},"end":{"line":50,"column":37}},"19":{"start":{"line":51,"column":2},"end":{"line":51,"column":31}},"20":{"start":{"line":52,"column":2},"end":{"line":52,"column":47}},"21":{"start":{"line":53,"column":2},"end":{"line":62,"column":4}},"22":{"start":{"line":54,"column":4},"end":{"line":60,"column":57}},"23":{"start":{"line":57,"column":20},"end":{"line":57,"column":58}},"24":{"start":{"line":61,"column":4},"end":{"line":61,"column":48}},"25":{"start":{"line":65,"column":2},"end":{"line":70,"column":4}},"26":{"start":{"line":66,"column":4},"end":{"line":66,"column":56}},"27":{"start":{"line":67,"column":4},"end":{"line":69,"column":7}},"28":{"start":{"line":68,"column":6},"end":{"line":68,"column":54}},"29":{"start":{"line":72,"column":2},"end":{"line":74,"column":4}},"30":{"start":{"line":73,"column":4},"end":{"line":73,"column":37}},"31":{"start":{"line":76,"column":2},"end":{"line":80,"column":4}},"32":{"start":{"line":77,"column":4},"end":{"line":79,"column":5}},"33":{"start":{"line":78,"column":6},"end":{"line":78,"column":35}},"34":{"start":{"line":82,"column":2},"end":{"line":87,"column":4}},"35":{"start":{"line":83,"column":4},"end":{"line":83,"column":82}},"36":{"start":{"line":84,"column":4},"end":{"line":86,"column":5}},"37":{"start":{"line":85,"column":6},"end":{"line":85,"column":77}},"38":{"start":{"line":89,"column":2},"end":{"line":490,"column":4}},"39":{"start":{"line":115,"column":6},"end":{"line":119,"column":7}},"40":{"start":{"line":116,"column":8},"end":{"line":116,"column":29}},"41":{"start":{"line":118,"column":8},"end":{"line":118,"column":40}},"42":{"start":{"line":122,"column":6},"end":{"line":124,"column":7}},"43":{"start":{"line":123,"column":8},"end":{"line":123,"column":28}},"44":{"start":{"line":127,"column":6},"end":{"line":127,"column":44}},"45":{"start":{"line":130,"column":6},"end":{"line":130,"column":38}},"46":{"start":{"line":134,"column":6},"end":{"line":134,"column":66}},"47":{"start":{"line":137,"column":6},"end":{"line":137,"column":33}},"48":{"start":{"line":139,"column":6},"end":{"line":142,"column":8}},"49":{"start":{"line":140,"column":8},"end":{"line":140,"column":27}},"50":{"start":{"line":141,"column":8},"end":{"line":141,"column":41}},"51":{"start":{"line":144,"column":6},"end":{"line":162,"column":8}},"52":{"start":{"line":145,"column":8},"end":{"line":145,"column":41}},"53":{"start":{"line":146,"column":8},"end":{"line":161,"column":9}},"54":{"start":{"line":148,"column":10},"end":{"line":148,"column":50}},"55":{"start":{"line":149,"column":10},"end":{"line":149,"column":16}},"56":{"start":{"line":153,"column":10},"end":{"line":153,"column":30}},"57":{"start":{"line":155,"column":10},"end":{"line":159,"column":11}},"58":{"start":{"line":156,"column":12},"end":{"line":156,"column":62}},"59":{"start":{"line":158,"column":12},"end":{"line":158,"column":61}},"60":{"start":{"line":160,"column":10},"end":{"line":160,"column":16}},"61":{"start":{"line":164,"column":6},"end":{"line":177,"column":8}},"62":{"start":{"line":165,"column":8},"end":{"line":165,"column":28}},"63":{"start":{"line":166,"column":8},"end":{"line":166,"column":39}},"64":{"start":{"line":168,"column":8},"end":{"line":176,"column":9}},"65":{"start":{"line":170,"column":10},"end":{"line":170,"column":70}},"66":{"start":{"line":171,"column":10},"end":{"line":175,"column":11}},"67":{"start":{"line":172,"column":12},"end":{"line":172,"column":68}},"68":{"start":{"line":174,"column":12},"end":{"line":174,"column":33}},"69":{"start":{"line":179,"column":6},"end":{"line":225,"column":8}},"70":{"start":{"line":180,"column":8},"end":{"line":185,"column":9}},"71":{"start":{"line":181,"column":10},"end":{"line":183,"column":11}},"72":{"start":{"line":182,"column":12},"end":{"line":182,"column":68}},"73":{"start":{"line":184,"column":10},"end":{"line":184,"column":23}},"74":{"start":{"line":188,"column":8},"end":{"line":188,"column":71}},"75":{"start":{"line":189,"column":8},"end":{"line":189,"column":25}},"76":{"start":{"line":190,"column":8},"end":{"line":192,"column":9}},"77":{"start":{"line":191,"column":10},"end":{"line":191,"column":61}},"78":{"start":{"line":194,"column":8},"end":{"line":194,"column":51}},"79":{"start":{"line":195,"column":8},"end":{"line":195,"column":24}},"80":{"start":{"line":197,"column":8},"end":{"line":222,"column":9}},"81":{"start":{"line":199,"column":10},"end":{"line":199,"column":42}},"82":{"start":{"line":200,"column":10},"end":{"line":202,"column":11}},"83":{"start":{"line":201,"column":12},"end":{"line":201,"column":78}},"84":{"start":{"line":205,"column":10},"end":{"line":221,"column":11}},"85":{"start":{"line":206,"column":12},"end":{"line":206,"column":49}},"86":{"start":{"line":207,"column":12},"end":{"line":207,"column":66}},"87":{"start":{"line":208,"column":12},"end":{"line":220,"column":13}},"88":{"start":{"line":209,"column":14},"end":{"line":209,"column":47}},"89":{"start":{"line":210,"column":14},"end":{"line":215,"column":15}},"90":{"start":{"line":211,"column":16},"end":{"line":211,"column":98}},"91":{"start":{"line":212,"column":16},"end":{"line":214,"column":17}},"92":{"start":{"line":213,"column":18},"end":{"line":213,"column":66}},"93":{"start":{"line":217,"column":14},"end":{"line":217,"column":62}},"94":{"start":{"line":218,"column":14},"end":{"line":218,"column":106}},"95":{"start":{"line":219,"column":14},"end":{"line":219,"column":26}},"96":{"start":{"line":223,"column":8},"end":{"line":223,"column":58}},"97":{"start":{"line":224,"column":8},"end":{"line":224,"column":21}},"98":{"start":{"line":228,"column":6},"end":{"line":230,"column":7}},"99":{"start":{"line":229,"column":8},"end":{"line":229,"column":26}},"100":{"start":{"line":231,"column":6},"end":{"line":233,"column":7}},"101":{"start":{"line":232,"column":8},"end":{"line":232,"column":35}},"102":{"start":{"line":255,"column":6},"end":{"line":255,"column":29}},"103":{"start":{"line":256,"column":6},"end":{"line":256,"column":21}},"104":{"start":{"line":257,"column":6},"end":{"line":257,"column":30}},"105":{"start":{"line":258,"column":6},"end":{"line":262,"column":7}},"106":{"start":{"line":259,"column":8},"end":{"line":259,"column":44}},"107":{"start":{"line":261,"column":8},"end":{"line":261,"column":27}},"108":{"start":{"line":263,"column":6},"end":{"line":265,"column":7}},"109":{"start":{"line":264,"column":8},"end":{"line":264,"column":54}},"110":{"start":{"line":267,"column":6},"end":{"line":267,"column":43}},"111":{"start":{"line":268,"column":6},"end":{"line":274,"column":7}},"112":{"start":{"line":269,"column":8},"end":{"line":269,"column":28}},"113":{"start":{"line":271,"column":8},"end":{"line":273,"column":9}},"114":{"start":{"line":272,"column":10},"end":{"line":272,"column":38}},"115":{"start":{"line":286,"column":6},"end":{"line":286,"column":26}},"116":{"start":{"line":287,"column":6},"end":{"line":289,"column":7}},"117":{"start":{"line":288,"column":8},"end":{"line":288,"column":28}},"118":{"start":{"line":301,"column":6},"end":{"line":301,"column":28}},"119":{"start":{"line":311,"column":6},"end":{"line":311,"column":27}},"120":{"start":{"line":321,"column":6},"end":{"line":325,"column":7}},"121":{"start":{"line":322,"column":8},"end":{"line":322,"column":32}},"122":{"start":{"line":324,"column":8},"end":{"line":324,"column":26}},"123":{"start":{"line":336,"column":6},"end":{"line":336,"column":21}},"124":{"start":{"line":337,"column":6},"end":{"line":337,"column":34}},"125":{"start":{"line":358,"column":6},"end":{"line":358,"column":13}},"126":{"start":{"line":360,"column":6},"end":{"line":360,"column":21}},"127":{"start":{"line":362,"column":6},"end":{"line":378,"column":7}},"128":{"start":{"line":363,"column":8},"end":{"line":377,"column":9}},"129":{"start":{"line":364,"column":10},"end":{"line":364,"column":58}},"130":{"start":{"line":365,"column":10},"end":{"line":376,"column":11}},"131":{"start":{"line":367,"column":12},"end":{"line":367,"column":65}},"132":{"start":{"line":368,"column":17},"end":{"line":376,"column":11}},"133":{"start":{"line":370,"column":12},"end":{"line":370,"column":84}},"134":{"start":{"line":372,"column":12},"end":{"line":374,"column":13}},"135":{"start":{"line":373,"column":14},"end":{"line":373,"column":82}},"136":{"start":{"line":375,"column":12},"end":{"line":375,"column":21}},"137":{"start":{"line":404,"column":6},"end":{"line":407,"column":7}},"138":{"start":{"line":405,"column":8},"end":{"line":405,"column":26}},"139":{"start":{"line":406,"column":8},"end":{"line":406,"column":15}},"140":{"start":{"line":408,"column":6},"end":{"line":408,"column":97}},"141":{"start":{"line":409,"column":6},"end":{"line":416,"column":9}},"142":{"start":{"line":410,"column":8},"end":{"line":414,"column":9}},"143":{"start":{"line":411,"column":10},"end":{"line":413,"column":11}},"144":{"start":{"line":412,"column":12},"end":{"line":412,"column":25}},"145":{"start":{"line":415,"column":8},"end":{"line":415,"column":20}},"146":{"start":{"line":459,"column":6},"end":{"line":461,"column":7}},"147":{"start":{"line":460,"column":8},"end":{"line":460,"column":15}},"148":{"start":{"line":462,"column":6},"end":{"line":462,"column":42}},"149":{"start":{"line":463,"column":6},"end":{"line":465,"column":7}},"150":{"start":{"line":464,"column":8},"end":{"line":464,"column":15}},"151":{"start":{"line":466,"column":6},"end":{"line":466,"column":69}},"152":{"start":{"line":477,"column":6},"end":{"line":477,"column":44}},"153":{"start":{"line":488,"column":6},"end":{"line":488,"column":25}}},"branchMap":{"1":{"line":24,"type":"binary-expr","locations":[{"start":{"line":24,"column":26},"end":{"line":24,"column":48}},{"start":{"line":25,"column":26},"end":{"line":25,"column":54}},{"start":{"line":26,"column":26},"end":{"line":26,"column":51}},{"start":{"line":27,"column":26},"end":{"line":27,"column":50}},{"start":{"line":28,"column":26},"end":{"line":28,"column":49}}]},"2":{"line":32,"type":"if","locations":[{"start":{"line":32,"column":2},"end":{"line":32,"column":2}},{"start":{"line":32,"column":2},"end":{"line":32,"column":2}}]},"3":{"line":57,"type":"cond-expr","locations":[{"start":{"line":57,"column":38},"end":{"line":57,"column":43}},{"start":{"line":57,"column":46},"end":{"line":57,"column":57}}]},"4":{"line":77,"type":"if","locations":[{"start":{"line":77,"column":4},"end":{"line":77,"column":4}},{"start":{"line":77,"column":4},"end":{"line":77,"column":4}}]},"5":{"line":84,"type":"if","locations":[{"start":{"line":84,"column":4},"end":{"line":84,"column":4}},{"start":{"line":84,"column":4},"end":{"line":84,"column":4}}]},"6":{"line":115,"type":"if","locations":[{"start":{"line":115,"column":6},"end":{"line":115,"column":6}},{"start":{"line":115,"column":6},"end":{"line":115,"column":6}}]},"7":{"line":122,"type":"if","locations":[{"start":{"line":122,"column":6},"end":{"line":122,"column":6}},{"start":{"line":122,"column":6},"end":{"line":122,"column":6}}]},"8":{"line":122,"type":"binary-expr","locations":[{"start":{"line":122,"column":10},"end":{"line":122,"column":21}},{"start":{"line":122,"column":25},"end":{"line":122,"column":42}}]},"9":{"line":146,"type":"switch","locations":[{"start":{"line":147,"column":8},"end":{"line":149,"column":16}},{"start":{"line":150,"column":8},"end":{"line":150,"column":27}},{"start":{"line":151,"column":8},"end":{"line":160,"column":16}}]},"10":{"line":155,"type":"if","locations":[{"start":{"line":155,"column":10},"end":{"line":155,"column":10}},{"start":{"line":155,"column":10},"end":{"line":155,"column":10}}]},"11":{"line":168,"type":"if","locations":[{"start":{"line":168,"column":8},"end":{"line":168,"column":8}},{"start":{"line":168,"column":8},"end":{"line":168,"column":8}}]},"12":{"line":171,"type":"if","locations":[{"start":{"line":171,"column":10},"end":{"line":171,"column":10}},{"start":{"line":171,"column":10},"end":{"line":171,"column":10}}]},"13":{"line":180,"type":"if","locations":[{"start":{"line":180,"column":8},"end":{"line":180,"column":8}},{"start":{"line":180,"column":8},"end":{"line":180,"column":8}}]},"14":{"line":181,"type":"if","locations":[{"start":{"line":181,"column":10},"end":{"line":181,"column":10}},{"start":{"line":181,"column":10},"end":{"line":181,"column":10}}]},"15":{"line":200,"type":"if","locations":[{"start":{"line":200,"column":10},"end":{"line":200,"column":10}},{"start":{"line":200,"column":10},"end":{"line":200,"column":10}}]},"16":{"line":208,"type":"if","locations":[{"start":{"line":208,"column":12},"end":{"line":208,"column":12}},{"start":{"line":208,"column":12},"end":{"line":208,"column":12}}]},"17":{"line":210,"type":"if","locations":[{"start":{"line":210,"column":14},"end":{"line":210,"column":14}},{"start":{"line":210,"column":14},"end":{"line":210,"column":14}}]},"18":{"line":212,"type":"if","locations":[{"start":{"line":212,"column":16},"end":{"line":212,"column":16}},{"start":{"line":212,"column":16},"end":{"line":212,"column":16}}]},"19":{"line":228,"type":"if","locations":[{"start":{"line":228,"column":6},"end":{"line":228,"column":6}},{"start":{"line":228,"column":6},"end":{"line":228,"column":6}}]},"20":{"line":231,"type":"if","locations":[{"start":{"line":231,"column":6},"end":{"line":231,"column":6}},{"start":{"line":231,"column":6},"end":{"line":231,"column":6}}]},"21":{"line":257,"type":"binary-expr","locations":[{"start":{"line":257,"column":16},"end":{"line":257,"column":23}},{"start":{"line":257,"column":27},"end":{"line":257,"column":29}}]},"22":{"line":258,"type":"if","locations":[{"start":{"line":258,"column":6},"end":{"line":258,"column":6}},{"start":{"line":258,"column":6},"end":{"line":258,"column":6}}]},"23":{"line":263,"type":"if","locations":[{"start":{"line":263,"column":6},"end":{"line":263,"column":6}},{"start":{"line":263,"column":6},"end":{"line":263,"column":6}}]},"24":{"line":271,"type":"if","locations":[{"start":{"line":271,"column":8},"end":{"line":271,"column":8}},{"start":{"line":271,"column":8},"end":{"line":271,"column":8}}]},"25":{"line":287,"type":"if","locations":[{"start":{"line":287,"column":6},"end":{"line":287,"column":6}},{"start":{"line":287,"column":6},"end":{"line":287,"column":6}}]},"26":{"line":321,"type":"if","locations":[{"start":{"line":321,"column":6},"end":{"line":321,"column":6}},{"start":{"line":321,"column":6},"end":{"line":321,"column":6}}]},"27":{"line":363,"type":"if","locations":[{"start":{"line":363,"column":8},"end":{"line":363,"column":8}},{"start":{"line":363,"column":8},"end":{"line":363,"column":8}}]},"28":{"line":364,"type":"binary-expr","locations":[{"start":{"line":364,"column":15},"end":{"line":364,"column":37}},{"start":{"line":364,"column":41},"end":{"line":364,"column":57}}]},"29":{"line":365,"type":"if","locations":[{"start":{"line":365,"column":10},"end":{"line":365,"column":10}},{"start":{"line":365,"column":10},"end":{"line":365,"column":10}}]},"30":{"line":368,"type":"if","locations":[{"start":{"line":368,"column":17},"end":{"line":368,"column":17}},{"start":{"line":368,"column":17},"end":{"line":368,"column":17}}]},"31":{"line":368,"type":"binary-expr","locations":[{"start":{"line":368,"column":21},"end":{"line":368,"column":43}},{"start":{"line":368,"column":47},"end":{"line":368,"column":74}}]},"32":{"line":372,"type":"if","locations":[{"start":{"line":372,"column":12},"end":{"line":372,"column":12}},{"start":{"line":372,"column":12},"end":{"line":372,"column":12}}]},"33":{"line":404,"type":"if","locations":[{"start":{"line":404,"column":6},"end":{"line":404,"column":6}},{"start":{"line":404,"column":6},"end":{"line":404,"column":6}}]},"34":{"line":408,"type":"cond-expr","locations":[{"start":{"line":408,"column":59},"end":{"line":408,"column":75}},{"start":{"line":408,"column":78},"end":{"line":408,"column":96}}]},"35":{"line":411,"type":"if","locations":[{"start":{"line":411,"column":10},"end":{"line":411,"column":10}},{"start":{"line":411,"column":10},"end":{"line":411,"column":10}}]},"36":{"line":459,"type":"if","locations":[{"start":{"line":459,"column":6},"end":{"line":459,"column":6}},{"start":{"line":459,"column":6},"end":{"line":459,"column":6}}]},"37":{"line":462,"type":"binary-expr","locations":[{"start":{"line":462,"column":15},"end":{"line":462,"column":29}},{"start":{"line":462,"column":33},"end":{"line":462,"column":41}}]},"38":{"line":463,"type":"if","locations":[{"start":{"line":463,"column":6},"end":{"line":463,"column":6}},{"start":{"line":463,"column":6},"end":{"line":463,"column":6}}]},"39":{"line":466,"type":"binary-expr","locations":[{"start":{"line":466,"column":51},"end":{"line":466,"column":58}},{"start":{"line":466,"column":62},"end":{"line":466,"column":66}}]},"40":{"line":477,"type":"binary-expr","locations":[{"start":{"line":477,"column":13},"end":{"line":477,"column":24}},{"start":{"line":477,"column":28},"end":{"line":477,"column":43}}]}}}} \ No newline at end of file +{"annyang.js":{"path":"annyang.js","s":{"1":1,"2":1,"3":1,"4":1,"5":0,"6":0,"7":1,"8":1,"9":1,"10":1,"11":1,"12":1,"13":1,"14":1,"15":1,"16":1,"17":1,"18":1,"19":1,"20":1,"21":1,"22":69,"23":19,"24":69,"25":1,"26":175,"27":175,"28":429,"29":1,"30":90,"31":1,"32":90,"33":1,"34":1,"35":79,"36":79,"37":6,"38":1,"39":1,"40":0,"41":1,"42":1,"43":0,"44":1,"45":1,"46":1,"47":1,"48":1,"49":32,"50":32,"51":1,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0,"61":1,"62":31,"63":31,"64":31,"65":0,"66":0,"67":0,"68":0,"69":1,"70":57,"71":1,"72":0,"73":1,"74":56,"75":56,"76":56,"77":280,"78":56,"79":56,"80":56,"81":113,"82":113,"83":0,"84":113,"85":217,"86":217,"87":217,"88":42,"89":42,"90":0,"91":0,"92":0,"93":42,"94":42,"95":42,"96":14,"97":14,"98":1,"99":0,"100":1,"101":0,"102":39,"103":39,"104":39,"105":39,"106":0,"107":39,"108":39,"109":0,"110":39,"111":39,"112":39,"113":7,"114":1,"115":57,"116":57,"117":57,"118":9,"119":8,"120":46,"121":45,"122":1,"123":2,"124":2,"125":49,"126":49,"127":49,"128":80,"129":80,"130":80,"131":69,"132":11,"133":10,"134":1,"135":1,"136":1,"137":49,"138":42,"139":42,"140":7,"141":7,"142":32,"143":36,"144":8,"145":24,"146":19,"147":2,"148":17,"149":17,"150":0,"151":17,"152":22,"153":42},"b":{"1":[1,0,0,0,0],"2":[0,1],"3":[10,9],"4":[1,89],"5":[6,73],"6":[0,1],"7":[0,1],"8":[1,0],"9":[0,0,0],"10":[0,0],"11":[0,31],"12":[0,0],"13":[1,56],"14":[0,1],"15":[0,113],"16":[42,175],"17":[0,42],"18":[0,0],"19":[0,1],"20":[0,1],"21":[39,39],"22":[0,39],"23":[0,39],"24":[1,6],"25":[57,0],"26":[45,1],"27":[80,0],"28":[80,79],"29":[69,11],"30":[10,1],"31":[11,10],"32":[1,0],"33":[42,7],"34":[1,6],"35":[8,28],"36":[2,17],"37":[17,17],"38":[0,17],"39":[17,15],"40":[22,15]},"f":{"1":1,"2":69,"3":19,"4":175,"5":429,"6":90,"7":90,"8":79,"9":1,"10":32,"11":0,"12":31,"13":57,"14":39,"15":57,"16":9,"17":8,"18":46,"19":2,"20":49,"21":49,"22":32,"23":19,"24":22,"25":42},"fnMap":{"1":{"name":"(anonymous_1)","line":7,"loc":{"start":{"line":7,"column":1},"end":{"line":7,"column":22}}},"2":{"name":"(anonymous_2)","line":53,"loc":{"start":{"line":53,"column":24},"end":{"line":53,"column":42}}},"3":{"name":"(anonymous_3)","line":56,"loc":{"start":{"line":56,"column":39},"end":{"line":56,"column":65}}},"4":{"name":"(anonymous_4)","line":65,"loc":{"start":{"line":65,"column":24},"end":{"line":65,"column":44}}},"5":{"name":"(anonymous_5)","line":67,"loc":{"start":{"line":67,"column":22},"end":{"line":67,"column":41}}},"6":{"name":"(anonymous_6)","line":72,"loc":{"start":{"line":72,"column":22},"end":{"line":72,"column":33}}},"7":{"name":"(anonymous_7)","line":76,"loc":{"start":{"line":76,"column":21},"end":{"line":76,"column":32}}},"8":{"name":"(anonymous_8)","line":82,"loc":{"start":{"line":82,"column":24},"end":{"line":82,"column":54}}},"9":{"name":"(anonymous_9)","line":112,"loc":{"start":{"line":112,"column":10},"end":{"line":112,"column":44}}},"10":{"name":"(anonymous_10)","line":139,"loc":{"start":{"line":139,"column":30},"end":{"line":139,"column":41}}},"11":{"name":"(anonymous_11)","line":144,"loc":{"start":{"line":144,"column":30},"end":{"line":144,"column":46}}},"12":{"name":"(anonymous_12)","line":164,"loc":{"start":{"line":164,"column":30},"end":{"line":164,"column":41}}},"13":{"name":"(anonymous_13)","line":179,"loc":{"start":{"line":179,"column":30},"end":{"line":179,"column":46}}},"14":{"name":"(anonymous_14)","line":254,"loc":{"start":{"line":254,"column":11},"end":{"line":254,"column":29}}},"15":{"name":"(anonymous_15)","line":285,"loc":{"start":{"line":285,"column":11},"end":{"line":285,"column":22}}},"16":{"name":"(anonymous_16)","line":300,"loc":{"start":{"line":300,"column":11},"end":{"line":300,"column":22}}},"17":{"name":"(anonymous_17)","line":310,"loc":{"start":{"line":310,"column":12},"end":{"line":310,"column":23}}},"18":{"name":"(anonymous_18)","line":320,"loc":{"start":{"line":320,"column":11},"end":{"line":320,"column":30}}},"19":{"name":"(anonymous_19)","line":335,"loc":{"start":{"line":335,"column":17},"end":{"line":335,"column":36}}},"20":{"name":"(anonymous_20)","line":357,"loc":{"start":{"line":357,"column":17},"end":{"line":357,"column":36}}},"21":{"name":"(anonymous_21)","line":403,"loc":{"start":{"line":403,"column":20},"end":{"line":403,"column":47}}},"22":{"name":"(anonymous_22)","line":409,"loc":{"start":{"line":409,"column":41},"end":{"line":409,"column":59}}},"23":{"name":"(anonymous_23)","line":458,"loc":{"start":{"line":458,"column":17},"end":{"line":458,"column":51}}},"24":{"name":"(anonymous_24)","line":476,"loc":{"start":{"line":476,"column":17},"end":{"line":476,"column":28}}},"25":{"name":"(anonymous_25)","line":487,"loc":{"start":{"line":487,"column":25},"end":{"line":487,"column":36}}}},"statementMap":{"1":{"start":{"line":7,"column":0},"end":{"line":492,"column":14}},"2":{"start":{"line":21,"column":2},"end":{"line":21,"column":18}},"3":{"start":{"line":24,"column":2},"end":{"line":28,"column":50}},"4":{"start":{"line":32,"column":2},"end":{"line":35,"column":3}},"5":{"start":{"line":33,"column":4},"end":{"line":33,"column":24}},"6":{"start":{"line":34,"column":4},"end":{"line":34,"column":21}},"7":{"start":{"line":37,"column":2},"end":{"line":37,"column":24}},"8":{"start":{"line":38,"column":2},"end":{"line":38,"column":18}},"9":{"start":{"line":39,"column":2},"end":{"line":39,"column":173}},"10":{"start":{"line":40,"column":2},"end":{"line":40,"column":18}},"11":{"start":{"line":41,"column":2},"end":{"line":41,"column":24}},"12":{"start":{"line":42,"column":2},"end":{"line":42,"column":25}},"13":{"start":{"line":43,"column":2},"end":{"line":43,"column":53}},"14":{"start":{"line":44,"column":2},"end":{"line":44,"column":29}},"15":{"start":{"line":45,"column":2},"end":{"line":45,"column":26}},"16":{"start":{"line":48,"column":2},"end":{"line":48,"column":41}},"17":{"start":{"line":49,"column":2},"end":{"line":49,"column":42}},"18":{"start":{"line":50,"column":2},"end":{"line":50,"column":37}},"19":{"start":{"line":51,"column":2},"end":{"line":51,"column":31}},"20":{"start":{"line":52,"column":2},"end":{"line":52,"column":47}},"21":{"start":{"line":53,"column":2},"end":{"line":62,"column":4}},"22":{"start":{"line":54,"column":4},"end":{"line":60,"column":57}},"23":{"start":{"line":57,"column":20},"end":{"line":57,"column":58}},"24":{"start":{"line":61,"column":4},"end":{"line":61,"column":48}},"25":{"start":{"line":65,"column":2},"end":{"line":70,"column":4}},"26":{"start":{"line":66,"column":4},"end":{"line":66,"column":56}},"27":{"start":{"line":67,"column":4},"end":{"line":69,"column":7}},"28":{"start":{"line":68,"column":6},"end":{"line":68,"column":54}},"29":{"start":{"line":72,"column":2},"end":{"line":74,"column":4}},"30":{"start":{"line":73,"column":4},"end":{"line":73,"column":37}},"31":{"start":{"line":76,"column":2},"end":{"line":80,"column":4}},"32":{"start":{"line":77,"column":4},"end":{"line":79,"column":5}},"33":{"start":{"line":78,"column":6},"end":{"line":78,"column":35}},"34":{"start":{"line":82,"column":2},"end":{"line":87,"column":4}},"35":{"start":{"line":83,"column":4},"end":{"line":83,"column":82}},"36":{"start":{"line":84,"column":4},"end":{"line":86,"column":5}},"37":{"start":{"line":85,"column":6},"end":{"line":85,"column":77}},"38":{"start":{"line":89,"column":2},"end":{"line":490,"column":4}},"39":{"start":{"line":115,"column":6},"end":{"line":119,"column":7}},"40":{"start":{"line":116,"column":8},"end":{"line":116,"column":29}},"41":{"start":{"line":118,"column":8},"end":{"line":118,"column":40}},"42":{"start":{"line":122,"column":6},"end":{"line":124,"column":7}},"43":{"start":{"line":123,"column":8},"end":{"line":123,"column":28}},"44":{"start":{"line":127,"column":6},"end":{"line":127,"column":44}},"45":{"start":{"line":130,"column":6},"end":{"line":130,"column":38}},"46":{"start":{"line":134,"column":6},"end":{"line":134,"column":66}},"47":{"start":{"line":137,"column":6},"end":{"line":137,"column":33}},"48":{"start":{"line":139,"column":6},"end":{"line":142,"column":8}},"49":{"start":{"line":140,"column":8},"end":{"line":140,"column":27}},"50":{"start":{"line":141,"column":8},"end":{"line":141,"column":41}},"51":{"start":{"line":144,"column":6},"end":{"line":162,"column":8}},"52":{"start":{"line":145,"column":8},"end":{"line":145,"column":41}},"53":{"start":{"line":146,"column":8},"end":{"line":161,"column":9}},"54":{"start":{"line":148,"column":10},"end":{"line":148,"column":50}},"55":{"start":{"line":149,"column":10},"end":{"line":149,"column":16}},"56":{"start":{"line":153,"column":10},"end":{"line":153,"column":30}},"57":{"start":{"line":155,"column":10},"end":{"line":159,"column":11}},"58":{"start":{"line":156,"column":12},"end":{"line":156,"column":62}},"59":{"start":{"line":158,"column":12},"end":{"line":158,"column":61}},"60":{"start":{"line":160,"column":10},"end":{"line":160,"column":16}},"61":{"start":{"line":164,"column":6},"end":{"line":177,"column":8}},"62":{"start":{"line":165,"column":8},"end":{"line":165,"column":28}},"63":{"start":{"line":166,"column":8},"end":{"line":166,"column":39}},"64":{"start":{"line":168,"column":8},"end":{"line":176,"column":9}},"65":{"start":{"line":170,"column":10},"end":{"line":170,"column":70}},"66":{"start":{"line":171,"column":10},"end":{"line":175,"column":11}},"67":{"start":{"line":172,"column":12},"end":{"line":172,"column":68}},"68":{"start":{"line":174,"column":12},"end":{"line":174,"column":33}},"69":{"start":{"line":179,"column":6},"end":{"line":225,"column":8}},"70":{"start":{"line":180,"column":8},"end":{"line":185,"column":9}},"71":{"start":{"line":181,"column":10},"end":{"line":183,"column":11}},"72":{"start":{"line":182,"column":12},"end":{"line":182,"column":68}},"73":{"start":{"line":184,"column":10},"end":{"line":184,"column":23}},"74":{"start":{"line":188,"column":8},"end":{"line":188,"column":71}},"75":{"start":{"line":189,"column":8},"end":{"line":189,"column":25}},"76":{"start":{"line":190,"column":8},"end":{"line":192,"column":9}},"77":{"start":{"line":191,"column":10},"end":{"line":191,"column":61}},"78":{"start":{"line":194,"column":8},"end":{"line":194,"column":51}},"79":{"start":{"line":195,"column":8},"end":{"line":195,"column":24}},"80":{"start":{"line":197,"column":8},"end":{"line":222,"column":9}},"81":{"start":{"line":199,"column":10},"end":{"line":199,"column":42}},"82":{"start":{"line":200,"column":10},"end":{"line":202,"column":11}},"83":{"start":{"line":201,"column":12},"end":{"line":201,"column":78}},"84":{"start":{"line":205,"column":10},"end":{"line":221,"column":11}},"85":{"start":{"line":206,"column":12},"end":{"line":206,"column":49}},"86":{"start":{"line":207,"column":12},"end":{"line":207,"column":66}},"87":{"start":{"line":208,"column":12},"end":{"line":220,"column":13}},"88":{"start":{"line":209,"column":14},"end":{"line":209,"column":47}},"89":{"start":{"line":210,"column":14},"end":{"line":215,"column":15}},"90":{"start":{"line":211,"column":16},"end":{"line":211,"column":98}},"91":{"start":{"line":212,"column":16},"end":{"line":214,"column":17}},"92":{"start":{"line":213,"column":18},"end":{"line":213,"column":66}},"93":{"start":{"line":217,"column":14},"end":{"line":217,"column":62}},"94":{"start":{"line":218,"column":14},"end":{"line":218,"column":106}},"95":{"start":{"line":219,"column":14},"end":{"line":219,"column":26}},"96":{"start":{"line":223,"column":8},"end":{"line":223,"column":58}},"97":{"start":{"line":224,"column":8},"end":{"line":224,"column":21}},"98":{"start":{"line":228,"column":6},"end":{"line":230,"column":7}},"99":{"start":{"line":229,"column":8},"end":{"line":229,"column":26}},"100":{"start":{"line":231,"column":6},"end":{"line":233,"column":7}},"101":{"start":{"line":232,"column":8},"end":{"line":232,"column":35}},"102":{"start":{"line":255,"column":6},"end":{"line":255,"column":29}},"103":{"start":{"line":256,"column":6},"end":{"line":256,"column":21}},"104":{"start":{"line":257,"column":6},"end":{"line":257,"column":30}},"105":{"start":{"line":258,"column":6},"end":{"line":262,"column":7}},"106":{"start":{"line":259,"column":8},"end":{"line":259,"column":44}},"107":{"start":{"line":261,"column":8},"end":{"line":261,"column":27}},"108":{"start":{"line":263,"column":6},"end":{"line":265,"column":7}},"109":{"start":{"line":264,"column":8},"end":{"line":264,"column":54}},"110":{"start":{"line":267,"column":6},"end":{"line":267,"column":43}},"111":{"start":{"line":268,"column":6},"end":{"line":274,"column":7}},"112":{"start":{"line":269,"column":8},"end":{"line":269,"column":28}},"113":{"start":{"line":271,"column":8},"end":{"line":273,"column":9}},"114":{"start":{"line":272,"column":10},"end":{"line":272,"column":38}},"115":{"start":{"line":286,"column":6},"end":{"line":286,"column":26}},"116":{"start":{"line":287,"column":6},"end":{"line":289,"column":7}},"117":{"start":{"line":288,"column":8},"end":{"line":288,"column":28}},"118":{"start":{"line":301,"column":6},"end":{"line":301,"column":28}},"119":{"start":{"line":311,"column":6},"end":{"line":311,"column":27}},"120":{"start":{"line":321,"column":6},"end":{"line":325,"column":7}},"121":{"start":{"line":322,"column":8},"end":{"line":322,"column":32}},"122":{"start":{"line":324,"column":8},"end":{"line":324,"column":26}},"123":{"start":{"line":336,"column":6},"end":{"line":336,"column":21}},"124":{"start":{"line":337,"column":6},"end":{"line":337,"column":34}},"125":{"start":{"line":358,"column":6},"end":{"line":358,"column":13}},"126":{"start":{"line":360,"column":6},"end":{"line":360,"column":21}},"127":{"start":{"line":362,"column":6},"end":{"line":378,"column":7}},"128":{"start":{"line":363,"column":8},"end":{"line":377,"column":9}},"129":{"start":{"line":364,"column":10},"end":{"line":364,"column":58}},"130":{"start":{"line":365,"column":10},"end":{"line":376,"column":11}},"131":{"start":{"line":367,"column":12},"end":{"line":367,"column":65}},"132":{"start":{"line":368,"column":17},"end":{"line":376,"column":11}},"133":{"start":{"line":370,"column":12},"end":{"line":370,"column":84}},"134":{"start":{"line":372,"column":12},"end":{"line":374,"column":13}},"135":{"start":{"line":373,"column":14},"end":{"line":373,"column":82}},"136":{"start":{"line":375,"column":12},"end":{"line":375,"column":21}},"137":{"start":{"line":404,"column":6},"end":{"line":407,"column":7}},"138":{"start":{"line":405,"column":8},"end":{"line":405,"column":26}},"139":{"start":{"line":406,"column":8},"end":{"line":406,"column":15}},"140":{"start":{"line":408,"column":6},"end":{"line":408,"column":97}},"141":{"start":{"line":409,"column":6},"end":{"line":416,"column":9}},"142":{"start":{"line":410,"column":8},"end":{"line":414,"column":9}},"143":{"start":{"line":411,"column":10},"end":{"line":413,"column":11}},"144":{"start":{"line":412,"column":12},"end":{"line":412,"column":25}},"145":{"start":{"line":415,"column":8},"end":{"line":415,"column":20}},"146":{"start":{"line":459,"column":6},"end":{"line":461,"column":7}},"147":{"start":{"line":460,"column":8},"end":{"line":460,"column":15}},"148":{"start":{"line":462,"column":6},"end":{"line":462,"column":42}},"149":{"start":{"line":463,"column":6},"end":{"line":465,"column":7}},"150":{"start":{"line":464,"column":8},"end":{"line":464,"column":15}},"151":{"start":{"line":466,"column":6},"end":{"line":466,"column":69}},"152":{"start":{"line":477,"column":6},"end":{"line":477,"column":44}},"153":{"start":{"line":488,"column":6},"end":{"line":488,"column":25}}},"branchMap":{"1":{"line":24,"type":"binary-expr","locations":[{"start":{"line":24,"column":26},"end":{"line":24,"column":48}},{"start":{"line":25,"column":26},"end":{"line":25,"column":54}},{"start":{"line":26,"column":26},"end":{"line":26,"column":51}},{"start":{"line":27,"column":26},"end":{"line":27,"column":50}},{"start":{"line":28,"column":26},"end":{"line":28,"column":49}}]},"2":{"line":32,"type":"if","locations":[{"start":{"line":32,"column":2},"end":{"line":32,"column":2}},{"start":{"line":32,"column":2},"end":{"line":32,"column":2}}]},"3":{"line":57,"type":"cond-expr","locations":[{"start":{"line":57,"column":38},"end":{"line":57,"column":43}},{"start":{"line":57,"column":46},"end":{"line":57,"column":57}}]},"4":{"line":77,"type":"if","locations":[{"start":{"line":77,"column":4},"end":{"line":77,"column":4}},{"start":{"line":77,"column":4},"end":{"line":77,"column":4}}]},"5":{"line":84,"type":"if","locations":[{"start":{"line":84,"column":4},"end":{"line":84,"column":4}},{"start":{"line":84,"column":4},"end":{"line":84,"column":4}}]},"6":{"line":115,"type":"if","locations":[{"start":{"line":115,"column":6},"end":{"line":115,"column":6}},{"start":{"line":115,"column":6},"end":{"line":115,"column":6}}]},"7":{"line":122,"type":"if","locations":[{"start":{"line":122,"column":6},"end":{"line":122,"column":6}},{"start":{"line":122,"column":6},"end":{"line":122,"column":6}}]},"8":{"line":122,"type":"binary-expr","locations":[{"start":{"line":122,"column":10},"end":{"line":122,"column":21}},{"start":{"line":122,"column":25},"end":{"line":122,"column":42}}]},"9":{"line":146,"type":"switch","locations":[{"start":{"line":147,"column":8},"end":{"line":149,"column":16}},{"start":{"line":150,"column":8},"end":{"line":150,"column":27}},{"start":{"line":151,"column":8},"end":{"line":160,"column":16}}]},"10":{"line":155,"type":"if","locations":[{"start":{"line":155,"column":10},"end":{"line":155,"column":10}},{"start":{"line":155,"column":10},"end":{"line":155,"column":10}}]},"11":{"line":168,"type":"if","locations":[{"start":{"line":168,"column":8},"end":{"line":168,"column":8}},{"start":{"line":168,"column":8},"end":{"line":168,"column":8}}]},"12":{"line":171,"type":"if","locations":[{"start":{"line":171,"column":10},"end":{"line":171,"column":10}},{"start":{"line":171,"column":10},"end":{"line":171,"column":10}}]},"13":{"line":180,"type":"if","locations":[{"start":{"line":180,"column":8},"end":{"line":180,"column":8}},{"start":{"line":180,"column":8},"end":{"line":180,"column":8}}]},"14":{"line":181,"type":"if","locations":[{"start":{"line":181,"column":10},"end":{"line":181,"column":10}},{"start":{"line":181,"column":10},"end":{"line":181,"column":10}}]},"15":{"line":200,"type":"if","locations":[{"start":{"line":200,"column":10},"end":{"line":200,"column":10}},{"start":{"line":200,"column":10},"end":{"line":200,"column":10}}]},"16":{"line":208,"type":"if","locations":[{"start":{"line":208,"column":12},"end":{"line":208,"column":12}},{"start":{"line":208,"column":12},"end":{"line":208,"column":12}}]},"17":{"line":210,"type":"if","locations":[{"start":{"line":210,"column":14},"end":{"line":210,"column":14}},{"start":{"line":210,"column":14},"end":{"line":210,"column":14}}]},"18":{"line":212,"type":"if","locations":[{"start":{"line":212,"column":16},"end":{"line":212,"column":16}},{"start":{"line":212,"column":16},"end":{"line":212,"column":16}}]},"19":{"line":228,"type":"if","locations":[{"start":{"line":228,"column":6},"end":{"line":228,"column":6}},{"start":{"line":228,"column":6},"end":{"line":228,"column":6}}]},"20":{"line":231,"type":"if","locations":[{"start":{"line":231,"column":6},"end":{"line":231,"column":6}},{"start":{"line":231,"column":6},"end":{"line":231,"column":6}}]},"21":{"line":257,"type":"binary-expr","locations":[{"start":{"line":257,"column":16},"end":{"line":257,"column":23}},{"start":{"line":257,"column":27},"end":{"line":257,"column":29}}]},"22":{"line":258,"type":"if","locations":[{"start":{"line":258,"column":6},"end":{"line":258,"column":6}},{"start":{"line":258,"column":6},"end":{"line":258,"column":6}}]},"23":{"line":263,"type":"if","locations":[{"start":{"line":263,"column":6},"end":{"line":263,"column":6}},{"start":{"line":263,"column":6},"end":{"line":263,"column":6}}]},"24":{"line":271,"type":"if","locations":[{"start":{"line":271,"column":8},"end":{"line":271,"column":8}},{"start":{"line":271,"column":8},"end":{"line":271,"column":8}}]},"25":{"line":287,"type":"if","locations":[{"start":{"line":287,"column":6},"end":{"line":287,"column":6}},{"start":{"line":287,"column":6},"end":{"line":287,"column":6}}]},"26":{"line":321,"type":"if","locations":[{"start":{"line":321,"column":6},"end":{"line":321,"column":6}},{"start":{"line":321,"column":6},"end":{"line":321,"column":6}}]},"27":{"line":363,"type":"if","locations":[{"start":{"line":363,"column":8},"end":{"line":363,"column":8}},{"start":{"line":363,"column":8},"end":{"line":363,"column":8}}]},"28":{"line":364,"type":"binary-expr","locations":[{"start":{"line":364,"column":15},"end":{"line":364,"column":37}},{"start":{"line":364,"column":41},"end":{"line":364,"column":57}}]},"29":{"line":365,"type":"if","locations":[{"start":{"line":365,"column":10},"end":{"line":365,"column":10}},{"start":{"line":365,"column":10},"end":{"line":365,"column":10}}]},"30":{"line":368,"type":"if","locations":[{"start":{"line":368,"column":17},"end":{"line":368,"column":17}},{"start":{"line":368,"column":17},"end":{"line":368,"column":17}}]},"31":{"line":368,"type":"binary-expr","locations":[{"start":{"line":368,"column":21},"end":{"line":368,"column":43}},{"start":{"line":368,"column":47},"end":{"line":368,"column":74}}]},"32":{"line":372,"type":"if","locations":[{"start":{"line":372,"column":12},"end":{"line":372,"column":12}},{"start":{"line":372,"column":12},"end":{"line":372,"column":12}}]},"33":{"line":404,"type":"if","locations":[{"start":{"line":404,"column":6},"end":{"line":404,"column":6}},{"start":{"line":404,"column":6},"end":{"line":404,"column":6}}]},"34":{"line":408,"type":"cond-expr","locations":[{"start":{"line":408,"column":59},"end":{"line":408,"column":75}},{"start":{"line":408,"column":78},"end":{"line":408,"column":96}}]},"35":{"line":411,"type":"if","locations":[{"start":{"line":411,"column":10},"end":{"line":411,"column":10}},{"start":{"line":411,"column":10},"end":{"line":411,"column":10}}]},"36":{"line":459,"type":"if","locations":[{"start":{"line":459,"column":6},"end":{"line":459,"column":6}},{"start":{"line":459,"column":6},"end":{"line":459,"column":6}}]},"37":{"line":462,"type":"binary-expr","locations":[{"start":{"line":462,"column":15},"end":{"line":462,"column":29}},{"start":{"line":462,"column":33},"end":{"line":462,"column":41}}]},"38":{"line":463,"type":"if","locations":[{"start":{"line":463,"column":6},"end":{"line":463,"column":6}},{"start":{"line":463,"column":6},"end":{"line":463,"column":6}}]},"39":{"line":466,"type":"binary-expr","locations":[{"start":{"line":466,"column":51},"end":{"line":466,"column":58}},{"start":{"line":466,"column":62},"end":{"line":466,"column":66}}]},"40":{"line":477,"type":"binary-expr","locations":[{"start":{"line":477,"column":13},"end":{"line":477,"column":24}},{"start":{"line":477,"column":28},"end":{"line":477,"column":43}}]}}}} \ No newline at end of file diff --git a/test/coverage/index.html b/test/coverage/index.html index 75a29ca..453a0bb 100644 --- a/test/coverage/index.html +++ b/test/coverage/index.html @@ -77,7 +77,7 @@

diff --git a/test/spec/BasicSpec.js b/test/spec/BasicSpec.js index 76541de..cd0e69f 100644 --- a/test/spec/BasicSpec.js +++ b/test/spec/BasicSpec.js @@ -629,6 +629,16 @@ }).not.toThrowError(); }); + it('should not break when a command is added by another command being called', function () { + var commands = { + 'Malcolm': function() { annyang.addCommands({'Zoe': function() {}}); } + }; + annyang.addCommands(commands); + expect(function() { + recognition.say('Malcolm'); + }).not.toThrowError(); + }); + }); describe("annyang.removeCommands", function() {