123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332
  1. /*
  2. Copyright (C) 2012 Ariya Hidayat <ariya.hidayat@gmail.com>
  3. Copyright (C) 2012 Joost-Wim Boekesteijn <joost-wim@boekesteijn.nl>
  4. Copyright (C) 2012 Yusuke Suzuki <utatane.tea@gmail.com>
  5. Copyright (C) 2012 Arpad Borsos <arpad.borsos@googlemail.com>
  6. Copyright (C) 2011 Ariya Hidayat <ariya.hidayat@gmail.com>
  7. Copyright (C) 2011 Yusuke Suzuki <utatane.tea@gmail.com>
  8. Copyright (C) 2011 Arpad Borsos <arpad.borsos@googlemail.com>
  9. Redistribution and use in source and binary forms, with or without
  10. modification, are permitted provided that the following conditions are met:
  11. * Redistributions of source code must retain the above copyright
  12. notice, this list of conditions and the following disclaimer.
  13. * Redistributions in binary form must reproduce the above copyright
  14. notice, this list of conditions and the following disclaimer in the
  15. documentation and/or other materials provided with the distribution.
  16. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
  17. AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  18. IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  19. ARE DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
  20. DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
  21. (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
  22. LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
  23. ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  24. (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
  25. THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  26. */
  27. var testFixture = {
  28. 'Primary Expression': {
  29. 'this\n': {
  30. type: 'Program',
  31. body: [{
  32. type: 'ExpressionStatement',
  33. expression: {
  34. type: 'ThisExpression',
  35. range: [0, 4],
  36. loc: {
  37. start: { line: 1, column: 0 },
  38. end: { line: 1, column: 4 }
  39. }
  40. },
  41. range: [0, 5],
  42. loc: {
  43. start: { line: 1, column: 0 },
  44. end: { line: 2, column: 0 }
  45. }
  46. }],
  47. range: [0, 5],
  48. loc: {
  49. start: { line: 1, column: 0 },
  50. end: { line: 2, column: 0 }
  51. },
  52. tokens: [{
  53. type: 'Keyword',
  54. value: 'this',
  55. range: [0, 4],
  56. loc: {
  57. start: { line: 1, column: 0 },
  58. end: { line: 1, column: 4 }
  59. }
  60. }]
  61. },
  62. 'null\n': {
  63. type: 'Program',
  64. body: [{
  65. type: 'ExpressionStatement',
  66. expression: {
  67. type: 'Literal',
  68. value: null,
  69. raw: 'null',
  70. range: [0, 4],
  71. loc: {
  72. start: { line: 1, column: 0 },
  73. end: { line: 1, column: 4 }
  74. }
  75. },
  76. range: [0, 5],
  77. loc: {
  78. start: { line: 1, column: 0 },
  79. end: { line: 2, column: 0 }
  80. }
  81. }],
  82. range: [0, 5],
  83. loc: {
  84. start: { line: 1, column: 0 },
  85. end: { line: 2, column: 0 }
  86. },
  87. tokens: [{
  88. type: 'Null',
  89. value: 'null',
  90. range: [0, 4],
  91. loc: {
  92. start: { line: 1, column: 0 },
  93. end: { line: 1, column: 4 }
  94. }
  95. }]
  96. },
  97. '\n 42\n\n': {
  98. type: 'Program',
  99. body: [{
  100. type: 'ExpressionStatement',
  101. expression: {
  102. type: 'Literal',
  103. value: 42,
  104. raw: '42',
  105. range: [5, 7],
  106. loc: {
  107. start: { line: 2, column: 4 },
  108. end: { line: 2, column: 6 }
  109. }
  110. },
  111. range: [5, 9],
  112. loc: {
  113. start: { line: 2, column: 4 },
  114. end: { line: 4, column: 0 }
  115. }
  116. }],
  117. range: [5, 9],
  118. loc: {
  119. start: { line: 2, column: 4 },
  120. end: { line: 4, column: 0 }
  121. },
  122. tokens: [{
  123. type: 'Numeric',
  124. value: '42',
  125. range: [5, 7],
  126. loc: {
  127. start: { line: 2, column: 4 },
  128. end: { line: 2, column: 6 }
  129. }
  130. }]
  131. },
  132. '(1 + 2 ) * 3': {
  133. type: 'ExpressionStatement',
  134. expression: {
  135. type: 'BinaryExpression',
  136. operator: '*',
  137. left: {
  138. type: 'BinaryExpression',
  139. operator: '+',
  140. left: {
  141. type: 'Literal',
  142. value: 1,
  143. raw: '1',
  144. range: [1, 2],
  145. loc: {
  146. start: { line: 1, column: 1 },
  147. end: { line: 1, column: 2 }
  148. }
  149. },
  150. right: {
  151. type: 'Literal',
  152. value: 2,
  153. raw: '2',
  154. range: [5, 6],
  155. loc: {
  156. start: { line: 1, column: 5 },
  157. end: { line: 1, column: 6 }
  158. }
  159. },
  160. range: [1, 6],
  161. loc: {
  162. start: { line: 1, column: 1 },
  163. end: { line: 1, column: 6 }
  164. }
  165. },
  166. right: {
  167. type: 'Literal',
  168. value: 3,
  169. raw: '3',
  170. range: [11, 12],
  171. loc: {
  172. start: { line: 1, column: 11 },
  173. end: { line: 1, column: 12 }
  174. }
  175. },
  176. range: [0, 12],
  177. loc: {
  178. start: { line: 1, column: 0 },
  179. end: { line: 1, column: 12 }
  180. }
  181. },
  182. range: [0, 12],
  183. loc: {
  184. start: { line: 1, column: 0 },
  185. end: { line: 1, column: 12 }
  186. }
  187. }
  188. },
  189. 'Grouping Operator': {
  190. '(1) + (2 ) + 3': {
  191. type: 'ExpressionStatement',
  192. expression: {
  193. type: 'BinaryExpression',
  194. operator: '+',
  195. left: {
  196. type: 'BinaryExpression',
  197. operator: '+',
  198. left: {
  199. type: 'Literal',
  200. value: 1,
  201. raw: '1',
  202. range: [1, 2],
  203. loc: {
  204. start: { line: 1, column: 1 },
  205. end: { line: 1, column: 2 }
  206. }
  207. },
  208. right: {
  209. type: 'Literal',
  210. value: 2,
  211. raw: '2',
  212. range: [7, 8],
  213. loc: {
  214. start: { line: 1, column: 7 },
  215. end: { line: 1, column: 8 }
  216. }
  217. },
  218. range: [0, 11],
  219. loc: {
  220. start: { line: 1, column: 0 },
  221. end: { line: 1, column: 11 }
  222. }
  223. },
  224. right: {
  225. type: 'Literal',
  226. value: 3,
  227. raw: '3',
  228. range: [14, 15],
  229. loc: {
  230. start: { line: 1, column: 14 },
  231. end: { line: 1, column: 15 }
  232. }
  233. },
  234. range: [0, 15],
  235. loc: {
  236. start: { line: 1, column: 0 },
  237. end: { line: 1, column: 15 }
  238. }
  239. },
  240. range: [0, 15],
  241. loc: {
  242. start: { line: 1, column: 0 },
  243. end: { line: 1, column: 15 }
  244. }
  245. },
  246. '4 + 5 << (6)': {
  247. type: 'ExpressionStatement',
  248. expression: {
  249. type: 'BinaryExpression',
  250. operator: '<<',
  251. left: {
  252. type: 'BinaryExpression',
  253. operator: '+',
  254. left: {
  255. type: 'Literal',
  256. value: 4,
  257. raw: '4',
  258. range: [0, 1],
  259. loc: {
  260. start: { line: 1, column: 0 },
  261. end: { line: 1, column: 1 }
  262. }
  263. },
  264. right: {
  265. type: 'Literal',
  266. value: 5,
  267. raw: '5',
  268. range: [4, 5],
  269. loc: {
  270. start: { line: 1, column: 4 },
  271. end: { line: 1, column: 5 }
  272. }
  273. },
  274. range: [0, 5],
  275. loc: {
  276. start: { line: 1, column: 0 },
  277. end: { line: 1, column: 5 }
  278. }
  279. },
  280. right: {
  281. type: 'Literal',
  282. value: 6,
  283. raw: '6',
  284. range: [10, 11],
  285. loc: {
  286. start: { line: 1, column: 10 },
  287. end: { line: 1, column: 11 }
  288. }
  289. },
  290. range: [0, 12],
  291. loc: {
  292. start: { line: 1, column: 0 },
  293. end: { line: 1, column: 12 }
  294. }
  295. },
  296. range: [0, 12],
  297. loc: {
  298. start: { line: 1, column: 0 },
  299. end: { line: 1, column: 12 }
  300. }
  301. }
  302. },
  303. 'Array Initializer': {
  304. 'x = []': {
  305. type: 'Program',
  306. body: [{
  307. type: 'ExpressionStatement',
  308. expression: {
  309. type: 'AssignmentExpression',
  310. operator: '=',
  311. left: {
  312. type: 'Identifier',
  313. name: 'x',
  314. range: [0, 1],
  315. loc: {
  316. start: { line: 1, column: 0 },
  317. end: { line: 1, column: 1 }
  318. }
  319. },
  320. right: {
  321. type: 'ArrayExpression',
  322. elements: [],
  323. range: [4, 6],
  324. loc: {
  325. start: { line: 1, column: 4 },
  326. end: { line: 1, column: 6 }
  327. }
  328. },
  329. range: [0, 6],
  330. loc: {
  331. start: { line: 1, column: 0 },
  332. end: { line: 1, column: 6 }
  333. }
  334. },
  335. range: [0, 6],
  336. loc: {
  337. start: { line: 1, column: 0 },
  338. end: { line: 1, column: 6 }
  339. }
  340. }],
  341. range: [0, 6],
  342. loc: {
  343. start: { line: 1, column: 0 },
  344. end: { line: 1, column: 6 }
  345. },
  346. tokens: [{
  347. type: 'Identifier',
  348. value: 'x',
  349. range: [0, 1],
  350. loc: {
  351. start: { line: 1, column: 0 },
  352. end: { line: 1, column: 1 }
  353. }
  354. }, {
  355. type: 'Punctuator',
  356. value: '=',
  357. range: [2, 3],
  358. loc: {
  359. start: { line: 1, column: 2 },
  360. end: { line: 1, column: 3 }
  361. }
  362. }, {
  363. type: 'Punctuator',
  364. value: '[',
  365. range: [4, 5],
  366. loc: {
  367. start: { line: 1, column: 4 },
  368. end: { line: 1, column: 5 }
  369. }
  370. }, {
  371. type: 'Punctuator',
  372. value: ']',
  373. range: [5, 6],
  374. loc: {
  375. start: { line: 1, column: 5 },
  376. end: { line: 1, column: 6 }
  377. }
  378. }]
  379. },
  380. 'x = [ ]': {
  381. type: 'ExpressionStatement',
  382. expression: {
  383. type: 'AssignmentExpression',
  384. operator: '=',
  385. left: {
  386. type: 'Identifier',
  387. name: 'x',
  388. range: [0, 1],
  389. loc: {
  390. start: { line: 1, column: 0 },
  391. end: { line: 1, column: 1 }
  392. }
  393. },
  394. right: {
  395. type: 'ArrayExpression',
  396. elements: [],
  397. range: [4, 7],
  398. loc: {
  399. start: { line: 1, column: 4 },
  400. end: { line: 1, column: 7 }
  401. }
  402. },
  403. range: [0, 7],
  404. loc: {
  405. start: { line: 1, column: 0 },
  406. end: { line: 1, column: 7 }
  407. }
  408. },
  409. range: [0, 7],
  410. loc: {
  411. start: { line: 1, column: 0 },
  412. end: { line: 1, column: 7 }
  413. }
  414. },
  415. 'x = [ 42 ]': {
  416. type: 'ExpressionStatement',
  417. expression: {
  418. type: 'AssignmentExpression',
  419. operator: '=',
  420. left: {
  421. type: 'Identifier',
  422. name: 'x',
  423. range: [0, 1],
  424. loc: {
  425. start: { line: 1, column: 0 },
  426. end: { line: 1, column: 1 }
  427. }
  428. },
  429. right: {
  430. type: 'ArrayExpression',
  431. elements: [{
  432. type: 'Literal',
  433. value: 42,
  434. raw: '42',
  435. range: [6, 8],
  436. loc: {
  437. start: { line: 1, column: 6 },
  438. end: { line: 1, column: 8 }
  439. }
  440. }],
  441. range: [4, 10],
  442. loc: {
  443. start: { line: 1, column: 4 },
  444. end: { line: 1, column: 10 }
  445. }
  446. },
  447. range: [0, 10],
  448. loc: {
  449. start: { line: 1, column: 0 },
  450. end: { line: 1, column: 10 }
  451. }
  452. },
  453. range: [0, 10],
  454. loc: {
  455. start: { line: 1, column: 0 },
  456. end: { line: 1, column: 10 }
  457. }
  458. },
  459. 'x = [ 42, ]': {
  460. type: 'ExpressionStatement',
  461. expression: {
  462. type: 'AssignmentExpression',
  463. operator: '=',
  464. left: {
  465. type: 'Identifier',
  466. name: 'x',
  467. range: [0, 1],
  468. loc: {
  469. start: { line: 1, column: 0 },
  470. end: { line: 1, column: 1 }
  471. }
  472. },
  473. right: {
  474. type: 'ArrayExpression',
  475. elements: [{
  476. type: 'Literal',
  477. value: 42,
  478. raw: '42',
  479. range: [6, 8],
  480. loc: {
  481. start: { line: 1, column: 6 },
  482. end: { line: 1, column: 8 }
  483. }
  484. }],
  485. range: [4, 11],
  486. loc: {
  487. start: { line: 1, column: 4 },
  488. end: { line: 1, column: 11 }
  489. }
  490. },
  491. range: [0, 11],
  492. loc: {
  493. start: { line: 1, column: 0 },
  494. end: { line: 1, column: 11 }
  495. }
  496. },
  497. range: [0, 11],
  498. loc: {
  499. start: { line: 1, column: 0 },
  500. end: { line: 1, column: 11 }
  501. }
  502. },
  503. 'x = [ ,, 42 ]': {
  504. type: 'ExpressionStatement',
  505. expression: {
  506. type: 'AssignmentExpression',
  507. operator: '=',
  508. left: {
  509. type: 'Identifier',
  510. name: 'x',
  511. range: [0, 1],
  512. loc: {
  513. start: { line: 1, column: 0 },
  514. end: { line: 1, column: 1 }
  515. }
  516. },
  517. right: {
  518. type: 'ArrayExpression',
  519. elements: [
  520. null,
  521. null,
  522. {
  523. type: 'Literal',
  524. value: 42,
  525. raw: '42',
  526. range: [9, 11],
  527. loc: {
  528. start: { line: 1, column: 9 },
  529. end: { line: 1, column: 11 }
  530. }
  531. }],
  532. range: [4, 13],
  533. loc: {
  534. start: { line: 1, column: 4 },
  535. end: { line: 1, column: 13 }
  536. }
  537. },
  538. range: [0, 13],
  539. loc: {
  540. start: { line: 1, column: 0 },
  541. end: { line: 1, column: 13 }
  542. }
  543. },
  544. range: [0, 13],
  545. loc: {
  546. start: { line: 1, column: 0 },
  547. end: { line: 1, column: 13 }
  548. }
  549. },
  550. 'x = [ 1, 2, 3, ]': {
  551. type: 'ExpressionStatement',
  552. expression: {
  553. type: 'AssignmentExpression',
  554. operator: '=',
  555. left: {
  556. type: 'Identifier',
  557. name: 'x',
  558. range: [0, 1],
  559. loc: {
  560. start: { line: 1, column: 0 },
  561. end: { line: 1, column: 1 }
  562. }
  563. },
  564. right: {
  565. type: 'ArrayExpression',
  566. elements: [{
  567. type: 'Literal',
  568. value: 1,
  569. raw: '1',
  570. range: [6, 7],
  571. loc: {
  572. start: { line: 1, column: 6 },
  573. end: { line: 1, column: 7 }
  574. }
  575. }, {
  576. type: 'Literal',
  577. value: 2,
  578. raw: '2',
  579. range: [9, 10],
  580. loc: {
  581. start: { line: 1, column: 9 },
  582. end: { line: 1, column: 10 }
  583. }
  584. }, {
  585. type: 'Literal',
  586. value: 3,
  587. raw: '3',
  588. range: [12, 13],
  589. loc: {
  590. start: { line: 1, column: 12 },
  591. end: { line: 1, column: 13 }
  592. }
  593. }],
  594. range: [4, 16],
  595. loc: {
  596. start: { line: 1, column: 4 },
  597. end: { line: 1, column: 16 }
  598. }
  599. },
  600. range: [0, 16],
  601. loc: {
  602. start: { line: 1, column: 0 },
  603. end: { line: 1, column: 16 }
  604. }
  605. },
  606. range: [0, 16],
  607. loc: {
  608. start: { line: 1, column: 0 },
  609. end: { line: 1, column: 16 }
  610. }
  611. },
  612. 'x = [ 1, 2,, 3, ]': {
  613. type: 'ExpressionStatement',
  614. expression: {
  615. type: 'AssignmentExpression',
  616. operator: '=',
  617. left: {
  618. type: 'Identifier',
  619. name: 'x',
  620. range: [0, 1],
  621. loc: {
  622. start: { line: 1, column: 0 },
  623. end: { line: 1, column: 1 }
  624. }
  625. },
  626. right: {
  627. type: 'ArrayExpression',
  628. elements: [{
  629. type: 'Literal',
  630. value: 1,
  631. raw: '1',
  632. range: [6, 7],
  633. loc: {
  634. start: { line: 1, column: 6 },
  635. end: { line: 1, column: 7 }
  636. }
  637. }, {
  638. type: 'Literal',
  639. value: 2,
  640. raw: '2',
  641. range: [9, 10],
  642. loc: {
  643. start: { line: 1, column: 9 },
  644. end: { line: 1, column: 10 }
  645. }
  646. }, null, {
  647. type: 'Literal',
  648. value: 3,
  649. raw: '3',
  650. range: [13, 14],
  651. loc: {
  652. start: { line: 1, column: 13 },
  653. end: { line: 1, column: 14 }
  654. }
  655. }],
  656. range: [4, 17],
  657. loc: {
  658. start: { line: 1, column: 4 },
  659. end: { line: 1, column: 17 }
  660. }
  661. },
  662. range: [0, 17],
  663. loc: {
  664. start: { line: 1, column: 0 },
  665. end: { line: 1, column: 17 }
  666. }
  667. },
  668. range: [0, 17],
  669. loc: {
  670. start: { line: 1, column: 0 },
  671. end: { line: 1, column: 17 }
  672. }
  673. },
  674. 'x = [ "finally", "for" ]': {
  675. type: 'ExpressionStatement',
  676. expression: {
  677. type: 'AssignmentExpression',
  678. operator: '=',
  679. left: {
  680. type: 'Identifier',
  681. name: 'x',
  682. range: [0, 1],
  683. loc: {
  684. start: { line: 1, column: 0 },
  685. end: { line: 1, column: 1 }
  686. }
  687. },
  688. right: {
  689. type: 'ArrayExpression',
  690. elements: [{
  691. type: 'Literal',
  692. value: 'finally',
  693. raw: '"finally"',
  694. range: [6, 15],
  695. loc: {
  696. start: { line: 1, column: 6 },
  697. end: { line: 1, column: 15 }
  698. }
  699. }, {
  700. type: 'Literal',
  701. value: 'for',
  702. raw: '"for"',
  703. range: [17, 22],
  704. loc: {
  705. start: { line: 1, column: 17 },
  706. end: { line: 1, column: 22 }
  707. }
  708. }],
  709. range: [4, 24],
  710. loc: {
  711. start: { line: 1, column: 4 },
  712. end: { line: 1, column: 24 }
  713. }
  714. },
  715. range: [0, 24],
  716. loc: {
  717. start: { line: 1, column: 0 },
  718. end: { line: 1, column: 24 }
  719. }
  720. },
  721. range: [0, 24],
  722. loc: {
  723. start: { line: 1, column: 0 },
  724. end: { line: 1, column: 24 }
  725. }
  726. },
  727. '日本語 = []': {
  728. type: 'ExpressionStatement',
  729. expression: {
  730. type: 'AssignmentExpression',
  731. operator: '=',
  732. left: {
  733. type: 'Identifier',
  734. name: '日本語',
  735. range: [0, 3],
  736. loc: {
  737. start: { line: 1, column: 0 },
  738. end: { line: 1, column: 3 }
  739. }
  740. },
  741. right: {
  742. type: 'ArrayExpression',
  743. elements: [],
  744. range: [6, 8],
  745. loc: {
  746. start: { line: 1, column: 6 },
  747. end: { line: 1, column: 8 }
  748. }
  749. },
  750. range: [0, 8],
  751. loc: {
  752. start: { line: 1, column: 0 },
  753. end: { line: 1, column: 8 }
  754. }
  755. },
  756. range: [0, 8],
  757. loc: {
  758. start: { line: 1, column: 0 },
  759. end: { line: 1, column: 8 }
  760. }
  761. },
  762. 'T\u203F = []': {
  763. type: 'ExpressionStatement',
  764. expression: {
  765. type: 'AssignmentExpression',
  766. operator: '=',
  767. left: {
  768. type: 'Identifier',
  769. name: 'T\u203F',
  770. range: [0, 2],
  771. loc: {
  772. start: { line: 1, column: 0 },
  773. end: { line: 1, column: 2 }
  774. }
  775. },
  776. right: {
  777. type: 'ArrayExpression',
  778. elements: [],
  779. range: [5, 7],
  780. loc: {
  781. start: { line: 1, column: 5 },
  782. end: { line: 1, column: 7 }
  783. }
  784. },
  785. range: [0, 7],
  786. loc: {
  787. start: { line: 1, column: 0 },
  788. end: { line: 1, column: 7 }
  789. }
  790. },
  791. range: [0, 7],
  792. loc: {
  793. start: { line: 1, column: 0 },
  794. end: { line: 1, column: 7 }
  795. }
  796. },
  797. 'T\u200C = []': {
  798. type: 'ExpressionStatement',
  799. expression: {
  800. type: 'AssignmentExpression',
  801. operator: '=',
  802. left: {
  803. type: 'Identifier',
  804. name: 'T\u200C',
  805. range: [0, 2],
  806. loc: {
  807. start: { line: 1, column: 0 },
  808. end: { line: 1, column: 2 }
  809. }
  810. },
  811. right: {
  812. type: 'ArrayExpression',
  813. elements: [],
  814. range: [5, 7],
  815. loc: {
  816. start: { line: 1, column: 5 },
  817. end: { line: 1, column: 7 }
  818. }
  819. },
  820. range: [0, 7],
  821. loc: {
  822. start: { line: 1, column: 0 },
  823. end: { line: 1, column: 7 }
  824. }
  825. },
  826. range: [0, 7],
  827. loc: {
  828. start: { line: 1, column: 0 },
  829. end: { line: 1, column: 7 }
  830. }
  831. },
  832. 'T\u200D = []': {
  833. type: 'ExpressionStatement',
  834. expression: {
  835. type: 'AssignmentExpression',
  836. operator: '=',
  837. left: {
  838. type: 'Identifier',
  839. name: 'T\u200D',
  840. range: [0, 2],
  841. loc: {
  842. start: { line: 1, column: 0 },
  843. end: { line: 1, column: 2 }
  844. }
  845. },
  846. right: {
  847. type: 'ArrayExpression',
  848. elements: [],
  849. range: [5, 7],
  850. loc: {
  851. start: { line: 1, column: 5 },
  852. end: { line: 1, column: 7 }
  853. }
  854. },
  855. range: [0, 7],
  856. loc: {
  857. start: { line: 1, column: 0 },
  858. end: { line: 1, column: 7 }
  859. }
  860. },
  861. range: [0, 7],
  862. loc: {
  863. start: { line: 1, column: 0 },
  864. end: { line: 1, column: 7 }
  865. }
  866. },
  867. '\u2163\u2161 = []': {
  868. type: 'ExpressionStatement',
  869. expression: {
  870. type: 'AssignmentExpression',
  871. operator: '=',
  872. left: {
  873. type: 'Identifier',
  874. name: '\u2163\u2161',
  875. range: [0, 2],
  876. loc: {
  877. start: { line: 1, column: 0 },
  878. end: { line: 1, column: 2 }
  879. }
  880. },
  881. right: {
  882. type: 'ArrayExpression',
  883. elements: [],
  884. range: [5, 7],
  885. loc: {
  886. start: { line: 1, column: 5 },
  887. end: { line: 1, column: 7 }
  888. }
  889. },
  890. range: [0, 7],
  891. loc: {
  892. start: { line: 1, column: 0 },
  893. end: { line: 1, column: 7 }
  894. }
  895. },
  896. range: [0, 7],
  897. loc: {
  898. start: { line: 1, column: 0 },
  899. end: { line: 1, column: 7 }
  900. }
  901. },
  902. '\u2163\u2161\u200A=\u2009[]': {
  903. type: 'ExpressionStatement',
  904. expression: {
  905. type: 'AssignmentExpression',
  906. operator: '=',
  907. left: {
  908. type: 'Identifier',
  909. name: '\u2163\u2161',
  910. range: [0, 2],
  911. loc: {
  912. start: { line: 1, column: 0 },
  913. end: { line: 1, column: 2 }
  914. }
  915. },
  916. right: {
  917. type: 'ArrayExpression',
  918. elements: [],
  919. range: [5, 7],
  920. loc: {
  921. start: { line: 1, column: 5 },
  922. end: { line: 1, column: 7 }
  923. }
  924. },
  925. range: [0, 7],
  926. loc: {
  927. start: { line: 1, column: 0 },
  928. end: { line: 1, column: 7 }
  929. }
  930. },
  931. range: [0, 7],
  932. loc: {
  933. start: { line: 1, column: 0 },
  934. end: { line: 1, column: 7 }
  935. }
  936. },
  937. '[",", "second"]': {
  938. type: 'ExpressionStatement',
  939. expression: {
  940. type: 'ArrayExpression',
  941. elements: [{
  942. type: 'Literal',
  943. value: ',',
  944. raw: '","',
  945. range: [1, 4],
  946. loc: {
  947. start: { line: 1, column: 1 },
  948. end: { line: 1, column: 4 }
  949. }
  950. }, {
  951. type: 'Literal',
  952. value: 'second',
  953. raw: '"second"',
  954. range: [6, 14],
  955. loc: {
  956. start: { line: 1, column: 6 },
  957. end: { line: 1, column: 14 }
  958. }
  959. }],
  960. range: [0, 15],
  961. loc: {
  962. start: { line: 1, column: 0 },
  963. end: { line: 1, column: 15 }
  964. }
  965. },
  966. range: [0, 15],
  967. loc: {
  968. start: { line: 1, column: 0 },
  969. end: { line: 1, column: 15 }
  970. }
  971. },
  972. '["notAToken", "if"]': {
  973. type: 'ExpressionStatement',
  974. expression: {
  975. type: 'ArrayExpression',
  976. elements: [{
  977. type: 'Literal',
  978. value: 'notAToken',
  979. raw: '"notAToken"',
  980. range: [1, 12],
  981. loc: {
  982. start: { line: 1, column: 1 },
  983. end: { line: 1, column: 12 }
  984. }
  985. }, {
  986. type: 'Literal',
  987. value: 'if',
  988. raw: '"if"',
  989. range: [14, 18],
  990. loc: {
  991. start: { line: 1, column: 14 },
  992. end: { line: 1, column: 18 }
  993. }
  994. }],
  995. range: [0, 19],
  996. loc: {
  997. start: { line: 1, column: 0 },
  998. end: { line: 1, column: 19 }
  999. }
  1000. },
  1001. range: [0, 19],
  1002. loc: {
  1003. start: { line: 1, column: 0 },
  1004. end: { line: 1, column: 19 }
  1005. }
  1006. }
  1007. },
  1008. 'Object Initializer': {
  1009. 'x = {}': {
  1010. type: 'ExpressionStatement',
  1011. expression: {
  1012. type: 'AssignmentExpression',
  1013. operator: '=',
  1014. left: {
  1015. type: 'Identifier',
  1016. name: 'x',
  1017. range: [0, 1],
  1018. loc: {
  1019. start: { line: 1, column: 0 },
  1020. end: { line: 1, column: 1 }
  1021. }
  1022. },
  1023. right: {
  1024. type: 'ObjectExpression',
  1025. properties: [],
  1026. range: [4, 6],
  1027. loc: {
  1028. start: { line: 1, column: 4 },
  1029. end: { line: 1, column: 6 }
  1030. }
  1031. },
  1032. range: [0, 6],
  1033. loc: {
  1034. start: { line: 1, column: 0 },
  1035. end: { line: 1, column: 6 }
  1036. }
  1037. },
  1038. range: [0, 6],
  1039. loc: {
  1040. start: { line: 1, column: 0 },
  1041. end: { line: 1, column: 6 }
  1042. }
  1043. },
  1044. 'x = { }': {
  1045. type: 'ExpressionStatement',
  1046. expression: {
  1047. type: 'AssignmentExpression',
  1048. operator: '=',
  1049. left: {
  1050. type: 'Identifier',
  1051. name: 'x',
  1052. range: [0, 1],
  1053. loc: {
  1054. start: { line: 1, column: 0 },
  1055. end: { line: 1, column: 1 }
  1056. }
  1057. },
  1058. right: {
  1059. type: 'ObjectExpression',
  1060. properties: [],
  1061. range: [4, 7],
  1062. loc: {
  1063. start: { line: 1, column: 4 },
  1064. end: { line: 1, column: 7 }
  1065. }
  1066. },
  1067. range: [0, 7],
  1068. loc: {
  1069. start: { line: 1, column: 0 },
  1070. end: { line: 1, column: 7 }
  1071. }
  1072. },
  1073. range: [0, 7],
  1074. loc: {
  1075. start: { line: 1, column: 0 },
  1076. end: { line: 1, column: 7 }
  1077. }
  1078. },
  1079. 'x = { answer: 42 }': {
  1080. type: 'ExpressionStatement',
  1081. expression: {
  1082. type: 'AssignmentExpression',
  1083. operator: '=',
  1084. left: {
  1085. type: 'Identifier',
  1086. name: 'x',
  1087. range: [0, 1],
  1088. loc: {
  1089. start: { line: 1, column: 0 },
  1090. end: { line: 1, column: 1 }
  1091. }
  1092. },
  1093. right: {
  1094. type: 'ObjectExpression',
  1095. properties: [{
  1096. type: 'Property',
  1097. key: {
  1098. type: 'Identifier',
  1099. name: 'answer',
  1100. range: [6, 12],
  1101. loc: {
  1102. start: { line: 1, column: 6 },
  1103. end: { line: 1, column: 12 }
  1104. }
  1105. },
  1106. value: {
  1107. type: 'Literal',
  1108. value: 42,
  1109. raw: '42',
  1110. range: [14, 16],
  1111. loc: {
  1112. start: { line: 1, column: 14 },
  1113. end: { line: 1, column: 16 }
  1114. }
  1115. },
  1116. kind: 'init',
  1117. method: false,
  1118. shorthand: false,
  1119. range: [6, 16],
  1120. loc: {
  1121. start: { line: 1, column: 6 },
  1122. end: { line: 1, column: 16 }
  1123. }
  1124. }],
  1125. range: [4, 18],
  1126. loc: {
  1127. start: { line: 1, column: 4 },
  1128. end: { line: 1, column: 18 }
  1129. }
  1130. },
  1131. range: [0, 18],
  1132. loc: {
  1133. start: { line: 1, column: 0 },
  1134. end: { line: 1, column: 18 }
  1135. }
  1136. },
  1137. range: [0, 18],
  1138. loc: {
  1139. start: { line: 1, column: 0 },
  1140. end: { line: 1, column: 18 }
  1141. }
  1142. },
  1143. 'x = { if: 42 }': {
  1144. type: 'ExpressionStatement',
  1145. expression: {
  1146. type: 'AssignmentExpression',
  1147. operator: '=',
  1148. left: {
  1149. type: 'Identifier',
  1150. name: 'x',
  1151. range: [0, 1],
  1152. loc: {
  1153. start: { line: 1, column: 0 },
  1154. end: { line: 1, column: 1 }
  1155. }
  1156. },
  1157. right: {
  1158. type: 'ObjectExpression',
  1159. properties: [{
  1160. type: 'Property',
  1161. key: {
  1162. type: 'Identifier',
  1163. name: 'if',
  1164. range: [6, 8],
  1165. loc: {
  1166. start: { line: 1, column: 6 },
  1167. end: { line: 1, column: 8 }
  1168. }
  1169. },
  1170. value: {
  1171. type: 'Literal',
  1172. value: 42,
  1173. raw: '42',
  1174. range: [10, 12],
  1175. loc: {
  1176. start: { line: 1, column: 10 },
  1177. end: { line: 1, column: 12 }
  1178. }
  1179. },
  1180. kind: 'init',
  1181. method: false,
  1182. shorthand: false,
  1183. range: [6, 12],
  1184. loc: {
  1185. start: { line: 1, column: 6 },
  1186. end: { line: 1, column: 12 }
  1187. }
  1188. }],
  1189. range: [4, 14],
  1190. loc: {
  1191. start: { line: 1, column: 4 },
  1192. end: { line: 1, column: 14 }
  1193. }
  1194. },
  1195. range: [0, 14],
  1196. loc: {
  1197. start: { line: 1, column: 0 },
  1198. end: { line: 1, column: 14 }
  1199. }
  1200. },
  1201. range: [0, 14],
  1202. loc: {
  1203. start: { line: 1, column: 0 },
  1204. end: { line: 1, column: 14 }
  1205. }
  1206. },
  1207. 'x = { true: 42 }': {
  1208. type: 'ExpressionStatement',
  1209. expression: {
  1210. type: 'AssignmentExpression',
  1211. operator: '=',
  1212. left: {
  1213. type: 'Identifier',
  1214. name: 'x',
  1215. range: [0, 1],
  1216. loc: {
  1217. start: { line: 1, column: 0 },
  1218. end: { line: 1, column: 1 }
  1219. }
  1220. },
  1221. right: {
  1222. type: 'ObjectExpression',
  1223. properties: [{
  1224. type: 'Property',
  1225. key: {
  1226. type: 'Identifier',
  1227. name: 'true',
  1228. range: [6, 10],
  1229. loc: {
  1230. start: { line: 1, column: 6 },
  1231. end: { line: 1, column: 10 }
  1232. }
  1233. },
  1234. value: {
  1235. type: 'Literal',
  1236. value: 42,
  1237. raw: '42',
  1238. range: [12, 14],
  1239. loc: {
  1240. start: { line: 1, column: 12 },
  1241. end: { line: 1, column: 14 }
  1242. }
  1243. },
  1244. kind: 'init',
  1245. method: false,
  1246. shorthand: false,
  1247. range: [6, 14],
  1248. loc: {
  1249. start: { line: 1, column: 6 },
  1250. end: { line: 1, column: 14 }
  1251. }
  1252. }],
  1253. range: [4, 16],
  1254. loc: {
  1255. start: { line: 1, column: 4 },
  1256. end: { line: 1, column: 16 }
  1257. }
  1258. },
  1259. range: [0, 16],
  1260. loc: {
  1261. start: { line: 1, column: 0 },
  1262. end: { line: 1, column: 16 }
  1263. }
  1264. },
  1265. range: [0, 16],
  1266. loc: {
  1267. start: { line: 1, column: 0 },
  1268. end: { line: 1, column: 16 }
  1269. }
  1270. },
  1271. 'x = { false: 42 }': {
  1272. type: 'ExpressionStatement',
  1273. expression: {
  1274. type: 'AssignmentExpression',
  1275. operator: '=',
  1276. left: {
  1277. type: 'Identifier',
  1278. name: 'x',
  1279. range: [0, 1],
  1280. loc: {
  1281. start: { line: 1, column: 0 },
  1282. end: { line: 1, column: 1 }
  1283. }
  1284. },
  1285. right: {
  1286. type: 'ObjectExpression',
  1287. properties: [{
  1288. type: 'Property',
  1289. key: {
  1290. type: 'Identifier',
  1291. name: 'false',
  1292. range: [6, 11],
  1293. loc: {
  1294. start: { line: 1, column: 6 },
  1295. end: { line: 1, column: 11 }
  1296. }
  1297. },
  1298. value: {
  1299. type: 'Literal',
  1300. value: 42,
  1301. raw: '42',
  1302. range: [13, 15],
  1303. loc: {
  1304. start: { line: 1, column: 13 },
  1305. end: { line: 1, column: 15 }
  1306. }
  1307. },
  1308. kind: 'init',
  1309. method: false,
  1310. shorthand: false,
  1311. range: [6, 15],
  1312. loc: {
  1313. start: { line: 1, column: 6 },
  1314. end: { line: 1, column: 15 }
  1315. }
  1316. }],
  1317. range: [4, 17],
  1318. loc: {
  1319. start: { line: 1, column: 4 },
  1320. end: { line: 1, column: 17 }
  1321. }
  1322. },
  1323. range: [0, 17],
  1324. loc: {
  1325. start: { line: 1, column: 0 },
  1326. end: { line: 1, column: 17 }
  1327. }
  1328. },
  1329. range: [0, 17],
  1330. loc: {
  1331. start: { line: 1, column: 0 },
  1332. end: { line: 1, column: 17 }
  1333. }
  1334. },
  1335. 'x = { null: 42 }': {
  1336. type: 'ExpressionStatement',
  1337. expression: {
  1338. type: 'AssignmentExpression',
  1339. operator: '=',
  1340. left: {
  1341. type: 'Identifier',
  1342. name: 'x',
  1343. range: [0, 1],
  1344. loc: {
  1345. start: { line: 1, column: 0 },
  1346. end: { line: 1, column: 1 }
  1347. }
  1348. },
  1349. right: {
  1350. type: 'ObjectExpression',
  1351. properties: [{
  1352. type: 'Property',
  1353. key: {
  1354. type: 'Identifier',
  1355. name: 'null',
  1356. range: [6, 10],
  1357. loc: {
  1358. start: { line: 1, column: 6 },
  1359. end: { line: 1, column: 10 }
  1360. }
  1361. },
  1362. value: {
  1363. type: 'Literal',
  1364. value: 42,
  1365. raw: '42',
  1366. range: [12, 14],
  1367. loc: {
  1368. start: { line: 1, column: 12 },
  1369. end: { line: 1, column: 14 }
  1370. }
  1371. },
  1372. kind: 'init',
  1373. method: false,
  1374. shorthand: false,
  1375. range: [6, 14],
  1376. loc: {
  1377. start: { line: 1, column: 6 },
  1378. end: { line: 1, column: 14 }
  1379. }
  1380. }],
  1381. range: [4, 16],
  1382. loc: {
  1383. start: { line: 1, column: 4 },
  1384. end: { line: 1, column: 16 }
  1385. }
  1386. },
  1387. range: [0, 16],
  1388. loc: {
  1389. start: { line: 1, column: 0 },
  1390. end: { line: 1, column: 16 }
  1391. }
  1392. },
  1393. range: [0, 16],
  1394. loc: {
  1395. start: { line: 1, column: 0 },
  1396. end: { line: 1, column: 16 }
  1397. }
  1398. },
  1399. 'x = { "answer": 42 }': {
  1400. type: 'ExpressionStatement',
  1401. expression: {
  1402. type: 'AssignmentExpression',
  1403. operator: '=',
  1404. left: {
  1405. type: 'Identifier',
  1406. name: 'x',
  1407. range: [0, 1],
  1408. loc: {
  1409. start: { line: 1, column: 0 },
  1410. end: { line: 1, column: 1 }
  1411. }
  1412. },
  1413. right: {
  1414. type: 'ObjectExpression',
  1415. properties: [{
  1416. type: 'Property',
  1417. key: {
  1418. type: 'Literal',
  1419. value: 'answer',
  1420. raw: '"answer"',
  1421. range: [6, 14],
  1422. loc: {
  1423. start: { line: 1, column: 6 },
  1424. end: { line: 1, column: 14 }
  1425. }
  1426. },
  1427. value: {
  1428. type: 'Literal',
  1429. value: 42,
  1430. raw: '42',
  1431. range: [16, 18],
  1432. loc: {
  1433. start: { line: 1, column: 16 },
  1434. end: { line: 1, column: 18 }
  1435. }
  1436. },
  1437. kind: 'init',
  1438. method: false,
  1439. shorthand: false,
  1440. range: [6, 18],
  1441. loc: {
  1442. start: { line: 1, column: 6 },
  1443. end: { line: 1, column: 18 }
  1444. }
  1445. }],
  1446. range: [4, 20],
  1447. loc: {
  1448. start: { line: 1, column: 4 },
  1449. end: { line: 1, column: 20 }
  1450. }
  1451. },
  1452. range: [0, 20],
  1453. loc: {
  1454. start: { line: 1, column: 0 },
  1455. end: { line: 1, column: 20 }
  1456. }
  1457. },
  1458. range: [0, 20],
  1459. loc: {
  1460. start: { line: 1, column: 0 },
  1461. end: { line: 1, column: 20 }
  1462. }
  1463. },
  1464. 'x = { x: 1, x: 2 }': {
  1465. type: 'ExpressionStatement',
  1466. expression: {
  1467. type: 'AssignmentExpression',
  1468. operator: '=',
  1469. left: {
  1470. type: 'Identifier',
  1471. name: 'x',
  1472. range: [0, 1],
  1473. loc: {
  1474. start: { line: 1, column: 0 },
  1475. end: { line: 1, column: 1 }
  1476. }
  1477. },
  1478. right: {
  1479. type: 'ObjectExpression',
  1480. properties: [
  1481. {
  1482. type: 'Property',
  1483. key: {
  1484. type: 'Identifier',
  1485. name: 'x',
  1486. range: [6, 7],
  1487. loc: {
  1488. start: { line: 1, column: 6 },
  1489. end: { line: 1, column: 7 }
  1490. }
  1491. },
  1492. value: {
  1493. type: 'Literal',
  1494. value: 1,
  1495. raw: '1',
  1496. range: [9, 10],
  1497. loc: {
  1498. start: { line: 1, column: 9 },
  1499. end: { line: 1, column: 10 }
  1500. }
  1501. },
  1502. kind: 'init',
  1503. method: false,
  1504. shorthand: false,
  1505. range: [6, 10],
  1506. loc: {
  1507. start: { line: 1, column: 6 },
  1508. end: { line: 1, column: 10 }
  1509. }
  1510. },
  1511. {
  1512. type: 'Property',
  1513. key: {
  1514. type: 'Identifier',
  1515. name: 'x',
  1516. range: [12, 13],
  1517. loc: {
  1518. start: { line: 1, column: 12 },
  1519. end: { line: 1, column: 13 }
  1520. }
  1521. },
  1522. value: {
  1523. type: 'Literal',
  1524. value: 2,
  1525. raw: '2',
  1526. range: [15, 16],
  1527. loc: {
  1528. start: { line: 1, column: 15 },
  1529. end: { line: 1, column: 16 }
  1530. }
  1531. },
  1532. kind: 'init',
  1533. method: false,
  1534. shorthand: false,
  1535. range: [12, 16],
  1536. loc: {
  1537. start: { line: 1, column: 12 },
  1538. end: { line: 1, column: 16 }
  1539. }
  1540. }
  1541. ],
  1542. range: [4, 18],
  1543. loc: {
  1544. start: { line: 1, column: 4 },
  1545. end: { line: 1, column: 18 }
  1546. }
  1547. },
  1548. range: [0, 18],
  1549. loc: {
  1550. start: { line: 1, column: 0 },
  1551. end: { line: 1, column: 18 }
  1552. }
  1553. },
  1554. range: [0, 18],
  1555. loc: {
  1556. start: { line: 1, column: 0 },
  1557. end: { line: 1, column: 18 }
  1558. }
  1559. },
  1560. 'x = { get width() { return m_width } }': {
  1561. type: 'ExpressionStatement',
  1562. expression: {
  1563. type: 'AssignmentExpression',
  1564. operator: '=',
  1565. left: {
  1566. type: 'Identifier',
  1567. name: 'x',
  1568. range: [0, 1],
  1569. loc: {
  1570. start: { line: 1, column: 0 },
  1571. end: { line: 1, column: 1 }
  1572. }
  1573. },
  1574. right: {
  1575. type: 'ObjectExpression',
  1576. properties: [{
  1577. type: 'Property',
  1578. key: {
  1579. type: 'Identifier',
  1580. name: 'width',
  1581. range: [10, 15],
  1582. loc: {
  1583. start: { line: 1, column: 10 },
  1584. end: { line: 1, column: 15 }
  1585. }
  1586. },
  1587. value: {
  1588. type: 'FunctionExpression',
  1589. id: null,
  1590. params: [],
  1591. defaults: [],
  1592. body: {
  1593. type: 'BlockStatement',
  1594. body: [{
  1595. type: 'ReturnStatement',
  1596. argument: {
  1597. type: 'Identifier',
  1598. name: 'm_width',
  1599. range: [27, 34],
  1600. loc: {
  1601. start: { line: 1, column: 27 },
  1602. end: { line: 1, column: 34 }
  1603. }
  1604. },
  1605. range: [20, 35],
  1606. loc: {
  1607. start: { line: 1, column: 20 },
  1608. end: { line: 1, column: 35 }
  1609. }
  1610. }],
  1611. range: [18, 36],
  1612. loc: {
  1613. start: { line: 1, column: 18 },
  1614. end: { line: 1, column: 36 }
  1615. }
  1616. },
  1617. rest: null,
  1618. generator: false,
  1619. expression: false,
  1620. range: [18, 36],
  1621. loc: {
  1622. start: { line: 1, column: 18 },
  1623. end: { line: 1, column: 36 }
  1624. }
  1625. },
  1626. kind: 'get',
  1627. method: false,
  1628. shorthand: false,
  1629. range: [6, 36],
  1630. loc: {
  1631. start: { line: 1, column: 6 },
  1632. end: { line: 1, column: 36 }
  1633. }
  1634. }],
  1635. range: [4, 38],
  1636. loc: {
  1637. start: { line: 1, column: 4 },
  1638. end: { line: 1, column: 38 }
  1639. }
  1640. },
  1641. range: [0, 38],
  1642. loc: {
  1643. start: { line: 1, column: 0 },
  1644. end: { line: 1, column: 38 }
  1645. }
  1646. },
  1647. range: [0, 38],
  1648. loc: {
  1649. start: { line: 1, column: 0 },
  1650. end: { line: 1, column: 38 }
  1651. }
  1652. },
  1653. 'x = { get undef() {} }': {
  1654. type: 'ExpressionStatement',
  1655. expression: {
  1656. type: 'AssignmentExpression',
  1657. operator: '=',
  1658. left: {
  1659. type: 'Identifier',
  1660. name: 'x',
  1661. range: [0, 1],
  1662. loc: {
  1663. start: { line: 1, column: 0 },
  1664. end: { line: 1, column: 1 }
  1665. }
  1666. },
  1667. right: {
  1668. type: 'ObjectExpression',
  1669. properties: [{
  1670. type: 'Property',
  1671. key: {
  1672. type: 'Identifier',
  1673. name: 'undef',
  1674. range: [10, 15],
  1675. loc: {
  1676. start: { line: 1, column: 10 },
  1677. end: { line: 1, column: 15 }
  1678. }
  1679. },
  1680. value: {
  1681. type: 'FunctionExpression',
  1682. id: null,
  1683. params: [],
  1684. defaults: [],
  1685. body: {
  1686. type: 'BlockStatement',
  1687. body: [],
  1688. range: [18, 20],
  1689. loc: {
  1690. start: { line: 1, column: 18 },
  1691. end: { line: 1, column: 20 }
  1692. }
  1693. },
  1694. rest: null,
  1695. generator: false,
  1696. expression: false,
  1697. range: [18, 20],
  1698. loc: {
  1699. start: { line: 1, column: 18 },
  1700. end: { line: 1, column: 20 }
  1701. }
  1702. },
  1703. kind: 'get',
  1704. method: false,
  1705. shorthand: false,
  1706. range: [6, 20],
  1707. loc: {
  1708. start: { line: 1, column: 6 },
  1709. end: { line: 1, column: 20 }
  1710. }
  1711. }],
  1712. range: [4, 22],
  1713. loc: {
  1714. start: { line: 1, column: 4 },
  1715. end: { line: 1, column: 22 }
  1716. }
  1717. },
  1718. range: [0, 22],
  1719. loc: {
  1720. start: { line: 1, column: 0 },
  1721. end: { line: 1, column: 22 }
  1722. }
  1723. },
  1724. range: [0, 22],
  1725. loc: {
  1726. start: { line: 1, column: 0 },
  1727. end: { line: 1, column: 22 }
  1728. }
  1729. },
  1730. 'x = { get if() {} }': {
  1731. type: 'ExpressionStatement',
  1732. expression: {
  1733. type: 'AssignmentExpression',
  1734. operator: '=',
  1735. left: {
  1736. type: 'Identifier',
  1737. name: 'x',
  1738. range: [0, 1],
  1739. loc: {
  1740. start: { line: 1, column: 0 },
  1741. end: { line: 1, column: 1 }
  1742. }
  1743. },
  1744. right: {
  1745. type: 'ObjectExpression',
  1746. properties: [{
  1747. type: 'Property',
  1748. key: {
  1749. type: 'Identifier',
  1750. name: 'if',
  1751. range: [10, 12],
  1752. loc: {
  1753. start: { line: 1, column: 10 },
  1754. end: { line: 1, column: 12 }
  1755. }
  1756. },
  1757. value: {
  1758. type: 'FunctionExpression',
  1759. id: null,
  1760. params: [],
  1761. defaults: [],
  1762. body: {
  1763. type: 'BlockStatement',
  1764. body: [],
  1765. range: [15, 17],
  1766. loc: {
  1767. start: { line: 1, column: 15 },
  1768. end: { line: 1, column: 17 }
  1769. }
  1770. },
  1771. rest: null,
  1772. generator: false,
  1773. expression: false,
  1774. range: [15, 17],
  1775. loc: {
  1776. start: { line: 1, column: 15 },
  1777. end: { line: 1, column: 17 }
  1778. }
  1779. },
  1780. kind: 'get',
  1781. method: false,
  1782. shorthand: false,
  1783. range: [6, 17],
  1784. loc: {
  1785. start: { line: 1, column: 6 },
  1786. end: { line: 1, column: 17 }
  1787. }
  1788. }],
  1789. range: [4, 19],
  1790. loc: {
  1791. start: { line: 1, column: 4 },
  1792. end: { line: 1, column: 19 }
  1793. }
  1794. },
  1795. range: [0, 19],
  1796. loc: {
  1797. start: { line: 1, column: 0 },
  1798. end: { line: 1, column: 19 }
  1799. }
  1800. },
  1801. range: [0, 19],
  1802. loc: {
  1803. start: { line: 1, column: 0 },
  1804. end: { line: 1, column: 19 }
  1805. }
  1806. },
  1807. 'x = { get true() {} }': {
  1808. type: 'ExpressionStatement',
  1809. expression: {
  1810. type: 'AssignmentExpression',
  1811. operator: '=',
  1812. left: {
  1813. type: 'Identifier',
  1814. name: 'x',
  1815. range: [0, 1],
  1816. loc: {
  1817. start: { line: 1, column: 0 },
  1818. end: { line: 1, column: 1 }
  1819. }
  1820. },
  1821. right: {
  1822. type: 'ObjectExpression',
  1823. properties: [{
  1824. type: 'Property',
  1825. key: {
  1826. type: 'Identifier',
  1827. name: 'true',
  1828. range: [10, 14],
  1829. loc: {
  1830. start: { line: 1, column: 10 },
  1831. end: { line: 1, column: 14 }
  1832. }
  1833. },
  1834. value: {
  1835. type: 'FunctionExpression',
  1836. id: null,
  1837. params: [],
  1838. defaults: [],
  1839. body: {
  1840. type: 'BlockStatement',
  1841. body: [],
  1842. range: [17, 19],
  1843. loc: {
  1844. start: { line: 1, column: 17 },
  1845. end: { line: 1, column: 19 }
  1846. }
  1847. },
  1848. rest: null,
  1849. generator: false,
  1850. expression: false,
  1851. range: [17, 19],
  1852. loc: {
  1853. start: { line: 1, column: 17 },
  1854. end: { line: 1, column: 19 }
  1855. }
  1856. },
  1857. kind: 'get',
  1858. method: false,
  1859. shorthand: false,
  1860. range: [6, 19],
  1861. loc: {
  1862. start: { line: 1, column: 6 },
  1863. end: { line: 1, column: 19 }
  1864. }
  1865. }],
  1866. range: [4, 21],
  1867. loc: {
  1868. start: { line: 1, column: 4 },
  1869. end: { line: 1, column: 21 }
  1870. }
  1871. },
  1872. range: [0, 21],
  1873. loc: {
  1874. start: { line: 1, column: 0 },
  1875. end: { line: 1, column: 21 }
  1876. }
  1877. },
  1878. range: [0, 21],
  1879. loc: {
  1880. start: { line: 1, column: 0 },
  1881. end: { line: 1, column: 21 }
  1882. }
  1883. },
  1884. 'x = { get false() {} }': {
  1885. type: 'ExpressionStatement',
  1886. expression: {
  1887. type: 'AssignmentExpression',
  1888. operator: '=',
  1889. left: {
  1890. type: 'Identifier',
  1891. name: 'x',
  1892. range: [0, 1],
  1893. loc: {
  1894. start: { line: 1, column: 0 },
  1895. end: { line: 1, column: 1 }
  1896. }
  1897. },
  1898. right: {
  1899. type: 'ObjectExpression',
  1900. properties: [{
  1901. type: 'Property',
  1902. key: {
  1903. type: 'Identifier',
  1904. name: 'false',
  1905. range: [10, 15],
  1906. loc: {
  1907. start: { line: 1, column: 10 },
  1908. end: { line: 1, column: 15 }
  1909. }
  1910. },
  1911. value: {
  1912. type: 'FunctionExpression',
  1913. id: null,
  1914. params: [],
  1915. defaults: [],
  1916. body: {
  1917. type: 'BlockStatement',
  1918. body: [],
  1919. range: [18, 20],
  1920. loc: {
  1921. start: { line: 1, column: 18 },
  1922. end: { line: 1, column: 20 }
  1923. }
  1924. },
  1925. rest: null,
  1926. generator: false,
  1927. expression: false,
  1928. range: [18, 20],
  1929. loc: {
  1930. start: { line: 1, column: 18 },
  1931. end: { line: 1, column: 20 }
  1932. }
  1933. },
  1934. kind: 'get',
  1935. method: false,
  1936. shorthand: false,
  1937. range: [6, 20],
  1938. loc: {
  1939. start: { line: 1, column: 6 },
  1940. end: { line: 1, column: 20 }
  1941. }
  1942. }],
  1943. range: [4, 22],
  1944. loc: {
  1945. start: { line: 1, column: 4 },
  1946. end: { line: 1, column: 22 }
  1947. }
  1948. },
  1949. range: [0, 22],
  1950. loc: {
  1951. start: { line: 1, column: 0 },
  1952. end: { line: 1, column: 22 }
  1953. }
  1954. },
  1955. range: [0, 22],
  1956. loc: {
  1957. start: { line: 1, column: 0 },
  1958. end: { line: 1, column: 22 }
  1959. }
  1960. },
  1961. 'x = { get null() {} }': {
  1962. type: 'ExpressionStatement',
  1963. expression: {
  1964. type: 'AssignmentExpression',
  1965. operator: '=',
  1966. left: {
  1967. type: 'Identifier',
  1968. name: 'x',
  1969. range: [0, 1],
  1970. loc: {
  1971. start: { line: 1, column: 0 },
  1972. end: { line: 1, column: 1 }
  1973. }
  1974. },
  1975. right: {
  1976. type: 'ObjectExpression',
  1977. properties: [{
  1978. type: 'Property',
  1979. key: {
  1980. type: 'Identifier',
  1981. name: 'null',
  1982. range: [10, 14],
  1983. loc: {
  1984. start: { line: 1, column: 10 },
  1985. end: { line: 1, column: 14 }
  1986. }
  1987. },
  1988. value: {
  1989. type: 'FunctionExpression',
  1990. id: null,
  1991. params: [],
  1992. defaults: [],
  1993. body: {
  1994. type: 'BlockStatement',
  1995. body: [],
  1996. range: [17, 19],
  1997. loc: {
  1998. start: { line: 1, column: 17 },
  1999. end: { line: 1, column: 19 }
  2000. }
  2001. },
  2002. rest: null,
  2003. generator: false,
  2004. expression: false,
  2005. range: [17, 19],
  2006. loc: {
  2007. start: { line: 1, column: 17 },
  2008. end: { line: 1, column: 19 }
  2009. }
  2010. },
  2011. kind: 'get',
  2012. method: false,
  2013. shorthand: false,
  2014. range: [6, 19],
  2015. loc: {
  2016. start: { line: 1, column: 6 },
  2017. end: { line: 1, column: 19 }
  2018. }
  2019. }],
  2020. range: [4, 21],
  2021. loc: {
  2022. start: { line: 1, column: 4 },
  2023. end: { line: 1, column: 21 }
  2024. }
  2025. },
  2026. range: [0, 21],
  2027. loc: {
  2028. start: { line: 1, column: 0 },
  2029. end: { line: 1, column: 21 }
  2030. }
  2031. },
  2032. range: [0, 21],
  2033. loc: {
  2034. start: { line: 1, column: 0 },
  2035. end: { line: 1, column: 21 }
  2036. }
  2037. },
  2038. 'x = { get "undef"() {} }': {
  2039. type: 'ExpressionStatement',
  2040. expression: {
  2041. type: 'AssignmentExpression',
  2042. operator: '=',
  2043. left: {
  2044. type: 'Identifier',
  2045. name: 'x',
  2046. range: [0, 1],
  2047. loc: {
  2048. start: { line: 1, column: 0 },
  2049. end: { line: 1, column: 1 }
  2050. }
  2051. },
  2052. right: {
  2053. type: 'ObjectExpression',
  2054. properties: [{
  2055. type: 'Property',
  2056. key: {
  2057. type: 'Literal',
  2058. value: 'undef',
  2059. raw: '"undef"',
  2060. range: [10, 17],
  2061. loc: {
  2062. start: { line: 1, column: 10 },
  2063. end: { line: 1, column: 17 }
  2064. }
  2065. },
  2066. value: {
  2067. type: 'FunctionExpression',
  2068. id: null,
  2069. params: [],
  2070. defaults: [],
  2071. body: {
  2072. type: 'BlockStatement',
  2073. body: [],
  2074. range: [20, 22],
  2075. loc: {
  2076. start: { line: 1, column: 20 },
  2077. end: { line: 1, column: 22 }
  2078. }
  2079. },
  2080. rest: null,
  2081. generator: false,
  2082. expression: false,
  2083. range: [20, 22],
  2084. loc: {
  2085. start: { line: 1, column: 20 },
  2086. end: { line: 1, column: 22 }
  2087. }
  2088. },
  2089. kind: 'get',
  2090. method: false,
  2091. shorthand: false,
  2092. range: [6, 22],
  2093. loc: {
  2094. start: { line: 1, column: 6 },
  2095. end: { line: 1, column: 22 }
  2096. }
  2097. }],
  2098. range: [4, 24],
  2099. loc: {
  2100. start: { line: 1, column: 4 },
  2101. end: { line: 1, column: 24 }
  2102. }
  2103. },
  2104. range: [0, 24],
  2105. loc: {
  2106. start: { line: 1, column: 0 },
  2107. end: { line: 1, column: 24 }
  2108. }
  2109. },
  2110. range: [0, 24],
  2111. loc: {
  2112. start: { line: 1, column: 0 },
  2113. end: { line: 1, column: 24 }
  2114. }
  2115. },
  2116. 'x = { get 10() {} }': {
  2117. type: 'ExpressionStatement',
  2118. expression: {
  2119. type: 'AssignmentExpression',
  2120. operator: '=',
  2121. left: {
  2122. type: 'Identifier',
  2123. name: 'x',
  2124. range: [0, 1],
  2125. loc: {
  2126. start: { line: 1, column: 0 },
  2127. end: { line: 1, column: 1 }
  2128. }
  2129. },
  2130. right: {
  2131. type: 'ObjectExpression',
  2132. properties: [{
  2133. type: 'Property',
  2134. key: {
  2135. type: 'Literal',
  2136. value: 10,
  2137. raw: '10',
  2138. range: [10, 12],
  2139. loc: {
  2140. start: { line: 1, column: 10 },
  2141. end: { line: 1, column: 12 }
  2142. }
  2143. },
  2144. value: {
  2145. type: 'FunctionExpression',
  2146. id: null,
  2147. params: [],
  2148. defaults: [],
  2149. body: {
  2150. type: 'BlockStatement',
  2151. body: [],
  2152. range: [15, 17],
  2153. loc: {
  2154. start: { line: 1, column: 15 },
  2155. end: { line: 1, column: 17 }
  2156. }
  2157. },
  2158. rest: null,
  2159. generator: false,
  2160. expression: false,
  2161. range: [15, 17],
  2162. loc: {
  2163. start: { line: 1, column: 15 },
  2164. end: { line: 1, column: 17 }
  2165. }
  2166. },
  2167. kind: 'get',
  2168. method: false,
  2169. shorthand: false,
  2170. range: [6, 17],
  2171. loc: {
  2172. start: { line: 1, column: 6 },
  2173. end: { line: 1, column: 17 }
  2174. }
  2175. }],
  2176. range: [4, 19],
  2177. loc: {
  2178. start: { line: 1, column: 4 },
  2179. end: { line: 1, column: 19 }
  2180. }
  2181. },
  2182. range: [0, 19],
  2183. loc: {
  2184. start: { line: 1, column: 0 },
  2185. end: { line: 1, column: 19 }
  2186. }
  2187. },
  2188. range: [0, 19],
  2189. loc: {
  2190. start: { line: 1, column: 0 },
  2191. end: { line: 1, column: 19 }
  2192. }
  2193. },
  2194. 'x = { set width(w) { m_width = w } }': {
  2195. type: 'ExpressionStatement',
  2196. expression: {
  2197. type: 'AssignmentExpression',
  2198. operator: '=',
  2199. left: {
  2200. type: 'Identifier',
  2201. name: 'x',
  2202. range: [0, 1],
  2203. loc: {
  2204. start: { line: 1, column: 0 },
  2205. end: { line: 1, column: 1 }
  2206. }
  2207. },
  2208. right: {
  2209. type: 'ObjectExpression',
  2210. properties: [{
  2211. type: 'Property',
  2212. key: {
  2213. type: 'Identifier',
  2214. name: 'width',
  2215. range: [10, 15],
  2216. loc: {
  2217. start: { line: 1, column: 10 },
  2218. end: { line: 1, column: 15 }
  2219. }
  2220. },
  2221. value: {
  2222. type: 'FunctionExpression',
  2223. id: null,
  2224. params: [{
  2225. type: 'Identifier',
  2226. name: 'w',
  2227. range: [16, 17],
  2228. loc: {
  2229. start: { line: 1, column: 16 },
  2230. end: { line: 1, column: 17 }
  2231. }
  2232. }],
  2233. defaults: [],
  2234. body: {
  2235. type: 'BlockStatement',
  2236. body: [{
  2237. type: 'ExpressionStatement',
  2238. expression: {
  2239. type: 'AssignmentExpression',
  2240. operator: '=',
  2241. left: {
  2242. type: 'Identifier',
  2243. name: 'm_width',
  2244. range: [21, 28],
  2245. loc: {
  2246. start: { line: 1, column: 21 },
  2247. end: { line: 1, column: 28 }
  2248. }
  2249. },
  2250. right: {
  2251. type: 'Identifier',
  2252. name: 'w',
  2253. range: [31, 32],
  2254. loc: {
  2255. start: { line: 1, column: 31 },
  2256. end: { line: 1, column: 32 }
  2257. }
  2258. },
  2259. range: [21, 32],
  2260. loc: {
  2261. start: { line: 1, column: 21 },
  2262. end: { line: 1, column: 32 }
  2263. }
  2264. },
  2265. range: [21, 33],
  2266. loc: {
  2267. start: { line: 1, column: 21 },
  2268. end: { line: 1, column: 33 }
  2269. }
  2270. }],
  2271. range: [19, 34],
  2272. loc: {
  2273. start: { line: 1, column: 19 },
  2274. end: { line: 1, column: 34 }
  2275. }
  2276. },
  2277. rest: null,
  2278. generator: false,
  2279. expression: false,
  2280. range: [19, 34],
  2281. loc: {
  2282. start: { line: 1, column: 19 },
  2283. end: { line: 1, column: 34 }
  2284. }
  2285. },
  2286. kind: 'set',
  2287. method: false,
  2288. shorthand: false,
  2289. range: [6, 34],
  2290. loc: {
  2291. start: { line: 1, column: 6 },
  2292. end: { line: 1, column: 34 }
  2293. }
  2294. }],
  2295. range: [4, 36],
  2296. loc: {
  2297. start: { line: 1, column: 4 },
  2298. end: { line: 1, column: 36 }
  2299. }
  2300. },
  2301. range: [0, 36],
  2302. loc: {
  2303. start: { line: 1, column: 0 },
  2304. end: { line: 1, column: 36 }
  2305. }
  2306. },
  2307. range: [0, 36],
  2308. loc: {
  2309. start: { line: 1, column: 0 },
  2310. end: { line: 1, column: 36 }
  2311. }
  2312. },
  2313. 'x = { set if(w) { m_if = w } }': {
  2314. type: 'ExpressionStatement',
  2315. expression: {
  2316. type: 'AssignmentExpression',
  2317. operator: '=',
  2318. left: {
  2319. type: 'Identifier',
  2320. name: 'x',
  2321. range: [0, 1],
  2322. loc: {
  2323. start: { line: 1, column: 0 },
  2324. end: { line: 1, column: 1 }
  2325. }
  2326. },
  2327. right: {
  2328. type: 'ObjectExpression',
  2329. properties: [{
  2330. type: 'Property',
  2331. key: {
  2332. type: 'Identifier',
  2333. name: 'if',
  2334. range: [10, 12],
  2335. loc: {
  2336. start: { line: 1, column: 10 },
  2337. end: { line: 1, column: 12 }
  2338. }
  2339. },
  2340. value: {
  2341. type: 'FunctionExpression',
  2342. id: null,
  2343. params: [{
  2344. type: 'Identifier',
  2345. name: 'w',
  2346. range: [13, 14],
  2347. loc: {
  2348. start: { line: 1, column: 13 },
  2349. end: { line: 1, column: 14 }
  2350. }
  2351. }],
  2352. defaults: [],
  2353. body: {
  2354. type: 'BlockStatement',
  2355. body: [{
  2356. type: 'ExpressionStatement',
  2357. expression: {
  2358. type: 'AssignmentExpression',
  2359. operator: '=',
  2360. left: {
  2361. type: 'Identifier',
  2362. name: 'm_if',
  2363. range: [18, 22],
  2364. loc: {
  2365. start: { line: 1, column: 18 },
  2366. end: { line: 1, column: 22 }
  2367. }
  2368. },
  2369. right: {
  2370. type: 'Identifier',
  2371. name: 'w',
  2372. range: [25, 26],
  2373. loc: {
  2374. start: { line: 1, column: 25 },
  2375. end: { line: 1, column: 26 }
  2376. }
  2377. },
  2378. range: [18, 26],
  2379. loc: {
  2380. start: { line: 1, column: 18 },
  2381. end: { line: 1, column: 26 }
  2382. }
  2383. },
  2384. range: [18, 27],
  2385. loc: {
  2386. start: { line: 1, column: 18 },
  2387. end: { line: 1, column: 27 }
  2388. }
  2389. }],
  2390. range: [16, 28],
  2391. loc: {
  2392. start: { line: 1, column: 16 },
  2393. end: { line: 1, column: 28 }
  2394. }
  2395. },
  2396. rest: null,
  2397. generator: false,
  2398. expression: false,
  2399. range: [16, 28],
  2400. loc: {
  2401. start: { line: 1, column: 16 },
  2402. end: { line: 1, column: 28 }
  2403. }
  2404. },
  2405. kind: 'set',
  2406. method: false,
  2407. shorthand: false,
  2408. range: [6, 28],
  2409. loc: {
  2410. start: { line: 1, column: 6 },
  2411. end: { line: 1, column: 28 }
  2412. }
  2413. }],
  2414. range: [4, 30],
  2415. loc: {
  2416. start: { line: 1, column: 4 },
  2417. end: { line: 1, column: 30 }
  2418. }
  2419. },
  2420. range: [0, 30],
  2421. loc: {
  2422. start: { line: 1, column: 0 },
  2423. end: { line: 1, column: 30 }
  2424. }
  2425. },
  2426. range: [0, 30],
  2427. loc: {
  2428. start: { line: 1, column: 0 },
  2429. end: { line: 1, column: 30 }
  2430. }
  2431. },
  2432. 'x = { set true(w) { m_true = w } }': {
  2433. type: 'ExpressionStatement',
  2434. expression: {
  2435. type: 'AssignmentExpression',
  2436. operator: '=',
  2437. left: {
  2438. type: 'Identifier',
  2439. name: 'x',
  2440. range: [0, 1],
  2441. loc: {
  2442. start: { line: 1, column: 0 },
  2443. end: { line: 1, column: 1 }
  2444. }
  2445. },
  2446. right: {
  2447. type: 'ObjectExpression',
  2448. properties: [{
  2449. type: 'Property',
  2450. key: {
  2451. type: 'Identifier',
  2452. name: 'true',
  2453. range: [10, 14],
  2454. loc: {
  2455. start: { line: 1, column: 10 },
  2456. end: { line: 1, column: 14 }
  2457. }
  2458. },
  2459. value: {
  2460. type: 'FunctionExpression',
  2461. id: null,
  2462. params: [{
  2463. type: 'Identifier',
  2464. name: 'w',
  2465. range: [15, 16],
  2466. loc: {
  2467. start: { line: 1, column: 15 },
  2468. end: { line: 1, column: 16 }
  2469. }
  2470. }],
  2471. defaults: [],
  2472. body: {
  2473. type: 'BlockStatement',
  2474. body: [{
  2475. type: 'ExpressionStatement',
  2476. expression: {
  2477. type: 'AssignmentExpression',
  2478. operator: '=',
  2479. left: {
  2480. type: 'Identifier',
  2481. name: 'm_true',
  2482. range: [20, 26],
  2483. loc: {
  2484. start: { line: 1, column: 20 },
  2485. end: { line: 1, column: 26 }
  2486. }
  2487. },
  2488. right: {
  2489. type: 'Identifier',
  2490. name: 'w',
  2491. range: [29, 30],
  2492. loc: {
  2493. start: { line: 1, column: 29 },
  2494. end: { line: 1, column: 30 }
  2495. }
  2496. },
  2497. range: [20, 30],
  2498. loc: {
  2499. start: { line: 1, column: 20 },
  2500. end: { line: 1, column: 30 }
  2501. }
  2502. },
  2503. range: [20, 31],
  2504. loc: {
  2505. start: { line: 1, column: 20 },
  2506. end: { line: 1, column: 31 }
  2507. }
  2508. }],
  2509. range: [18, 32],
  2510. loc: {
  2511. start: { line: 1, column: 18 },
  2512. end: { line: 1, column: 32 }
  2513. }
  2514. },
  2515. rest: null,
  2516. generator: false,
  2517. expression: false,
  2518. range: [18, 32],
  2519. loc: {
  2520. start: { line: 1, column: 18 },
  2521. end: { line: 1, column: 32 }
  2522. }
  2523. },
  2524. kind: 'set',
  2525. method: false,
  2526. shorthand: false,
  2527. range: [6, 32],
  2528. loc: {
  2529. start: { line: 1, column: 6 },
  2530. end: { line: 1, column: 32 }
  2531. }
  2532. }],
  2533. range: [4, 34],
  2534. loc: {
  2535. start: { line: 1, column: 4 },
  2536. end: { line: 1, column: 34 }
  2537. }
  2538. },
  2539. range: [0, 34],
  2540. loc: {
  2541. start: { line: 1, column: 0 },
  2542. end: { line: 1, column: 34 }
  2543. }
  2544. },
  2545. range: [0, 34],
  2546. loc: {
  2547. start: { line: 1, column: 0 },
  2548. end: { line: 1, column: 34 }
  2549. }
  2550. },
  2551. 'x = { set false(w) { m_false = w } }': {
  2552. type: 'ExpressionStatement',
  2553. expression: {
  2554. type: 'AssignmentExpression',
  2555. operator: '=',
  2556. left: {
  2557. type: 'Identifier',
  2558. name: 'x',
  2559. range: [0, 1],
  2560. loc: {
  2561. start: { line: 1, column: 0 },
  2562. end: { line: 1, column: 1 }
  2563. }
  2564. },
  2565. right: {
  2566. type: 'ObjectExpression',
  2567. properties: [{
  2568. type: 'Property',
  2569. key: {
  2570. type: 'Identifier',
  2571. name: 'false',
  2572. range: [10, 15],
  2573. loc: {
  2574. start: { line: 1, column: 10 },
  2575. end: { line: 1, column: 15 }
  2576. }
  2577. },
  2578. value: {
  2579. type: 'FunctionExpression',
  2580. id: null,
  2581. params: [{
  2582. type: 'Identifier',
  2583. name: 'w',
  2584. range: [16, 17],
  2585. loc: {
  2586. start: { line: 1, column: 16 },
  2587. end: { line: 1, column: 17 }
  2588. }
  2589. }],
  2590. defaults: [],
  2591. body: {
  2592. type: 'BlockStatement',
  2593. body: [{
  2594. type: 'ExpressionStatement',
  2595. expression: {
  2596. type: 'AssignmentExpression',
  2597. operator: '=',
  2598. left: {
  2599. type: 'Identifier',
  2600. name: 'm_false',
  2601. range: [21, 28],
  2602. loc: {
  2603. start: { line: 1, column: 21 },
  2604. end: { line: 1, column: 28 }
  2605. }
  2606. },
  2607. right: {
  2608. type: 'Identifier',
  2609. name: 'w',
  2610. range: [31, 32],
  2611. loc: {
  2612. start: { line: 1, column: 31 },
  2613. end: { line: 1, column: 32 }
  2614. }
  2615. },
  2616. range: [21, 32],
  2617. loc: {
  2618. start: { line: 1, column: 21 },
  2619. end: { line: 1, column: 32 }
  2620. }
  2621. },
  2622. range: [21, 33],
  2623. loc: {
  2624. start: { line: 1, column: 21 },
  2625. end: { line: 1, column: 33 }
  2626. }
  2627. }],
  2628. range: [19, 34],
  2629. loc: {
  2630. start: { line: 1, column: 19 },
  2631. end: { line: 1, column: 34 }
  2632. }
  2633. },
  2634. rest: null,
  2635. generator: false,
  2636. expression: false,
  2637. range: [19, 34],
  2638. loc: {
  2639. start: { line: 1, column: 19 },
  2640. end: { line: 1, column: 34 }
  2641. }
  2642. },
  2643. kind: 'set',
  2644. method: false,
  2645. shorthand: false,
  2646. range: [6, 34],
  2647. loc: {
  2648. start: { line: 1, column: 6 },
  2649. end: { line: 1, column: 34 }
  2650. }
  2651. }],
  2652. range: [4, 36],
  2653. loc: {
  2654. start: { line: 1, column: 4 },
  2655. end: { line: 1, column: 36 }
  2656. }
  2657. },
  2658. range: [0, 36],
  2659. loc: {
  2660. start: { line: 1, column: 0 },
  2661. end: { line: 1, column: 36 }
  2662. }
  2663. },
  2664. range: [0, 36],
  2665. loc: {
  2666. start: { line: 1, column: 0 },
  2667. end: { line: 1, column: 36 }
  2668. }
  2669. },
  2670. 'x = { set null(w) { m_null = w } }': {
  2671. type: 'ExpressionStatement',
  2672. expression: {
  2673. type: 'AssignmentExpression',
  2674. operator: '=',
  2675. left: {
  2676. type: 'Identifier',
  2677. name: 'x',
  2678. range: [0, 1],
  2679. loc: {
  2680. start: { line: 1, column: 0 },
  2681. end: { line: 1, column: 1 }
  2682. }
  2683. },
  2684. right: {
  2685. type: 'ObjectExpression',
  2686. properties: [{
  2687. type: 'Property',
  2688. key: {
  2689. type: 'Identifier',
  2690. name: 'null',
  2691. range: [10, 14],
  2692. loc: {
  2693. start: { line: 1, column: 10 },
  2694. end: { line: 1, column: 14 }
  2695. }
  2696. },
  2697. value: {
  2698. type: 'FunctionExpression',
  2699. id: null,
  2700. params: [{
  2701. type: 'Identifier',
  2702. name: 'w',
  2703. range: [15, 16],
  2704. loc: {
  2705. start: { line: 1, column: 15 },
  2706. end: { line: 1, column: 16 }
  2707. }
  2708. }],
  2709. defaults: [],
  2710. body: {
  2711. type: 'BlockStatement',
  2712. body: [{
  2713. type: 'ExpressionStatement',
  2714. expression: {
  2715. type: 'AssignmentExpression',
  2716. operator: '=',
  2717. left: {
  2718. type: 'Identifier',
  2719. name: 'm_null',
  2720. range: [20, 26],
  2721. loc: {
  2722. start: { line: 1, column: 20 },
  2723. end: { line: 1, column: 26 }
  2724. }
  2725. },
  2726. right: {
  2727. type: 'Identifier',
  2728. name: 'w',
  2729. range: [29, 30],
  2730. loc: {
  2731. start: { line: 1, column: 29 },
  2732. end: { line: 1, column: 30 }
  2733. }
  2734. },
  2735. range: [20, 30],
  2736. loc: {
  2737. start: { line: 1, column: 20 },
  2738. end: { line: 1, column: 30 }
  2739. }
  2740. },
  2741. range: [20, 31],
  2742. loc: {
  2743. start: { line: 1, column: 20 },
  2744. end: { line: 1, column: 31 }
  2745. }
  2746. }],
  2747. range: [18, 32],
  2748. loc: {
  2749. start: { line: 1, column: 18 },
  2750. end: { line: 1, column: 32 }
  2751. }
  2752. },
  2753. rest: null,
  2754. generator: false,
  2755. expression: false,
  2756. range: [18, 32],
  2757. loc: {
  2758. start: { line: 1, column: 18 },
  2759. end: { line: 1, column: 32 }
  2760. }
  2761. },
  2762. kind: 'set',
  2763. method: false,
  2764. shorthand: false,
  2765. range: [6, 32],
  2766. loc: {
  2767. start: { line: 1, column: 6 },
  2768. end: { line: 1, column: 32 }
  2769. }
  2770. }],
  2771. range: [4, 34],
  2772. loc: {
  2773. start: { line: 1, column: 4 },
  2774. end: { line: 1, column: 34 }
  2775. }
  2776. },
  2777. range: [0, 34],
  2778. loc: {
  2779. start: { line: 1, column: 0 },
  2780. end: { line: 1, column: 34 }
  2781. }
  2782. },
  2783. range: [0, 34],
  2784. loc: {
  2785. start: { line: 1, column: 0 },
  2786. end: { line: 1, column: 34 }
  2787. }
  2788. },
  2789. 'x = { set "null"(w) { m_null = w } }': {
  2790. type: 'ExpressionStatement',
  2791. expression: {
  2792. type: 'AssignmentExpression',
  2793. operator: '=',
  2794. left: {
  2795. type: 'Identifier',
  2796. name: 'x',
  2797. range: [0, 1],
  2798. loc: {
  2799. start: { line: 1, column: 0 },
  2800. end: { line: 1, column: 1 }
  2801. }
  2802. },
  2803. right: {
  2804. type: 'ObjectExpression',
  2805. properties: [{
  2806. type: 'Property',
  2807. key: {
  2808. type: 'Literal',
  2809. value: 'null',
  2810. raw: '"null"',
  2811. range: [10, 16],
  2812. loc: {
  2813. start: { line: 1, column: 10 },
  2814. end: { line: 1, column: 16 }
  2815. }
  2816. },
  2817. value: {
  2818. type: 'FunctionExpression',
  2819. id: null,
  2820. params: [{
  2821. type: 'Identifier',
  2822. name: 'w',
  2823. range: [17, 18],
  2824. loc: {
  2825. start: { line: 1, column: 17 },
  2826. end: { line: 1, column: 18 }
  2827. }
  2828. }],
  2829. defaults: [],
  2830. body: {
  2831. type: 'BlockStatement',
  2832. body: [{
  2833. type: 'ExpressionStatement',
  2834. expression: {
  2835. type: 'AssignmentExpression',
  2836. operator: '=',
  2837. left: {
  2838. type: 'Identifier',
  2839. name: 'm_null',
  2840. range: [22, 28],
  2841. loc: {
  2842. start: { line: 1, column: 22 },
  2843. end: { line: 1, column: 28 }
  2844. }
  2845. },
  2846. right: {
  2847. type: 'Identifier',
  2848. name: 'w',
  2849. range: [31, 32],
  2850. loc: {
  2851. start: { line: 1, column: 31 },
  2852. end: { line: 1, column: 32 }
  2853. }
  2854. },
  2855. range: [22, 32],
  2856. loc: {
  2857. start: { line: 1, column: 22 },
  2858. end: { line: 1, column: 32 }
  2859. }
  2860. },
  2861. range: [22, 33],
  2862. loc: {
  2863. start: { line: 1, column: 22 },
  2864. end: { line: 1, column: 33 }
  2865. }
  2866. }],
  2867. range: [20, 34],
  2868. loc: {
  2869. start: { line: 1, column: 20 },
  2870. end: { line: 1, column: 34 }
  2871. }
  2872. },
  2873. rest: null,
  2874. generator: false,
  2875. expression: false,
  2876. range: [20, 34],
  2877. loc: {
  2878. start: { line: 1, column: 20 },
  2879. end: { line: 1, column: 34 }
  2880. }
  2881. },
  2882. kind: 'set',
  2883. method: false,
  2884. shorthand: false,
  2885. range: [6, 34],
  2886. loc: {
  2887. start: { line: 1, column: 6 },
  2888. end: { line: 1, column: 34 }
  2889. }
  2890. }],
  2891. range: [4, 36],
  2892. loc: {
  2893. start: { line: 1, column: 4 },
  2894. end: { line: 1, column: 36 }
  2895. }
  2896. },
  2897. range: [0, 36],
  2898. loc: {
  2899. start: { line: 1, column: 0 },
  2900. end: { line: 1, column: 36 }
  2901. }
  2902. },
  2903. range: [0, 36],
  2904. loc: {
  2905. start: { line: 1, column: 0 },
  2906. end: { line: 1, column: 36 }
  2907. }
  2908. },
  2909. 'x = { set 10(w) { m_null = w } }': {
  2910. type: 'ExpressionStatement',
  2911. expression: {
  2912. type: 'AssignmentExpression',
  2913. operator: '=',
  2914. left: {
  2915. type: 'Identifier',
  2916. name: 'x',
  2917. range: [0, 1],
  2918. loc: {
  2919. start: { line: 1, column: 0 },
  2920. end: { line: 1, column: 1 }
  2921. }
  2922. },
  2923. right: {
  2924. type: 'ObjectExpression',
  2925. properties: [{
  2926. type: 'Property',
  2927. key: {
  2928. type: 'Literal',
  2929. value: 10,
  2930. raw: '10',
  2931. range: [10, 12],
  2932. loc: {
  2933. start: { line: 1, column: 10 },
  2934. end: { line: 1, column: 12 }
  2935. }
  2936. },
  2937. value: {
  2938. type: 'FunctionExpression',
  2939. id: null,
  2940. params: [{
  2941. type: 'Identifier',
  2942. name: 'w',
  2943. range: [13, 14],
  2944. loc: {
  2945. start: { line: 1, column: 13 },
  2946. end: { line: 1, column: 14 }
  2947. }
  2948. }],
  2949. defaults: [],
  2950. body: {
  2951. type: 'BlockStatement',
  2952. body: [{
  2953. type: 'ExpressionStatement',
  2954. expression: {
  2955. type: 'AssignmentExpression',
  2956. operator: '=',
  2957. left: {
  2958. type: 'Identifier',
  2959. name: 'm_null',
  2960. range: [18, 24],
  2961. loc: {
  2962. start: { line: 1, column: 18 },
  2963. end: { line: 1, column: 24 }
  2964. }
  2965. },
  2966. right: {
  2967. type: 'Identifier',
  2968. name: 'w',
  2969. range: [27, 28],
  2970. loc: {
  2971. start: { line: 1, column: 27 },
  2972. end: { line: 1, column: 28 }
  2973. }
  2974. },
  2975. range: [18, 28],
  2976. loc: {
  2977. start: { line: 1, column: 18 },
  2978. end: { line: 1, column: 28 }
  2979. }
  2980. },
  2981. range: [18, 29],
  2982. loc: {
  2983. start: { line: 1, column: 18 },
  2984. end: { line: 1, column: 29 }
  2985. }
  2986. }],
  2987. range: [16, 30],
  2988. loc: {
  2989. start: { line: 1, column: 16 },
  2990. end: { line: 1, column: 30 }
  2991. }
  2992. },
  2993. rest: null,
  2994. generator: false,
  2995. expression: false,
  2996. range: [16, 30],
  2997. loc: {
  2998. start: { line: 1, column: 16 },
  2999. end: { line: 1, column: 30 }
  3000. }
  3001. },
  3002. kind: 'set',
  3003. method: false,
  3004. shorthand: false,
  3005. range: [6, 30],
  3006. loc: {
  3007. start: { line: 1, column: 6 },
  3008. end: { line: 1, column: 30 }
  3009. }
  3010. }],
  3011. range: [4, 32],
  3012. loc: {
  3013. start: { line: 1, column: 4 },
  3014. end: { line: 1, column: 32 }
  3015. }
  3016. },
  3017. range: [0, 32],
  3018. loc: {
  3019. start: { line: 1, column: 0 },
  3020. end: { line: 1, column: 32 }
  3021. }
  3022. },
  3023. range: [0, 32],
  3024. loc: {
  3025. start: { line: 1, column: 0 },
  3026. end: { line: 1, column: 32 }
  3027. }
  3028. },
  3029. 'x = { get: 42 }': {
  3030. type: 'ExpressionStatement',
  3031. expression: {
  3032. type: 'AssignmentExpression',
  3033. operator: '=',
  3034. left: {
  3035. type: 'Identifier',
  3036. name: 'x',
  3037. range: [0, 1],
  3038. loc: {
  3039. start: { line: 1, column: 0 },
  3040. end: { line: 1, column: 1 }
  3041. }
  3042. },
  3043. right: {
  3044. type: 'ObjectExpression',
  3045. properties: [{
  3046. type: 'Property',
  3047. key: {
  3048. type: 'Identifier',
  3049. name: 'get',
  3050. range: [6, 9],
  3051. loc: {
  3052. start: { line: 1, column: 6 },
  3053. end: { line: 1, column: 9 }
  3054. }
  3055. },
  3056. value: {
  3057. type: 'Literal',
  3058. value: 42,
  3059. raw: '42',
  3060. range: [11, 13],
  3061. loc: {
  3062. start: { line: 1, column: 11 },
  3063. end: { line: 1, column: 13 }
  3064. }
  3065. },
  3066. kind: 'init',
  3067. method: false,
  3068. shorthand: false,
  3069. range: [6, 13],
  3070. loc: {
  3071. start: { line: 1, column: 6 },
  3072. end: { line: 1, column: 13 }
  3073. }
  3074. }],
  3075. range: [4, 15],
  3076. loc: {
  3077. start: { line: 1, column: 4 },
  3078. end: { line: 1, column: 15 }
  3079. }
  3080. },
  3081. range: [0, 15],
  3082. loc: {
  3083. start: { line: 1, column: 0 },
  3084. end: { line: 1, column: 15 }
  3085. }
  3086. },
  3087. range: [0, 15],
  3088. loc: {
  3089. start: { line: 1, column: 0 },
  3090. end: { line: 1, column: 15 }
  3091. }
  3092. },
  3093. 'x = { set: 43 }': {
  3094. type: 'ExpressionStatement',
  3095. expression: {
  3096. type: 'AssignmentExpression',
  3097. operator: '=',
  3098. left: {
  3099. type: 'Identifier',
  3100. name: 'x',
  3101. range: [0, 1],
  3102. loc: {
  3103. start: { line: 1, column: 0 },
  3104. end: { line: 1, column: 1 }
  3105. }
  3106. },
  3107. right: {
  3108. type: 'ObjectExpression',
  3109. properties: [{
  3110. type: 'Property',
  3111. key: {
  3112. type: 'Identifier',
  3113. name: 'set',
  3114. range: [6, 9],
  3115. loc: {
  3116. start: { line: 1, column: 6 },
  3117. end: { line: 1, column: 9 }
  3118. }
  3119. },
  3120. value: {
  3121. type: 'Literal',
  3122. value: 43,
  3123. raw: '43',
  3124. range: [11, 13],
  3125. loc: {
  3126. start: { line: 1, column: 11 },
  3127. end: { line: 1, column: 13 }
  3128. }
  3129. },
  3130. kind: 'init',
  3131. method: false,
  3132. shorthand: false,
  3133. range: [6, 13],
  3134. loc: {
  3135. start: { line: 1, column: 6 },
  3136. end: { line: 1, column: 13 }
  3137. }
  3138. }],
  3139. range: [4, 15],
  3140. loc: {
  3141. start: { line: 1, column: 4 },
  3142. end: { line: 1, column: 15 }
  3143. }
  3144. },
  3145. range: [0, 15],
  3146. loc: {
  3147. start: { line: 1, column: 0 },
  3148. end: { line: 1, column: 15 }
  3149. }
  3150. },
  3151. range: [0, 15],
  3152. loc: {
  3153. start: { line: 1, column: 0 },
  3154. end: { line: 1, column: 15 }
  3155. }
  3156. },
  3157. 'x = { __proto__: 2 }': {
  3158. type: 'ExpressionStatement',
  3159. expression: {
  3160. type: 'AssignmentExpression',
  3161. operator: '=',
  3162. left: {
  3163. type: 'Identifier',
  3164. name: 'x',
  3165. range: [0, 1],
  3166. loc: {
  3167. start: { line: 1, column: 0 },
  3168. end: { line: 1, column: 1 }
  3169. }
  3170. },
  3171. right: {
  3172. type: 'ObjectExpression',
  3173. properties: [{
  3174. type: 'Property',
  3175. key: {
  3176. type: 'Identifier',
  3177. name: '__proto__',
  3178. range: [6, 15],
  3179. loc: {
  3180. start: { line: 1, column: 6 },
  3181. end: { line: 1, column: 15 }
  3182. }
  3183. },
  3184. value: {
  3185. type: 'Literal',
  3186. value: 2,
  3187. raw: '2',
  3188. range: [17, 18],
  3189. loc: {
  3190. start: { line: 1, column: 17 },
  3191. end: { line: 1, column: 18 }
  3192. }
  3193. },
  3194. kind: 'init',
  3195. method: false,
  3196. shorthand: false,
  3197. range: [6, 18],
  3198. loc: {
  3199. start: { line: 1, column: 6 },
  3200. end: { line: 1, column: 18 }
  3201. }
  3202. }],
  3203. range: [4, 20],
  3204. loc: {
  3205. start: { line: 1, column: 4 },
  3206. end: { line: 1, column: 20 }
  3207. }
  3208. },
  3209. range: [0, 20],
  3210. loc: {
  3211. start: { line: 1, column: 0 },
  3212. end: { line: 1, column: 20 }
  3213. }
  3214. },
  3215. range: [0, 20],
  3216. loc: {
  3217. start: { line: 1, column: 0 },
  3218. end: { line: 1, column: 20 }
  3219. }
  3220. },
  3221. 'x = {"__proto__": 2 }': {
  3222. type: 'ExpressionStatement',
  3223. expression: {
  3224. type: 'AssignmentExpression',
  3225. operator: '=',
  3226. left: {
  3227. type: 'Identifier',
  3228. name: 'x',
  3229. range: [0, 1],
  3230. loc: {
  3231. start: { line: 1, column: 0 },
  3232. end: { line: 1, column: 1 }
  3233. }
  3234. },
  3235. right: {
  3236. type: 'ObjectExpression',
  3237. properties: [{
  3238. type: 'Property',
  3239. key: {
  3240. type: 'Literal',
  3241. value: '__proto__',
  3242. raw: '"__proto__"',
  3243. range: [5, 16],
  3244. loc: {
  3245. start: { line: 1, column: 5 },
  3246. end: { line: 1, column: 16 }
  3247. }
  3248. },
  3249. value: {
  3250. type: 'Literal',
  3251. value: 2,
  3252. raw: '2',
  3253. range: [18, 19],
  3254. loc: {
  3255. start: { line: 1, column: 18 },
  3256. end: { line: 1, column: 19 }
  3257. }
  3258. },
  3259. kind: 'init',
  3260. method: false,
  3261. shorthand: false,
  3262. range: [5, 19],
  3263. loc: {
  3264. start: { line: 1, column: 5 },
  3265. end: { line: 1, column: 19 }
  3266. }
  3267. }],
  3268. range: [4, 21],
  3269. loc: {
  3270. start: { line: 1, column: 4 },
  3271. end: { line: 1, column: 21 }
  3272. }
  3273. },
  3274. range: [0, 21],
  3275. loc: {
  3276. start: { line: 1, column: 0 },
  3277. end: { line: 1, column: 21 }
  3278. }
  3279. },
  3280. range: [0, 21],
  3281. loc: {
  3282. start: { line: 1, column: 0 },
  3283. end: { line: 1, column: 21 }
  3284. }
  3285. },
  3286. 'x = { get width() { return m_width }, set width(width) { m_width = width; } }': {
  3287. type: 'ExpressionStatement',
  3288. expression: {
  3289. type: 'AssignmentExpression',
  3290. operator: '=',
  3291. left: {
  3292. type: 'Identifier',
  3293. name: 'x',
  3294. range: [0, 1],
  3295. loc: {
  3296. start: { line: 1, column: 0 },
  3297. end: { line: 1, column: 1 }
  3298. }
  3299. },
  3300. right: {
  3301. type: 'ObjectExpression',
  3302. properties: [{
  3303. type: 'Property',
  3304. key: {
  3305. type: 'Identifier',
  3306. name: 'width',
  3307. range: [10, 15],
  3308. loc: {
  3309. start: { line: 1, column: 10 },
  3310. end: { line: 1, column: 15 }
  3311. }
  3312. },
  3313. value: {
  3314. type: 'FunctionExpression',
  3315. id: null,
  3316. params: [],
  3317. defaults: [],
  3318. body: {
  3319. type: 'BlockStatement',
  3320. body: [{
  3321. type: 'ReturnStatement',
  3322. argument: {
  3323. type: 'Identifier',
  3324. name: 'm_width',
  3325. range: [27, 34],
  3326. loc: {
  3327. start: { line: 1, column: 27 },
  3328. end: { line: 1, column: 34 }
  3329. }
  3330. },
  3331. range: [20, 35],
  3332. loc: {
  3333. start: { line: 1, column: 20 },
  3334. end: { line: 1, column: 35 }
  3335. }
  3336. }],
  3337. range: [18, 36],
  3338. loc: {
  3339. start: { line: 1, column: 18 },
  3340. end: { line: 1, column: 36 }
  3341. }
  3342. },
  3343. rest: null,
  3344. generator: false,
  3345. expression: false,
  3346. range: [18, 36],
  3347. loc: {
  3348. start: { line: 1, column: 18 },
  3349. end: { line: 1, column: 36 }
  3350. }
  3351. },
  3352. kind: 'get',
  3353. method: false,
  3354. shorthand: false,
  3355. range: [6, 36],
  3356. loc: {
  3357. start: { line: 1, column: 6 },
  3358. end: { line: 1, column: 36 }
  3359. }
  3360. }, {
  3361. type: 'Property',
  3362. key: {
  3363. type: 'Identifier',
  3364. name: 'width',
  3365. range: [42, 47],
  3366. loc: {
  3367. start: { line: 1, column: 42 },
  3368. end: { line: 1, column: 47 }
  3369. }
  3370. },
  3371. value: {
  3372. type: 'FunctionExpression',
  3373. id: null,
  3374. params: [{
  3375. type: 'Identifier',
  3376. name: 'width',
  3377. range: [48, 53],
  3378. loc: {
  3379. start: { line: 1, column: 48 },
  3380. end: { line: 1, column: 53 }
  3381. }
  3382. }],
  3383. defaults: [],
  3384. body: {
  3385. type: 'BlockStatement',
  3386. body: [{
  3387. type: 'ExpressionStatement',
  3388. expression: {
  3389. type: 'AssignmentExpression',
  3390. operator: '=',
  3391. left: {
  3392. type: 'Identifier',
  3393. name: 'm_width',
  3394. range: [57, 64],
  3395. loc: {
  3396. start: { line: 1, column: 57 },
  3397. end: { line: 1, column: 64 }
  3398. }
  3399. },
  3400. right: {
  3401. type: 'Identifier',
  3402. name: 'width',
  3403. range: [67, 72],
  3404. loc: {
  3405. start: { line: 1, column: 67 },
  3406. end: { line: 1, column: 72 }
  3407. }
  3408. },
  3409. range: [57, 72],
  3410. loc: {
  3411. start: { line: 1, column: 57 },
  3412. end: { line: 1, column: 72 }
  3413. }
  3414. },
  3415. range: [57, 73],
  3416. loc: {
  3417. start: { line: 1, column: 57 },
  3418. end: { line: 1, column: 73 }
  3419. }
  3420. }],
  3421. range: [55, 75],
  3422. loc: {
  3423. start: { line: 1, column: 55 },
  3424. end: { line: 1, column: 75 }
  3425. }
  3426. },
  3427. rest: null,
  3428. generator: false,
  3429. expression: false,
  3430. range: [55, 75],
  3431. loc: {
  3432. start: { line: 1, column: 55 },
  3433. end: { line: 1, column: 75 }
  3434. }
  3435. },
  3436. kind: 'set',
  3437. method: false,
  3438. shorthand: false,
  3439. range: [38, 75],
  3440. loc: {
  3441. start: { line: 1, column: 38 },
  3442. end: { line: 1, column: 75 }
  3443. }
  3444. }],
  3445. range: [4, 77],
  3446. loc: {
  3447. start: { line: 1, column: 4 },
  3448. end: { line: 1, column: 77 }
  3449. }
  3450. },
  3451. range: [0, 77],
  3452. loc: {
  3453. start: { line: 1, column: 0 },
  3454. end: { line: 1, column: 77 }
  3455. }
  3456. },
  3457. range: [0, 77],
  3458. loc: {
  3459. start: { line: 1, column: 0 },
  3460. end: { line: 1, column: 77 }
  3461. }
  3462. }
  3463. },
  3464. 'Comments': {
  3465. '/* block comment */ 42': {
  3466. type: 'ExpressionStatement',
  3467. expression: {
  3468. type: 'Literal',
  3469. value: 42,
  3470. raw: '42',
  3471. range: [20, 22],
  3472. loc: {
  3473. start: { line: 1, column: 20 },
  3474. end: { line: 1, column: 22 }
  3475. }
  3476. },
  3477. range: [20, 22],
  3478. loc: {
  3479. start: { line: 1, column: 20 },
  3480. end: { line: 1, column: 22 }
  3481. }
  3482. },
  3483. '42 /*The*/ /*Answer*/': {
  3484. type: 'Program',
  3485. body: [{
  3486. type: 'ExpressionStatement',
  3487. expression: {
  3488. type: 'Literal',
  3489. value: 42,
  3490. raw: '42',
  3491. range: [0, 2],
  3492. loc: {
  3493. start: { line: 1, column: 0 },
  3494. end: { line: 1, column: 2 }
  3495. }
  3496. },
  3497. range: [0, 21],
  3498. loc: {
  3499. start: { line: 1, column: 0 },
  3500. end: { line: 1, column: 21 }
  3501. }
  3502. }],
  3503. range: [0, 21],
  3504. loc: {
  3505. start: { line: 1, column: 0 },
  3506. end: { line: 1, column: 21 }
  3507. },
  3508. comments: [{
  3509. type: 'Block',
  3510. value: 'The',
  3511. range: [3, 10],
  3512. loc: {
  3513. start: { line: 1, column: 3 },
  3514. end: { line: 1, column: 10 }
  3515. }
  3516. }, {
  3517. type: 'Block',
  3518. value: 'Answer',
  3519. range: [11, 21],
  3520. loc: {
  3521. start: { line: 1, column: 11 },
  3522. end: { line: 1, column: 21 }
  3523. }
  3524. }]
  3525. },
  3526. '42 /*the*/ /*answer*/': {
  3527. type: 'Program',
  3528. body: [{
  3529. type: 'ExpressionStatement',
  3530. expression: {
  3531. type: 'Literal',
  3532. value: 42,
  3533. raw: '42',
  3534. range: [0, 2]
  3535. },
  3536. range: [0, 21]
  3537. }],
  3538. range: [0, 21],
  3539. comments: [{
  3540. type: 'Block',
  3541. value: 'the',
  3542. range: [3, 10]
  3543. }, {
  3544. type: 'Block',
  3545. value: 'answer',
  3546. range: [11, 21]
  3547. }]
  3548. },
  3549. '42 /* the * answer */': {
  3550. type: 'ExpressionStatement',
  3551. expression: {
  3552. type: 'Literal',
  3553. value: 42,
  3554. raw: '42',
  3555. range: [0, 2],
  3556. loc: {
  3557. start: { line: 1, column: 0 },
  3558. end: { line: 1, column: 2 }
  3559. }
  3560. },
  3561. range: [0, 21],
  3562. loc: {
  3563. start: { line: 1, column: 0 },
  3564. end: { line: 1, column: 21 }
  3565. }
  3566. },
  3567. '42 /* The * answer */': {
  3568. type: 'Program',
  3569. body: [{
  3570. type: 'ExpressionStatement',
  3571. expression: {
  3572. type: 'Literal',
  3573. value: 42,
  3574. raw: '42',
  3575. range: [0, 2],
  3576. loc: {
  3577. start: { line: 1, column: 0 },
  3578. end: { line: 1, column: 2 }
  3579. }
  3580. },
  3581. range: [0, 21],
  3582. loc: {
  3583. start: { line: 1, column: 0 },
  3584. end: { line: 1, column: 21 }
  3585. }
  3586. }],
  3587. range: [0, 21],
  3588. loc: {
  3589. start: { line: 1, column: 0 },
  3590. end: { line: 1, column: 21 }
  3591. },
  3592. comments: [{
  3593. type: 'Block',
  3594. value: ' The * answer ',
  3595. range: [3, 21],
  3596. loc: {
  3597. start: { line: 1, column: 3 },
  3598. end: { line: 1, column: 21 }
  3599. }
  3600. }]
  3601. },
  3602. '/* multiline\ncomment\nshould\nbe\nignored */ 42': {
  3603. type: 'ExpressionStatement',
  3604. expression: {
  3605. type: 'Literal',
  3606. value: 42,
  3607. raw: '42',
  3608. range: [42, 44],
  3609. loc: {
  3610. start: { line: 5, column: 11 },
  3611. end: { line: 5, column: 13 }
  3612. }
  3613. },
  3614. range: [42, 44],
  3615. loc: {
  3616. start: { line: 5, column: 11 },
  3617. end: { line: 5, column: 13 }
  3618. }
  3619. },
  3620. '/*a\r\nb*/ 42': {
  3621. type: 'Program',
  3622. body: [{
  3623. type: 'ExpressionStatement',
  3624. expression: {
  3625. type: 'Literal',
  3626. value: 42,
  3627. raw: '42',
  3628. range: [9, 11],
  3629. loc: {
  3630. start: { line: 2, column: 4 },
  3631. end: { line: 2, column: 6 }
  3632. }
  3633. },
  3634. range: [9, 11],
  3635. loc: {
  3636. start: { line: 2, column: 4 },
  3637. end: { line: 2, column: 6 }
  3638. }
  3639. }],
  3640. range: [9, 11],
  3641. loc: {
  3642. start: { line: 2, column: 4 },
  3643. end: { line: 2, column: 6 }
  3644. },
  3645. comments: [{
  3646. type: 'Block',
  3647. value: 'a\r\nb',
  3648. range: [0, 8],
  3649. loc: {
  3650. start: { line: 1, column: 0 },
  3651. end: { line: 2, column: 3 }
  3652. }
  3653. }]
  3654. },
  3655. '/*a\rb*/ 42': {
  3656. type: 'Program',
  3657. body: [{
  3658. type: 'ExpressionStatement',
  3659. expression: {
  3660. type: 'Literal',
  3661. value: 42,
  3662. raw: '42',
  3663. range: [8, 10],
  3664. loc: {
  3665. start: { line: 2, column: 4 },
  3666. end: { line: 2, column: 6 }
  3667. }
  3668. },
  3669. range: [8, 10],
  3670. loc: {
  3671. start: { line: 2, column: 4 },
  3672. end: { line: 2, column: 6 }
  3673. }
  3674. }],
  3675. range: [8, 10],
  3676. loc: {
  3677. start: { line: 2, column: 4 },
  3678. end: { line: 2, column: 6 }
  3679. },
  3680. comments: [{
  3681. type: 'Block',
  3682. value: 'a\rb',
  3683. range: [0, 7],
  3684. loc: {
  3685. start: { line: 1, column: 0 },
  3686. end: { line: 2, column: 3 }
  3687. }
  3688. }]
  3689. },
  3690. '/*a\nb*/ 42': {
  3691. type: 'Program',
  3692. body: [{
  3693. type: 'ExpressionStatement',
  3694. expression: {
  3695. type: 'Literal',
  3696. value: 42,
  3697. raw: '42',
  3698. range: [8, 10],
  3699. loc: {
  3700. start: { line: 2, column: 4 },
  3701. end: { line: 2, column: 6 }
  3702. }
  3703. },
  3704. range: [8, 10],
  3705. loc: {
  3706. start: { line: 2, column: 4 },
  3707. end: { line: 2, column: 6 }
  3708. }
  3709. }],
  3710. range: [8, 10],
  3711. loc: {
  3712. start: { line: 2, column: 4 },
  3713. end: { line: 2, column: 6 }
  3714. },
  3715. comments: [{
  3716. type: 'Block',
  3717. value: 'a\nb',
  3718. range: [0, 7],
  3719. loc: {
  3720. start: { line: 1, column: 0 },
  3721. end: { line: 2, column: 3 }
  3722. }
  3723. }]
  3724. },
  3725. '/*a\nc*/ 42': {
  3726. type: 'Program',
  3727. body: [{
  3728. type: 'ExpressionStatement',
  3729. expression: {
  3730. type: 'Literal',
  3731. value: 42,
  3732. raw: '42',
  3733. loc: {
  3734. start: { line: 2, column: 4 },
  3735. end: { line: 2, column: 6 }
  3736. }
  3737. },
  3738. loc: {
  3739. start: { line: 2, column: 4 },
  3740. end: { line: 2, column: 6 }
  3741. }
  3742. }],
  3743. loc: {
  3744. start: { line: 2, column: 4 },
  3745. end: { line: 2, column: 6 }
  3746. },
  3747. comments: [{
  3748. type: 'Block',
  3749. value: 'a\nc',
  3750. loc: {
  3751. start: { line: 1, column: 0 },
  3752. end: { line: 2, column: 3 }
  3753. }
  3754. }]
  3755. },
  3756. '// line comment\n42': {
  3757. type: 'ExpressionStatement',
  3758. expression: {
  3759. type: 'Literal',
  3760. value: 42,
  3761. raw: '42',
  3762. range: [16, 18],
  3763. loc: {
  3764. start: { line: 2, column: 0 },
  3765. end: { line: 2, column: 2 }
  3766. }
  3767. },
  3768. range: [16, 18],
  3769. loc: {
  3770. start: { line: 2, column: 0 },
  3771. end: { line: 2, column: 2 }
  3772. }
  3773. },
  3774. '42 // line comment': {
  3775. type: 'Program',
  3776. body: [{
  3777. type: 'ExpressionStatement',
  3778. expression: {
  3779. type: 'Literal',
  3780. value: 42,
  3781. raw: '42',
  3782. range: [0, 2],
  3783. loc: {
  3784. start: { line: 1, column: 0 },
  3785. end: { line: 1, column: 2 }
  3786. }
  3787. },
  3788. range: [0, 18],
  3789. loc: {
  3790. start: { line: 1, column: 0 },
  3791. end: { line: 1, column: 18 }
  3792. }
  3793. }],
  3794. range: [0, 18],
  3795. loc: {
  3796. start: { line: 1, column: 0 },
  3797. end: { line: 1, column: 18 }
  3798. },
  3799. comments: [{
  3800. type: 'Line',
  3801. value: ' line comment',
  3802. range: [3, 18],
  3803. loc: {
  3804. start: { line: 1, column: 3 },
  3805. end: { line: 1, column: 18 }
  3806. }
  3807. }]
  3808. },
  3809. '// Hello, world!\n42': {
  3810. type: 'Program',
  3811. body: [{
  3812. type: 'ExpressionStatement',
  3813. expression: {
  3814. type: 'Literal',
  3815. value: 42,
  3816. raw: '42',
  3817. range: [17, 19],
  3818. loc: {
  3819. start: { line: 2, column: 0 },
  3820. end: { line: 2, column: 2 }
  3821. }
  3822. },
  3823. range: [17, 19],
  3824. loc: {
  3825. start: { line: 2, column: 0 },
  3826. end: { line: 2, column: 2 }
  3827. }
  3828. }],
  3829. range: [17, 19],
  3830. loc: {
  3831. start: { line: 2, column: 0 },
  3832. end: { line: 2, column: 2 }
  3833. },
  3834. comments: [{
  3835. type: 'Line',
  3836. value: ' Hello, world!',
  3837. range: [0, 16],
  3838. loc: {
  3839. start: { line: 1, column: 0 },
  3840. end: { line: 1, column: 16 }
  3841. }
  3842. }]
  3843. },
  3844. '// Hello, world!\n': {
  3845. type: 'Program',
  3846. body: [],
  3847. range: [17, 17],
  3848. loc: {
  3849. start: { line: 2, column: 0 },
  3850. end: { line: 2, column: 0 }
  3851. },
  3852. comments: [{
  3853. type: 'Line',
  3854. value: ' Hello, world!',
  3855. range: [0, 16],
  3856. loc: {
  3857. start: { line: 1, column: 0 },
  3858. end: { line: 1, column: 16 }
  3859. }
  3860. }]
  3861. },
  3862. '// Hallo, world!\n': {
  3863. type: 'Program',
  3864. body: [],
  3865. loc: {
  3866. start: { line: 2, column: 0 },
  3867. end: { line: 2, column: 0 }
  3868. },
  3869. comments: [{
  3870. type: 'Line',
  3871. value: ' Hallo, world!',
  3872. loc: {
  3873. start: { line: 1, column: 0 },
  3874. end: { line: 1, column: 16 }
  3875. }
  3876. }]
  3877. },
  3878. '//\n42': {
  3879. type: 'Program',
  3880. body: [{
  3881. type: 'ExpressionStatement',
  3882. expression: {
  3883. type: 'Literal',
  3884. value: 42,
  3885. raw: '42',
  3886. range: [3, 5],
  3887. loc: {
  3888. start: { line: 2, column: 0 },
  3889. end: { line: 2, column: 2 }
  3890. }
  3891. },
  3892. range: [3, 5],
  3893. loc: {
  3894. start: { line: 2, column: 0 },
  3895. end: { line: 2, column: 2 }
  3896. }
  3897. }],
  3898. range: [3, 5],
  3899. loc: {
  3900. start: { line: 2, column: 0 },
  3901. end: { line: 2, column: 2 }
  3902. },
  3903. comments: [{
  3904. type: 'Line',
  3905. value: '',
  3906. range: [0, 2],
  3907. loc: {
  3908. start: { line: 1, column: 0 },
  3909. end: { line: 1, column: 2 }
  3910. }
  3911. }]
  3912. },
  3913. '//': {
  3914. type: 'Program',
  3915. body: [],
  3916. range: [2, 2],
  3917. loc: {
  3918. start: { line: 1, column: 2 },
  3919. end: { line: 1, column: 2 }
  3920. },
  3921. comments: [{
  3922. type: 'Line',
  3923. value: '',
  3924. range: [0, 2],
  3925. loc: {
  3926. start: { line: 1, column: 0 },
  3927. end: { line: 1, column: 2 }
  3928. }
  3929. }]
  3930. },
  3931. '// ': {
  3932. type: 'Program',
  3933. body: [],
  3934. range: [3, 3],
  3935. comments: [{
  3936. type: 'Line',
  3937. value: ' ',
  3938. range: [0, 3]
  3939. }]
  3940. },
  3941. '/**/42': {
  3942. type: 'Program',
  3943. body: [{
  3944. type: 'ExpressionStatement',
  3945. expression: {
  3946. type: 'Literal',
  3947. value: 42,
  3948. raw: '42',
  3949. range: [4, 6],
  3950. loc: {
  3951. start: { line: 1, column: 4 },
  3952. end: { line: 1, column: 6 }
  3953. }
  3954. },
  3955. range: [4, 6],
  3956. loc: {
  3957. start: { line: 1, column: 4 },
  3958. end: { line: 1, column: 6 }
  3959. }
  3960. }],
  3961. range: [4, 6],
  3962. loc: {
  3963. start: { line: 1, column: 4 },
  3964. end: { line: 1, column: 6 }
  3965. },
  3966. comments: [{
  3967. type: 'Block',
  3968. value: '',
  3969. range: [0, 4],
  3970. loc: {
  3971. start: { line: 1, column: 0 },
  3972. end: { line: 1, column: 4 }
  3973. }
  3974. }]
  3975. },
  3976. '// Hello, world!\n\n// Another hello\n42': {
  3977. type: 'Program',
  3978. body: [{
  3979. type: 'ExpressionStatement',
  3980. expression: {
  3981. type: 'Literal',
  3982. value: 42,
  3983. raw: '42',
  3984. range: [37, 39],
  3985. loc: {
  3986. start: { line: 4, column: 0 },
  3987. end: { line: 4, column: 2 }
  3988. }
  3989. },
  3990. range: [37, 39],
  3991. loc: {
  3992. start: { line: 4, column: 0 },
  3993. end: { line: 4, column: 2 }
  3994. }
  3995. }],
  3996. range: [37, 39],
  3997. loc: {
  3998. start: { line: 4, column: 0 },
  3999. end: { line: 4, column: 2 }
  4000. },
  4001. comments: [{
  4002. type: 'Line',
  4003. value: ' Hello, world!',
  4004. range: [0, 16],
  4005. loc: {
  4006. start: { line: 1, column: 0 },
  4007. end: { line: 1, column: 16 }
  4008. }
  4009. }, {
  4010. type: 'Line',
  4011. value: ' Another hello',
  4012. range: [18, 36],
  4013. loc: {
  4014. start: { line: 3, column: 0 },
  4015. end: { line: 3, column: 18 }
  4016. }
  4017. }]
  4018. },
  4019. 'if (x) { // Some comment\ndoThat(); }': {
  4020. type: 'Program',
  4021. body: [{
  4022. type: 'IfStatement',
  4023. test: {
  4024. type: 'Identifier',
  4025. name: 'x',
  4026. range: [4, 5],
  4027. loc: {
  4028. start: { line: 1, column: 4 },
  4029. end: { line: 1, column: 5 }
  4030. }
  4031. },
  4032. consequent: {
  4033. type: 'BlockStatement',
  4034. body: [{
  4035. type: 'ExpressionStatement',
  4036. expression: {
  4037. type: 'CallExpression',
  4038. callee: {
  4039. type: 'Identifier',
  4040. name: 'doThat',
  4041. range: [25, 31],
  4042. loc: {
  4043. start: { line: 2, column: 0 },
  4044. end: { line: 2, column: 6 }
  4045. }
  4046. },
  4047. 'arguments': [],
  4048. range: [25, 33],
  4049. loc: {
  4050. start: { line: 2, column: 0 },
  4051. end: { line: 2, column: 8 }
  4052. }
  4053. },
  4054. range: [25, 34],
  4055. loc: {
  4056. start: { line: 2, column: 0 },
  4057. end: { line: 2, column: 9 }
  4058. }
  4059. }],
  4060. range: [7, 36],
  4061. loc: {
  4062. start: { line: 1, column: 7 },
  4063. end: { line: 2, column: 11 }
  4064. }
  4065. },
  4066. alternate: null,
  4067. range: [0, 36],
  4068. loc: {
  4069. start: { line: 1, column: 0 },
  4070. end: { line: 2, column: 11 }
  4071. }
  4072. }],
  4073. range: [0, 36],
  4074. loc: {
  4075. start: { line: 1, column: 0 },
  4076. end: { line: 2, column: 11 }
  4077. },
  4078. comments: [{
  4079. type: 'Line',
  4080. value: ' Some comment',
  4081. range: [9, 24],
  4082. loc: {
  4083. start: { line: 1, column: 9 },
  4084. end: { line: 1, column: 24 }
  4085. }
  4086. }]
  4087. },
  4088. 'switch (answer) { case 42: /* perfect */ bingo() }': {
  4089. type: 'Program',
  4090. body: [{
  4091. type: 'SwitchStatement',
  4092. discriminant: {
  4093. type: 'Identifier',
  4094. name: 'answer',
  4095. range: [8, 14],
  4096. loc: {
  4097. start: { line: 1, column: 8 },
  4098. end: { line: 1, column: 14 }
  4099. }
  4100. },
  4101. cases: [{
  4102. type: 'SwitchCase',
  4103. test: {
  4104. type: 'Literal',
  4105. value: 42,
  4106. raw: '42',
  4107. range: [23, 25],
  4108. loc: {
  4109. start: { line: 1, column: 23 },
  4110. end: { line: 1, column: 25 }
  4111. }
  4112. },
  4113. consequent: [{
  4114. type: 'ExpressionStatement',
  4115. expression: {
  4116. type: 'CallExpression',
  4117. callee: {
  4118. type: 'Identifier',
  4119. name: 'bingo',
  4120. range: [41, 46],
  4121. loc: {
  4122. start: { line: 1, column: 41 },
  4123. end: { line: 1, column: 46 }
  4124. }
  4125. },
  4126. 'arguments': [],
  4127. range: [41, 48],
  4128. loc: {
  4129. start: { line: 1, column: 41 },
  4130. end: { line: 1, column: 48 }
  4131. }
  4132. },
  4133. range: [41, 49],
  4134. loc: {
  4135. start: { line: 1, column: 41 },
  4136. end: { line: 1, column: 49 }
  4137. }
  4138. }],
  4139. range: [18, 49],
  4140. loc: {
  4141. start: { line: 1, column: 18 },
  4142. end: { line: 1, column: 49 }
  4143. }
  4144. }],
  4145. range: [0, 50],
  4146. loc: {
  4147. start: { line: 1, column: 0 },
  4148. end: { line: 1, column: 50 }
  4149. }
  4150. }],
  4151. range: [0, 50],
  4152. loc: {
  4153. start: { line: 1, column: 0 },
  4154. end: { line: 1, column: 50 }
  4155. },
  4156. comments: [{
  4157. type: 'Block',
  4158. value: ' perfect ',
  4159. range: [27, 40],
  4160. loc: {
  4161. start: { line: 1, column: 27 },
  4162. end: { line: 1, column: 40 }
  4163. }
  4164. }]
  4165. }
  4166. },
  4167. 'Numeric Literals': {
  4168. '0': {
  4169. type: 'ExpressionStatement',
  4170. expression: {
  4171. type: 'Literal',
  4172. value: 0,
  4173. raw: '0',
  4174. range: [0, 1],
  4175. loc: {
  4176. start: { line: 1, column: 0 },
  4177. end: { line: 1, column: 1 }
  4178. }
  4179. },
  4180. range: [0, 1],
  4181. loc: {
  4182. start: { line: 1, column: 0 },
  4183. end: { line: 1, column: 1 }
  4184. }
  4185. },
  4186. '42': {
  4187. type: 'ExpressionStatement',
  4188. expression: {
  4189. type: 'Literal',
  4190. value: 42,
  4191. raw: '42',
  4192. range: [0, 2],
  4193. loc: {
  4194. start: { line: 1, column: 0 },
  4195. end: { line: 1, column: 2 }
  4196. }
  4197. },
  4198. range: [0, 2],
  4199. loc: {
  4200. start: { line: 1, column: 0 },
  4201. end: { line: 1, column: 2 }
  4202. }
  4203. },
  4204. '3': {
  4205. type: 'Program',
  4206. body: [{
  4207. type: 'ExpressionStatement',
  4208. expression: {
  4209. type: 'Literal',
  4210. value: 3,
  4211. raw: '3',
  4212. range: [0, 1]
  4213. },
  4214. range: [0, 1]
  4215. }],
  4216. range: [0, 1],
  4217. tokens: [{
  4218. type: 'Numeric',
  4219. value: '3',
  4220. range: [0, 1]
  4221. }]
  4222. },
  4223. '5': {
  4224. type: 'Program',
  4225. body: [{
  4226. type: 'ExpressionStatement',
  4227. expression: {
  4228. type: 'Literal',
  4229. value: 5,
  4230. raw: '5',
  4231. loc: {
  4232. start: { line: 1, column: 0 },
  4233. end: { line: 1, column: 1 }
  4234. }
  4235. },
  4236. loc: {
  4237. start: { line: 1, column: 0 },
  4238. end: { line: 1, column: 1 }
  4239. }
  4240. }],
  4241. loc: {
  4242. start: { line: 1, column: 0 },
  4243. end: { line: 1, column: 1 }
  4244. },
  4245. tokens: [{
  4246. type: 'Numeric',
  4247. value: '5',
  4248. loc: {
  4249. start: { line: 1, column: 0 },
  4250. end: { line: 1, column: 1 }
  4251. }
  4252. }]
  4253. },
  4254. '.14': {
  4255. type: 'ExpressionStatement',
  4256. expression: {
  4257. type: 'Literal',
  4258. value: 0.14,
  4259. raw: '.14',
  4260. range: [0, 3],
  4261. loc: {
  4262. start: { line: 1, column: 0 },
  4263. end: { line: 1, column: 3 }
  4264. }
  4265. },
  4266. range: [0, 3],
  4267. loc: {
  4268. start: { line: 1, column: 0 },
  4269. end: { line: 1, column: 3 }
  4270. }
  4271. },
  4272. '3.14159': {
  4273. type: 'ExpressionStatement',
  4274. expression: {
  4275. type: 'Literal',
  4276. value: 3.14159,
  4277. raw: '3.14159',
  4278. range: [0, 7],
  4279. loc: {
  4280. start: { line: 1, column: 0 },
  4281. end: { line: 1, column: 7 }
  4282. }
  4283. },
  4284. range: [0, 7],
  4285. loc: {
  4286. start: { line: 1, column: 0 },
  4287. end: { line: 1, column: 7 }
  4288. }
  4289. },
  4290. '6.02214179e+23': {
  4291. type: 'ExpressionStatement',
  4292. expression: {
  4293. type: 'Literal',
  4294. value: 6.02214179e+23,
  4295. raw: '6.02214179e+23',
  4296. range: [0, 14],
  4297. loc: {
  4298. start: { line: 1, column: 0 },
  4299. end: { line: 1, column: 14 }
  4300. }
  4301. },
  4302. range: [0, 14],
  4303. loc: {
  4304. start: { line: 1, column: 0 },
  4305. end: { line: 1, column: 14 }
  4306. }
  4307. },
  4308. '1.492417830e-10': {
  4309. type: 'ExpressionStatement',
  4310. expression: {
  4311. type: 'Literal',
  4312. value: 1.49241783e-10,
  4313. raw: '1.492417830e-10',
  4314. range: [0, 15],
  4315. loc: {
  4316. start: { line: 1, column: 0 },
  4317. end: { line: 1, column: 15 }
  4318. }
  4319. },
  4320. range: [0, 15],
  4321. loc: {
  4322. start: { line: 1, column: 0 },
  4323. end: { line: 1, column: 15 }
  4324. }
  4325. },
  4326. '0x0': {
  4327. type: 'ExpressionStatement',
  4328. expression: {
  4329. type: 'Literal',
  4330. value: 0,
  4331. raw: '0x0',
  4332. range: [0, 3],
  4333. loc: {
  4334. start: { line: 1, column: 0 },
  4335. end: { line: 1, column: 3 }
  4336. }
  4337. },
  4338. range: [0, 3],
  4339. loc: {
  4340. start: { line: 1, column: 0 },
  4341. end: { line: 1, column: 3 }
  4342. }
  4343. },
  4344. '0x0;': {
  4345. type: 'ExpressionStatement',
  4346. expression: {
  4347. type: 'Literal',
  4348. value: 0,
  4349. raw: '0x0',
  4350. range: [0, 3],
  4351. loc: {
  4352. start: { line: 1, column: 0 },
  4353. end: { line: 1, column: 3 }
  4354. }
  4355. },
  4356. range: [0, 4],
  4357. loc: {
  4358. start: { line: 1, column: 0 },
  4359. end: { line: 1, column: 4 }
  4360. }
  4361. },
  4362. '0e+100 ': {
  4363. type: 'ExpressionStatement',
  4364. expression: {
  4365. type: 'Literal',
  4366. value: 0,
  4367. raw: '0e+100',
  4368. range: [0, 6],
  4369. loc: {
  4370. start: { line: 1, column: 0 },
  4371. end: { line: 1, column: 6 }
  4372. }
  4373. },
  4374. range: [0, 7],
  4375. loc: {
  4376. start: { line: 1, column: 0 },
  4377. end: { line: 1, column: 7 }
  4378. }
  4379. },
  4380. '0e+100': {
  4381. type: 'ExpressionStatement',
  4382. expression: {
  4383. type: 'Literal',
  4384. value: 0,
  4385. raw: '0e+100',
  4386. range: [0, 6],
  4387. loc: {
  4388. start: { line: 1, column: 0 },
  4389. end: { line: 1, column: 6 }
  4390. }
  4391. },
  4392. range: [0, 6],
  4393. loc: {
  4394. start: { line: 1, column: 0 },
  4395. end: { line: 1, column: 6 }
  4396. }
  4397. },
  4398. '0xabc': {
  4399. type: 'ExpressionStatement',
  4400. expression: {
  4401. type: 'Literal',
  4402. value: 0xabc,
  4403. raw: '0xabc',
  4404. range: [0, 5],
  4405. loc: {
  4406. start: { line: 1, column: 0 },
  4407. end: { line: 1, column: 5 }
  4408. }
  4409. },
  4410. range: [0, 5],
  4411. loc: {
  4412. start: { line: 1, column: 0 },
  4413. end: { line: 1, column: 5 }
  4414. }
  4415. },
  4416. '0xdef': {
  4417. type: 'ExpressionStatement',
  4418. expression: {
  4419. type: 'Literal',
  4420. value: 0xdef,
  4421. raw: '0xdef',
  4422. range: [0, 5],
  4423. loc: {
  4424. start: { line: 1, column: 0 },
  4425. end: { line: 1, column: 5 }
  4426. }
  4427. },
  4428. range: [0, 5],
  4429. loc: {
  4430. start: { line: 1, column: 0 },
  4431. end: { line: 1, column: 5 }
  4432. }
  4433. },
  4434. '0X1A': {
  4435. type: 'ExpressionStatement',
  4436. expression: {
  4437. type: 'Literal',
  4438. value: 0x1A,
  4439. raw: '0X1A',
  4440. range: [0, 4],
  4441. loc: {
  4442. start: { line: 1, column: 0 },
  4443. end: { line: 1, column: 4 }
  4444. }
  4445. },
  4446. range: [0, 4],
  4447. loc: {
  4448. start: { line: 1, column: 0 },
  4449. end: { line: 1, column: 4 }
  4450. }
  4451. },
  4452. '0x10': {
  4453. type: 'ExpressionStatement',
  4454. expression: {
  4455. type: 'Literal',
  4456. value: 0x10,
  4457. raw: '0x10',
  4458. range: [0, 4],
  4459. loc: {
  4460. start: { line: 1, column: 0 },
  4461. end: { line: 1, column: 4 }
  4462. }
  4463. },
  4464. range: [0, 4],
  4465. loc: {
  4466. start: { line: 1, column: 0 },
  4467. end: { line: 1, column: 4 }
  4468. }
  4469. },
  4470. '0x100': {
  4471. type: 'ExpressionStatement',
  4472. expression: {
  4473. type: 'Literal',
  4474. value: 0x100,
  4475. raw: '0x100',
  4476. range: [0, 5],
  4477. loc: {
  4478. start: { line: 1, column: 0 },
  4479. end: { line: 1, column: 5 }
  4480. }
  4481. },
  4482. range: [0, 5],
  4483. loc: {
  4484. start: { line: 1, column: 0 },
  4485. end: { line: 1, column: 5 }
  4486. }
  4487. },
  4488. '0X04': {
  4489. type: 'ExpressionStatement',
  4490. expression: {
  4491. type: 'Literal',
  4492. value: 0X04,
  4493. raw: '0X04',
  4494. range: [0, 4],
  4495. loc: {
  4496. start: { line: 1, column: 0 },
  4497. end: { line: 1, column: 4 }
  4498. }
  4499. },
  4500. range: [0, 4],
  4501. loc: {
  4502. start: { line: 1, column: 0 },
  4503. end: { line: 1, column: 4 }
  4504. }
  4505. },
  4506. '02': {
  4507. type: 'ExpressionStatement',
  4508. expression: {
  4509. type: 'Literal',
  4510. value: 2,
  4511. raw: '02',
  4512. range: [0, 2],
  4513. loc: {
  4514. start: { line: 1, column: 0 },
  4515. end: { line: 1, column: 2 }
  4516. }
  4517. },
  4518. range: [0, 2],
  4519. loc: {
  4520. start: { line: 1, column: 0 },
  4521. end: { line: 1, column: 2 }
  4522. }
  4523. },
  4524. '012': {
  4525. type: 'ExpressionStatement',
  4526. expression: {
  4527. type: 'Literal',
  4528. value: 10,
  4529. raw: '012',
  4530. range: [0, 3],
  4531. loc: {
  4532. start: { line: 1, column: 0 },
  4533. end: { line: 1, column: 3 }
  4534. }
  4535. },
  4536. range: [0, 3],
  4537. loc: {
  4538. start: { line: 1, column: 0 },
  4539. end: { line: 1, column: 3 }
  4540. }
  4541. },
  4542. '0012': {
  4543. type: 'ExpressionStatement',
  4544. expression: {
  4545. type: 'Literal',
  4546. value: 10,
  4547. raw: '0012',
  4548. range: [0, 4],
  4549. loc: {
  4550. start: { line: 1, column: 0 },
  4551. end: { line: 1, column: 4 }
  4552. }
  4553. },
  4554. range: [0, 4],
  4555. loc: {
  4556. start: { line: 1, column: 0 },
  4557. end: { line: 1, column: 4 }
  4558. }
  4559. }
  4560. },
  4561. 'String Literals': {
  4562. '"Hello"': {
  4563. type: 'ExpressionStatement',
  4564. expression: {
  4565. type: 'Literal',
  4566. value: 'Hello',
  4567. raw: '"Hello"',
  4568. range: [0, 7],
  4569. loc: {
  4570. start: { line: 1, column: 0 },
  4571. end: { line: 1, column: 7 }
  4572. }
  4573. },
  4574. range: [0, 7],
  4575. loc: {
  4576. start: { line: 1, column: 0 },
  4577. end: { line: 1, column: 7 }
  4578. }
  4579. },
  4580. '"\\n\\r\\t\\v\\b\\f\\\\\\\'\\"\\0"': {
  4581. type: 'ExpressionStatement',
  4582. expression: {
  4583. type: 'Literal',
  4584. value: '\n\r\t\x0B\b\f\\\'"\x00',
  4585. raw: '"\\n\\r\\t\\v\\b\\f\\\\\\\'\\"\\0"',
  4586. range: [0, 22],
  4587. loc: {
  4588. start: { line: 1, column: 0 },
  4589. end: { line: 1, column: 22 }
  4590. }
  4591. },
  4592. range: [0, 22],
  4593. loc: {
  4594. start: { line: 1, column: 0 },
  4595. end: { line: 1, column: 22 }
  4596. }
  4597. },
  4598. '"\\u0061"': {
  4599. type: 'ExpressionStatement',
  4600. expression: {
  4601. type: 'Literal',
  4602. value: 'a',
  4603. raw: '"\\u0061"',
  4604. range: [0, 8],
  4605. loc: {
  4606. start: { line: 1, column: 0 },
  4607. end: { line: 1, column: 8 }
  4608. }
  4609. },
  4610. range: [0, 8],
  4611. loc: {
  4612. start: { line: 1, column: 0 },
  4613. end: { line: 1, column: 8 }
  4614. }
  4615. },
  4616. '"\\x61"': {
  4617. type: 'ExpressionStatement',
  4618. expression: {
  4619. type: 'Literal',
  4620. value: 'a',
  4621. raw: '"\\x61"',
  4622. range: [0, 6],
  4623. loc: {
  4624. start: { line: 1, column: 0 },
  4625. end: { line: 1, column: 6 }
  4626. }
  4627. },
  4628. range: [0, 6],
  4629. loc: {
  4630. start: { line: 1, column: 0 },
  4631. end: { line: 1, column: 6 }
  4632. }
  4633. },
  4634. '"\\u00"': {
  4635. type: 'ExpressionStatement',
  4636. expression: {
  4637. type: 'Literal',
  4638. value: 'u00',
  4639. raw: '"\\u00"',
  4640. range: [0, 6],
  4641. loc: {
  4642. start: { line: 1, column: 0 },
  4643. end: { line: 1, column: 6 }
  4644. }
  4645. },
  4646. range: [0, 6],
  4647. loc: {
  4648. start: { line: 1, column: 0 },
  4649. end: { line: 1, column: 6 }
  4650. }
  4651. },
  4652. '"\\xt"': {
  4653. type: 'ExpressionStatement',
  4654. expression: {
  4655. type: 'Literal',
  4656. value: 'xt',
  4657. raw: '"\\xt"',
  4658. range: [0, 5],
  4659. loc: {
  4660. start: { line: 1, column: 0 },
  4661. end: { line: 1, column: 5 }
  4662. }
  4663. },
  4664. range: [0, 5],
  4665. loc: {
  4666. start: { line: 1, column: 0 },
  4667. end: { line: 1, column: 5 }
  4668. }
  4669. },
  4670. '"Hello\\nworld"': {
  4671. type: 'ExpressionStatement',
  4672. expression: {
  4673. type: 'Literal',
  4674. value: 'Hello\nworld',
  4675. raw: '"Hello\\nworld"',
  4676. range: [0, 14],
  4677. loc: {
  4678. start: { line: 1, column: 0 },
  4679. end: { line: 1, column: 14 }
  4680. }
  4681. },
  4682. range: [0, 14],
  4683. loc: {
  4684. start: { line: 1, column: 0 },
  4685. end: { line: 1, column: 14 }
  4686. }
  4687. },
  4688. '"Hello\\\nworld"': {
  4689. type: 'ExpressionStatement',
  4690. expression: {
  4691. type: 'Literal',
  4692. value: 'Helloworld',
  4693. raw: '"Hello\\\nworld"',
  4694. range: [0, 14],
  4695. loc: {
  4696. start: { line: 1, column: 0 },
  4697. end: { line: 2, column: 14 }
  4698. }
  4699. },
  4700. range: [0, 14],
  4701. loc: {
  4702. start: { line: 1, column: 0 },
  4703. end: { line: 2, column: 14 }
  4704. }
  4705. },
  4706. '"Hello\\02World"': {
  4707. type: 'ExpressionStatement',
  4708. expression: {
  4709. type: 'Literal',
  4710. value: 'Hello\u0002World',
  4711. raw: '"Hello\\02World"',
  4712. range: [0, 15],
  4713. loc: {
  4714. start: { line: 1, column: 0 },
  4715. end: { line: 1, column: 15 }
  4716. }
  4717. },
  4718. range: [0, 15],
  4719. loc: {
  4720. start: { line: 1, column: 0 },
  4721. end: { line: 1, column: 15 }
  4722. }
  4723. },
  4724. '"Hello\\012World"': {
  4725. type: 'ExpressionStatement',
  4726. expression: {
  4727. type: 'Literal',
  4728. value: 'Hello\u000AWorld',
  4729. raw: '"Hello\\012World"',
  4730. range: [0, 16],
  4731. loc: {
  4732. start: { line: 1, column: 0 },
  4733. end: { line: 1, column: 16 }
  4734. }
  4735. },
  4736. range: [0, 16],
  4737. loc: {
  4738. start: { line: 1, column: 0 },
  4739. end: { line: 1, column: 16 }
  4740. }
  4741. },
  4742. '"Hello\\122World"': {
  4743. type: 'ExpressionStatement',
  4744. expression: {
  4745. type: 'Literal',
  4746. value: 'Hello\122World',
  4747. raw: '"Hello\\122World"',
  4748. range: [0, 16],
  4749. loc: {
  4750. start: { line: 1, column: 0 },
  4751. end: { line: 1, column: 16 }
  4752. }
  4753. },
  4754. range: [0, 16],
  4755. loc: {
  4756. start: { line: 1, column: 0 },
  4757. end: { line: 1, column: 16 }
  4758. }
  4759. },
  4760. '"Hello\\0122World"': {
  4761. type: 'ExpressionStatement',
  4762. expression: {
  4763. type: 'Literal',
  4764. value: 'Hello\u000A2World',
  4765. raw: '"Hello\\0122World"',
  4766. range: [0, 17],
  4767. loc: {
  4768. start: { line: 1, column: 0 },
  4769. end: { line: 1, column: 17 }
  4770. }
  4771. },
  4772. range: [0, 17],
  4773. loc: {
  4774. start: { line: 1, column: 0 },
  4775. end: { line: 1, column: 17 }
  4776. }
  4777. },
  4778. '"Hello\\312World"': {
  4779. type: 'ExpressionStatement',
  4780. expression: {
  4781. type: 'Literal',
  4782. value: 'Hello\u00CAWorld',
  4783. raw: '"Hello\\312World"',
  4784. range: [0, 16],
  4785. loc: {
  4786. start: { line: 1, column: 0 },
  4787. end: { line: 1, column: 16 }
  4788. }
  4789. },
  4790. range: [0, 16],
  4791. loc: {
  4792. start: { line: 1, column: 0 },
  4793. end: { line: 1, column: 16 }
  4794. }
  4795. },
  4796. '"Hello\\412World"': {
  4797. type: 'ExpressionStatement',
  4798. expression: {
  4799. type: 'Literal',
  4800. value: 'Hello\412World',
  4801. raw: '"Hello\\412World"',
  4802. range: [0, 16],
  4803. loc: {
  4804. start: { line: 1, column: 0 },
  4805. end: { line: 1, column: 16 }
  4806. }
  4807. },
  4808. range: [0, 16],
  4809. loc: {
  4810. start: { line: 1, column: 0 },
  4811. end: { line: 1, column: 16 }
  4812. }
  4813. },
  4814. '"Hello\\812World"': {
  4815. type: 'ExpressionStatement',
  4816. expression: {
  4817. type: 'Literal',
  4818. value: 'Hello812World',
  4819. raw: '"Hello\\812World"',
  4820. range: [0, 16],
  4821. loc: {
  4822. start: { line: 1, column: 0 },
  4823. end: { line: 1, column: 16 }
  4824. }
  4825. },
  4826. range: [0, 16],
  4827. loc: {
  4828. start: { line: 1, column: 0 },
  4829. end: { line: 1, column: 16 }
  4830. }
  4831. },
  4832. '"Hello\\712World"': {
  4833. type: 'ExpressionStatement',
  4834. expression: {
  4835. type: 'Literal',
  4836. value: 'Hello\712World',
  4837. raw: '"Hello\\712World"',
  4838. range: [0, 16],
  4839. loc: {
  4840. start: { line: 1, column: 0 },
  4841. end: { line: 1, column: 16 }
  4842. }
  4843. },
  4844. range: [0, 16],
  4845. loc: {
  4846. start: { line: 1, column: 0 },
  4847. end: { line: 1, column: 16 }
  4848. }
  4849. },
  4850. '"Hello\\0World"': {
  4851. type: 'ExpressionStatement',
  4852. expression: {
  4853. type: 'Literal',
  4854. value: 'Hello\u0000World',
  4855. raw: '"Hello\\0World"',
  4856. range: [0, 14],
  4857. loc: {
  4858. start: { line: 1, column: 0 },
  4859. end: { line: 1, column: 14 }
  4860. }
  4861. },
  4862. range: [0, 14],
  4863. loc: {
  4864. start: { line: 1, column: 0 },
  4865. end: { line: 1, column: 14 }
  4866. }
  4867. },
  4868. '"Hello\\\r\nworld"': {
  4869. type: 'ExpressionStatement',
  4870. expression: {
  4871. type: 'Literal',
  4872. value: 'Helloworld',
  4873. raw: '"Hello\\\r\nworld"',
  4874. range: [0, 15],
  4875. loc: {
  4876. start: { line: 1, column: 0 },
  4877. end: { line: 2, column: 15 }
  4878. }
  4879. },
  4880. range: [0, 15],
  4881. loc: {
  4882. start: { line: 1, column: 0 },
  4883. end: { line: 2, column: 15 }
  4884. }
  4885. },
  4886. '"Hello\\1World"': {
  4887. type: 'ExpressionStatement',
  4888. expression: {
  4889. type: 'Literal',
  4890. value: 'Hello\u0001World',
  4891. raw: '"Hello\\1World"',
  4892. range: [0, 14],
  4893. loc: {
  4894. start: { line: 1, column: 0 },
  4895. end: { line: 1, column: 14 }
  4896. }
  4897. },
  4898. range: [0, 14],
  4899. loc: {
  4900. start: { line: 1, column: 0 },
  4901. end: { line: 1, column: 14 }
  4902. }
  4903. }
  4904. },
  4905. 'Regular Expression Literals': {
  4906. 'var x = /[a-z]/i': {
  4907. type: 'Program',
  4908. body: [{
  4909. type: 'VariableDeclaration',
  4910. declarations: [{
  4911. type: 'VariableDeclarator',
  4912. id: {
  4913. type: 'Identifier',
  4914. name: 'x',
  4915. range: [4, 5],
  4916. loc: {
  4917. start: { line: 1, column: 4 },
  4918. end: { line: 1, column: 5 }
  4919. }
  4920. },
  4921. init: {
  4922. type: 'Literal',
  4923. value: '/[a-z]/i',
  4924. raw: '/[a-z]/i',
  4925. range: [8, 16],
  4926. loc: {
  4927. start: { line: 1, column: 8 },
  4928. end: { line: 1, column: 16 }
  4929. }
  4930. },
  4931. range: [4, 16],
  4932. loc: {
  4933. start: { line: 1, column: 4 },
  4934. end: { line: 1, column: 16 }
  4935. }
  4936. }],
  4937. kind: 'var',
  4938. range: [0, 16],
  4939. loc: {
  4940. start: { line: 1, column: 0 },
  4941. end: { line: 1, column: 16 }
  4942. }
  4943. }],
  4944. range: [0, 16],
  4945. loc: {
  4946. start: { line: 1, column: 0 },
  4947. end: { line: 1, column: 16 }
  4948. },
  4949. tokens: [{
  4950. type: 'Keyword',
  4951. value: 'var',
  4952. range: [0, 3],
  4953. loc: {
  4954. start: { line: 1, column: 0 },
  4955. end: { line: 1, column: 3 }
  4956. }
  4957. }, {
  4958. type: 'Identifier',
  4959. value: 'x',
  4960. range: [4, 5],
  4961. loc: {
  4962. start: { line: 1, column: 4 },
  4963. end: { line: 1, column: 5 }
  4964. }
  4965. }, {
  4966. type: 'Punctuator',
  4967. value: '=',
  4968. range: [6, 7],
  4969. loc: {
  4970. start: { line: 1, column: 6 },
  4971. end: { line: 1, column: 7 }
  4972. }
  4973. }, {
  4974. type: 'RegularExpression',
  4975. value: '/[a-z]/i',
  4976. range: [8, 16],
  4977. loc: {
  4978. start: { line: 1, column: 8 },
  4979. end: { line: 1, column: 16 }
  4980. }
  4981. }]
  4982. },
  4983. 'var x = /[x-z]/i': {
  4984. type: 'Program',
  4985. body: [{
  4986. type: 'VariableDeclaration',
  4987. declarations: [{
  4988. type: 'VariableDeclarator',
  4989. id: {
  4990. type: 'Identifier',
  4991. name: 'x',
  4992. range: [4, 5]
  4993. },
  4994. init: {
  4995. type: 'Literal',
  4996. value: '/[x-z]/i',
  4997. raw: '/[x-z]/i',
  4998. range: [8, 16]
  4999. },
  5000. range: [4, 16]
  5001. }],
  5002. kind: 'var',
  5003. range: [0, 16]
  5004. }],
  5005. range: [0, 16],
  5006. tokens: [{
  5007. type: 'Keyword',
  5008. value: 'var',
  5009. range: [0, 3]
  5010. }, {
  5011. type: 'Identifier',
  5012. value: 'x',
  5013. range: [4, 5]
  5014. }, {
  5015. type: 'Punctuator',
  5016. value: '=',
  5017. range: [6, 7]
  5018. }, {
  5019. type: 'RegularExpression',
  5020. value: '/[x-z]/i',
  5021. range: [8, 16]
  5022. }]
  5023. },
  5024. 'var x = /[a-c]/i': {
  5025. type: 'Program',
  5026. body: [{
  5027. type: 'VariableDeclaration',
  5028. declarations: [{
  5029. type: 'VariableDeclarator',
  5030. id: {
  5031. type: 'Identifier',
  5032. name: 'x',
  5033. loc: {
  5034. start: { line: 1, column: 4 },
  5035. end: { line: 1, column: 5 }
  5036. }
  5037. },
  5038. init: {
  5039. type: 'Literal',
  5040. value: '/[a-c]/i',
  5041. raw: '/[a-c]/i',
  5042. loc: {
  5043. start: { line: 1, column: 8 },
  5044. end: { line: 1, column: 16 }
  5045. }
  5046. },
  5047. loc: {
  5048. start: { line: 1, column: 4 },
  5049. end: { line: 1, column: 16 }
  5050. }
  5051. }],
  5052. kind: 'var',
  5053. loc: {
  5054. start: { line: 1, column: 0 },
  5055. end: { line: 1, column: 16 }
  5056. }
  5057. }],
  5058. loc: {
  5059. start: { line: 1, column: 0 },
  5060. end: { line: 1, column: 16 }
  5061. },
  5062. tokens: [{
  5063. type: 'Keyword',
  5064. value: 'var',
  5065. loc: {
  5066. start: { line: 1, column: 0 },
  5067. end: { line: 1, column: 3 }
  5068. }
  5069. }, {
  5070. type: 'Identifier',
  5071. value: 'x',
  5072. loc: {
  5073. start: { line: 1, column: 4 },
  5074. end: { line: 1, column: 5 }
  5075. }
  5076. }, {
  5077. type: 'Punctuator',
  5078. value: '=',
  5079. loc: {
  5080. start: { line: 1, column: 6 },
  5081. end: { line: 1, column: 7 }
  5082. }
  5083. }, {
  5084. type: 'RegularExpression',
  5085. value: '/[a-c]/i',
  5086. loc: {
  5087. start: { line: 1, column: 8 },
  5088. end: { line: 1, column: 16 }
  5089. }
  5090. }]
  5091. },
  5092. 'var x = /[P QR]/i': {
  5093. type: 'Program',
  5094. body: [{
  5095. type: 'VariableDeclaration',
  5096. declarations: [{
  5097. type: 'VariableDeclarator',
  5098. id: {
  5099. type: 'Identifier',
  5100. name: 'x',
  5101. range: [4, 5],
  5102. loc: {
  5103. start: { line: 1, column: 4 },
  5104. end: { line: 1, column: 5 }
  5105. }
  5106. },
  5107. init: {
  5108. type: 'Literal',
  5109. value: '/[P QR]/i',
  5110. raw: '/[P QR]/i',
  5111. range: [8, 17],
  5112. loc: {
  5113. start: { line: 1, column: 8 },
  5114. end: { line: 1, column: 17 }
  5115. }
  5116. },
  5117. range: [4, 17],
  5118. loc: {
  5119. start: { line: 1, column: 4 },
  5120. end: { line: 1, column: 17 }
  5121. }
  5122. }],
  5123. kind: 'var',
  5124. range: [0, 17],
  5125. loc: {
  5126. start: { line: 1, column: 0 },
  5127. end: { line: 1, column: 17 }
  5128. }
  5129. }],
  5130. range: [0, 17],
  5131. loc: {
  5132. start: { line: 1, column: 0 },
  5133. end: { line: 1, column: 17 }
  5134. },
  5135. tokens: [{
  5136. type: 'Keyword',
  5137. value: 'var',
  5138. range: [0, 3],
  5139. loc: {
  5140. start: { line: 1, column: 0 },
  5141. end: { line: 1, column: 3 }
  5142. }
  5143. }, {
  5144. type: 'Identifier',
  5145. value: 'x',
  5146. range: [4, 5],
  5147. loc: {
  5148. start: { line: 1, column: 4 },
  5149. end: { line: 1, column: 5 }
  5150. }
  5151. }, {
  5152. type: 'Punctuator',
  5153. value: '=',
  5154. range: [6, 7],
  5155. loc: {
  5156. start: { line: 1, column: 6 },
  5157. end: { line: 1, column: 7 }
  5158. }
  5159. }, {
  5160. type: 'RegularExpression',
  5161. value: '/[P QR]/i',
  5162. range: [8, 17],
  5163. loc: {
  5164. start: { line: 1, column: 8 },
  5165. end: { line: 1, column: 17 }
  5166. }
  5167. }]
  5168. },
  5169. 'var x = /foo\\/bar/': {
  5170. type: 'Program',
  5171. body: [{
  5172. type: 'VariableDeclaration',
  5173. declarations: [{
  5174. type: 'VariableDeclarator',
  5175. id: {
  5176. type: 'Identifier',
  5177. name: 'x',
  5178. range: [4, 5],
  5179. loc: {
  5180. start: { line: 1, column: 4 },
  5181. end: { line: 1, column: 5 }
  5182. }
  5183. },
  5184. init: {
  5185. type: 'Literal',
  5186. value: '/foo\\/bar/',
  5187. raw: '/foo\\/bar/',
  5188. range: [8, 18],
  5189. loc: {
  5190. start: { line: 1, column: 8 },
  5191. end: { line: 1, column: 18 }
  5192. }
  5193. },
  5194. range: [4, 18],
  5195. loc: {
  5196. start: { line: 1, column: 4 },
  5197. end: { line: 1, column: 18 }
  5198. }
  5199. }],
  5200. kind: 'var',
  5201. range: [0, 18],
  5202. loc: {
  5203. start: { line: 1, column: 0 },
  5204. end: { line: 1, column: 18 }
  5205. }
  5206. }],
  5207. range: [0, 18],
  5208. loc: {
  5209. start: { line: 1, column: 0 },
  5210. end: { line: 1, column: 18 }
  5211. },
  5212. tokens: [{
  5213. type: 'Keyword',
  5214. value: 'var',
  5215. range: [0, 3],
  5216. loc: {
  5217. start: { line: 1, column: 0 },
  5218. end: { line: 1, column: 3 }
  5219. }
  5220. }, {
  5221. type: 'Identifier',
  5222. value: 'x',
  5223. range: [4, 5],
  5224. loc: {
  5225. start: { line: 1, column: 4 },
  5226. end: { line: 1, column: 5 }
  5227. }
  5228. }, {
  5229. type: 'Punctuator',
  5230. value: '=',
  5231. range: [6, 7],
  5232. loc: {
  5233. start: { line: 1, column: 6 },
  5234. end: { line: 1, column: 7 }
  5235. }
  5236. }, {
  5237. type: 'RegularExpression',
  5238. value: '/foo\\/bar/',
  5239. range: [8, 18],
  5240. loc: {
  5241. start: { line: 1, column: 8 },
  5242. end: { line: 1, column: 18 }
  5243. }
  5244. }]
  5245. },
  5246. 'var x = /=([^=\\s])+/g': {
  5247. type: 'Program',
  5248. body: [{
  5249. type: 'VariableDeclaration',
  5250. declarations: [{
  5251. type: 'VariableDeclarator',
  5252. id: {
  5253. type: 'Identifier',
  5254. name: 'x',
  5255. range: [4, 5],
  5256. loc: {
  5257. start: { line: 1, column: 4 },
  5258. end: { line: 1, column: 5 }
  5259. }
  5260. },
  5261. init: {
  5262. type: 'Literal',
  5263. value: '/=([^=\\s])+/g',
  5264. raw: '/=([^=\\s])+/g',
  5265. range: [8, 21],
  5266. loc: {
  5267. start: { line: 1, column: 8 },
  5268. end: { line: 1, column: 21 }
  5269. }
  5270. },
  5271. range: [4, 21],
  5272. loc: {
  5273. start: { line: 1, column: 4 },
  5274. end: { line: 1, column: 21 }
  5275. }
  5276. }],
  5277. kind: 'var',
  5278. range: [0, 21],
  5279. loc: {
  5280. start: { line: 1, column: 0 },
  5281. end: { line: 1, column: 21 }
  5282. }
  5283. }],
  5284. range: [0, 21],
  5285. loc: {
  5286. start: { line: 1, column: 0 },
  5287. end: { line: 1, column: 21 }
  5288. },
  5289. tokens: [{
  5290. type: 'Keyword',
  5291. value: 'var',
  5292. range: [0, 3],
  5293. loc: {
  5294. start: { line: 1, column: 0 },
  5295. end: { line: 1, column: 3 }
  5296. }
  5297. }, {
  5298. type: 'Identifier',
  5299. value: 'x',
  5300. range: [4, 5],
  5301. loc: {
  5302. start: { line: 1, column: 4 },
  5303. end: { line: 1, column: 5 }
  5304. }
  5305. }, {
  5306. type: 'Punctuator',
  5307. value: '=',
  5308. range: [6, 7],
  5309. loc: {
  5310. start: { line: 1, column: 6 },
  5311. end: { line: 1, column: 7 }
  5312. }
  5313. }, {
  5314. type: 'RegularExpression',
  5315. value: '/=([^=\\s])+/g',
  5316. range: [8, 21],
  5317. loc: {
  5318. start: { line: 1, column: 8 },
  5319. end: { line: 1, column: 21 }
  5320. }
  5321. }]
  5322. },
  5323. 'var x = /[P QR]/\\u0067': {
  5324. type: 'Program',
  5325. body: [{
  5326. type: 'VariableDeclaration',
  5327. declarations: [{
  5328. type: 'VariableDeclarator',
  5329. id: {
  5330. type: 'Identifier',
  5331. name: 'x',
  5332. range: [4, 5],
  5333. loc: {
  5334. start: { line: 1, column: 4 },
  5335. end: { line: 1, column: 5 }
  5336. }
  5337. },
  5338. init: {
  5339. type: 'Literal',
  5340. value: '/[P QR]/g',
  5341. raw: '/[P QR]/\\u0067',
  5342. range: [8, 22],
  5343. loc: {
  5344. start: { line: 1, column: 8 },
  5345. end: { line: 1, column: 22 }
  5346. }
  5347. },
  5348. range: [4, 22],
  5349. loc: {
  5350. start: { line: 1, column: 4 },
  5351. end: { line: 1, column: 22 }
  5352. }
  5353. }],
  5354. kind: 'var',
  5355. range: [0, 22],
  5356. loc: {
  5357. start: { line: 1, column: 0 },
  5358. end: { line: 1, column: 22 }
  5359. }
  5360. }],
  5361. range: [0, 22],
  5362. loc: {
  5363. start: { line: 1, column: 0 },
  5364. end: { line: 1, column: 22 }
  5365. },
  5366. tokens: [{
  5367. type: 'Keyword',
  5368. value: 'var',
  5369. range: [0, 3],
  5370. loc: {
  5371. start: { line: 1, column: 0 },
  5372. end: { line: 1, column: 3 }
  5373. }
  5374. }, {
  5375. type: 'Identifier',
  5376. value: 'x',
  5377. range: [4, 5],
  5378. loc: {
  5379. start: { line: 1, column: 4 },
  5380. end: { line: 1, column: 5 }
  5381. }
  5382. }, {
  5383. type: 'Punctuator',
  5384. value: '=',
  5385. range: [6, 7],
  5386. loc: {
  5387. start: { line: 1, column: 6 },
  5388. end: { line: 1, column: 7 }
  5389. }
  5390. }, {
  5391. type: 'RegularExpression',
  5392. value: '/[P QR]/\\u0067',
  5393. range: [8, 22],
  5394. loc: {
  5395. start: { line: 1, column: 8 },
  5396. end: { line: 1, column: 22 }
  5397. }
  5398. }]
  5399. },
  5400. 'var x = /[P QR]/\\g': {
  5401. type: 'Program',
  5402. body: [{
  5403. type: 'VariableDeclaration',
  5404. declarations: [{
  5405. type: 'VariableDeclarator',
  5406. id: {
  5407. type: 'Identifier',
  5408. name: 'x',
  5409. range: [4, 5],
  5410. loc: {
  5411. start: { line: 1, column: 4 },
  5412. end: { line: 1, column: 5 }
  5413. }
  5414. },
  5415. init: {
  5416. type: 'Literal',
  5417. value: '/[P QR]/g',
  5418. raw: '/[P QR]/\\g',
  5419. range: [8, 18],
  5420. loc: {
  5421. start: { line: 1, column: 8 },
  5422. end: { line: 1, column: 18 }
  5423. }
  5424. },
  5425. range: [4, 18],
  5426. loc: {
  5427. start: { line: 1, column: 4 },
  5428. end: { line: 1, column: 18 }
  5429. }
  5430. }],
  5431. kind: 'var',
  5432. range: [0, 18],
  5433. loc: {
  5434. start: { line: 1, column: 0 },
  5435. end: { line: 1, column: 18 }
  5436. }
  5437. }],
  5438. range: [0, 18],
  5439. loc: {
  5440. start: { line: 1, column: 0 },
  5441. end: { line: 1, column: 18 }
  5442. },
  5443. tokens: [{
  5444. type: 'Keyword',
  5445. value: 'var',
  5446. range: [0, 3],
  5447. loc: {
  5448. start: { line: 1, column: 0 },
  5449. end: { line: 1, column: 3 }
  5450. }
  5451. }, {
  5452. type: 'Identifier',
  5453. value: 'x',
  5454. range: [4, 5],
  5455. loc: {
  5456. start: { line: 1, column: 4 },
  5457. end: { line: 1, column: 5 }
  5458. }
  5459. }, {
  5460. type: 'Punctuator',
  5461. value: '=',
  5462. range: [6, 7],
  5463. loc: {
  5464. start: { line: 1, column: 6 },
  5465. end: { line: 1, column: 7 }
  5466. }
  5467. }, {
  5468. type: 'RegularExpression',
  5469. value: '/[P QR]/\\g',
  5470. range: [8, 18],
  5471. loc: {
  5472. start: { line: 1, column: 8 },
  5473. end: { line: 1, column: 18 }
  5474. }
  5475. }]
  5476. },
  5477. 'var x = /42/g.test': {
  5478. type: 'VariableDeclaration',
  5479. declarations: [{
  5480. type: 'VariableDeclarator',
  5481. id: {
  5482. type: 'Identifier',
  5483. name: 'x',
  5484. range: [4, 5],
  5485. loc: {
  5486. start: { line: 1, column: 4 },
  5487. end: { line: 1, column: 5 }
  5488. }
  5489. },
  5490. init: {
  5491. type: 'MemberExpression',
  5492. computed: false,
  5493. object: {
  5494. type: 'Literal',
  5495. value: '/42/g',
  5496. raw: '/42/g',
  5497. range: [8, 13],
  5498. loc: {
  5499. start: { line: 1, column: 8 },
  5500. end: { line: 1, column: 13 }
  5501. }
  5502. },
  5503. property: {
  5504. type: 'Identifier',
  5505. name: 'test',
  5506. range: [14, 18],
  5507. loc: {
  5508. start: { line: 1, column: 14 },
  5509. end: { line: 1, column: 18 }
  5510. }
  5511. },
  5512. range: [8, 18],
  5513. loc: {
  5514. start: { line: 1, column: 8 },
  5515. end: { line: 1, column: 18 }
  5516. }
  5517. },
  5518. range: [4, 18],
  5519. loc: {
  5520. start: { line: 1, column: 4 },
  5521. end: { line: 1, column: 18 }
  5522. }
  5523. }],
  5524. kind: 'var',
  5525. range: [0, 18],
  5526. loc: {
  5527. start: { line: 1, column: 0 },
  5528. end: { line: 1, column: 18 }
  5529. }
  5530. }
  5531. },
  5532. 'Left-Hand-Side Expression': {
  5533. 'new Button': {
  5534. type: 'ExpressionStatement',
  5535. expression: {
  5536. type: 'NewExpression',
  5537. callee: {
  5538. type: 'Identifier',
  5539. name: 'Button',
  5540. range: [4, 10],
  5541. loc: {
  5542. start: { line: 1, column: 4 },
  5543. end: { line: 1, column: 10 }
  5544. }
  5545. },
  5546. 'arguments': [],
  5547. range: [0, 10],
  5548. loc: {
  5549. start: { line: 1, column: 0 },
  5550. end: { line: 1, column: 10 }
  5551. }
  5552. },
  5553. range: [0, 10],
  5554. loc: {
  5555. start: { line: 1, column: 0 },
  5556. end: { line: 1, column: 10 }
  5557. }
  5558. },
  5559. 'new Button()': {
  5560. type: 'ExpressionStatement',
  5561. expression: {
  5562. type: 'NewExpression',
  5563. callee: {
  5564. type: 'Identifier',
  5565. name: 'Button',
  5566. range: [4, 10],
  5567. loc: {
  5568. start: { line: 1, column: 4 },
  5569. end: { line: 1, column: 10 }
  5570. }
  5571. },
  5572. 'arguments': [],
  5573. range: [0, 12],
  5574. loc: {
  5575. start: { line: 1, column: 0 },
  5576. end: { line: 1, column: 12 }
  5577. }
  5578. },
  5579. range: [0, 12],
  5580. loc: {
  5581. start: { line: 1, column: 0 },
  5582. end: { line: 1, column: 12 }
  5583. }
  5584. },
  5585. 'new new foo': {
  5586. type: 'ExpressionStatement',
  5587. expression: {
  5588. type: 'NewExpression',
  5589. callee: {
  5590. type: 'NewExpression',
  5591. callee: {
  5592. type: 'Identifier',
  5593. name: 'foo',
  5594. range: [8, 11],
  5595. loc: {
  5596. start: { line: 1, column: 8 },
  5597. end: { line: 1, column: 11 }
  5598. }
  5599. },
  5600. 'arguments': [],
  5601. range: [4, 11],
  5602. loc: {
  5603. start: { line: 1, column: 4 },
  5604. end: { line: 1, column: 11 }
  5605. }
  5606. },
  5607. 'arguments': [],
  5608. range: [0, 11],
  5609. loc: {
  5610. start: { line: 1, column: 0 },
  5611. end: { line: 1, column: 11 }
  5612. }
  5613. },
  5614. range: [0, 11],
  5615. loc: {
  5616. start: { line: 1, column: 0 },
  5617. end: { line: 1, column: 11 }
  5618. }
  5619. },
  5620. 'new new foo()': {
  5621. type: 'ExpressionStatement',
  5622. expression: {
  5623. type: 'NewExpression',
  5624. callee: {
  5625. type: 'NewExpression',
  5626. callee: {
  5627. type: 'Identifier',
  5628. name: 'foo',
  5629. range: [8, 11],
  5630. loc: {
  5631. start: { line: 1, column: 8 },
  5632. end: { line: 1, column: 11 }
  5633. }
  5634. },
  5635. 'arguments': [],
  5636. range: [4, 13],
  5637. loc: {
  5638. start: { line: 1, column: 4 },
  5639. end: { line: 1, column: 13 }
  5640. }
  5641. },
  5642. 'arguments': [],
  5643. range: [0, 13],
  5644. loc: {
  5645. start: { line: 1, column: 0 },
  5646. end: { line: 1, column: 13 }
  5647. }
  5648. },
  5649. range: [0, 13],
  5650. loc: {
  5651. start: { line: 1, column: 0 },
  5652. end: { line: 1, column: 13 }
  5653. }
  5654. },
  5655. 'new foo().bar()': {
  5656. type: 'ExpressionStatement',
  5657. expression: {
  5658. type: 'CallExpression',
  5659. callee: {
  5660. type: 'MemberExpression',
  5661. computed: false,
  5662. object: {
  5663. type: 'NewExpression',
  5664. callee: {
  5665. type: 'Identifier',
  5666. name: 'foo',
  5667. range: [4, 7],
  5668. loc: {
  5669. start: { line: 1, column: 4 },
  5670. end: { line: 1, column: 7 }
  5671. }
  5672. },
  5673. 'arguments': [],
  5674. range: [0, 9],
  5675. loc: {
  5676. start: { line: 1, column: 0 },
  5677. end: { line: 1, column: 9 }
  5678. }
  5679. },
  5680. property: {
  5681. type: 'Identifier',
  5682. name: 'bar',
  5683. range: [10, 13],
  5684. loc: {
  5685. start: { line: 1, column: 10 },
  5686. end: { line: 1, column: 13 }
  5687. }
  5688. },
  5689. range: [0, 13],
  5690. loc: {
  5691. start: { line: 1, column: 0 },
  5692. end: { line: 1, column: 13 }
  5693. }
  5694. },
  5695. 'arguments': [],
  5696. range: [0, 15],
  5697. loc: {
  5698. start: { line: 1, column: 0 },
  5699. end: { line: 1, column: 15 }
  5700. }
  5701. },
  5702. range: [0, 15],
  5703. loc: {
  5704. start: { line: 1, column: 0 },
  5705. end: { line: 1, column: 15 }
  5706. }
  5707. },
  5708. 'new foo[bar]': {
  5709. type: 'ExpressionStatement',
  5710. expression: {
  5711. type: 'NewExpression',
  5712. callee: {
  5713. type: 'MemberExpression',
  5714. computed: true,
  5715. object: {
  5716. type: 'Identifier',
  5717. name: 'foo',
  5718. range: [4, 7],
  5719. loc: {
  5720. start: { line: 1, column: 4 },
  5721. end: { line: 1, column: 7 }
  5722. }
  5723. },
  5724. property: {
  5725. type: 'Identifier',
  5726. name: 'bar',
  5727. range: [8, 11],
  5728. loc: {
  5729. start: { line: 1, column: 8 },
  5730. end: { line: 1, column: 11 }
  5731. }
  5732. },
  5733. range: [4, 12],
  5734. loc: {
  5735. start: { line: 1, column: 4 },
  5736. end: { line: 1, column: 12 }
  5737. }
  5738. },
  5739. 'arguments': [],
  5740. range: [0, 12],
  5741. loc: {
  5742. start: { line: 1, column: 0 },
  5743. end: { line: 1, column: 12 }
  5744. }
  5745. },
  5746. range: [0, 12],
  5747. loc: {
  5748. start: { line: 1, column: 0 },
  5749. end: { line: 1, column: 12 }
  5750. }
  5751. },
  5752. 'new foo.bar()': {
  5753. type: 'ExpressionStatement',
  5754. expression: {
  5755. type: 'NewExpression',
  5756. callee: {
  5757. type: 'MemberExpression',
  5758. computed: false,
  5759. object: {
  5760. type: 'Identifier',
  5761. name: 'foo',
  5762. range: [4, 7],
  5763. loc: {
  5764. start: { line: 1, column: 4 },
  5765. end: { line: 1, column: 7 }
  5766. }
  5767. },
  5768. property: {
  5769. type: 'Identifier',
  5770. name: 'bar',
  5771. range: [8, 11],
  5772. loc: {
  5773. start: { line: 1, column: 8 },
  5774. end: { line: 1, column: 11 }
  5775. }
  5776. },
  5777. range: [4, 11],
  5778. loc: {
  5779. start: { line: 1, column: 4 },
  5780. end: { line: 1, column: 11 }
  5781. }
  5782. },
  5783. 'arguments': [],
  5784. range: [0, 13],
  5785. loc: {
  5786. start: { line: 1, column: 0 },
  5787. end: { line: 1, column: 13 }
  5788. }
  5789. },
  5790. range: [0, 13],
  5791. loc: {
  5792. start: { line: 1, column: 0 },
  5793. end: { line: 1, column: 13 }
  5794. }
  5795. },
  5796. '( new foo).bar()': {
  5797. type: 'ExpressionStatement',
  5798. expression: {
  5799. type: 'CallExpression',
  5800. callee: {
  5801. type: 'MemberExpression',
  5802. computed: false,
  5803. object: {
  5804. type: 'NewExpression',
  5805. callee: {
  5806. type: 'Identifier',
  5807. name: 'foo',
  5808. range: [6, 9],
  5809. loc: {
  5810. start: { line: 1, column: 6 },
  5811. end: { line: 1, column: 9 }
  5812. }
  5813. },
  5814. 'arguments': [],
  5815. range: [2, 9],
  5816. loc: {
  5817. start: { line: 1, column: 2 },
  5818. end: { line: 1, column: 9 }
  5819. }
  5820. },
  5821. property: {
  5822. type: 'Identifier',
  5823. name: 'bar',
  5824. range: [11, 14],
  5825. loc: {
  5826. start: { line: 1, column: 11 },
  5827. end: { line: 1, column: 14 }
  5828. }
  5829. },
  5830. range: [0, 14],
  5831. loc: {
  5832. start: { line: 1, column: 0 },
  5833. end: { line: 1, column: 14 }
  5834. }
  5835. },
  5836. 'arguments': [],
  5837. range: [0, 16],
  5838. loc: {
  5839. start: { line: 1, column: 0 },
  5840. end: { line: 1, column: 16 }
  5841. }
  5842. },
  5843. range: [0, 16],
  5844. loc: {
  5845. start: { line: 1, column: 0 },
  5846. end: { line: 1, column: 16 }
  5847. }
  5848. },
  5849. 'foo(bar, baz)': {
  5850. type: 'ExpressionStatement',
  5851. expression: {
  5852. type: 'CallExpression',
  5853. callee: {
  5854. type: 'Identifier',
  5855. name: 'foo',
  5856. range: [0, 3],
  5857. loc: {
  5858. start: { line: 1, column: 0 },
  5859. end: { line: 1, column: 3 }
  5860. }
  5861. },
  5862. 'arguments': [{
  5863. type: 'Identifier',
  5864. name: 'bar',
  5865. range: [4, 7],
  5866. loc: {
  5867. start: { line: 1, column: 4 },
  5868. end: { line: 1, column: 7 }
  5869. }
  5870. }, {
  5871. type: 'Identifier',
  5872. name: 'baz',
  5873. range: [9, 12],
  5874. loc: {
  5875. start: { line: 1, column: 9 },
  5876. end: { line: 1, column: 12 }
  5877. }
  5878. }],
  5879. range: [0, 13],
  5880. loc: {
  5881. start: { line: 1, column: 0 },
  5882. end: { line: 1, column: 13 }
  5883. }
  5884. },
  5885. range: [0, 13],
  5886. loc: {
  5887. start: { line: 1, column: 0 },
  5888. end: { line: 1, column: 13 }
  5889. }
  5890. },
  5891. '( foo )()': {
  5892. type: 'ExpressionStatement',
  5893. expression: {
  5894. type: 'CallExpression',
  5895. callee: {
  5896. type: 'Identifier',
  5897. name: 'foo',
  5898. range: [5, 8],
  5899. loc: {
  5900. start: { line: 1, column: 5 },
  5901. end: { line: 1, column: 8 }
  5902. }
  5903. },
  5904. 'arguments': [],
  5905. range: [0, 13],
  5906. loc: {
  5907. start: { line: 1, column: 0 },
  5908. end: { line: 1, column: 13 }
  5909. }
  5910. },
  5911. range: [0, 13],
  5912. loc: {
  5913. start: { line: 1, column: 0 },
  5914. end: { line: 1, column: 13 }
  5915. }
  5916. },
  5917. 'universe.milkyway': {
  5918. type: 'ExpressionStatement',
  5919. expression: {
  5920. type: 'MemberExpression',
  5921. computed: false,
  5922. object: {
  5923. type: 'Identifier',
  5924. name: 'universe',
  5925. range: [0, 8],
  5926. loc: {
  5927. start: { line: 1, column: 0 },
  5928. end: { line: 1, column: 8 }
  5929. }
  5930. },
  5931. property: {
  5932. type: 'Identifier',
  5933. name: 'milkyway',
  5934. range: [9, 17],
  5935. loc: {
  5936. start: { line: 1, column: 9 },
  5937. end: { line: 1, column: 17 }
  5938. }
  5939. },
  5940. range: [0, 17],
  5941. loc: {
  5942. start: { line: 1, column: 0 },
  5943. end: { line: 1, column: 17 }
  5944. }
  5945. },
  5946. range: [0, 17],
  5947. loc: {
  5948. start: { line: 1, column: 0 },
  5949. end: { line: 1, column: 17 }
  5950. }
  5951. },
  5952. 'universe.milkyway.solarsystem': {
  5953. type: 'ExpressionStatement',
  5954. expression: {
  5955. type: 'MemberExpression',
  5956. computed: false,
  5957. object: {
  5958. type: 'MemberExpression',
  5959. computed: false,
  5960. object: {
  5961. type: 'Identifier',
  5962. name: 'universe',
  5963. range: [0, 8],
  5964. loc: {
  5965. start: { line: 1, column: 0 },
  5966. end: { line: 1, column: 8 }
  5967. }
  5968. },
  5969. property: {
  5970. type: 'Identifier',
  5971. name: 'milkyway',
  5972. range: [9, 17],
  5973. loc: {
  5974. start: { line: 1, column: 9 },
  5975. end: { line: 1, column: 17 }
  5976. }
  5977. },
  5978. range: [0, 17],
  5979. loc: {
  5980. start: { line: 1, column: 0 },
  5981. end: { line: 1, column: 17 }
  5982. }
  5983. },
  5984. property: {
  5985. type: 'Identifier',
  5986. name: 'solarsystem',
  5987. range: [18, 29],
  5988. loc: {
  5989. start: { line: 1, column: 18 },
  5990. end: { line: 1, column: 29 }
  5991. }
  5992. },
  5993. range: [0, 29],
  5994. loc: {
  5995. start: { line: 1, column: 0 },
  5996. end: { line: 1, column: 29 }
  5997. }
  5998. },
  5999. range: [0, 29],
  6000. loc: {
  6001. start: { line: 1, column: 0 },
  6002. end: { line: 1, column: 29 }
  6003. }
  6004. },
  6005. 'universe.milkyway.solarsystem.Earth': {
  6006. type: 'ExpressionStatement',
  6007. expression: {
  6008. type: 'MemberExpression',
  6009. computed: false,
  6010. object: {
  6011. type: 'MemberExpression',
  6012. computed: false,
  6013. object: {
  6014. type: 'MemberExpression',
  6015. computed: false,
  6016. object: {
  6017. type: 'Identifier',
  6018. name: 'universe',
  6019. range: [0, 8],
  6020. loc: {
  6021. start: { line: 1, column: 0 },
  6022. end: { line: 1, column: 8 }
  6023. }
  6024. },
  6025. property: {
  6026. type: 'Identifier',
  6027. name: 'milkyway',
  6028. range: [9, 17],
  6029. loc: {
  6030. start: { line: 1, column: 9 },
  6031. end: { line: 1, column: 17 }
  6032. }
  6033. },
  6034. range: [0, 17],
  6035. loc: {
  6036. start: { line: 1, column: 0 },
  6037. end: { line: 1, column: 17 }
  6038. }
  6039. },
  6040. property: {
  6041. type: 'Identifier',
  6042. name: 'solarsystem',
  6043. range: [18, 29],
  6044. loc: {
  6045. start: { line: 1, column: 18 },
  6046. end: { line: 1, column: 29 }
  6047. }
  6048. },
  6049. range: [0, 29],
  6050. loc: {
  6051. start: { line: 1, column: 0 },
  6052. end: { line: 1, column: 29 }
  6053. }
  6054. },
  6055. property: {
  6056. type: 'Identifier',
  6057. name: 'Earth',
  6058. range: [30, 35],
  6059. loc: {
  6060. start: { line: 1, column: 30 },
  6061. end: { line: 1, column: 35 }
  6062. }
  6063. },
  6064. range: [0, 35],
  6065. loc: {
  6066. start: { line: 1, column: 0 },
  6067. end: { line: 1, column: 35 }
  6068. }
  6069. },
  6070. range: [0, 35],
  6071. loc: {
  6072. start: { line: 1, column: 0 },
  6073. end: { line: 1, column: 35 }
  6074. }
  6075. },
  6076. 'universe[galaxyName, otherUselessName]': {
  6077. type: 'ExpressionStatement',
  6078. expression: {
  6079. type: 'MemberExpression',
  6080. computed: true,
  6081. object: {
  6082. type: 'Identifier',
  6083. name: 'universe',
  6084. range: [0, 8],
  6085. loc: {
  6086. start: { line: 1, column: 0 },
  6087. end: { line: 1, column: 8 }
  6088. }
  6089. },
  6090. property: {
  6091. type: 'SequenceExpression',
  6092. expressions: [{
  6093. type: 'Identifier',
  6094. name: 'galaxyName',
  6095. range: [9, 19],
  6096. loc: {
  6097. start: { line: 1, column: 9 },
  6098. end: { line: 1, column: 19 }
  6099. }
  6100. }, {
  6101. type: 'Identifier',
  6102. name: 'otherUselessName',
  6103. range: [21, 37],
  6104. loc: {
  6105. start: { line: 1, column: 21 },
  6106. end: { line: 1, column: 37 }
  6107. }
  6108. }],
  6109. range: [9, 37],
  6110. loc: {
  6111. start: { line: 1, column: 9 },
  6112. end: { line: 1, column: 37 }
  6113. }
  6114. },
  6115. range: [0, 38],
  6116. loc: {
  6117. start: { line: 1, column: 0 },
  6118. end: { line: 1, column: 38 }
  6119. }
  6120. },
  6121. range: [0, 38],
  6122. loc: {
  6123. start: { line: 1, column: 0 },
  6124. end: { line: 1, column: 38 }
  6125. }
  6126. },
  6127. 'universe[galaxyName]': {
  6128. type: 'ExpressionStatement',
  6129. expression: {
  6130. type: 'MemberExpression',
  6131. computed: true,
  6132. object: {
  6133. type: 'Identifier',
  6134. name: 'universe',
  6135. range: [0, 8],
  6136. loc: {
  6137. start: { line: 1, column: 0 },
  6138. end: { line: 1, column: 8 }
  6139. }
  6140. },
  6141. property: {
  6142. type: 'Identifier',
  6143. name: 'galaxyName',
  6144. range: [9, 19],
  6145. loc: {
  6146. start: { line: 1, column: 9 },
  6147. end: { line: 1, column: 19 }
  6148. }
  6149. },
  6150. range: [0, 20],
  6151. loc: {
  6152. start: { line: 1, column: 0 },
  6153. end: { line: 1, column: 20 }
  6154. }
  6155. },
  6156. range: [0, 20],
  6157. loc: {
  6158. start: { line: 1, column: 0 },
  6159. end: { line: 1, column: 20 }
  6160. }
  6161. },
  6162. 'universe[42].galaxies': {
  6163. type: 'ExpressionStatement',
  6164. expression: {
  6165. type: 'MemberExpression',
  6166. computed: false,
  6167. object: {
  6168. type: 'MemberExpression',
  6169. computed: true,
  6170. object: {
  6171. type: 'Identifier',
  6172. name: 'universe',
  6173. range: [0, 8],
  6174. loc: {
  6175. start: { line: 1, column: 0 },
  6176. end: { line: 1, column: 8 }
  6177. }
  6178. },
  6179. property: {
  6180. type: 'Literal',
  6181. value: 42,
  6182. raw: '42',
  6183. range: [9, 11],
  6184. loc: {
  6185. start: { line: 1, column: 9 },
  6186. end: { line: 1, column: 11 }
  6187. }
  6188. },
  6189. range: [0, 12],
  6190. loc: {
  6191. start: { line: 1, column: 0 },
  6192. end: { line: 1, column: 12 }
  6193. }
  6194. },
  6195. property: {
  6196. type: 'Identifier',
  6197. name: 'galaxies',
  6198. range: [13, 21],
  6199. loc: {
  6200. start: { line: 1, column: 13 },
  6201. end: { line: 1, column: 21 }
  6202. }
  6203. },
  6204. range: [0, 21],
  6205. loc: {
  6206. start: { line: 1, column: 0 },
  6207. end: { line: 1, column: 21 }
  6208. }
  6209. },
  6210. range: [0, 21],
  6211. loc: {
  6212. start: { line: 1, column: 0 },
  6213. end: { line: 1, column: 21 }
  6214. }
  6215. },
  6216. 'universe(42).galaxies': {
  6217. type: 'ExpressionStatement',
  6218. expression: {
  6219. type: 'MemberExpression',
  6220. computed: false,
  6221. object: {
  6222. type: 'CallExpression',
  6223. callee: {
  6224. type: 'Identifier',
  6225. name: 'universe',
  6226. range: [0, 8],
  6227. loc: {
  6228. start: { line: 1, column: 0 },
  6229. end: { line: 1, column: 8 }
  6230. }
  6231. },
  6232. 'arguments': [{
  6233. type: 'Literal',
  6234. value: 42,
  6235. raw: '42',
  6236. range: [9, 11],
  6237. loc: {
  6238. start: { line: 1, column: 9 },
  6239. end: { line: 1, column: 11 }
  6240. }
  6241. }],
  6242. range: [0, 12],
  6243. loc: {
  6244. start: { line: 1, column: 0 },
  6245. end: { line: 1, column: 12 }
  6246. }
  6247. },
  6248. property: {
  6249. type: 'Identifier',
  6250. name: 'galaxies',
  6251. range: [13, 21],
  6252. loc: {
  6253. start: { line: 1, column: 13 },
  6254. end: { line: 1, column: 21 }
  6255. }
  6256. },
  6257. range: [0, 21],
  6258. loc: {
  6259. start: { line: 1, column: 0 },
  6260. end: { line: 1, column: 21 }
  6261. }
  6262. },
  6263. range: [0, 21],
  6264. loc: {
  6265. start: { line: 1, column: 0 },
  6266. end: { line: 1, column: 21 }
  6267. }
  6268. },
  6269. 'universe(42).galaxies(14, 3, 77).milkyway': {
  6270. type: 'ExpressionStatement',
  6271. expression: {
  6272. type: 'MemberExpression',
  6273. computed: false,
  6274. object: {
  6275. type: 'CallExpression',
  6276. callee: {
  6277. type: 'MemberExpression',
  6278. computed: false,
  6279. object: {
  6280. type: 'CallExpression',
  6281. callee: {
  6282. type: 'Identifier',
  6283. name: 'universe',
  6284. range: [0, 8],
  6285. loc: {
  6286. start: { line: 1, column: 0 },
  6287. end: { line: 1, column: 8 }
  6288. }
  6289. },
  6290. 'arguments': [{
  6291. type: 'Literal',
  6292. value: 42,
  6293. raw: '42',
  6294. range: [9, 11],
  6295. loc: {
  6296. start: { line: 1, column: 9 },
  6297. end: { line: 1, column: 11 }
  6298. }
  6299. }],
  6300. range: [0, 12],
  6301. loc: {
  6302. start: { line: 1, column: 0 },
  6303. end: { line: 1, column: 12 }
  6304. }
  6305. },
  6306. property: {
  6307. type: 'Identifier',
  6308. name: 'galaxies',
  6309. range: [13, 21],
  6310. loc: {
  6311. start: { line: 1, column: 13 },
  6312. end: { line: 1, column: 21 }
  6313. }
  6314. },
  6315. range: [0, 21],
  6316. loc: {
  6317. start: { line: 1, column: 0 },
  6318. end: { line: 1, column: 21 }
  6319. }
  6320. },
  6321. 'arguments': [{
  6322. type: 'Literal',
  6323. value: 14,
  6324. raw: '14',
  6325. range: [22, 24],
  6326. loc: {
  6327. start: { line: 1, column: 22 },
  6328. end: { line: 1, column: 24 }
  6329. }
  6330. }, {
  6331. type: 'Literal',
  6332. value: 3,
  6333. raw: '3',
  6334. range: [26, 27],
  6335. loc: {
  6336. start: { line: 1, column: 26 },
  6337. end: { line: 1, column: 27 }
  6338. }
  6339. }, {
  6340. type: 'Literal',
  6341. value: 77,
  6342. raw: '77',
  6343. range: [29, 31],
  6344. loc: {
  6345. start: { line: 1, column: 29 },
  6346. end: { line: 1, column: 31 }
  6347. }
  6348. }],
  6349. range: [0, 32],
  6350. loc: {
  6351. start: { line: 1, column: 0 },
  6352. end: { line: 1, column: 32 }
  6353. }
  6354. },
  6355. property: {
  6356. type: 'Identifier',
  6357. name: 'milkyway',
  6358. range: [33, 41],
  6359. loc: {
  6360. start: { line: 1, column: 33 },
  6361. end: { line: 1, column: 41 }
  6362. }
  6363. },
  6364. range: [0, 41],
  6365. loc: {
  6366. start: { line: 1, column: 0 },
  6367. end: { line: 1, column: 41 }
  6368. }
  6369. },
  6370. range: [0, 41],
  6371. loc: {
  6372. start: { line: 1, column: 0 },
  6373. end: { line: 1, column: 41 }
  6374. }
  6375. },
  6376. 'earth.asia.Indonesia.prepareForElection(2014)': {
  6377. type: 'ExpressionStatement',
  6378. expression: {
  6379. type: 'CallExpression',
  6380. callee: {
  6381. type: 'MemberExpression',
  6382. computed: false,
  6383. object: {
  6384. type: 'MemberExpression',
  6385. computed: false,
  6386. object: {
  6387. type: 'MemberExpression',
  6388. computed: false,
  6389. object: {
  6390. type: 'Identifier',
  6391. name: 'earth',
  6392. range: [0, 5],
  6393. loc: {
  6394. start: { line: 1, column: 0 },
  6395. end: { line: 1, column: 5 }
  6396. }
  6397. },
  6398. property: {
  6399. type: 'Identifier',
  6400. name: 'asia',
  6401. range: [6, 10],
  6402. loc: {
  6403. start: { line: 1, column: 6 },
  6404. end: { line: 1, column: 10 }
  6405. }
  6406. },
  6407. range: [0, 10],
  6408. loc: {
  6409. start: { line: 1, column: 0 },
  6410. end: { line: 1, column: 10 }
  6411. }
  6412. },
  6413. property: {
  6414. type: 'Identifier',
  6415. name: 'Indonesia',
  6416. range: [11, 20],
  6417. loc: {
  6418. start: { line: 1, column: 11 },
  6419. end: { line: 1, column: 20 }
  6420. }
  6421. },
  6422. range: [0, 20],
  6423. loc: {
  6424. start: { line: 1, column: 0 },
  6425. end: { line: 1, column: 20 }
  6426. }
  6427. },
  6428. property: {
  6429. type: 'Identifier',
  6430. name: 'prepareForElection',
  6431. range: [21, 39],
  6432. loc: {
  6433. start: { line: 1, column: 21 },
  6434. end: { line: 1, column: 39 }
  6435. }
  6436. },
  6437. range: [0, 39],
  6438. loc: {
  6439. start: { line: 1, column: 0 },
  6440. end: { line: 1, column: 39 }
  6441. }
  6442. },
  6443. 'arguments': [{
  6444. type: 'Literal',
  6445. value: 2014,
  6446. raw: '2014',
  6447. range: [40, 44],
  6448. loc: {
  6449. start: { line: 1, column: 40 },
  6450. end: { line: 1, column: 44 }
  6451. }
  6452. }],
  6453. range: [0, 45],
  6454. loc: {
  6455. start: { line: 1, column: 0 },
  6456. end: { line: 1, column: 45 }
  6457. }
  6458. },
  6459. range: [0, 45],
  6460. loc: {
  6461. start: { line: 1, column: 0 },
  6462. end: { line: 1, column: 45 }
  6463. }
  6464. },
  6465. 'universe.if': {
  6466. type: 'ExpressionStatement',
  6467. expression: {
  6468. type: 'MemberExpression',
  6469. computed: false,
  6470. object: {
  6471. type: 'Identifier',
  6472. name: 'universe',
  6473. range: [0, 8],
  6474. loc: {
  6475. start: { line: 1, column: 0 },
  6476. end: { line: 1, column: 8 }
  6477. }
  6478. },
  6479. property: {
  6480. type: 'Identifier',
  6481. name: 'if',
  6482. range: [9, 11],
  6483. loc: {
  6484. start: { line: 1, column: 9 },
  6485. end: { line: 1, column: 11 }
  6486. }
  6487. },
  6488. range: [0, 11],
  6489. loc: {
  6490. start: { line: 1, column: 0 },
  6491. end: { line: 1, column: 11 }
  6492. }
  6493. },
  6494. range: [0, 11],
  6495. loc: {
  6496. start: { line: 1, column: 0 },
  6497. end: { line: 1, column: 11 }
  6498. }
  6499. },
  6500. 'universe.true': {
  6501. type: 'ExpressionStatement',
  6502. expression: {
  6503. type: 'MemberExpression',
  6504. computed: false,
  6505. object: {
  6506. type: 'Identifier',
  6507. name: 'universe',
  6508. range: [0, 8],
  6509. loc: {
  6510. start: { line: 1, column: 0 },
  6511. end: { line: 1, column: 8 }
  6512. }
  6513. },
  6514. property: {
  6515. type: 'Identifier',
  6516. name: 'true',
  6517. range: [9, 13],
  6518. loc: {
  6519. start: { line: 1, column: 9 },
  6520. end: { line: 1, column: 13 }
  6521. }
  6522. },
  6523. range: [0, 13],
  6524. loc: {
  6525. start: { line: 1, column: 0 },
  6526. end: { line: 1, column: 13 }
  6527. }
  6528. },
  6529. range: [0, 13],
  6530. loc: {
  6531. start: { line: 1, column: 0 },
  6532. end: { line: 1, column: 13 }
  6533. }
  6534. },
  6535. 'universe.false': {
  6536. type: 'ExpressionStatement',
  6537. expression: {
  6538. type: 'MemberExpression',
  6539. computed: false,
  6540. object: {
  6541. type: 'Identifier',
  6542. name: 'universe',
  6543. range: [0, 8],
  6544. loc: {
  6545. start: { line: 1, column: 0 },
  6546. end: { line: 1, column: 8 }
  6547. }
  6548. },
  6549. property: {
  6550. type: 'Identifier',
  6551. name: 'false',
  6552. range: [9, 14],
  6553. loc: {
  6554. start: { line: 1, column: 9 },
  6555. end: { line: 1, column: 14 }
  6556. }
  6557. },
  6558. range: [0, 14],
  6559. loc: {
  6560. start: { line: 1, column: 0 },
  6561. end: { line: 1, column: 14 }
  6562. }
  6563. },
  6564. range: [0, 14],
  6565. loc: {
  6566. start: { line: 1, column: 0 },
  6567. end: { line: 1, column: 14 }
  6568. }
  6569. },
  6570. 'universe.null': {
  6571. type: 'ExpressionStatement',
  6572. expression: {
  6573. type: 'MemberExpression',
  6574. computed: false,
  6575. object: {
  6576. type: 'Identifier',
  6577. name: 'universe',
  6578. range: [0, 8],
  6579. loc: {
  6580. start: { line: 1, column: 0 },
  6581. end: { line: 1, column: 8 }
  6582. }
  6583. },
  6584. property: {
  6585. type: 'Identifier',
  6586. name: 'null',
  6587. range: [9, 13],
  6588. loc: {
  6589. start: { line: 1, column: 9 },
  6590. end: { line: 1, column: 13 }
  6591. }
  6592. },
  6593. range: [0, 13],
  6594. loc: {
  6595. start: { line: 1, column: 0 },
  6596. end: { line: 1, column: 13 }
  6597. }
  6598. },
  6599. range: [0, 13],
  6600. loc: {
  6601. start: { line: 1, column: 0 },
  6602. end: { line: 1, column: 13 }
  6603. }
  6604. }
  6605. },
  6606. 'Postfix Expressions': {
  6607. 'x++': {
  6608. type: 'ExpressionStatement',
  6609. expression: {
  6610. type: 'UpdateExpression',
  6611. operator: '++',
  6612. argument: {
  6613. type: 'Identifier',
  6614. name: 'x',
  6615. range: [0, 1],
  6616. loc: {
  6617. start: { line: 1, column: 0 },
  6618. end: { line: 1, column: 1 }
  6619. }
  6620. },
  6621. prefix: false,
  6622. range: [0, 3],
  6623. loc: {
  6624. start: { line: 1, column: 0 },
  6625. end: { line: 1, column: 3 }
  6626. }
  6627. },
  6628. range: [0, 3],
  6629. loc: {
  6630. start: { line: 1, column: 0 },
  6631. end: { line: 1, column: 3 }
  6632. }
  6633. },
  6634. 'x--': {
  6635. type: 'ExpressionStatement',
  6636. expression: {
  6637. type: 'UpdateExpression',
  6638. operator: '--',
  6639. argument: {
  6640. type: 'Identifier',
  6641. name: 'x',
  6642. range: [0, 1],
  6643. loc: {
  6644. start: { line: 1, column: 0 },
  6645. end: { line: 1, column: 1 }
  6646. }
  6647. },
  6648. prefix: false,
  6649. range: [0, 3],
  6650. loc: {
  6651. start: { line: 1, column: 0 },
  6652. end: { line: 1, column: 3 }
  6653. }
  6654. },
  6655. range: [0, 3],
  6656. loc: {
  6657. start: { line: 1, column: 0 },
  6658. end: { line: 1, column: 3 }
  6659. }
  6660. },
  6661. 'eval++': {
  6662. type: 'ExpressionStatement',
  6663. expression: {
  6664. type: 'UpdateExpression',
  6665. operator: '++',
  6666. argument: {
  6667. type: 'Identifier',
  6668. name: 'eval',
  6669. range: [0, 4],
  6670. loc: {
  6671. start: { line: 1, column: 0 },
  6672. end: { line: 1, column: 4 }
  6673. }
  6674. },
  6675. prefix: false,
  6676. range: [0, 6],
  6677. loc: {
  6678. start: { line: 1, column: 0 },
  6679. end: { line: 1, column: 6 }
  6680. }
  6681. },
  6682. range: [0, 6],
  6683. loc: {
  6684. start: { line: 1, column: 0 },
  6685. end: { line: 1, column: 6 }
  6686. }
  6687. },
  6688. 'eval--': {
  6689. type: 'ExpressionStatement',
  6690. expression: {
  6691. type: 'UpdateExpression',
  6692. operator: '--',
  6693. argument: {
  6694. type: 'Identifier',
  6695. name: 'eval',
  6696. range: [0, 4],
  6697. loc: {
  6698. start: { line: 1, column: 0 },
  6699. end: { line: 1, column: 4 }
  6700. }
  6701. },
  6702. prefix: false,
  6703. range: [0, 6],
  6704. loc: {
  6705. start: { line: 1, column: 0 },
  6706. end: { line: 1, column: 6 }
  6707. }
  6708. },
  6709. range: [0, 6],
  6710. loc: {
  6711. start: { line: 1, column: 0 },
  6712. end: { line: 1, column: 6 }
  6713. }
  6714. },
  6715. 'arguments++': {
  6716. type: 'ExpressionStatement',
  6717. expression: {
  6718. type: 'UpdateExpression',
  6719. operator: '++',
  6720. argument: {
  6721. type: 'Identifier',
  6722. name: 'arguments',
  6723. range: [0, 9],
  6724. loc: {
  6725. start: { line: 1, column: 0 },
  6726. end: { line: 1, column: 9 }
  6727. }
  6728. },
  6729. prefix: false,
  6730. range: [0, 11],
  6731. loc: {
  6732. start: { line: 1, column: 0 },
  6733. end: { line: 1, column: 11 }
  6734. }
  6735. },
  6736. range: [0, 11],
  6737. loc: {
  6738. start: { line: 1, column: 0 },
  6739. end: { line: 1, column: 11 }
  6740. }
  6741. },
  6742. 'arguments--': {
  6743. type: 'ExpressionStatement',
  6744. expression: {
  6745. type: 'UpdateExpression',
  6746. operator: '--',
  6747. argument: {
  6748. type: 'Identifier',
  6749. name: 'arguments',
  6750. range: [0, 9],
  6751. loc: {
  6752. start: { line: 1, column: 0 },
  6753. end: { line: 1, column: 9 }
  6754. }
  6755. },
  6756. prefix: false,
  6757. range: [0, 11],
  6758. loc: {
  6759. start: { line: 1, column: 0 },
  6760. end: { line: 1, column: 11 }
  6761. }
  6762. },
  6763. range: [0, 11],
  6764. loc: {
  6765. start: { line: 1, column: 0 },
  6766. end: { line: 1, column: 11 }
  6767. }
  6768. }
  6769. },
  6770. 'Unary Operators': {
  6771. '++x': {
  6772. type: 'ExpressionStatement',
  6773. expression: {
  6774. type: 'UpdateExpression',
  6775. operator: '++',
  6776. argument: {
  6777. type: 'Identifier',
  6778. name: 'x',
  6779. range: [2, 3],
  6780. loc: {
  6781. start: { line: 1, column: 2 },
  6782. end: { line: 1, column: 3 }
  6783. }
  6784. },
  6785. prefix: true,
  6786. range: [0, 3],
  6787. loc: {
  6788. start: { line: 1, column: 0 },
  6789. end: { line: 1, column: 3 }
  6790. }
  6791. },
  6792. range: [0, 3],
  6793. loc: {
  6794. start: { line: 1, column: 0 },
  6795. end: { line: 1, column: 3 }
  6796. }
  6797. },
  6798. '--x': {
  6799. type: 'ExpressionStatement',
  6800. expression: {
  6801. type: 'UpdateExpression',
  6802. operator: '--',
  6803. argument: {
  6804. type: 'Identifier',
  6805. name: 'x',
  6806. range: [2, 3],
  6807. loc: {
  6808. start: { line: 1, column: 2 },
  6809. end: { line: 1, column: 3 }
  6810. }
  6811. },
  6812. prefix: true,
  6813. range: [0, 3],
  6814. loc: {
  6815. start: { line: 1, column: 0 },
  6816. end: { line: 1, column: 3 }
  6817. }
  6818. },
  6819. range: [0, 3],
  6820. loc: {
  6821. start: { line: 1, column: 0 },
  6822. end: { line: 1, column: 3 }
  6823. }
  6824. },
  6825. '++eval': {
  6826. type: 'ExpressionStatement',
  6827. expression: {
  6828. type: 'UpdateExpression',
  6829. operator: '++',
  6830. argument: {
  6831. type: 'Identifier',
  6832. name: 'eval',
  6833. range: [2, 6],
  6834. loc: {
  6835. start: { line: 1, column: 2 },
  6836. end: { line: 1, column: 6 }
  6837. }
  6838. },
  6839. prefix: true,
  6840. range: [0, 6],
  6841. loc: {
  6842. start: { line: 1, column: 0 },
  6843. end: { line: 1, column: 6 }
  6844. }
  6845. },
  6846. range: [0, 6],
  6847. loc: {
  6848. start: { line: 1, column: 0 },
  6849. end: { line: 1, column: 6 }
  6850. }
  6851. },
  6852. '--eval': {
  6853. type: 'ExpressionStatement',
  6854. expression: {
  6855. type: 'UpdateExpression',
  6856. operator: '--',
  6857. argument: {
  6858. type: 'Identifier',
  6859. name: 'eval',
  6860. range: [2, 6],
  6861. loc: {
  6862. start: { line: 1, column: 2 },
  6863. end: { line: 1, column: 6 }
  6864. }
  6865. },
  6866. prefix: true,
  6867. range: [0, 6],
  6868. loc: {
  6869. start: { line: 1, column: 0 },
  6870. end: { line: 1, column: 6 }
  6871. }
  6872. },
  6873. range: [0, 6],
  6874. loc: {
  6875. start: { line: 1, column: 0 },
  6876. end: { line: 1, column: 6 }
  6877. }
  6878. },
  6879. '++arguments': {
  6880. type: 'ExpressionStatement',
  6881. expression: {
  6882. type: 'UpdateExpression',
  6883. operator: '++',
  6884. argument: {
  6885. type: 'Identifier',
  6886. name: 'arguments',
  6887. range: [2, 11],
  6888. loc: {
  6889. start: { line: 1, column: 2 },
  6890. end: { line: 1, column: 11 }
  6891. }
  6892. },
  6893. prefix: true,
  6894. range: [0, 11],
  6895. loc: {
  6896. start: { line: 1, column: 0 },
  6897. end: { line: 1, column: 11 }
  6898. }
  6899. },
  6900. range: [0, 11],
  6901. loc: {
  6902. start: { line: 1, column: 0 },
  6903. end: { line: 1, column: 11 }
  6904. }
  6905. },
  6906. '--arguments': {
  6907. type: 'ExpressionStatement',
  6908. expression: {
  6909. type: 'UpdateExpression',
  6910. operator: '--',
  6911. argument: {
  6912. type: 'Identifier',
  6913. name: 'arguments',
  6914. range: [2, 11],
  6915. loc: {
  6916. start: { line: 1, column: 2 },
  6917. end: { line: 1, column: 11 }
  6918. }
  6919. },
  6920. prefix: true,
  6921. range: [0, 11],
  6922. loc: {
  6923. start: { line: 1, column: 0 },
  6924. end: { line: 1, column: 11 }
  6925. }
  6926. },
  6927. range: [0, 11],
  6928. loc: {
  6929. start: { line: 1, column: 0 },
  6930. end: { line: 1, column: 11 }
  6931. }
  6932. },
  6933. '+x': {
  6934. type: 'ExpressionStatement',
  6935. expression: {
  6936. type: 'UnaryExpression',
  6937. operator: '+',
  6938. argument: {
  6939. type: 'Identifier',
  6940. name: 'x',
  6941. range: [1, 2],
  6942. loc: {
  6943. start: { line: 1, column: 1 },
  6944. end: { line: 1, column: 2 }
  6945. }
  6946. },
  6947. range: [0, 2],
  6948. loc: {
  6949. start: { line: 1, column: 0 },
  6950. end: { line: 1, column: 2 }
  6951. }
  6952. },
  6953. range: [0, 2],
  6954. loc: {
  6955. start: { line: 1, column: 0 },
  6956. end: { line: 1, column: 2 }
  6957. }
  6958. },
  6959. '-x': {
  6960. type: 'ExpressionStatement',
  6961. expression: {
  6962. type: 'UnaryExpression',
  6963. operator: '-',
  6964. argument: {
  6965. type: 'Identifier',
  6966. name: 'x',
  6967. range: [1, 2],
  6968. loc: {
  6969. start: { line: 1, column: 1 },
  6970. end: { line: 1, column: 2 }
  6971. }
  6972. },
  6973. range: [0, 2],
  6974. loc: {
  6975. start: { line: 1, column: 0 },
  6976. end: { line: 1, column: 2 }
  6977. }
  6978. },
  6979. range: [0, 2],
  6980. loc: {
  6981. start: { line: 1, column: 0 },
  6982. end: { line: 1, column: 2 }
  6983. }
  6984. },
  6985. '~x': {
  6986. type: 'ExpressionStatement',
  6987. expression: {
  6988. type: 'UnaryExpression',
  6989. operator: '~',
  6990. argument: {
  6991. type: 'Identifier',
  6992. name: 'x',
  6993. range: [1, 2],
  6994. loc: {
  6995. start: { line: 1, column: 1 },
  6996. end: { line: 1, column: 2 }
  6997. }
  6998. },
  6999. range: [0, 2],
  7000. loc: {
  7001. start: { line: 1, column: 0 },
  7002. end: { line: 1, column: 2 }
  7003. }
  7004. },
  7005. range: [0, 2],
  7006. loc: {
  7007. start: { line: 1, column: 0 },
  7008. end: { line: 1, column: 2 }
  7009. }
  7010. },
  7011. '!x': {
  7012. type: 'ExpressionStatement',
  7013. expression: {
  7014. type: 'UnaryExpression',
  7015. operator: '!',
  7016. argument: {
  7017. type: 'Identifier',
  7018. name: 'x',
  7019. range: [1, 2],
  7020. loc: {
  7021. start: { line: 1, column: 1 },
  7022. end: { line: 1, column: 2 }
  7023. }
  7024. },
  7025. range: [0, 2],
  7026. loc: {
  7027. start: { line: 1, column: 0 },
  7028. end: { line: 1, column: 2 }
  7029. }
  7030. },
  7031. range: [0, 2],
  7032. loc: {
  7033. start: { line: 1, column: 0 },
  7034. end: { line: 1, column: 2 }
  7035. }
  7036. },
  7037. 'void x': {
  7038. type: 'ExpressionStatement',
  7039. expression: {
  7040. type: 'UnaryExpression',
  7041. operator: 'void',
  7042. argument: {
  7043. type: 'Identifier',
  7044. name: 'x',
  7045. range: [5, 6],
  7046. loc: {
  7047. start: { line: 1, column: 5 },
  7048. end: { line: 1, column: 6 }
  7049. }
  7050. },
  7051. range: [0, 6],
  7052. loc: {
  7053. start: { line: 1, column: 0 },
  7054. end: { line: 1, column: 6 }
  7055. }
  7056. },
  7057. range: [0, 6],
  7058. loc: {
  7059. start: { line: 1, column: 0 },
  7060. end: { line: 1, column: 6 }
  7061. }
  7062. },
  7063. 'delete x': {
  7064. type: 'ExpressionStatement',
  7065. expression: {
  7066. type: 'UnaryExpression',
  7067. operator: 'delete',
  7068. argument: {
  7069. type: 'Identifier',
  7070. name: 'x',
  7071. range: [7, 8],
  7072. loc: {
  7073. start: { line: 1, column: 7 },
  7074. end: { line: 1, column: 8 }
  7075. }
  7076. },
  7077. range: [0, 8],
  7078. loc: {
  7079. start: { line: 1, column: 0 },
  7080. end: { line: 1, column: 8 }
  7081. }
  7082. },
  7083. range: [0, 8],
  7084. loc: {
  7085. start: { line: 1, column: 0 },
  7086. end: { line: 1, column: 8 }
  7087. }
  7088. },
  7089. 'typeof x': {
  7090. type: 'ExpressionStatement',
  7091. expression: {
  7092. type: 'UnaryExpression',
  7093. operator: 'typeof',
  7094. argument: {
  7095. type: 'Identifier',
  7096. name: 'x',
  7097. range: [7, 8],
  7098. loc: {
  7099. start: { line: 1, column: 7 },
  7100. end: { line: 1, column: 8 }
  7101. }
  7102. },
  7103. range: [0, 8],
  7104. loc: {
  7105. start: { line: 1, column: 0 },
  7106. end: { line: 1, column: 8 }
  7107. }
  7108. },
  7109. range: [0, 8],
  7110. loc: {
  7111. start: { line: 1, column: 0 },
  7112. end: { line: 1, column: 8 }
  7113. }
  7114. }
  7115. },
  7116. 'Multiplicative Operators': {
  7117. 'x * y': {
  7118. type: 'ExpressionStatement',
  7119. expression: {
  7120. type: 'BinaryExpression',
  7121. operator: '*',
  7122. left: {
  7123. type: 'Identifier',
  7124. name: 'x',
  7125. range: [0, 1],
  7126. loc: {
  7127. start: { line: 1, column: 0 },
  7128. end: { line: 1, column: 1 }
  7129. }
  7130. },
  7131. right: {
  7132. type: 'Identifier',
  7133. name: 'y',
  7134. range: [4, 5],
  7135. loc: {
  7136. start: { line: 1, column: 4 },
  7137. end: { line: 1, column: 5 }
  7138. }
  7139. },
  7140. range: [0, 5],
  7141. loc: {
  7142. start: { line: 1, column: 0 },
  7143. end: { line: 1, column: 5 }
  7144. }
  7145. },
  7146. range: [0, 5],
  7147. loc: {
  7148. start: { line: 1, column: 0 },
  7149. end: { line: 1, column: 5 }
  7150. }
  7151. },
  7152. 'x / y': {
  7153. type: 'ExpressionStatement',
  7154. expression: {
  7155. type: 'BinaryExpression',
  7156. operator: '/',
  7157. left: {
  7158. type: 'Identifier',
  7159. name: 'x',
  7160. range: [0, 1],
  7161. loc: {
  7162. start: { line: 1, column: 0 },
  7163. end: { line: 1, column: 1 }
  7164. }
  7165. },
  7166. right: {
  7167. type: 'Identifier',
  7168. name: 'y',
  7169. range: [4, 5],
  7170. loc: {
  7171. start: { line: 1, column: 4 },
  7172. end: { line: 1, column: 5 }
  7173. }
  7174. },
  7175. range: [0, 5],
  7176. loc: {
  7177. start: { line: 1, column: 0 },
  7178. end: { line: 1, column: 5 }
  7179. }
  7180. },
  7181. range: [0, 5],
  7182. loc: {
  7183. start: { line: 1, column: 0 },
  7184. end: { line: 1, column: 5 }
  7185. }
  7186. },
  7187. 'x % y': {
  7188. type: 'ExpressionStatement',
  7189. expression: {
  7190. type: 'BinaryExpression',
  7191. operator: '%',
  7192. left: {
  7193. type: 'Identifier',
  7194. name: 'x',
  7195. range: [0, 1],
  7196. loc: {
  7197. start: { line: 1, column: 0 },
  7198. end: { line: 1, column: 1 }
  7199. }
  7200. },
  7201. right: {
  7202. type: 'Identifier',
  7203. name: 'y',
  7204. range: [4, 5],
  7205. loc: {
  7206. start: { line: 1, column: 4 },
  7207. end: { line: 1, column: 5 }
  7208. }
  7209. },
  7210. range: [0, 5],
  7211. loc: {
  7212. start: { line: 1, column: 0 },
  7213. end: { line: 1, column: 5 }
  7214. }
  7215. },
  7216. range: [0, 5],
  7217. loc: {
  7218. start: { line: 1, column: 0 },
  7219. end: { line: 1, column: 5 }
  7220. }
  7221. }
  7222. },
  7223. 'Additive Operators': {
  7224. 'x + y': {
  7225. type: 'ExpressionStatement',
  7226. expression: {
  7227. type: 'BinaryExpression',
  7228. operator: '+',
  7229. left: {
  7230. type: 'Identifier',
  7231. name: 'x',
  7232. range: [0, 1],
  7233. loc: {
  7234. start: { line: 1, column: 0 },
  7235. end: { line: 1, column: 1 }
  7236. }
  7237. },
  7238. right: {
  7239. type: 'Identifier',
  7240. name: 'y',
  7241. range: [4, 5],
  7242. loc: {
  7243. start: { line: 1, column: 4 },
  7244. end: { line: 1, column: 5 }
  7245. }
  7246. },
  7247. range: [0, 5],
  7248. loc: {
  7249. start: { line: 1, column: 0 },
  7250. end: { line: 1, column: 5 }
  7251. }
  7252. },
  7253. range: [0, 5],
  7254. loc: {
  7255. start: { line: 1, column: 0 },
  7256. end: { line: 1, column: 5 }
  7257. }
  7258. },
  7259. 'x - y': {
  7260. type: 'ExpressionStatement',
  7261. expression: {
  7262. type: 'BinaryExpression',
  7263. operator: '-',
  7264. left: {
  7265. type: 'Identifier',
  7266. name: 'x',
  7267. range: [0, 1],
  7268. loc: {
  7269. start: { line: 1, column: 0 },
  7270. end: { line: 1, column: 1 }
  7271. }
  7272. },
  7273. right: {
  7274. type: 'Identifier',
  7275. name: 'y',
  7276. range: [4, 5],
  7277. loc: {
  7278. start: { line: 1, column: 4 },
  7279. end: { line: 1, column: 5 }
  7280. }
  7281. },
  7282. range: [0, 5],
  7283. loc: {
  7284. start: { line: 1, column: 0 },
  7285. end: { line: 1, column: 5 }
  7286. }
  7287. },
  7288. range: [0, 5],
  7289. loc: {
  7290. start: { line: 1, column: 0 },
  7291. end: { line: 1, column: 5 }
  7292. }
  7293. },
  7294. '"use strict" + 42': {
  7295. type: 'ExpressionStatement',
  7296. expression: {
  7297. type: 'BinaryExpression',
  7298. operator: '+',
  7299. left: {
  7300. type: 'Literal',
  7301. value: 'use strict',
  7302. raw: '"use strict"',
  7303. range: [0, 12],
  7304. loc: {
  7305. start: { line: 1, column: 0 },
  7306. end: { line: 1, column: 12 }
  7307. }
  7308. },
  7309. right: {
  7310. type: 'Literal',
  7311. value: 42,
  7312. raw: '42',
  7313. range: [15, 17],
  7314. loc: {
  7315. start: { line: 1, column: 15 },
  7316. end: { line: 1, column: 17 }
  7317. }
  7318. },
  7319. range: [0, 17],
  7320. loc: {
  7321. start: { line: 1, column: 0 },
  7322. end: { line: 1, column: 17 }
  7323. }
  7324. },
  7325. range: [0, 17],
  7326. loc: {
  7327. start: { line: 1, column: 0 },
  7328. end: { line: 1, column: 17 }
  7329. }
  7330. }
  7331. },
  7332. 'Bitwise Shift Operator': {
  7333. 'x << y': {
  7334. type: 'ExpressionStatement',
  7335. expression: {
  7336. type: 'BinaryExpression',
  7337. operator: '<<',
  7338. left: {
  7339. type: 'Identifier',
  7340. name: 'x',
  7341. range: [0, 1],
  7342. loc: {
  7343. start: { line: 1, column: 0 },
  7344. end: { line: 1, column: 1 }
  7345. }
  7346. },
  7347. right: {
  7348. type: 'Identifier',
  7349. name: 'y',
  7350. range: [5, 6],
  7351. loc: {
  7352. start: { line: 1, column: 5 },
  7353. end: { line: 1, column: 6 }
  7354. }
  7355. },
  7356. range: [0, 6],
  7357. loc: {
  7358. start: { line: 1, column: 0 },
  7359. end: { line: 1, column: 6 }
  7360. }
  7361. },
  7362. range: [0, 6],
  7363. loc: {
  7364. start: { line: 1, column: 0 },
  7365. end: { line: 1, column: 6 }
  7366. }
  7367. },
  7368. 'x >> y': {
  7369. type: 'ExpressionStatement',
  7370. expression: {
  7371. type: 'BinaryExpression',
  7372. operator: '>>',
  7373. left: {
  7374. type: 'Identifier',
  7375. name: 'x',
  7376. range: [0, 1],
  7377. loc: {
  7378. start: { line: 1, column: 0 },
  7379. end: { line: 1, column: 1 }
  7380. }
  7381. },
  7382. right: {
  7383. type: 'Identifier',
  7384. name: 'y',
  7385. range: [5, 6],
  7386. loc: {
  7387. start: { line: 1, column: 5 },
  7388. end: { line: 1, column: 6 }
  7389. }
  7390. },
  7391. range: [0, 6],
  7392. loc: {
  7393. start: { line: 1, column: 0 },
  7394. end: { line: 1, column: 6 }
  7395. }
  7396. },
  7397. range: [0, 6],
  7398. loc: {
  7399. start: { line: 1, column: 0 },
  7400. end: { line: 1, column: 6 }
  7401. }
  7402. },
  7403. 'x >>> y': {
  7404. type: 'ExpressionStatement',
  7405. expression: {
  7406. type: 'BinaryExpression',
  7407. operator: '>>>',
  7408. left: {
  7409. type: 'Identifier',
  7410. name: 'x',
  7411. range: [0, 1],
  7412. loc: {
  7413. start: { line: 1, column: 0 },
  7414. end: { line: 1, column: 1 }
  7415. }
  7416. },
  7417. right: {
  7418. type: 'Identifier',
  7419. name: 'y',
  7420. range: [6, 7],
  7421. loc: {
  7422. start: { line: 1, column: 6 },
  7423. end: { line: 1, column: 7 }
  7424. }
  7425. },
  7426. range: [0, 7],
  7427. loc: {
  7428. start: { line: 1, column: 0 },
  7429. end: { line: 1, column: 7 }
  7430. }
  7431. },
  7432. range: [0, 7],
  7433. loc: {
  7434. start: { line: 1, column: 0 },
  7435. end: { line: 1, column: 7 }
  7436. }
  7437. }
  7438. },
  7439. 'Relational Operators': {
  7440. 'x < y': {
  7441. type: 'ExpressionStatement',
  7442. expression: {
  7443. type: 'BinaryExpression',
  7444. operator: '<',
  7445. left: {
  7446. type: 'Identifier',
  7447. name: 'x',
  7448. range: [0, 1],
  7449. loc: {
  7450. start: { line: 1, column: 0 },
  7451. end: { line: 1, column: 1 }
  7452. }
  7453. },
  7454. right: {
  7455. type: 'Identifier',
  7456. name: 'y',
  7457. range: [4, 5],
  7458. loc: {
  7459. start: { line: 1, column: 4 },
  7460. end: { line: 1, column: 5 }
  7461. }
  7462. },
  7463. range: [0, 5],
  7464. loc: {
  7465. start: { line: 1, column: 0 },
  7466. end: { line: 1, column: 5 }
  7467. }
  7468. },
  7469. range: [0, 5],
  7470. loc: {
  7471. start: { line: 1, column: 0 },
  7472. end: { line: 1, column: 5 }
  7473. }
  7474. },
  7475. 'x > y': {
  7476. type: 'ExpressionStatement',
  7477. expression: {
  7478. type: 'BinaryExpression',
  7479. operator: '>',
  7480. left: {
  7481. type: 'Identifier',
  7482. name: 'x',
  7483. range: [0, 1],
  7484. loc: {
  7485. start: { line: 1, column: 0 },
  7486. end: { line: 1, column: 1 }
  7487. }
  7488. },
  7489. right: {
  7490. type: 'Identifier',
  7491. name: 'y',
  7492. range: [4, 5],
  7493. loc: {
  7494. start: { line: 1, column: 4 },
  7495. end: { line: 1, column: 5 }
  7496. }
  7497. },
  7498. range: [0, 5],
  7499. loc: {
  7500. start: { line: 1, column: 0 },
  7501. end: { line: 1, column: 5 }
  7502. }
  7503. },
  7504. range: [0, 5],
  7505. loc: {
  7506. start: { line: 1, column: 0 },
  7507. end: { line: 1, column: 5 }
  7508. }
  7509. },
  7510. 'x <= y': {
  7511. type: 'ExpressionStatement',
  7512. expression: {
  7513. type: 'BinaryExpression',
  7514. operator: '<=',
  7515. left: {
  7516. type: 'Identifier',
  7517. name: 'x',
  7518. range: [0, 1],
  7519. loc: {
  7520. start: { line: 1, column: 0 },
  7521. end: { line: 1, column: 1 }
  7522. }
  7523. },
  7524. right: {
  7525. type: 'Identifier',
  7526. name: 'y',
  7527. range: [5, 6],
  7528. loc: {
  7529. start: { line: 1, column: 5 },
  7530. end: { line: 1, column: 6 }
  7531. }
  7532. },
  7533. range: [0, 6],
  7534. loc: {
  7535. start: { line: 1, column: 0 },
  7536. end: { line: 1, column: 6 }
  7537. }
  7538. },
  7539. range: [0, 6],
  7540. loc: {
  7541. start: { line: 1, column: 0 },
  7542. end: { line: 1, column: 6 }
  7543. }
  7544. },
  7545. 'x >= y': {
  7546. type: 'ExpressionStatement',
  7547. expression: {
  7548. type: 'BinaryExpression',
  7549. operator: '>=',
  7550. left: {
  7551. type: 'Identifier',
  7552. name: 'x',
  7553. range: [0, 1],
  7554. loc: {
  7555. start: { line: 1, column: 0 },
  7556. end: { line: 1, column: 1 }
  7557. }
  7558. },
  7559. right: {
  7560. type: 'Identifier',
  7561. name: 'y',
  7562. range: [5, 6],
  7563. loc: {
  7564. start: { line: 1, column: 5 },
  7565. end: { line: 1, column: 6 }
  7566. }
  7567. },
  7568. range: [0, 6],
  7569. loc: {
  7570. start: { line: 1, column: 0 },
  7571. end: { line: 1, column: 6 }
  7572. }
  7573. },
  7574. range: [0, 6],
  7575. loc: {
  7576. start: { line: 1, column: 0 },
  7577. end: { line: 1, column: 6 }
  7578. }
  7579. },
  7580. 'x in y': {
  7581. type: 'ExpressionStatement',
  7582. expression: {
  7583. type: 'BinaryExpression',
  7584. operator: 'in',
  7585. left: {
  7586. type: 'Identifier',
  7587. name: 'x',
  7588. range: [0, 1],
  7589. loc: {
  7590. start: { line: 1, column: 0 },
  7591. end: { line: 1, column: 1 }
  7592. }
  7593. },
  7594. right: {
  7595. type: 'Identifier',
  7596. name: 'y',
  7597. range: [5, 6],
  7598. loc: {
  7599. start: { line: 1, column: 5 },
  7600. end: { line: 1, column: 6 }
  7601. }
  7602. },
  7603. range: [0, 6],
  7604. loc: {
  7605. start: { line: 1, column: 0 },
  7606. end: { line: 1, column: 6 }
  7607. }
  7608. },
  7609. range: [0, 6],
  7610. loc: {
  7611. start: { line: 1, column: 0 },
  7612. end: { line: 1, column: 6 }
  7613. }
  7614. },
  7615. 'x instanceof y': {
  7616. type: 'ExpressionStatement',
  7617. expression: {
  7618. type: 'BinaryExpression',
  7619. operator: 'instanceof',
  7620. left: {
  7621. type: 'Identifier',
  7622. name: 'x',
  7623. range: [0, 1],
  7624. loc: {
  7625. start: { line: 1, column: 0 },
  7626. end: { line: 1, column: 1 }
  7627. }
  7628. },
  7629. right: {
  7630. type: 'Identifier',
  7631. name: 'y',
  7632. range: [13, 14],
  7633. loc: {
  7634. start: { line: 1, column: 13 },
  7635. end: { line: 1, column: 14 }
  7636. }
  7637. },
  7638. range: [0, 14],
  7639. loc: {
  7640. start: { line: 1, column: 0 },
  7641. end: { line: 1, column: 14 }
  7642. }
  7643. },
  7644. range: [0, 14],
  7645. loc: {
  7646. start: { line: 1, column: 0 },
  7647. end: { line: 1, column: 14 }
  7648. }
  7649. },
  7650. 'x < y < z': {
  7651. type: 'ExpressionStatement',
  7652. expression: {
  7653. type: 'BinaryExpression',
  7654. operator: '<',
  7655. left: {
  7656. type: 'BinaryExpression',
  7657. operator: '<',
  7658. left: {
  7659. type: 'Identifier',
  7660. name: 'x',
  7661. range: [0, 1],
  7662. loc: {
  7663. start: { line: 1, column: 0 },
  7664. end: { line: 1, column: 1 }
  7665. }
  7666. },
  7667. right: {
  7668. type: 'Identifier',
  7669. name: 'y',
  7670. range: [4, 5],
  7671. loc: {
  7672. start: { line: 1, column: 4 },
  7673. end: { line: 1, column: 5 }
  7674. }
  7675. },
  7676. range: [0, 5],
  7677. loc: {
  7678. start: { line: 1, column: 0 },
  7679. end: { line: 1, column: 5 }
  7680. }
  7681. },
  7682. right: {
  7683. type: 'Identifier',
  7684. name: 'z',
  7685. range: [8, 9],
  7686. loc: {
  7687. start: { line: 1, column: 8 },
  7688. end: { line: 1, column: 9 }
  7689. }
  7690. },
  7691. range: [0, 9],
  7692. loc: {
  7693. start: { line: 1, column: 0 },
  7694. end: { line: 1, column: 9 }
  7695. }
  7696. },
  7697. range: [0, 9],
  7698. loc: {
  7699. start: { line: 1, column: 0 },
  7700. end: { line: 1, column: 9 }
  7701. }
  7702. }
  7703. },
  7704. 'Equality Operators': {
  7705. 'x == y': {
  7706. type: 'ExpressionStatement',
  7707. expression: {
  7708. type: 'BinaryExpression',
  7709. operator: '==',
  7710. left: {
  7711. type: 'Identifier',
  7712. name: 'x',
  7713. range: [0, 1],
  7714. loc: {
  7715. start: { line: 1, column: 0 },
  7716. end: { line: 1, column: 1 }
  7717. }
  7718. },
  7719. right: {
  7720. type: 'Identifier',
  7721. name: 'y',
  7722. range: [5, 6],
  7723. loc: {
  7724. start: { line: 1, column: 5 },
  7725. end: { line: 1, column: 6 }
  7726. }
  7727. },
  7728. range: [0, 6],
  7729. loc: {
  7730. start: { line: 1, column: 0 },
  7731. end: { line: 1, column: 6 }
  7732. }
  7733. },
  7734. range: [0, 6],
  7735. loc: {
  7736. start: { line: 1, column: 0 },
  7737. end: { line: 1, column: 6 }
  7738. }
  7739. },
  7740. 'x != y': {
  7741. type: 'ExpressionStatement',
  7742. expression: {
  7743. type: 'BinaryExpression',
  7744. operator: '!=',
  7745. left: {
  7746. type: 'Identifier',
  7747. name: 'x',
  7748. range: [0, 1],
  7749. loc: {
  7750. start: { line: 1, column: 0 },
  7751. end: { line: 1, column: 1 }
  7752. }
  7753. },
  7754. right: {
  7755. type: 'Identifier',
  7756. name: 'y',
  7757. range: [5, 6],
  7758. loc: {
  7759. start: { line: 1, column: 5 },
  7760. end: { line: 1, column: 6 }
  7761. }
  7762. },
  7763. range: [0, 6],
  7764. loc: {
  7765. start: { line: 1, column: 0 },
  7766. end: { line: 1, column: 6 }
  7767. }
  7768. },
  7769. range: [0, 6],
  7770. loc: {
  7771. start: { line: 1, column: 0 },
  7772. end: { line: 1, column: 6 }
  7773. }
  7774. },
  7775. 'x === y': {
  7776. type: 'ExpressionStatement',
  7777. expression: {
  7778. type: 'BinaryExpression',
  7779. operator: '===',
  7780. left: {
  7781. type: 'Identifier',
  7782. name: 'x',
  7783. range: [0, 1],
  7784. loc: {
  7785. start: { line: 1, column: 0 },
  7786. end: { line: 1, column: 1 }
  7787. }
  7788. },
  7789. right: {
  7790. type: 'Identifier',
  7791. name: 'y',
  7792. range: [6, 7],
  7793. loc: {
  7794. start: { line: 1, column: 6 },
  7795. end: { line: 1, column: 7 }
  7796. }
  7797. },
  7798. range: [0, 7],
  7799. loc: {
  7800. start: { line: 1, column: 0 },
  7801. end: { line: 1, column: 7 }
  7802. }
  7803. },
  7804. range: [0, 7],
  7805. loc: {
  7806. start: { line: 1, column: 0 },
  7807. end: { line: 1, column: 7 }
  7808. }
  7809. },
  7810. 'x !== y': {
  7811. type: 'ExpressionStatement',
  7812. expression: {
  7813. type: 'BinaryExpression',
  7814. operator: '!==',
  7815. left: {
  7816. type: 'Identifier',
  7817. name: 'x',
  7818. range: [0, 1],
  7819. loc: {
  7820. start: { line: 1, column: 0 },
  7821. end: { line: 1, column: 1 }
  7822. }
  7823. },
  7824. right: {
  7825. type: 'Identifier',
  7826. name: 'y',
  7827. range: [6, 7],
  7828. loc: {
  7829. start: { line: 1, column: 6 },
  7830. end: { line: 1, column: 7 }
  7831. }
  7832. },
  7833. range: [0, 7],
  7834. loc: {
  7835. start: { line: 1, column: 0 },
  7836. end: { line: 1, column: 7 }
  7837. }
  7838. },
  7839. range: [0, 7],
  7840. loc: {
  7841. start: { line: 1, column: 0 },
  7842. end: { line: 1, column: 7 }
  7843. }
  7844. }
  7845. },
  7846. 'Binary Bitwise Operators': {
  7847. 'x & y': {
  7848. type: 'ExpressionStatement',
  7849. expression: {
  7850. type: 'BinaryExpression',
  7851. operator: '&',
  7852. left: {
  7853. type: 'Identifier',
  7854. name: 'x',
  7855. range: [0, 1],
  7856. loc: {
  7857. start: { line: 1, column: 0 },
  7858. end: { line: 1, column: 1 }
  7859. }
  7860. },
  7861. right: {
  7862. type: 'Identifier',
  7863. name: 'y',
  7864. range: [4, 5],
  7865. loc: {
  7866. start: { line: 1, column: 4 },
  7867. end: { line: 1, column: 5 }
  7868. }
  7869. },
  7870. range: [0, 5],
  7871. loc: {
  7872. start: { line: 1, column: 0 },
  7873. end: { line: 1, column: 5 }
  7874. }
  7875. },
  7876. range: [0, 5],
  7877. loc: {
  7878. start: { line: 1, column: 0 },
  7879. end: { line: 1, column: 5 }
  7880. }
  7881. },
  7882. 'x ^ y': {
  7883. type: 'ExpressionStatement',
  7884. expression: {
  7885. type: 'BinaryExpression',
  7886. operator: '^',
  7887. left: {
  7888. type: 'Identifier',
  7889. name: 'x',
  7890. range: [0, 1],
  7891. loc: {
  7892. start: { line: 1, column: 0 },
  7893. end: { line: 1, column: 1 }
  7894. }
  7895. },
  7896. right: {
  7897. type: 'Identifier',
  7898. name: 'y',
  7899. range: [4, 5],
  7900. loc: {
  7901. start: { line: 1, column: 4 },
  7902. end: { line: 1, column: 5 }
  7903. }
  7904. },
  7905. range: [0, 5],
  7906. loc: {
  7907. start: { line: 1, column: 0 },
  7908. end: { line: 1, column: 5 }
  7909. }
  7910. },
  7911. range: [0, 5],
  7912. loc: {
  7913. start: { line: 1, column: 0 },
  7914. end: { line: 1, column: 5 }
  7915. }
  7916. },
  7917. 'x | y': {
  7918. type: 'ExpressionStatement',
  7919. expression: {
  7920. type: 'BinaryExpression',
  7921. operator: '|',
  7922. left: {
  7923. type: 'Identifier',
  7924. name: 'x',
  7925. range: [0, 1],
  7926. loc: {
  7927. start: { line: 1, column: 0 },
  7928. end: { line: 1, column: 1 }
  7929. }
  7930. },
  7931. right: {
  7932. type: 'Identifier',
  7933. name: 'y',
  7934. range: [4, 5],
  7935. loc: {
  7936. start: { line: 1, column: 4 },
  7937. end: { line: 1, column: 5 }
  7938. }
  7939. },
  7940. range: [0, 5],
  7941. loc: {
  7942. start: { line: 1, column: 0 },
  7943. end: { line: 1, column: 5 }
  7944. }
  7945. },
  7946. range: [0, 5],
  7947. loc: {
  7948. start: { line: 1, column: 0 },
  7949. end: { line: 1, column: 5 }
  7950. }
  7951. }
  7952. },
  7953. 'Binary Expressions': {
  7954. 'x + y + z': {
  7955. type: 'ExpressionStatement',
  7956. expression: {
  7957. type: 'BinaryExpression',
  7958. operator: '+',
  7959. left: {
  7960. type: 'BinaryExpression',
  7961. operator: '+',
  7962. left: {
  7963. type: 'Identifier',
  7964. name: 'x',
  7965. range: [0, 1],
  7966. loc: {
  7967. start: { line: 1, column: 0 },
  7968. end: { line: 1, column: 1 }
  7969. }
  7970. },
  7971. right: {
  7972. type: 'Identifier',
  7973. name: 'y',
  7974. range: [4, 5],
  7975. loc: {
  7976. start: { line: 1, column: 4 },
  7977. end: { line: 1, column: 5 }
  7978. }
  7979. },
  7980. range: [0, 5],
  7981. loc: {
  7982. start: { line: 1, column: 0 },
  7983. end: { line: 1, column: 5 }
  7984. }
  7985. },
  7986. right: {
  7987. type: 'Identifier',
  7988. name: 'z',
  7989. range: [8, 9],
  7990. loc: {
  7991. start: { line: 1, column: 8 },
  7992. end: { line: 1, column: 9 }
  7993. }
  7994. },
  7995. range: [0, 9],
  7996. loc: {
  7997. start: { line: 1, column: 0 },
  7998. end: { line: 1, column: 9 }
  7999. }
  8000. },
  8001. range: [0, 9],
  8002. loc: {
  8003. start: { line: 1, column: 0 },
  8004. end: { line: 1, column: 9 }
  8005. }
  8006. },
  8007. 'x - y + z': {
  8008. type: 'ExpressionStatement',
  8009. expression: {
  8010. type: 'BinaryExpression',
  8011. operator: '+',
  8012. left: {
  8013. type: 'BinaryExpression',
  8014. operator: '-',
  8015. left: {
  8016. type: 'Identifier',
  8017. name: 'x',
  8018. range: [0, 1],
  8019. loc: {
  8020. start: { line: 1, column: 0 },
  8021. end: { line: 1, column: 1 }
  8022. }
  8023. },
  8024. right: {
  8025. type: 'Identifier',
  8026. name: 'y',
  8027. range: [4, 5],
  8028. loc: {
  8029. start: { line: 1, column: 4 },
  8030. end: { line: 1, column: 5 }
  8031. }
  8032. },
  8033. range: [0, 5],
  8034. loc: {
  8035. start: { line: 1, column: 0 },
  8036. end: { line: 1, column: 5 }
  8037. }
  8038. },
  8039. right: {
  8040. type: 'Identifier',
  8041. name: 'z',
  8042. range: [8, 9],
  8043. loc: {
  8044. start: { line: 1, column: 8 },
  8045. end: { line: 1, column: 9 }
  8046. }
  8047. },
  8048. range: [0, 9],
  8049. loc: {
  8050. start: { line: 1, column: 0 },
  8051. end: { line: 1, column: 9 }
  8052. }
  8053. },
  8054. range: [0, 9],
  8055. loc: {
  8056. start: { line: 1, column: 0 },
  8057. end: { line: 1, column: 9 }
  8058. }
  8059. },
  8060. 'x + y - z': {
  8061. type: 'ExpressionStatement',
  8062. expression: {
  8063. type: 'BinaryExpression',
  8064. operator: '-',
  8065. left: {
  8066. type: 'BinaryExpression',
  8067. operator: '+',
  8068. left: {
  8069. type: 'Identifier',
  8070. name: 'x',
  8071. range: [0, 1],
  8072. loc: {
  8073. start: { line: 1, column: 0 },
  8074. end: { line: 1, column: 1 }
  8075. }
  8076. },
  8077. right: {
  8078. type: 'Identifier',
  8079. name: 'y',
  8080. range: [4, 5],
  8081. loc: {
  8082. start: { line: 1, column: 4 },
  8083. end: { line: 1, column: 5 }
  8084. }
  8085. },
  8086. range: [0, 5],
  8087. loc: {
  8088. start: { line: 1, column: 0 },
  8089. end: { line: 1, column: 5 }
  8090. }
  8091. },
  8092. right: {
  8093. type: 'Identifier',
  8094. name: 'z',
  8095. range: [8, 9],
  8096. loc: {
  8097. start: { line: 1, column: 8 },
  8098. end: { line: 1, column: 9 }
  8099. }
  8100. },
  8101. range: [0, 9],
  8102. loc: {
  8103. start: { line: 1, column: 0 },
  8104. end: { line: 1, column: 9 }
  8105. }
  8106. },
  8107. range: [0, 9],
  8108. loc: {
  8109. start: { line: 1, column: 0 },
  8110. end: { line: 1, column: 9 }
  8111. }
  8112. },
  8113. 'x - y - z': {
  8114. type: 'ExpressionStatement',
  8115. expression: {
  8116. type: 'BinaryExpression',
  8117. operator: '-',
  8118. left: {
  8119. type: 'BinaryExpression',
  8120. operator: '-',
  8121. left: {
  8122. type: 'Identifier',
  8123. name: 'x',
  8124. range: [0, 1],
  8125. loc: {
  8126. start: { line: 1, column: 0 },
  8127. end: { line: 1, column: 1 }
  8128. }
  8129. },
  8130. right: {
  8131. type: 'Identifier',
  8132. name: 'y',
  8133. range: [4, 5],
  8134. loc: {
  8135. start: { line: 1, column: 4 },
  8136. end: { line: 1, column: 5 }
  8137. }
  8138. },
  8139. range: [0, 5],
  8140. loc: {
  8141. start: { line: 1, column: 0 },
  8142. end: { line: 1, column: 5 }
  8143. }
  8144. },
  8145. right: {
  8146. type: 'Identifier',
  8147. name: 'z',
  8148. range: [8, 9],
  8149. loc: {
  8150. start: { line: 1, column: 8 },
  8151. end: { line: 1, column: 9 }
  8152. }
  8153. },
  8154. range: [0, 9],
  8155. loc: {
  8156. start: { line: 1, column: 0 },
  8157. end: { line: 1, column: 9 }
  8158. }
  8159. },
  8160. range: [0, 9],
  8161. loc: {
  8162. start: { line: 1, column: 0 },
  8163. end: { line: 1, column: 9 }
  8164. }
  8165. },
  8166. 'x + y * z': {
  8167. type: 'ExpressionStatement',
  8168. expression: {
  8169. type: 'BinaryExpression',
  8170. operator: '+',
  8171. left: {
  8172. type: 'Identifier',
  8173. name: 'x',
  8174. range: [0, 1],
  8175. loc: {
  8176. start: { line: 1, column: 0 },
  8177. end: { line: 1, column: 1 }
  8178. }
  8179. },
  8180. right: {
  8181. type: 'BinaryExpression',
  8182. operator: '*',
  8183. left: {
  8184. type: 'Identifier',
  8185. name: 'y',
  8186. range: [4, 5],
  8187. loc: {
  8188. start: { line: 1, column: 4 },
  8189. end: { line: 1, column: 5 }
  8190. }
  8191. },
  8192. right: {
  8193. type: 'Identifier',
  8194. name: 'z',
  8195. range: [8, 9],
  8196. loc: {
  8197. start: { line: 1, column: 8 },
  8198. end: { line: 1, column: 9 }
  8199. }
  8200. },
  8201. range: [4, 9],
  8202. loc: {
  8203. start: { line: 1, column: 4 },
  8204. end: { line: 1, column: 9 }
  8205. }
  8206. },
  8207. range: [0, 9],
  8208. loc: {
  8209. start: { line: 1, column: 0 },
  8210. end: { line: 1, column: 9 }
  8211. }
  8212. },
  8213. range: [0, 9],
  8214. loc: {
  8215. start: { line: 1, column: 0 },
  8216. end: { line: 1, column: 9 }
  8217. }
  8218. },
  8219. 'x + y / z': {
  8220. type: 'ExpressionStatement',
  8221. expression: {
  8222. type: 'BinaryExpression',
  8223. operator: '+',
  8224. left: {
  8225. type: 'Identifier',
  8226. name: 'x',
  8227. range: [0, 1],
  8228. loc: {
  8229. start: { line: 1, column: 0 },
  8230. end: { line: 1, column: 1 }
  8231. }
  8232. },
  8233. right: {
  8234. type: 'BinaryExpression',
  8235. operator: '/',
  8236. left: {
  8237. type: 'Identifier',
  8238. name: 'y',
  8239. range: [4, 5],
  8240. loc: {
  8241. start: { line: 1, column: 4 },
  8242. end: { line: 1, column: 5 }
  8243. }
  8244. },
  8245. right: {
  8246. type: 'Identifier',
  8247. name: 'z',
  8248. range: [8, 9],
  8249. loc: {
  8250. start: { line: 1, column: 8 },
  8251. end: { line: 1, column: 9 }
  8252. }
  8253. },
  8254. range: [4, 9],
  8255. loc: {
  8256. start: { line: 1, column: 4 },
  8257. end: { line: 1, column: 9 }
  8258. }
  8259. },
  8260. range: [0, 9],
  8261. loc: {
  8262. start: { line: 1, column: 0 },
  8263. end: { line: 1, column: 9 }
  8264. }
  8265. },
  8266. range: [0, 9],
  8267. loc: {
  8268. start: { line: 1, column: 0 },
  8269. end: { line: 1, column: 9 }
  8270. }
  8271. },
  8272. 'x - y % z': {
  8273. type: 'ExpressionStatement',
  8274. expression: {
  8275. type: 'BinaryExpression',
  8276. operator: '-',
  8277. left: {
  8278. type: 'Identifier',
  8279. name: 'x',
  8280. range: [0, 1],
  8281. loc: {
  8282. start: { line: 1, column: 0 },
  8283. end: { line: 1, column: 1 }
  8284. }
  8285. },
  8286. right: {
  8287. type: 'BinaryExpression',
  8288. operator: '%',
  8289. left: {
  8290. type: 'Identifier',
  8291. name: 'y',
  8292. range: [4, 5],
  8293. loc: {
  8294. start: { line: 1, column: 4 },
  8295. end: { line: 1, column: 5 }
  8296. }
  8297. },
  8298. right: {
  8299. type: 'Identifier',
  8300. name: 'z',
  8301. range: [8, 9],
  8302. loc: {
  8303. start: { line: 1, column: 8 },
  8304. end: { line: 1, column: 9 }
  8305. }
  8306. },
  8307. range: [4, 9],
  8308. loc: {
  8309. start: { line: 1, column: 4 },
  8310. end: { line: 1, column: 9 }
  8311. }
  8312. },
  8313. range: [0, 9],
  8314. loc: {
  8315. start: { line: 1, column: 0 },
  8316. end: { line: 1, column: 9 }
  8317. }
  8318. },
  8319. range: [0, 9],
  8320. loc: {
  8321. start: { line: 1, column: 0 },
  8322. end: { line: 1, column: 9 }
  8323. }
  8324. },
  8325. 'x * y * z': {
  8326. type: 'ExpressionStatement',
  8327. expression: {
  8328. type: 'BinaryExpression',
  8329. operator: '*',
  8330. left: {
  8331. type: 'BinaryExpression',
  8332. operator: '*',
  8333. left: {
  8334. type: 'Identifier',
  8335. name: 'x',
  8336. range: [0, 1],
  8337. loc: {
  8338. start: { line: 1, column: 0 },
  8339. end: { line: 1, column: 1 }
  8340. }
  8341. },
  8342. right: {
  8343. type: 'Identifier',
  8344. name: 'y',
  8345. range: [4, 5],
  8346. loc: {
  8347. start: { line: 1, column: 4 },
  8348. end: { line: 1, column: 5 }
  8349. }
  8350. },
  8351. range: [0, 5],
  8352. loc: {
  8353. start: { line: 1, column: 0 },
  8354. end: { line: 1, column: 5 }
  8355. }
  8356. },
  8357. right: {
  8358. type: 'Identifier',
  8359. name: 'z',
  8360. range: [8, 9],
  8361. loc: {
  8362. start: { line: 1, column: 8 },
  8363. end: { line: 1, column: 9 }
  8364. }
  8365. },
  8366. range: [0, 9],
  8367. loc: {
  8368. start: { line: 1, column: 0 },
  8369. end: { line: 1, column: 9 }
  8370. }
  8371. },
  8372. range: [0, 9],
  8373. loc: {
  8374. start: { line: 1, column: 0 },
  8375. end: { line: 1, column: 9 }
  8376. }
  8377. },
  8378. 'x * y / z': {
  8379. type: 'ExpressionStatement',
  8380. expression: {
  8381. type: 'BinaryExpression',
  8382. operator: '/',
  8383. left: {
  8384. type: 'BinaryExpression',
  8385. operator: '*',
  8386. left: {
  8387. type: 'Identifier',
  8388. name: 'x',
  8389. range: [0, 1],
  8390. loc: {
  8391. start: { line: 1, column: 0 },
  8392. end: { line: 1, column: 1 }
  8393. }
  8394. },
  8395. right: {
  8396. type: 'Identifier',
  8397. name: 'y',
  8398. range: [4, 5],
  8399. loc: {
  8400. start: { line: 1, column: 4 },
  8401. end: { line: 1, column: 5 }
  8402. }
  8403. },
  8404. range: [0, 5],
  8405. loc: {
  8406. start: { line: 1, column: 0 },
  8407. end: { line: 1, column: 5 }
  8408. }
  8409. },
  8410. right: {
  8411. type: 'Identifier',
  8412. name: 'z',
  8413. range: [8, 9],
  8414. loc: {
  8415. start: { line: 1, column: 8 },
  8416. end: { line: 1, column: 9 }
  8417. }
  8418. },
  8419. range: [0, 9],
  8420. loc: {
  8421. start: { line: 1, column: 0 },
  8422. end: { line: 1, column: 9 }
  8423. }
  8424. },
  8425. range: [0, 9],
  8426. loc: {
  8427. start: { line: 1, column: 0 },
  8428. end: { line: 1, column: 9 }
  8429. }
  8430. },
  8431. 'x * y % z': {
  8432. type: 'ExpressionStatement',
  8433. expression: {
  8434. type: 'BinaryExpression',
  8435. operator: '%',
  8436. left: {
  8437. type: 'BinaryExpression',
  8438. operator: '*',
  8439. left: {
  8440. type: 'Identifier',
  8441. name: 'x',
  8442. range: [0, 1],
  8443. loc: {
  8444. start: { line: 1, column: 0 },
  8445. end: { line: 1, column: 1 }
  8446. }
  8447. },
  8448. right: {
  8449. type: 'Identifier',
  8450. name: 'y',
  8451. range: [4, 5],
  8452. loc: {
  8453. start: { line: 1, column: 4 },
  8454. end: { line: 1, column: 5 }
  8455. }
  8456. },
  8457. range: [0, 5],
  8458. loc: {
  8459. start: { line: 1, column: 0 },
  8460. end: { line: 1, column: 5 }
  8461. }
  8462. },
  8463. right: {
  8464. type: 'Identifier',
  8465. name: 'z',
  8466. range: [8, 9],
  8467. loc: {
  8468. start: { line: 1, column: 8 },
  8469. end: { line: 1, column: 9 }
  8470. }
  8471. },
  8472. range: [0, 9],
  8473. loc: {
  8474. start: { line: 1, column: 0 },
  8475. end: { line: 1, column: 9 }
  8476. }
  8477. },
  8478. range: [0, 9],
  8479. loc: {
  8480. start: { line: 1, column: 0 },
  8481. end: { line: 1, column: 9 }
  8482. }
  8483. },
  8484. 'x % y * z': {
  8485. type: 'ExpressionStatement',
  8486. expression: {
  8487. type: 'BinaryExpression',
  8488. operator: '*',
  8489. left: {
  8490. type: 'BinaryExpression',
  8491. operator: '%',
  8492. left: {
  8493. type: 'Identifier',
  8494. name: 'x',
  8495. range: [0, 1],
  8496. loc: {
  8497. start: { line: 1, column: 0 },
  8498. end: { line: 1, column: 1 }
  8499. }
  8500. },
  8501. right: {
  8502. type: 'Identifier',
  8503. name: 'y',
  8504. range: [4, 5],
  8505. loc: {
  8506. start: { line: 1, column: 4 },
  8507. end: { line: 1, column: 5 }
  8508. }
  8509. },
  8510. range: [0, 5],
  8511. loc: {
  8512. start: { line: 1, column: 0 },
  8513. end: { line: 1, column: 5 }
  8514. }
  8515. },
  8516. right: {
  8517. type: 'Identifier',
  8518. name: 'z',
  8519. range: [8, 9],
  8520. loc: {
  8521. start: { line: 1, column: 8 },
  8522. end: { line: 1, column: 9 }
  8523. }
  8524. },
  8525. range: [0, 9],
  8526. loc: {
  8527. start: { line: 1, column: 0 },
  8528. end: { line: 1, column: 9 }
  8529. }
  8530. },
  8531. range: [0, 9],
  8532. loc: {
  8533. start: { line: 1, column: 0 },
  8534. end: { line: 1, column: 9 }
  8535. }
  8536. },
  8537. 'x << y << z': {
  8538. type: 'ExpressionStatement',
  8539. expression: {
  8540. type: 'BinaryExpression',
  8541. operator: '<<',
  8542. left: {
  8543. type: 'BinaryExpression',
  8544. operator: '<<',
  8545. left: {
  8546. type: 'Identifier',
  8547. name: 'x',
  8548. range: [0, 1],
  8549. loc: {
  8550. start: { line: 1, column: 0 },
  8551. end: { line: 1, column: 1 }
  8552. }
  8553. },
  8554. right: {
  8555. type: 'Identifier',
  8556. name: 'y',
  8557. range: [5, 6],
  8558. loc: {
  8559. start: { line: 1, column: 5 },
  8560. end: { line: 1, column: 6 }
  8561. }
  8562. },
  8563. range: [0, 6],
  8564. loc: {
  8565. start: { line: 1, column: 0 },
  8566. end: { line: 1, column: 6 }
  8567. }
  8568. },
  8569. right: {
  8570. type: 'Identifier',
  8571. name: 'z',
  8572. range: [10, 11],
  8573. loc: {
  8574. start: { line: 1, column: 10 },
  8575. end: { line: 1, column: 11 }
  8576. }
  8577. },
  8578. range: [0, 11],
  8579. loc: {
  8580. start: { line: 1, column: 0 },
  8581. end: { line: 1, column: 11 }
  8582. }
  8583. },
  8584. range: [0, 11],
  8585. loc: {
  8586. start: { line: 1, column: 0 },
  8587. end: { line: 1, column: 11 }
  8588. }
  8589. },
  8590. 'x | y | z': {
  8591. type: 'ExpressionStatement',
  8592. expression: {
  8593. type: 'BinaryExpression',
  8594. operator: '|',
  8595. left: {
  8596. type: 'BinaryExpression',
  8597. operator: '|',
  8598. left: {
  8599. type: 'Identifier',
  8600. name: 'x',
  8601. range: [0, 1],
  8602. loc: {
  8603. start: { line: 1, column: 0 },
  8604. end: { line: 1, column: 1 }
  8605. }
  8606. },
  8607. right: {
  8608. type: 'Identifier',
  8609. name: 'y',
  8610. range: [4, 5],
  8611. loc: {
  8612. start: { line: 1, column: 4 },
  8613. end: { line: 1, column: 5 }
  8614. }
  8615. },
  8616. range: [0, 5],
  8617. loc: {
  8618. start: { line: 1, column: 0 },
  8619. end: { line: 1, column: 5 }
  8620. }
  8621. },
  8622. right: {
  8623. type: 'Identifier',
  8624. name: 'z',
  8625. range: [8, 9],
  8626. loc: {
  8627. start: { line: 1, column: 8 },
  8628. end: { line: 1, column: 9 }
  8629. }
  8630. },
  8631. range: [0, 9],
  8632. loc: {
  8633. start: { line: 1, column: 0 },
  8634. end: { line: 1, column: 9 }
  8635. }
  8636. },
  8637. range: [0, 9],
  8638. loc: {
  8639. start: { line: 1, column: 0 },
  8640. end: { line: 1, column: 9 }
  8641. }
  8642. },
  8643. 'x & y & z': {
  8644. type: 'ExpressionStatement',
  8645. expression: {
  8646. type: 'BinaryExpression',
  8647. operator: '&',
  8648. left: {
  8649. type: 'BinaryExpression',
  8650. operator: '&',
  8651. left: {
  8652. type: 'Identifier',
  8653. name: 'x',
  8654. range: [0, 1],
  8655. loc: {
  8656. start: { line: 1, column: 0 },
  8657. end: { line: 1, column: 1 }
  8658. }
  8659. },
  8660. right: {
  8661. type: 'Identifier',
  8662. name: 'y',
  8663. range: [4, 5],
  8664. loc: {
  8665. start: { line: 1, column: 4 },
  8666. end: { line: 1, column: 5 }
  8667. }
  8668. },
  8669. range: [0, 5],
  8670. loc: {
  8671. start: { line: 1, column: 0 },
  8672. end: { line: 1, column: 5 }
  8673. }
  8674. },
  8675. right: {
  8676. type: 'Identifier',
  8677. name: 'z',
  8678. range: [8, 9],
  8679. loc: {
  8680. start: { line: 1, column: 8 },
  8681. end: { line: 1, column: 9 }
  8682. }
  8683. },
  8684. range: [0, 9],
  8685. loc: {
  8686. start: { line: 1, column: 0 },
  8687. end: { line: 1, column: 9 }
  8688. }
  8689. },
  8690. range: [0, 9],
  8691. loc: {
  8692. start: { line: 1, column: 0 },
  8693. end: { line: 1, column: 9 }
  8694. }
  8695. },
  8696. 'x ^ y ^ z': {
  8697. type: 'ExpressionStatement',
  8698. expression: {
  8699. type: 'BinaryExpression',
  8700. operator: '^',
  8701. left: {
  8702. type: 'BinaryExpression',
  8703. operator: '^',
  8704. left: {
  8705. type: 'Identifier',
  8706. name: 'x',
  8707. range: [0, 1],
  8708. loc: {
  8709. start: { line: 1, column: 0 },
  8710. end: { line: 1, column: 1 }
  8711. }
  8712. },
  8713. right: {
  8714. type: 'Identifier',
  8715. name: 'y',
  8716. range: [4, 5],
  8717. loc: {
  8718. start: { line: 1, column: 4 },
  8719. end: { line: 1, column: 5 }
  8720. }
  8721. },
  8722. range: [0, 5],
  8723. loc: {
  8724. start: { line: 1, column: 0 },
  8725. end: { line: 1, column: 5 }
  8726. }
  8727. },
  8728. right: {
  8729. type: 'Identifier',
  8730. name: 'z',
  8731. range: [8, 9],
  8732. loc: {
  8733. start: { line: 1, column: 8 },
  8734. end: { line: 1, column: 9 }
  8735. }
  8736. },
  8737. range: [0, 9],
  8738. loc: {
  8739. start: { line: 1, column: 0 },
  8740. end: { line: 1, column: 9 }
  8741. }
  8742. },
  8743. range: [0, 9],
  8744. loc: {
  8745. start: { line: 1, column: 0 },
  8746. end: { line: 1, column: 9 }
  8747. }
  8748. },
  8749. 'x & y | z': {
  8750. type: 'ExpressionStatement',
  8751. expression: {
  8752. type: 'BinaryExpression',
  8753. operator: '|',
  8754. left: {
  8755. type: 'BinaryExpression',
  8756. operator: '&',
  8757. left: {
  8758. type: 'Identifier',
  8759. name: 'x',
  8760. range: [0, 1],
  8761. loc: {
  8762. start: { line: 1, column: 0 },
  8763. end: { line: 1, column: 1 }
  8764. }
  8765. },
  8766. right: {
  8767. type: 'Identifier',
  8768. name: 'y',
  8769. range: [4, 5],
  8770. loc: {
  8771. start: { line: 1, column: 4 },
  8772. end: { line: 1, column: 5 }
  8773. }
  8774. },
  8775. range: [0, 5],
  8776. loc: {
  8777. start: { line: 1, column: 0 },
  8778. end: { line: 1, column: 5 }
  8779. }
  8780. },
  8781. right: {
  8782. type: 'Identifier',
  8783. name: 'z',
  8784. range: [8, 9],
  8785. loc: {
  8786. start: { line: 1, column: 8 },
  8787. end: { line: 1, column: 9 }
  8788. }
  8789. },
  8790. range: [0, 9],
  8791. loc: {
  8792. start: { line: 1, column: 0 },
  8793. end: { line: 1, column: 9 }
  8794. }
  8795. },
  8796. range: [0, 9],
  8797. loc: {
  8798. start: { line: 1, column: 0 },
  8799. end: { line: 1, column: 9 }
  8800. }
  8801. },
  8802. 'x | y ^ z': {
  8803. type: 'ExpressionStatement',
  8804. expression: {
  8805. type: 'BinaryExpression',
  8806. operator: '|',
  8807. left: {
  8808. type: 'Identifier',
  8809. name: 'x',
  8810. range: [0, 1],
  8811. loc: {
  8812. start: { line: 1, column: 0 },
  8813. end: { line: 1, column: 1 }
  8814. }
  8815. },
  8816. right: {
  8817. type: 'BinaryExpression',
  8818. operator: '^',
  8819. left: {
  8820. type: 'Identifier',
  8821. name: 'y',
  8822. range: [4, 5],
  8823. loc: {
  8824. start: { line: 1, column: 4 },
  8825. end: { line: 1, column: 5 }
  8826. }
  8827. },
  8828. right: {
  8829. type: 'Identifier',
  8830. name: 'z',
  8831. range: [8, 9],
  8832. loc: {
  8833. start: { line: 1, column: 8 },
  8834. end: { line: 1, column: 9 }
  8835. }
  8836. },
  8837. range: [4, 9],
  8838. loc: {
  8839. start: { line: 1, column: 4 },
  8840. end: { line: 1, column: 9 }
  8841. }
  8842. },
  8843. range: [0, 9],
  8844. loc: {
  8845. start: { line: 1, column: 0 },
  8846. end: { line: 1, column: 9 }
  8847. }
  8848. },
  8849. range: [0, 9],
  8850. loc: {
  8851. start: { line: 1, column: 0 },
  8852. end: { line: 1, column: 9 }
  8853. }
  8854. },
  8855. 'x | y & z': {
  8856. type: 'ExpressionStatement',
  8857. expression: {
  8858. type: 'BinaryExpression',
  8859. operator: '|',
  8860. left: {
  8861. type: 'Identifier',
  8862. name: 'x',
  8863. range: [0, 1],
  8864. loc: {
  8865. start: { line: 1, column: 0 },
  8866. end: { line: 1, column: 1 }
  8867. }
  8868. },
  8869. right: {
  8870. type: 'BinaryExpression',
  8871. operator: '&',
  8872. left: {
  8873. type: 'Identifier',
  8874. name: 'y',
  8875. range: [4, 5],
  8876. loc: {
  8877. start: { line: 1, column: 4 },
  8878. end: { line: 1, column: 5 }
  8879. }
  8880. },
  8881. right: {
  8882. type: 'Identifier',
  8883. name: 'z',
  8884. range: [8, 9],
  8885. loc: {
  8886. start: { line: 1, column: 8 },
  8887. end: { line: 1, column: 9 }
  8888. }
  8889. },
  8890. range: [4, 9],
  8891. loc: {
  8892. start: { line: 1, column: 4 },
  8893. end: { line: 1, column: 9 }
  8894. }
  8895. },
  8896. range: [0, 9],
  8897. loc: {
  8898. start: { line: 1, column: 0 },
  8899. end: { line: 1, column: 9 }
  8900. }
  8901. },
  8902. range: [0, 9],
  8903. loc: {
  8904. start: { line: 1, column: 0 },
  8905. end: { line: 1, column: 9 }
  8906. }
  8907. }
  8908. },
  8909. 'Binary Logical Operators': {
  8910. 'x || y': {
  8911. type: 'ExpressionStatement',
  8912. expression: {
  8913. type: 'LogicalExpression',
  8914. operator: '||',
  8915. left: {
  8916. type: 'Identifier',
  8917. name: 'x',
  8918. range: [0, 1],
  8919. loc: {
  8920. start: { line: 1, column: 0 },
  8921. end: { line: 1, column: 1 }
  8922. }
  8923. },
  8924. right: {
  8925. type: 'Identifier',
  8926. name: 'y',
  8927. range: [5, 6],
  8928. loc: {
  8929. start: { line: 1, column: 5 },
  8930. end: { line: 1, column: 6 }
  8931. }
  8932. },
  8933. range: [0, 6],
  8934. loc: {
  8935. start: { line: 1, column: 0 },
  8936. end: { line: 1, column: 6 }
  8937. }
  8938. },
  8939. range: [0, 6],
  8940. loc: {
  8941. start: { line: 1, column: 0 },
  8942. end: { line: 1, column: 6 }
  8943. }
  8944. },
  8945. 'x && y': {
  8946. type: 'ExpressionStatement',
  8947. expression: {
  8948. type: 'LogicalExpression',
  8949. operator: '&&',
  8950. left: {
  8951. type: 'Identifier',
  8952. name: 'x',
  8953. range: [0, 1],
  8954. loc: {
  8955. start: { line: 1, column: 0 },
  8956. end: { line: 1, column: 1 }
  8957. }
  8958. },
  8959. right: {
  8960. type: 'Identifier',
  8961. name: 'y',
  8962. range: [5, 6],
  8963. loc: {
  8964. start: { line: 1, column: 5 },
  8965. end: { line: 1, column: 6 }
  8966. }
  8967. },
  8968. range: [0, 6],
  8969. loc: {
  8970. start: { line: 1, column: 0 },
  8971. end: { line: 1, column: 6 }
  8972. }
  8973. },
  8974. range: [0, 6],
  8975. loc: {
  8976. start: { line: 1, column: 0 },
  8977. end: { line: 1, column: 6 }
  8978. }
  8979. },
  8980. 'x || y || z': {
  8981. type: 'ExpressionStatement',
  8982. expression: {
  8983. type: 'LogicalExpression',
  8984. operator: '||',
  8985. left: {
  8986. type: 'LogicalExpression',
  8987. operator: '||',
  8988. left: {
  8989. type: 'Identifier',
  8990. name: 'x',
  8991. range: [0, 1],
  8992. loc: {
  8993. start: { line: 1, column: 0 },
  8994. end: { line: 1, column: 1 }
  8995. }
  8996. },
  8997. right: {
  8998. type: 'Identifier',
  8999. name: 'y',
  9000. range: [5, 6],
  9001. loc: {
  9002. start: { line: 1, column: 5 },
  9003. end: { line: 1, column: 6 }
  9004. }
  9005. },
  9006. range: [0, 6],
  9007. loc: {
  9008. start: { line: 1, column: 0 },
  9009. end: { line: 1, column: 6 }
  9010. }
  9011. },
  9012. right: {
  9013. type: 'Identifier',
  9014. name: 'z',
  9015. range: [10, 11],
  9016. loc: {
  9017. start: { line: 1, column: 10 },
  9018. end: { line: 1, column: 11 }
  9019. }
  9020. },
  9021. range: [0, 11],
  9022. loc: {
  9023. start: { line: 1, column: 0 },
  9024. end: { line: 1, column: 11 }
  9025. }
  9026. },
  9027. range: [0, 11],
  9028. loc: {
  9029. start: { line: 1, column: 0 },
  9030. end: { line: 1, column: 11 }
  9031. }
  9032. },
  9033. 'x && y && z': {
  9034. type: 'ExpressionStatement',
  9035. expression: {
  9036. type: 'LogicalExpression',
  9037. operator: '&&',
  9038. left: {
  9039. type: 'LogicalExpression',
  9040. operator: '&&',
  9041. left: {
  9042. type: 'Identifier',
  9043. name: 'x',
  9044. range: [0, 1],
  9045. loc: {
  9046. start: { line: 1, column: 0 },
  9047. end: { line: 1, column: 1 }
  9048. }
  9049. },
  9050. right: {
  9051. type: 'Identifier',
  9052. name: 'y',
  9053. range: [5, 6],
  9054. loc: {
  9055. start: { line: 1, column: 5 },
  9056. end: { line: 1, column: 6 }
  9057. }
  9058. },
  9059. range: [0, 6],
  9060. loc: {
  9061. start: { line: 1, column: 0 },
  9062. end: { line: 1, column: 6 }
  9063. }
  9064. },
  9065. right: {
  9066. type: 'Identifier',
  9067. name: 'z',
  9068. range: [10, 11],
  9069. loc: {
  9070. start: { line: 1, column: 10 },
  9071. end: { line: 1, column: 11 }
  9072. }
  9073. },
  9074. range: [0, 11],
  9075. loc: {
  9076. start: { line: 1, column: 0 },
  9077. end: { line: 1, column: 11 }
  9078. }
  9079. },
  9080. range: [0, 11],
  9081. loc: {
  9082. start: { line: 1, column: 0 },
  9083. end: { line: 1, column: 11 }
  9084. }
  9085. },
  9086. 'x || y && z': {
  9087. type: 'ExpressionStatement',
  9088. expression: {
  9089. type: 'LogicalExpression',
  9090. operator: '||',
  9091. left: {
  9092. type: 'Identifier',
  9093. name: 'x',
  9094. range: [0, 1],
  9095. loc: {
  9096. start: { line: 1, column: 0 },
  9097. end: { line: 1, column: 1 }
  9098. }
  9099. },
  9100. right: {
  9101. type: 'LogicalExpression',
  9102. operator: '&&',
  9103. left: {
  9104. type: 'Identifier',
  9105. name: 'y',
  9106. range: [5, 6],
  9107. loc: {
  9108. start: { line: 1, column: 5 },
  9109. end: { line: 1, column: 6 }
  9110. }
  9111. },
  9112. right: {
  9113. type: 'Identifier',
  9114. name: 'z',
  9115. range: [10, 11],
  9116. loc: {
  9117. start: { line: 1, column: 10 },
  9118. end: { line: 1, column: 11 }
  9119. }
  9120. },
  9121. range: [5, 11],
  9122. loc: {
  9123. start: { line: 1, column: 5 },
  9124. end: { line: 1, column: 11 }
  9125. }
  9126. },
  9127. range: [0, 11],
  9128. loc: {
  9129. start: { line: 1, column: 0 },
  9130. end: { line: 1, column: 11 }
  9131. }
  9132. },
  9133. range: [0, 11],
  9134. loc: {
  9135. start: { line: 1, column: 0 },
  9136. end: { line: 1, column: 11 }
  9137. }
  9138. },
  9139. 'x || y ^ z': {
  9140. type: 'ExpressionStatement',
  9141. expression: {
  9142. type: 'LogicalExpression',
  9143. operator: '||',
  9144. left: {
  9145. type: 'Identifier',
  9146. name: 'x',
  9147. range: [0, 1],
  9148. loc: {
  9149. start: { line: 1, column: 0 },
  9150. end: { line: 1, column: 1 }
  9151. }
  9152. },
  9153. right: {
  9154. type: 'BinaryExpression',
  9155. operator: '^',
  9156. left: {
  9157. type: 'Identifier',
  9158. name: 'y',
  9159. range: [5, 6],
  9160. loc: {
  9161. start: { line: 1, column: 5 },
  9162. end: { line: 1, column: 6 }
  9163. }
  9164. },
  9165. right: {
  9166. type: 'Identifier',
  9167. name: 'z',
  9168. range: [9, 10],
  9169. loc: {
  9170. start: { line: 1, column: 9 },
  9171. end: { line: 1, column: 10 }
  9172. }
  9173. },
  9174. range: [5, 10],
  9175. loc: {
  9176. start: { line: 1, column: 5 },
  9177. end: { line: 1, column: 10 }
  9178. }
  9179. },
  9180. range: [0, 10],
  9181. loc: {
  9182. start: { line: 1, column: 0 },
  9183. end: { line: 1, column: 10 }
  9184. }
  9185. },
  9186. range: [0, 10],
  9187. loc: {
  9188. start: { line: 1, column: 0 },
  9189. end: { line: 1, column: 10 }
  9190. }
  9191. }
  9192. },
  9193. 'Conditional Operator': {
  9194. 'y ? 1 : 2': {
  9195. type: 'ExpressionStatement',
  9196. expression: {
  9197. type: 'ConditionalExpression',
  9198. test: {
  9199. type: 'Identifier',
  9200. name: 'y',
  9201. range: [0, 1],
  9202. loc: {
  9203. start: { line: 1, column: 0 },
  9204. end: { line: 1, column: 1 }
  9205. }
  9206. },
  9207. consequent: {
  9208. type: 'Literal',
  9209. value: 1,
  9210. raw: '1',
  9211. range: [4, 5],
  9212. loc: {
  9213. start: { line: 1, column: 4 },
  9214. end: { line: 1, column: 5 }
  9215. }
  9216. },
  9217. alternate: {
  9218. type: 'Literal',
  9219. value: 2,
  9220. raw: '2',
  9221. range: [8, 9],
  9222. loc: {
  9223. start: { line: 1, column: 8 },
  9224. end: { line: 1, column: 9 }
  9225. }
  9226. },
  9227. range: [0, 9],
  9228. loc: {
  9229. start: { line: 1, column: 0 },
  9230. end: { line: 1, column: 9 }
  9231. }
  9232. },
  9233. range: [0, 9],
  9234. loc: {
  9235. start: { line: 1, column: 0 },
  9236. end: { line: 1, column: 9 }
  9237. }
  9238. },
  9239. 'x && y ? 1 : 2': {
  9240. type: 'ExpressionStatement',
  9241. expression: {
  9242. type: 'ConditionalExpression',
  9243. test: {
  9244. type: 'LogicalExpression',
  9245. operator: '&&',
  9246. left: {
  9247. type: 'Identifier',
  9248. name: 'x',
  9249. range: [0, 1],
  9250. loc: {
  9251. start: { line: 1, column: 0 },
  9252. end: { line: 1, column: 1 }
  9253. }
  9254. },
  9255. right: {
  9256. type: 'Identifier',
  9257. name: 'y',
  9258. range: [5, 6],
  9259. loc: {
  9260. start: { line: 1, column: 5 },
  9261. end: { line: 1, column: 6 }
  9262. }
  9263. },
  9264. range: [0, 6],
  9265. loc: {
  9266. start: { line: 1, column: 0 },
  9267. end: { line: 1, column: 6 }
  9268. }
  9269. },
  9270. consequent: {
  9271. type: 'Literal',
  9272. value: 1,
  9273. raw: '1',
  9274. range: [9, 10],
  9275. loc: {
  9276. start: { line: 1, column: 9 },
  9277. end: { line: 1, column: 10 }
  9278. }
  9279. },
  9280. alternate: {
  9281. type: 'Literal',
  9282. value: 2,
  9283. raw: '2',
  9284. range: [13, 14],
  9285. loc: {
  9286. start: { line: 1, column: 13 },
  9287. end: { line: 1, column: 14 }
  9288. }
  9289. },
  9290. range: [0, 14],
  9291. loc: {
  9292. start: { line: 1, column: 0 },
  9293. end: { line: 1, column: 14 }
  9294. }
  9295. },
  9296. range: [0, 14],
  9297. loc: {
  9298. start: { line: 1, column: 0 },
  9299. end: { line: 1, column: 14 }
  9300. }
  9301. }
  9302. },
  9303. 'Assignment Operators': {
  9304. 'x = 42': {
  9305. type: 'ExpressionStatement',
  9306. expression: {
  9307. type: 'AssignmentExpression',
  9308. operator: '=',
  9309. left: {
  9310. type: 'Identifier',
  9311. name: 'x',
  9312. range: [0, 1],
  9313. loc: {
  9314. start: { line: 1, column: 0 },
  9315. end: { line: 1, column: 1 }
  9316. }
  9317. },
  9318. right: {
  9319. type: 'Literal',
  9320. value: 42,
  9321. raw: '42',
  9322. range: [4, 6],
  9323. loc: {
  9324. start: { line: 1, column: 4 },
  9325. end: { line: 1, column: 6 }
  9326. }
  9327. },
  9328. range: [0, 6],
  9329. loc: {
  9330. start: { line: 1, column: 0 },
  9331. end: { line: 1, column: 6 }
  9332. }
  9333. },
  9334. range: [0, 6],
  9335. loc: {
  9336. start: { line: 1, column: 0 },
  9337. end: { line: 1, column: 6 }
  9338. }
  9339. },
  9340. 'eval = 42': {
  9341. type: 'ExpressionStatement',
  9342. expression: {
  9343. type: 'AssignmentExpression',
  9344. operator: '=',
  9345. left: {
  9346. type: 'Identifier',
  9347. name: 'eval',
  9348. range: [0, 4],
  9349. loc: {
  9350. start: { line: 1, column: 0 },
  9351. end: { line: 1, column: 4 }
  9352. }
  9353. },
  9354. right: {
  9355. type: 'Literal',
  9356. value: 42,
  9357. raw: '42',
  9358. range: [7, 9],
  9359. loc: {
  9360. start: { line: 1, column: 7 },
  9361. end: { line: 1, column: 9 }
  9362. }
  9363. },
  9364. range: [0, 9],
  9365. loc: {
  9366. start: { line: 1, column: 0 },
  9367. end: { line: 1, column: 9 }
  9368. }
  9369. },
  9370. range: [0, 9],
  9371. loc: {
  9372. start: { line: 1, column: 0 },
  9373. end: { line: 1, column: 9 }
  9374. }
  9375. },
  9376. 'arguments = 42': {
  9377. type: 'ExpressionStatement',
  9378. expression: {
  9379. type: 'AssignmentExpression',
  9380. operator: '=',
  9381. left: {
  9382. type: 'Identifier',
  9383. name: 'arguments',
  9384. range: [0, 9],
  9385. loc: {
  9386. start: { line: 1, column: 0 },
  9387. end: { line: 1, column: 9 }
  9388. }
  9389. },
  9390. right: {
  9391. type: 'Literal',
  9392. value: 42,
  9393. raw: '42',
  9394. range: [12, 14],
  9395. loc: {
  9396. start: { line: 1, column: 12 },
  9397. end: { line: 1, column: 14 }
  9398. }
  9399. },
  9400. range: [0, 14],
  9401. loc: {
  9402. start: { line: 1, column: 0 },
  9403. end: { line: 1, column: 14 }
  9404. }
  9405. },
  9406. range: [0, 14],
  9407. loc: {
  9408. start: { line: 1, column: 0 },
  9409. end: { line: 1, column: 14 }
  9410. }
  9411. },
  9412. 'x *= 42': {
  9413. type: 'ExpressionStatement',
  9414. expression: {
  9415. type: 'AssignmentExpression',
  9416. operator: '*=',
  9417. left: {
  9418. type: 'Identifier',
  9419. name: 'x',
  9420. range: [0, 1],
  9421. loc: {
  9422. start: { line: 1, column: 0 },
  9423. end: { line: 1, column: 1 }
  9424. }
  9425. },
  9426. right: {
  9427. type: 'Literal',
  9428. value: 42,
  9429. raw: '42',
  9430. range: [5, 7],
  9431. loc: {
  9432. start: { line: 1, column: 5 },
  9433. end: { line: 1, column: 7 }
  9434. }
  9435. },
  9436. range: [0, 7],
  9437. loc: {
  9438. start: { line: 1, column: 0 },
  9439. end: { line: 1, column: 7 }
  9440. }
  9441. },
  9442. range: [0, 7],
  9443. loc: {
  9444. start: { line: 1, column: 0 },
  9445. end: { line: 1, column: 7 }
  9446. }
  9447. },
  9448. 'x /= 42': {
  9449. type: 'ExpressionStatement',
  9450. expression: {
  9451. type: 'AssignmentExpression',
  9452. operator: '/=',
  9453. left: {
  9454. type: 'Identifier',
  9455. name: 'x',
  9456. range: [0, 1],
  9457. loc: {
  9458. start: { line: 1, column: 0 },
  9459. end: { line: 1, column: 1 }
  9460. }
  9461. },
  9462. right: {
  9463. type: 'Literal',
  9464. value: 42,
  9465. raw: '42',
  9466. range: [5, 7],
  9467. loc: {
  9468. start: { line: 1, column: 5 },
  9469. end: { line: 1, column: 7 }
  9470. }
  9471. },
  9472. range: [0, 7],
  9473. loc: {
  9474. start: { line: 1, column: 0 },
  9475. end: { line: 1, column: 7 }
  9476. }
  9477. },
  9478. range: [0, 7],
  9479. loc: {
  9480. start: { line: 1, column: 0 },
  9481. end: { line: 1, column: 7 }
  9482. }
  9483. },
  9484. 'x %= 42': {
  9485. type: 'ExpressionStatement',
  9486. expression: {
  9487. type: 'AssignmentExpression',
  9488. operator: '%=',
  9489. left: {
  9490. type: 'Identifier',
  9491. name: 'x',
  9492. range: [0, 1],
  9493. loc: {
  9494. start: { line: 1, column: 0 },
  9495. end: { line: 1, column: 1 }
  9496. }
  9497. },
  9498. right: {
  9499. type: 'Literal',
  9500. value: 42,
  9501. raw: '42',
  9502. range: [5, 7],
  9503. loc: {
  9504. start: { line: 1, column: 5 },
  9505. end: { line: 1, column: 7 }
  9506. }
  9507. },
  9508. range: [0, 7],
  9509. loc: {
  9510. start: { line: 1, column: 0 },
  9511. end: { line: 1, column: 7 }
  9512. }
  9513. },
  9514. range: [0, 7],
  9515. loc: {
  9516. start: { line: 1, column: 0 },
  9517. end: { line: 1, column: 7 }
  9518. }
  9519. },
  9520. 'x += 42': {
  9521. type: 'ExpressionStatement',
  9522. expression: {
  9523. type: 'AssignmentExpression',
  9524. operator: '+=',
  9525. left: {
  9526. type: 'Identifier',
  9527. name: 'x',
  9528. range: [0, 1],
  9529. loc: {
  9530. start: { line: 1, column: 0 },
  9531. end: { line: 1, column: 1 }
  9532. }
  9533. },
  9534. right: {
  9535. type: 'Literal',
  9536. value: 42,
  9537. raw: '42',
  9538. range: [5, 7],
  9539. loc: {
  9540. start: { line: 1, column: 5 },
  9541. end: { line: 1, column: 7 }
  9542. }
  9543. },
  9544. range: [0, 7],
  9545. loc: {
  9546. start: { line: 1, column: 0 },
  9547. end: { line: 1, column: 7 }
  9548. }
  9549. },
  9550. range: [0, 7],
  9551. loc: {
  9552. start: { line: 1, column: 0 },
  9553. end: { line: 1, column: 7 }
  9554. }
  9555. },
  9556. 'x -= 42': {
  9557. type: 'ExpressionStatement',
  9558. expression: {
  9559. type: 'AssignmentExpression',
  9560. operator: '-=',
  9561. left: {
  9562. type: 'Identifier',
  9563. name: 'x',
  9564. range: [0, 1],
  9565. loc: {
  9566. start: { line: 1, column: 0 },
  9567. end: { line: 1, column: 1 }
  9568. }
  9569. },
  9570. right: {
  9571. type: 'Literal',
  9572. value: 42,
  9573. raw: '42',
  9574. range: [5, 7],
  9575. loc: {
  9576. start: { line: 1, column: 5 },
  9577. end: { line: 1, column: 7 }
  9578. }
  9579. },
  9580. range: [0, 7],
  9581. loc: {
  9582. start: { line: 1, column: 0 },
  9583. end: { line: 1, column: 7 }
  9584. }
  9585. },
  9586. range: [0, 7],
  9587. loc: {
  9588. start: { line: 1, column: 0 },
  9589. end: { line: 1, column: 7 }
  9590. }
  9591. },
  9592. 'x <<= 42': {
  9593. type: 'ExpressionStatement',
  9594. expression: {
  9595. type: 'AssignmentExpression',
  9596. operator: '<<=',
  9597. left: {
  9598. type: 'Identifier',
  9599. name: 'x',
  9600. range: [0, 1],
  9601. loc: {
  9602. start: { line: 1, column: 0 },
  9603. end: { line: 1, column: 1 }
  9604. }
  9605. },
  9606. right: {
  9607. type: 'Literal',
  9608. value: 42,
  9609. raw: '42',
  9610. range: [6, 8],
  9611. loc: {
  9612. start: { line: 1, column: 6 },
  9613. end: { line: 1, column: 8 }
  9614. }
  9615. },
  9616. range: [0, 8],
  9617. loc: {
  9618. start: { line: 1, column: 0 },
  9619. end: { line: 1, column: 8 }
  9620. }
  9621. },
  9622. range: [0, 8],
  9623. loc: {
  9624. start: { line: 1, column: 0 },
  9625. end: { line: 1, column: 8 }
  9626. }
  9627. },
  9628. 'x >>= 42': {
  9629. type: 'ExpressionStatement',
  9630. expression: {
  9631. type: 'AssignmentExpression',
  9632. operator: '>>=',
  9633. left: {
  9634. type: 'Identifier',
  9635. name: 'x',
  9636. range: [0, 1],
  9637. loc: {
  9638. start: { line: 1, column: 0 },
  9639. end: { line: 1, column: 1 }
  9640. }
  9641. },
  9642. right: {
  9643. type: 'Literal',
  9644. value: 42,
  9645. raw: '42',
  9646. range: [6, 8],
  9647. loc: {
  9648. start: { line: 1, column: 6 },
  9649. end: { line: 1, column: 8 }
  9650. }
  9651. },
  9652. range: [0, 8],
  9653. loc: {
  9654. start: { line: 1, column: 0 },
  9655. end: { line: 1, column: 8 }
  9656. }
  9657. },
  9658. range: [0, 8],
  9659. loc: {
  9660. start: { line: 1, column: 0 },
  9661. end: { line: 1, column: 8 }
  9662. }
  9663. },
  9664. 'x >>>= 42': {
  9665. type: 'ExpressionStatement',
  9666. expression: {
  9667. type: 'AssignmentExpression',
  9668. operator: '>>>=',
  9669. left: {
  9670. type: 'Identifier',
  9671. name: 'x',
  9672. range: [0, 1],
  9673. loc: {
  9674. start: { line: 1, column: 0 },
  9675. end: { line: 1, column: 1 }
  9676. }
  9677. },
  9678. right: {
  9679. type: 'Literal',
  9680. value: 42,
  9681. raw: '42',
  9682. range: [7, 9],
  9683. loc: {
  9684. start: { line: 1, column: 7 },
  9685. end: { line: 1, column: 9 }
  9686. }
  9687. },
  9688. range: [0, 9],
  9689. loc: {
  9690. start: { line: 1, column: 0 },
  9691. end: { line: 1, column: 9 }
  9692. }
  9693. },
  9694. range: [0, 9],
  9695. loc: {
  9696. start: { line: 1, column: 0 },
  9697. end: { line: 1, column: 9 }
  9698. }
  9699. },
  9700. 'x &= 42': {
  9701. type: 'ExpressionStatement',
  9702. expression: {
  9703. type: 'AssignmentExpression',
  9704. operator: '&=',
  9705. left: {
  9706. type: 'Identifier',
  9707. name: 'x',
  9708. range: [0, 1],
  9709. loc: {
  9710. start: { line: 1, column: 0 },
  9711. end: { line: 1, column: 1 }
  9712. }
  9713. },
  9714. right: {
  9715. type: 'Literal',
  9716. value: 42,
  9717. raw: '42',
  9718. range: [5, 7],
  9719. loc: {
  9720. start: { line: 1, column: 5 },
  9721. end: { line: 1, column: 7 }
  9722. }
  9723. },
  9724. range: [0, 7],
  9725. loc: {
  9726. start: { line: 1, column: 0 },
  9727. end: { line: 1, column: 7 }
  9728. }
  9729. },
  9730. range: [0, 7],
  9731. loc: {
  9732. start: { line: 1, column: 0 },
  9733. end: { line: 1, column: 7 }
  9734. }
  9735. },
  9736. 'x ^= 42': {
  9737. type: 'ExpressionStatement',
  9738. expression: {
  9739. type: 'AssignmentExpression',
  9740. operator: '^=',
  9741. left: {
  9742. type: 'Identifier',
  9743. name: 'x',
  9744. range: [0, 1],
  9745. loc: {
  9746. start: { line: 1, column: 0 },
  9747. end: { line: 1, column: 1 }
  9748. }
  9749. },
  9750. right: {
  9751. type: 'Literal',
  9752. value: 42,
  9753. raw: '42',
  9754. range: [5, 7],
  9755. loc: {
  9756. start: { line: 1, column: 5 },
  9757. end: { line: 1, column: 7 }
  9758. }
  9759. },
  9760. range: [0, 7],
  9761. loc: {
  9762. start: { line: 1, column: 0 },
  9763. end: { line: 1, column: 7 }
  9764. }
  9765. },
  9766. range: [0, 7],
  9767. loc: {
  9768. start: { line: 1, column: 0 },
  9769. end: { line: 1, column: 7 }
  9770. }
  9771. },
  9772. 'x |= 42': {
  9773. type: 'ExpressionStatement',
  9774. expression: {
  9775. type: 'AssignmentExpression',
  9776. operator: '|=',
  9777. left: {
  9778. type: 'Identifier',
  9779. name: 'x',
  9780. range: [0, 1],
  9781. loc: {
  9782. start: { line: 1, column: 0 },
  9783. end: { line: 1, column: 1 }
  9784. }
  9785. },
  9786. right: {
  9787. type: 'Literal',
  9788. value: 42,
  9789. raw: '42',
  9790. range: [5, 7],
  9791. loc: {
  9792. start: { line: 1, column: 5 },
  9793. end: { line: 1, column: 7 }
  9794. }
  9795. },
  9796. range: [0, 7],
  9797. loc: {
  9798. start: { line: 1, column: 0 },
  9799. end: { line: 1, column: 7 }
  9800. }
  9801. },
  9802. range: [0, 7],
  9803. loc: {
  9804. start: { line: 1, column: 0 },
  9805. end: { line: 1, column: 7 }
  9806. }
  9807. }
  9808. },
  9809. 'Complex Expression': {
  9810. 'a || b && c | d ^ e & f == g < h >>> i + j * k': {
  9811. type: 'ExpressionStatement',
  9812. expression: {
  9813. type: 'LogicalExpression',
  9814. operator: '||',
  9815. left: {
  9816. type: 'Identifier',
  9817. name: 'a',
  9818. range: [0, 1],
  9819. loc: {
  9820. start: { line: 1, column: 0 },
  9821. end: { line: 1, column: 1 }
  9822. }
  9823. },
  9824. right: {
  9825. type: 'LogicalExpression',
  9826. operator: '&&',
  9827. left: {
  9828. type: 'Identifier',
  9829. name: 'b',
  9830. range: [5, 6],
  9831. loc: {
  9832. start: { line: 1, column: 5 },
  9833. end: { line: 1, column: 6 }
  9834. }
  9835. },
  9836. right: {
  9837. type: 'BinaryExpression',
  9838. operator: '|',
  9839. left: {
  9840. type: 'Identifier',
  9841. name: 'c',
  9842. range: [10, 11],
  9843. loc: {
  9844. start: { line: 1, column: 10 },
  9845. end: { line: 1, column: 11 }
  9846. }
  9847. },
  9848. right: {
  9849. type: 'BinaryExpression',
  9850. operator: '^',
  9851. left: {
  9852. type: 'Identifier',
  9853. name: 'd',
  9854. range: [14, 15],
  9855. loc: {
  9856. start: { line: 1, column: 14 },
  9857. end: { line: 1, column: 15 }
  9858. }
  9859. },
  9860. right: {
  9861. type: 'BinaryExpression',
  9862. operator: '&',
  9863. left: {
  9864. type: 'Identifier',
  9865. name: 'e',
  9866. range: [18, 19],
  9867. loc: {
  9868. start: { line: 1, column: 18 },
  9869. end: { line: 1, column: 19 }
  9870. }
  9871. },
  9872. right: {
  9873. type: 'BinaryExpression',
  9874. operator: '==',
  9875. left: {
  9876. type: 'Identifier',
  9877. name: 'f',
  9878. range: [22, 23],
  9879. loc: {
  9880. start: { line: 1, column: 22 },
  9881. end: { line: 1, column: 23 }
  9882. }
  9883. },
  9884. right: {
  9885. type: 'BinaryExpression',
  9886. operator: '<',
  9887. left: {
  9888. type: 'Identifier',
  9889. name: 'g',
  9890. range: [27, 28],
  9891. loc: {
  9892. start: { line: 1, column: 27 },
  9893. end: { line: 1, column: 28 }
  9894. }
  9895. },
  9896. right: {
  9897. type: 'BinaryExpression',
  9898. operator: '>>>',
  9899. left: {
  9900. type: 'Identifier',
  9901. name: 'h',
  9902. range: [31, 32],
  9903. loc: {
  9904. start: { line: 1, column: 31 },
  9905. end: { line: 1, column: 32 }
  9906. }
  9907. },
  9908. right: {
  9909. type: 'BinaryExpression',
  9910. operator: '+',
  9911. left: {
  9912. type: 'Identifier',
  9913. name: 'i',
  9914. range: [37, 38],
  9915. loc: {
  9916. start: { line: 1, column: 37 },
  9917. end: { line: 1, column: 38 }
  9918. }
  9919. },
  9920. right: {
  9921. type: 'BinaryExpression',
  9922. operator: '*',
  9923. left: {
  9924. type: 'Identifier',
  9925. name: 'j',
  9926. range: [41, 42],
  9927. loc: {
  9928. start: { line: 1, column: 41 },
  9929. end: { line: 1, column: 42 }
  9930. }
  9931. },
  9932. right: {
  9933. type: 'Identifier',
  9934. name: 'k',
  9935. range: [45, 46],
  9936. loc: {
  9937. start: { line: 1, column: 45 },
  9938. end: { line: 1, column: 46 }
  9939. }
  9940. },
  9941. range: [41, 46],
  9942. loc: {
  9943. start: { line: 1, column: 41 },
  9944. end: { line: 1, column: 46 }
  9945. }
  9946. },
  9947. range: [37, 46],
  9948. loc: {
  9949. start: { line: 1, column: 37 },
  9950. end: { line: 1, column: 46 }
  9951. }
  9952. },
  9953. range: [31, 46],
  9954. loc: {
  9955. start: { line: 1, column: 31 },
  9956. end: { line: 1, column: 46 }
  9957. }
  9958. },
  9959. range: [27, 46],
  9960. loc: {
  9961. start: { line: 1, column: 27 },
  9962. end: { line: 1, column: 46 }
  9963. }
  9964. },
  9965. range: [22, 46],
  9966. loc: {
  9967. start: { line: 1, column: 22 },
  9968. end: { line: 1, column: 46 }
  9969. }
  9970. },
  9971. range: [18, 46],
  9972. loc: {
  9973. start: { line: 1, column: 18 },
  9974. end: { line: 1, column: 46 }
  9975. }
  9976. },
  9977. range: [14, 46],
  9978. loc: {
  9979. start: { line: 1, column: 14 },
  9980. end: { line: 1, column: 46 }
  9981. }
  9982. },
  9983. range: [10, 46],
  9984. loc: {
  9985. start: { line: 1, column: 10 },
  9986. end: { line: 1, column: 46 }
  9987. }
  9988. },
  9989. range: [5, 46],
  9990. loc: {
  9991. start: { line: 1, column: 5 },
  9992. end: { line: 1, column: 46 }
  9993. }
  9994. },
  9995. range: [0, 46],
  9996. loc: {
  9997. start: { line: 1, column: 0 },
  9998. end: { line: 1, column: 46 }
  9999. }
  10000. },
  10001. range: [0, 46],
  10002. loc: {
  10003. start: { line: 1, column: 0 },
  10004. end: { line: 1, column: 46 }
  10005. }
  10006. }
  10007. },
  10008. 'Block': {
  10009. '{ foo }': {
  10010. type: 'BlockStatement',
  10011. body: [{
  10012. type: 'ExpressionStatement',
  10013. expression: {
  10014. type: 'Identifier',
  10015. name: 'foo',
  10016. range: [2, 5],
  10017. loc: {
  10018. start: { line: 1, column: 2 },
  10019. end: { line: 1, column: 5 }
  10020. }
  10021. },
  10022. range: [2, 6],
  10023. loc: {
  10024. start: { line: 1, column: 2 },
  10025. end: { line: 1, column: 6 }
  10026. }
  10027. }],
  10028. range: [0, 7],
  10029. loc: {
  10030. start: { line: 1, column: 0 },
  10031. end: { line: 1, column: 7 }
  10032. }
  10033. },
  10034. '{ doThis(); doThat(); }': {
  10035. type: 'BlockStatement',
  10036. body: [{
  10037. type: 'ExpressionStatement',
  10038. expression: {
  10039. type: 'CallExpression',
  10040. callee: {
  10041. type: 'Identifier',
  10042. name: 'doThis',
  10043. range: [2, 8],
  10044. loc: {
  10045. start: { line: 1, column: 2 },
  10046. end: { line: 1, column: 8 }
  10047. }
  10048. },
  10049. 'arguments': [],
  10050. range: [2, 10],
  10051. loc: {
  10052. start: { line: 1, column: 2 },
  10053. end: { line: 1, column: 10 }
  10054. }
  10055. },
  10056. range: [2, 11],
  10057. loc: {
  10058. start: { line: 1, column: 2 },
  10059. end: { line: 1, column: 11 }
  10060. }
  10061. }, {
  10062. type: 'ExpressionStatement',
  10063. expression: {
  10064. type: 'CallExpression',
  10065. callee: {
  10066. type: 'Identifier',
  10067. name: 'doThat',
  10068. range: [12, 18],
  10069. loc: {
  10070. start: { line: 1, column: 12 },
  10071. end: { line: 1, column: 18 }
  10072. }
  10073. },
  10074. 'arguments': [],
  10075. range: [12, 20],
  10076. loc: {
  10077. start: { line: 1, column: 12 },
  10078. end: { line: 1, column: 20 }
  10079. }
  10080. },
  10081. range: [12, 21],
  10082. loc: {
  10083. start: { line: 1, column: 12 },
  10084. end: { line: 1, column: 21 }
  10085. }
  10086. }],
  10087. range: [0, 23],
  10088. loc: {
  10089. start: { line: 1, column: 0 },
  10090. end: { line: 1, column: 23 }
  10091. }
  10092. },
  10093. '{}': {
  10094. type: 'BlockStatement',
  10095. body: [],
  10096. range: [0, 2],
  10097. loc: {
  10098. start: { line: 1, column: 0 },
  10099. end: { line: 1, column: 2 }
  10100. }
  10101. }
  10102. },
  10103. 'Variable Statement': {
  10104. 'var x': {
  10105. type: 'VariableDeclaration',
  10106. declarations: [{
  10107. type: 'VariableDeclarator',
  10108. id: {
  10109. type: 'Identifier',
  10110. name: 'x',
  10111. range: [4, 5],
  10112. loc: {
  10113. start: { line: 1, column: 4 },
  10114. end: { line: 1, column: 5 }
  10115. }
  10116. },
  10117. init: null,
  10118. range: [4, 5],
  10119. loc: {
  10120. start: { line: 1, column: 4 },
  10121. end: { line: 1, column: 5 }
  10122. }
  10123. }],
  10124. kind: 'var',
  10125. range: [0, 5],
  10126. loc: {
  10127. start: { line: 1, column: 0 },
  10128. end: { line: 1, column: 5 }
  10129. }
  10130. },
  10131. 'var x, y;': {
  10132. type: 'VariableDeclaration',
  10133. declarations: [{
  10134. type: 'VariableDeclarator',
  10135. id: {
  10136. type: 'Identifier',
  10137. name: 'x',
  10138. range: [4, 5],
  10139. loc: {
  10140. start: { line: 1, column: 4 },
  10141. end: { line: 1, column: 5 }
  10142. }
  10143. },
  10144. init: null,
  10145. range: [4, 5],
  10146. loc: {
  10147. start: { line: 1, column: 4 },
  10148. end: { line: 1, column: 5 }
  10149. }
  10150. }, {
  10151. type: 'VariableDeclarator',
  10152. id: {
  10153. type: 'Identifier',
  10154. name: 'y',
  10155. range: [7, 8],
  10156. loc: {
  10157. start: { line: 1, column: 7 },
  10158. end: { line: 1, column: 8 }
  10159. }
  10160. },
  10161. init: null,
  10162. range: [7, 8],
  10163. loc: {
  10164. start: { line: 1, column: 7 },
  10165. end: { line: 1, column: 8 }
  10166. }
  10167. }],
  10168. kind: 'var',
  10169. range: [0, 9],
  10170. loc: {
  10171. start: { line: 1, column: 0 },
  10172. end: { line: 1, column: 9 }
  10173. }
  10174. },
  10175. 'var x = 42': {
  10176. type: 'VariableDeclaration',
  10177. declarations: [{
  10178. type: 'VariableDeclarator',
  10179. id: {
  10180. type: 'Identifier',
  10181. name: 'x',
  10182. range: [4, 5],
  10183. loc: {
  10184. start: { line: 1, column: 4 },
  10185. end: { line: 1, column: 5 }
  10186. }
  10187. },
  10188. init: {
  10189. type: 'Literal',
  10190. value: 42,
  10191. raw: '42',
  10192. range: [8, 10],
  10193. loc: {
  10194. start: { line: 1, column: 8 },
  10195. end: { line: 1, column: 10 }
  10196. }
  10197. },
  10198. range: [4, 10],
  10199. loc: {
  10200. start: { line: 1, column: 4 },
  10201. end: { line: 1, column: 10 }
  10202. }
  10203. }],
  10204. kind: 'var',
  10205. range: [0, 10],
  10206. loc: {
  10207. start: { line: 1, column: 0 },
  10208. end: { line: 1, column: 10 }
  10209. }
  10210. },
  10211. 'var eval = 42, arguments = 42': {
  10212. type: 'VariableDeclaration',
  10213. declarations: [{
  10214. type: 'VariableDeclarator',
  10215. id: {
  10216. type: 'Identifier',
  10217. name: 'eval',
  10218. range: [4, 8],
  10219. loc: {
  10220. start: { line: 1, column: 4 },
  10221. end: { line: 1, column: 8 }
  10222. }
  10223. },
  10224. init: {
  10225. type: 'Literal',
  10226. value: 42,
  10227. raw: '42',
  10228. range: [11, 13],
  10229. loc: {
  10230. start: { line: 1, column: 11 },
  10231. end: { line: 1, column: 13 }
  10232. }
  10233. },
  10234. range: [4, 13],
  10235. loc: {
  10236. start: { line: 1, column: 4 },
  10237. end: { line: 1, column: 13 }
  10238. }
  10239. }, {
  10240. type: 'VariableDeclarator',
  10241. id: {
  10242. type: 'Identifier',
  10243. name: 'arguments',
  10244. range: [15, 24],
  10245. loc: {
  10246. start: { line: 1, column: 15 },
  10247. end: { line: 1, column: 24 }
  10248. }
  10249. },
  10250. init: {
  10251. type: 'Literal',
  10252. value: 42,
  10253. raw: '42',
  10254. range: [27, 29],
  10255. loc: {
  10256. start: { line: 1, column: 27 },
  10257. end: { line: 1, column: 29 }
  10258. }
  10259. },
  10260. range: [15, 29],
  10261. loc: {
  10262. start: { line: 1, column: 15 },
  10263. end: { line: 1, column: 29 }
  10264. }
  10265. }],
  10266. kind: 'var',
  10267. range: [0, 29],
  10268. loc: {
  10269. start: { line: 1, column: 0 },
  10270. end: { line: 1, column: 29 }
  10271. }
  10272. },
  10273. 'var x = 14, y = 3, z = 1977': {
  10274. type: 'VariableDeclaration',
  10275. declarations: [{
  10276. type: 'VariableDeclarator',
  10277. id: {
  10278. type: 'Identifier',
  10279. name: 'x',
  10280. range: [4, 5],
  10281. loc: {
  10282. start: { line: 1, column: 4 },
  10283. end: { line: 1, column: 5 }
  10284. }
  10285. },
  10286. init: {
  10287. type: 'Literal',
  10288. value: 14,
  10289. raw: '14',
  10290. range: [8, 10],
  10291. loc: {
  10292. start: { line: 1, column: 8 },
  10293. end: { line: 1, column: 10 }
  10294. }
  10295. },
  10296. range: [4, 10],
  10297. loc: {
  10298. start: { line: 1, column: 4 },
  10299. end: { line: 1, column: 10 }
  10300. }
  10301. }, {
  10302. type: 'VariableDeclarator',
  10303. id: {
  10304. type: 'Identifier',
  10305. name: 'y',
  10306. range: [12, 13],
  10307. loc: {
  10308. start: { line: 1, column: 12 },
  10309. end: { line: 1, column: 13 }
  10310. }
  10311. },
  10312. init: {
  10313. type: 'Literal',
  10314. value: 3,
  10315. raw: '3',
  10316. range: [16, 17],
  10317. loc: {
  10318. start: { line: 1, column: 16 },
  10319. end: { line: 1, column: 17 }
  10320. }
  10321. },
  10322. range: [12, 17],
  10323. loc: {
  10324. start: { line: 1, column: 12 },
  10325. end: { line: 1, column: 17 }
  10326. }
  10327. }, {
  10328. type: 'VariableDeclarator',
  10329. id: {
  10330. type: 'Identifier',
  10331. name: 'z',
  10332. range: [19, 20],
  10333. loc: {
  10334. start: { line: 1, column: 19 },
  10335. end: { line: 1, column: 20 }
  10336. }
  10337. },
  10338. init: {
  10339. type: 'Literal',
  10340. value: 1977,
  10341. raw: '1977',
  10342. range: [23, 27],
  10343. loc: {
  10344. start: { line: 1, column: 23 },
  10345. end: { line: 1, column: 27 }
  10346. }
  10347. },
  10348. range: [19, 27],
  10349. loc: {
  10350. start: { line: 1, column: 19 },
  10351. end: { line: 1, column: 27 }
  10352. }
  10353. }],
  10354. kind: 'var',
  10355. range: [0, 27],
  10356. loc: {
  10357. start: { line: 1, column: 0 },
  10358. end: { line: 1, column: 27 }
  10359. }
  10360. },
  10361. 'var implements, interface, package': {
  10362. type: 'VariableDeclaration',
  10363. declarations: [{
  10364. type: 'VariableDeclarator',
  10365. id: {
  10366. type: 'Identifier',
  10367. name: 'implements',
  10368. range: [4, 14],
  10369. loc: {
  10370. start: { line: 1, column: 4 },
  10371. end: { line: 1, column: 14 }
  10372. }
  10373. },
  10374. init: null,
  10375. range: [4, 14],
  10376. loc: {
  10377. start: { line: 1, column: 4 },
  10378. end: { line: 1, column: 14 }
  10379. }
  10380. }, {
  10381. type: 'VariableDeclarator',
  10382. id: {
  10383. type: 'Identifier',
  10384. name: 'interface',
  10385. range: [16, 25],
  10386. loc: {
  10387. start: { line: 1, column: 16 },
  10388. end: { line: 1, column: 25 }
  10389. }
  10390. },
  10391. init: null,
  10392. range: [16, 25],
  10393. loc: {
  10394. start: { line: 1, column: 16 },
  10395. end: { line: 1, column: 25 }
  10396. }
  10397. }, {
  10398. type: 'VariableDeclarator',
  10399. id: {
  10400. type: 'Identifier',
  10401. name: 'package',
  10402. range: [27, 34],
  10403. loc: {
  10404. start: { line: 1, column: 27 },
  10405. end: { line: 1, column: 34 }
  10406. }
  10407. },
  10408. init: null,
  10409. range: [27, 34],
  10410. loc: {
  10411. start: { line: 1, column: 27 },
  10412. end: { line: 1, column: 34 }
  10413. }
  10414. }],
  10415. kind: 'var',
  10416. range: [0, 34],
  10417. loc: {
  10418. start: { line: 1, column: 0 },
  10419. end: { line: 1, column: 34 }
  10420. }
  10421. },
  10422. 'var private, protected, public, static': {
  10423. type: 'VariableDeclaration',
  10424. declarations: [{
  10425. type: 'VariableDeclarator',
  10426. id: {
  10427. type: 'Identifier',
  10428. name: 'private',
  10429. range: [4, 11],
  10430. loc: {
  10431. start: { line: 1, column: 4 },
  10432. end: { line: 1, column: 11 }
  10433. }
  10434. },
  10435. init: null,
  10436. range: [4, 11],
  10437. loc: {
  10438. start: { line: 1, column: 4 },
  10439. end: { line: 1, column: 11 }
  10440. }
  10441. }, {
  10442. type: 'VariableDeclarator',
  10443. id: {
  10444. type: 'Identifier',
  10445. name: 'protected',
  10446. range: [13, 22],
  10447. loc: {
  10448. start: { line: 1, column: 13 },
  10449. end: { line: 1, column: 22 }
  10450. }
  10451. },
  10452. init: null,
  10453. range: [13, 22],
  10454. loc: {
  10455. start: { line: 1, column: 13 },
  10456. end: { line: 1, column: 22 }
  10457. }
  10458. }, {
  10459. type: 'VariableDeclarator',
  10460. id: {
  10461. type: 'Identifier',
  10462. name: 'public',
  10463. range: [24, 30],
  10464. loc: {
  10465. start: { line: 1, column: 24 },
  10466. end: { line: 1, column: 30 }
  10467. }
  10468. },
  10469. init: null,
  10470. range: [24, 30],
  10471. loc: {
  10472. start: { line: 1, column: 24 },
  10473. end: { line: 1, column: 30 }
  10474. }
  10475. }, {
  10476. type: 'VariableDeclarator',
  10477. id: {
  10478. type: 'Identifier',
  10479. name: 'static',
  10480. range: [32, 38],
  10481. loc: {
  10482. start: { line: 1, column: 32 },
  10483. end: { line: 1, column: 38 }
  10484. }
  10485. },
  10486. init: null,
  10487. range: [32, 38],
  10488. loc: {
  10489. start: { line: 1, column: 32 },
  10490. end: { line: 1, column: 38 }
  10491. }
  10492. }],
  10493. kind: 'var',
  10494. range: [0, 38],
  10495. loc: {
  10496. start: { line: 1, column: 0 },
  10497. end: { line: 1, column: 38 }
  10498. }
  10499. }
  10500. },
  10501. 'Let Statement': {
  10502. 'let x': {
  10503. type: 'VariableDeclaration',
  10504. declarations: [{
  10505. type: 'VariableDeclarator',
  10506. id: {
  10507. type: 'Identifier',
  10508. name: 'x',
  10509. range: [4, 5],
  10510. loc: {
  10511. start: { line: 1, column: 4 },
  10512. end: { line: 1, column: 5 }
  10513. }
  10514. },
  10515. init: null,
  10516. range: [4, 5],
  10517. loc: {
  10518. start: { line: 1, column: 4 },
  10519. end: { line: 1, column: 5 }
  10520. }
  10521. }],
  10522. kind: 'let',
  10523. range: [0, 5],
  10524. loc: {
  10525. start: { line: 1, column: 0 },
  10526. end: { line: 1, column: 5 }
  10527. }
  10528. },
  10529. '{ let x }': {
  10530. type: 'BlockStatement',
  10531. body: [{
  10532. type: 'VariableDeclaration',
  10533. declarations: [{
  10534. type: 'VariableDeclarator',
  10535. id: {
  10536. type: 'Identifier',
  10537. name: 'x',
  10538. range: [6, 7],
  10539. loc: {
  10540. start: { line: 1, column: 6 },
  10541. end: { line: 1, column: 7 }
  10542. }
  10543. },
  10544. init: null,
  10545. range: [6, 7],
  10546. loc: {
  10547. start: { line: 1, column: 6 },
  10548. end: { line: 1, column: 7 }
  10549. }
  10550. }],
  10551. kind: 'let',
  10552. range: [2, 8],
  10553. loc: {
  10554. start: { line: 1, column: 2 },
  10555. end: { line: 1, column: 8 }
  10556. }
  10557. }],
  10558. range: [0, 9],
  10559. loc: {
  10560. start: { line: 1, column: 0 },
  10561. end: { line: 1, column: 9 }
  10562. }
  10563. },
  10564. '{ let x = 42 }': {
  10565. type: 'BlockStatement',
  10566. body: [{
  10567. type: 'VariableDeclaration',
  10568. declarations: [{
  10569. type: 'VariableDeclarator',
  10570. id: {
  10571. type: 'Identifier',
  10572. name: 'x',
  10573. range: [6, 7],
  10574. loc: {
  10575. start: { line: 1, column: 6 },
  10576. end: { line: 1, column: 7 }
  10577. }
  10578. },
  10579. init: {
  10580. type: 'Literal',
  10581. value: 42,
  10582. raw: '42',
  10583. range: [10, 12],
  10584. loc: {
  10585. start: { line: 1, column: 10 },
  10586. end: { line: 1, column: 12 }
  10587. }
  10588. },
  10589. range: [6, 12],
  10590. loc: {
  10591. start: { line: 1, column: 6 },
  10592. end: { line: 1, column: 12 }
  10593. }
  10594. }],
  10595. kind: 'let',
  10596. range: [2, 13],
  10597. loc: {
  10598. start: { line: 1, column: 2 },
  10599. end: { line: 1, column: 13 }
  10600. }
  10601. }],
  10602. range: [0, 14],
  10603. loc: {
  10604. start: { line: 1, column: 0 },
  10605. end: { line: 1, column: 14 }
  10606. }
  10607. },
  10608. '{ let x = 14, y = 3, z = 1977 }': {
  10609. type: 'BlockStatement',
  10610. body: [{
  10611. type: 'VariableDeclaration',
  10612. declarations: [{
  10613. type: 'VariableDeclarator',
  10614. id: {
  10615. type: 'Identifier',
  10616. name: 'x',
  10617. range: [6, 7],
  10618. loc: {
  10619. start: { line: 1, column: 6 },
  10620. end: { line: 1, column: 7 }
  10621. }
  10622. },
  10623. init: {
  10624. type: 'Literal',
  10625. value: 14,
  10626. raw: '14',
  10627. range: [10, 12],
  10628. loc: {
  10629. start: { line: 1, column: 10 },
  10630. end: { line: 1, column: 12 }
  10631. }
  10632. },
  10633. range: [6, 12],
  10634. loc: {
  10635. start: { line: 1, column: 6 },
  10636. end: { line: 1, column: 12 }
  10637. }
  10638. }, {
  10639. type: 'VariableDeclarator',
  10640. id: {
  10641. type: 'Identifier',
  10642. name: 'y',
  10643. range: [14, 15],
  10644. loc: {
  10645. start: { line: 1, column: 14 },
  10646. end: { line: 1, column: 15 }
  10647. }
  10648. },
  10649. init: {
  10650. type: 'Literal',
  10651. value: 3,
  10652. raw: '3',
  10653. range: [18, 19],
  10654. loc: {
  10655. start: { line: 1, column: 18 },
  10656. end: { line: 1, column: 19 }
  10657. }
  10658. },
  10659. range: [14, 19],
  10660. loc: {
  10661. start: { line: 1, column: 14 },
  10662. end: { line: 1, column: 19 }
  10663. }
  10664. }, {
  10665. type: 'VariableDeclarator',
  10666. id: {
  10667. type: 'Identifier',
  10668. name: 'z',
  10669. range: [21, 22],
  10670. loc: {
  10671. start: { line: 1, column: 21 },
  10672. end: { line: 1, column: 22 }
  10673. }
  10674. },
  10675. init: {
  10676. type: 'Literal',
  10677. value: 1977,
  10678. raw: '1977',
  10679. range: [25, 29],
  10680. loc: {
  10681. start: { line: 1, column: 25 },
  10682. end: { line: 1, column: 29 }
  10683. }
  10684. },
  10685. range: [21, 29],
  10686. loc: {
  10687. start: { line: 1, column: 21 },
  10688. end: { line: 1, column: 29 }
  10689. }
  10690. }],
  10691. kind: 'let',
  10692. range: [2, 30],
  10693. loc: {
  10694. start: { line: 1, column: 2 },
  10695. end: { line: 1, column: 30 }
  10696. }
  10697. }],
  10698. range: [0, 31],
  10699. loc: {
  10700. start: { line: 1, column: 0 },
  10701. end: { line: 1, column: 31 }
  10702. }
  10703. }
  10704. },
  10705. 'Const Statement': {
  10706. 'const x = 42': {
  10707. type: 'VariableDeclaration',
  10708. declarations: [{
  10709. type: 'VariableDeclarator',
  10710. id: {
  10711. type: 'Identifier',
  10712. name: 'x',
  10713. range: [6, 7],
  10714. loc: {
  10715. start: { line: 1, column: 6 },
  10716. end: { line: 1, column: 7 }
  10717. }
  10718. },
  10719. init: {
  10720. type: 'Literal',
  10721. value: 42,
  10722. raw: '42',
  10723. range: [10, 12],
  10724. loc: {
  10725. start: { line: 1, column: 10 },
  10726. end: { line: 1, column: 12 }
  10727. }
  10728. },
  10729. range: [6, 12],
  10730. loc: {
  10731. start: { line: 1, column: 6 },
  10732. end: { line: 1, column: 12 }
  10733. }
  10734. }],
  10735. kind: 'const',
  10736. range: [0, 12],
  10737. loc: {
  10738. start: { line: 1, column: 0 },
  10739. end: { line: 1, column: 12 }
  10740. }
  10741. },
  10742. '{ const x = 42 }': {
  10743. type: 'BlockStatement',
  10744. body: [{
  10745. type: 'VariableDeclaration',
  10746. declarations: [{
  10747. type: 'VariableDeclarator',
  10748. id: {
  10749. type: 'Identifier',
  10750. name: 'x',
  10751. range: [8, 9],
  10752. loc: {
  10753. start: { line: 1, column: 8 },
  10754. end: { line: 1, column: 9 }
  10755. }
  10756. },
  10757. init: {
  10758. type: 'Literal',
  10759. value: 42,
  10760. raw: '42',
  10761. range: [12, 14],
  10762. loc: {
  10763. start: { line: 1, column: 12 },
  10764. end: { line: 1, column: 14 }
  10765. }
  10766. },
  10767. range: [8, 14],
  10768. loc: {
  10769. start: { line: 1, column: 8 },
  10770. end: { line: 1, column: 14 }
  10771. }
  10772. }],
  10773. kind: 'const',
  10774. range: [2, 15],
  10775. loc: {
  10776. start: { line: 1, column: 2 },
  10777. end: { line: 1, column: 15 }
  10778. }
  10779. }],
  10780. range: [0, 16],
  10781. loc: {
  10782. start: { line: 1, column: 0 },
  10783. end: { line: 1, column: 16 }
  10784. }
  10785. },
  10786. '{ const x = 14, y = 3, z = 1977 }': {
  10787. type: 'BlockStatement',
  10788. body: [{
  10789. type: 'VariableDeclaration',
  10790. declarations: [{
  10791. type: 'VariableDeclarator',
  10792. id: {
  10793. type: 'Identifier',
  10794. name: 'x',
  10795. range: [8, 9],
  10796. loc: {
  10797. start: { line: 1, column: 8 },
  10798. end: { line: 1, column: 9 }
  10799. }
  10800. },
  10801. init: {
  10802. type: 'Literal',
  10803. value: 14,
  10804. raw: '14',
  10805. range: [12, 14],
  10806. loc: {
  10807. start: { line: 1, column: 12 },
  10808. end: { line: 1, column: 14 }
  10809. }
  10810. },
  10811. range: [8, 14],
  10812. loc: {
  10813. start: { line: 1, column: 8 },
  10814. end: { line: 1, column: 14 }
  10815. }
  10816. }, {
  10817. type: 'VariableDeclarator',
  10818. id: {
  10819. type: 'Identifier',
  10820. name: 'y',
  10821. range: [16, 17],
  10822. loc: {
  10823. start: { line: 1, column: 16 },
  10824. end: { line: 1, column: 17 }
  10825. }
  10826. },
  10827. init: {
  10828. type: 'Literal',
  10829. value: 3,
  10830. raw: '3',
  10831. range: [20, 21],
  10832. loc: {
  10833. start: { line: 1, column: 20 },
  10834. end: { line: 1, column: 21 }
  10835. }
  10836. },
  10837. range: [16, 21],
  10838. loc: {
  10839. start: { line: 1, column: 16 },
  10840. end: { line: 1, column: 21 }
  10841. }
  10842. }, {
  10843. type: 'VariableDeclarator',
  10844. id: {
  10845. type: 'Identifier',
  10846. name: 'z',
  10847. range: [23, 24],
  10848. loc: {
  10849. start: { line: 1, column: 23 },
  10850. end: { line: 1, column: 24 }
  10851. }
  10852. },
  10853. init: {
  10854. type: 'Literal',
  10855. value: 1977,
  10856. raw: '1977',
  10857. range: [27, 31],
  10858. loc: {
  10859. start: { line: 1, column: 27 },
  10860. end: { line: 1, column: 31 }
  10861. }
  10862. },
  10863. range: [23, 31],
  10864. loc: {
  10865. start: { line: 1, column: 23 },
  10866. end: { line: 1, column: 31 }
  10867. }
  10868. }],
  10869. kind: 'const',
  10870. range: [2, 32],
  10871. loc: {
  10872. start: { line: 1, column: 2 },
  10873. end: { line: 1, column: 32 }
  10874. }
  10875. }],
  10876. range: [0, 33],
  10877. loc: {
  10878. start: { line: 1, column: 0 },
  10879. end: { line: 1, column: 33 }
  10880. }
  10881. }
  10882. },
  10883. 'Empty Statement': {
  10884. ';': {
  10885. type: 'EmptyStatement',
  10886. range: [0, 1],
  10887. loc: {
  10888. start: { line: 1, column: 0 },
  10889. end: { line: 1, column: 1 }
  10890. }
  10891. }
  10892. },
  10893. 'Expression Statement': {
  10894. 'x': {
  10895. type: 'ExpressionStatement',
  10896. expression: {
  10897. type: 'Identifier',
  10898. name: 'x',
  10899. range: [0, 1],
  10900. loc: {
  10901. start: { line: 1, column: 0 },
  10902. end: { line: 1, column: 1 }
  10903. }
  10904. },
  10905. range: [0, 1],
  10906. loc: {
  10907. start: { line: 1, column: 0 },
  10908. end: { line: 1, column: 1 }
  10909. }
  10910. },
  10911. 'x, y': {
  10912. type: 'ExpressionStatement',
  10913. expression: {
  10914. type: 'SequenceExpression',
  10915. expressions: [{
  10916. type: 'Identifier',
  10917. name: 'x',
  10918. range: [0, 1],
  10919. loc: {
  10920. start: { line: 1, column: 0 },
  10921. end: { line: 1, column: 1 }
  10922. }
  10923. }, {
  10924. type: 'Identifier',
  10925. name: 'y',
  10926. range: [3, 4],
  10927. loc: {
  10928. start: { line: 1, column: 3 },
  10929. end: { line: 1, column: 4 }
  10930. }
  10931. }],
  10932. range: [0, 4],
  10933. loc: {
  10934. start: { line: 1, column: 0 },
  10935. end: { line: 1, column: 4 }
  10936. }
  10937. },
  10938. range: [0, 4],
  10939. loc: {
  10940. start: { line: 1, column: 0 },
  10941. end: { line: 1, column: 4 }
  10942. }
  10943. },
  10944. '\\u0061': {
  10945. type: 'ExpressionStatement',
  10946. expression: {
  10947. type: 'Identifier',
  10948. name: 'a',
  10949. range: [0, 6],
  10950. loc: {
  10951. start: { line: 1, column: 0 },
  10952. end: { line: 1, column: 6 }
  10953. }
  10954. },
  10955. range: [0, 6],
  10956. loc: {
  10957. start: { line: 1, column: 0 },
  10958. end: { line: 1, column: 6 }
  10959. }
  10960. },
  10961. 'a\\u0061': {
  10962. type: 'ExpressionStatement',
  10963. expression: {
  10964. type: 'Identifier',
  10965. name: 'aa',
  10966. range: [0, 7],
  10967. loc: {
  10968. start: { line: 1, column: 0 },
  10969. end: { line: 1, column: 7 }
  10970. }
  10971. },
  10972. range: [0, 7],
  10973. loc: {
  10974. start: { line: 1, column: 0 },
  10975. end: { line: 1, column: 7 }
  10976. }
  10977. },
  10978. '\\u0061a': {
  10979. type: 'ExpressionStatement',
  10980. expression: {
  10981. type: 'Identifier',
  10982. name: 'aa',
  10983. range: [0, 7],
  10984. loc: {
  10985. start: { line: 1, column: 0 },
  10986. end: { line: 1, column: 7 }
  10987. }
  10988. },
  10989. range: [0, 7],
  10990. loc: {
  10991. start: { line: 1, column: 0 },
  10992. end: { line: 1, column: 7 }
  10993. }
  10994. },
  10995. '\\u0061a ': {
  10996. type: 'ExpressionStatement',
  10997. expression: {
  10998. type: 'Identifier',
  10999. name: 'aa',
  11000. range: [0, 7],
  11001. loc: {
  11002. start: { line: 1, column: 0 },
  11003. end: { line: 1, column: 7 }
  11004. }
  11005. },
  11006. range: [0, 8],
  11007. loc: {
  11008. start: { line: 1, column: 0 },
  11009. end: { line: 1, column: 8 }
  11010. }
  11011. }
  11012. },
  11013. 'If Statement': {
  11014. 'if (morning) goodMorning()': {
  11015. type: 'IfStatement',
  11016. test: {
  11017. type: 'Identifier',
  11018. name: 'morning',
  11019. range: [4, 11],
  11020. loc: {
  11021. start: { line: 1, column: 4 },
  11022. end: { line: 1, column: 11 }
  11023. }
  11024. },
  11025. consequent: {
  11026. type: 'ExpressionStatement',
  11027. expression: {
  11028. type: 'CallExpression',
  11029. callee: {
  11030. type: 'Identifier',
  11031. name: 'goodMorning',
  11032. range: [13, 24],
  11033. loc: {
  11034. start: { line: 1, column: 13 },
  11035. end: { line: 1, column: 24 }
  11036. }
  11037. },
  11038. 'arguments': [],
  11039. range: [13, 26],
  11040. loc: {
  11041. start: { line: 1, column: 13 },
  11042. end: { line: 1, column: 26 }
  11043. }
  11044. },
  11045. range: [13, 26],
  11046. loc: {
  11047. start: { line: 1, column: 13 },
  11048. end: { line: 1, column: 26 }
  11049. }
  11050. },
  11051. alternate: null,
  11052. range: [0, 26],
  11053. loc: {
  11054. start: { line: 1, column: 0 },
  11055. end: { line: 1, column: 26 }
  11056. }
  11057. },
  11058. 'if (morning) (function(){})': {
  11059. type: 'IfStatement',
  11060. test: {
  11061. type: 'Identifier',
  11062. name: 'morning',
  11063. range: [4, 11],
  11064. loc: {
  11065. start: { line: 1, column: 4 },
  11066. end: { line: 1, column: 11 }
  11067. }
  11068. },
  11069. consequent: {
  11070. type: 'ExpressionStatement',
  11071. expression: {
  11072. type: 'FunctionExpression',
  11073. id: null,
  11074. params: [],
  11075. defaults: [],
  11076. body: {
  11077. type: 'BlockStatement',
  11078. body: [],
  11079. range: [24, 26],
  11080. loc: {
  11081. start: { line: 1, column: 24 },
  11082. end: { line: 1, column: 26 }
  11083. }
  11084. },
  11085. rest: null,
  11086. generator: false,
  11087. expression: false,
  11088. range: [14, 26],
  11089. loc: {
  11090. start: { line: 1, column: 14 },
  11091. end: { line: 1, column: 26 }
  11092. }
  11093. },
  11094. range: [13, 27],
  11095. loc: {
  11096. start: { line: 1, column: 13 },
  11097. end: { line: 1, column: 27 }
  11098. }
  11099. },
  11100. alternate: null,
  11101. range: [0, 27],
  11102. loc: {
  11103. start: { line: 1, column: 0 },
  11104. end: { line: 1, column: 27 }
  11105. }
  11106. },
  11107. 'if (morning) var x = 0;': {
  11108. type: 'IfStatement',
  11109. test: {
  11110. type: 'Identifier',
  11111. name: 'morning',
  11112. range: [4, 11],
  11113. loc: {
  11114. start: { line: 1, column: 4 },
  11115. end: { line: 1, column: 11 }
  11116. }
  11117. },
  11118. consequent: {
  11119. type: 'VariableDeclaration',
  11120. declarations: [{
  11121. type: 'VariableDeclarator',
  11122. id: {
  11123. type: 'Identifier',
  11124. name: 'x',
  11125. range: [17, 18],
  11126. loc: {
  11127. start: { line: 1, column: 17 },
  11128. end: { line: 1, column: 18 }
  11129. }
  11130. },
  11131. init: {
  11132. type: 'Literal',
  11133. value: 0,
  11134. raw: '0',
  11135. range: [21, 22],
  11136. loc: {
  11137. start: { line: 1, column: 21 },
  11138. end: { line: 1, column: 22 }
  11139. }
  11140. },
  11141. range: [17, 22],
  11142. loc: {
  11143. start: { line: 1, column: 17 },
  11144. end: { line: 1, column: 22 }
  11145. }
  11146. }],
  11147. kind: 'var',
  11148. range: [13, 23],
  11149. loc: {
  11150. start: { line: 1, column: 13 },
  11151. end: { line: 1, column: 23 }
  11152. }
  11153. },
  11154. alternate: null,
  11155. range: [0, 23],
  11156. loc: {
  11157. start: { line: 1, column: 0 },
  11158. end: { line: 1, column: 23 }
  11159. }
  11160. },
  11161. 'if (morning) function a(){}': {
  11162. type: 'IfStatement',
  11163. test: {
  11164. type: 'Identifier',
  11165. name: 'morning',
  11166. range: [4, 11],
  11167. loc: {
  11168. start: { line: 1, column: 4 },
  11169. end: { line: 1, column: 11 }
  11170. }
  11171. },
  11172. consequent: {
  11173. type: 'FunctionDeclaration',
  11174. id: {
  11175. type: 'Identifier',
  11176. name: 'a',
  11177. range: [22, 23],
  11178. loc: {
  11179. start: { line: 1, column: 22 },
  11180. end: { line: 1, column: 23 }
  11181. }
  11182. },
  11183. params: [],
  11184. defaults: [],
  11185. body: {
  11186. type: 'BlockStatement',
  11187. body: [],
  11188. range: [25, 27],
  11189. loc: {
  11190. start: { line: 1, column: 25 },
  11191. end: { line: 1, column: 27 }
  11192. }
  11193. },
  11194. rest: null,
  11195. generator: false,
  11196. expression: false,
  11197. range: [13, 27],
  11198. loc: {
  11199. start: { line: 1, column: 13 },
  11200. end: { line: 1, column: 27 }
  11201. }
  11202. },
  11203. alternate: null,
  11204. range: [0, 27],
  11205. loc: {
  11206. start: { line: 1, column: 0 },
  11207. end: { line: 1, column: 27 }
  11208. }
  11209. },
  11210. 'if (morning) goodMorning(); else goodDay()': {
  11211. type: 'IfStatement',
  11212. test: {
  11213. type: 'Identifier',
  11214. name: 'morning',
  11215. range: [4, 11],
  11216. loc: {
  11217. start: { line: 1, column: 4 },
  11218. end: { line: 1, column: 11 }
  11219. }
  11220. },
  11221. consequent: {
  11222. type: 'ExpressionStatement',
  11223. expression: {
  11224. type: 'CallExpression',
  11225. callee: {
  11226. type: 'Identifier',
  11227. name: 'goodMorning',
  11228. range: [13, 24],
  11229. loc: {
  11230. start: { line: 1, column: 13 },
  11231. end: { line: 1, column: 24 }
  11232. }
  11233. },
  11234. 'arguments': [],
  11235. range: [13, 26],
  11236. loc: {
  11237. start: { line: 1, column: 13 },
  11238. end: { line: 1, column: 26 }
  11239. }
  11240. },
  11241. range: [13, 27],
  11242. loc: {
  11243. start: { line: 1, column: 13 },
  11244. end: { line: 1, column: 27 }
  11245. }
  11246. },
  11247. alternate: {
  11248. type: 'ExpressionStatement',
  11249. expression: {
  11250. type: 'CallExpression',
  11251. callee: {
  11252. type: 'Identifier',
  11253. name: 'goodDay',
  11254. range: [33, 40],
  11255. loc: {
  11256. start: { line: 1, column: 33 },
  11257. end: { line: 1, column: 40 }
  11258. }
  11259. },
  11260. 'arguments': [],
  11261. range: [33, 42],
  11262. loc: {
  11263. start: { line: 1, column: 33 },
  11264. end: { line: 1, column: 42 }
  11265. }
  11266. },
  11267. range: [33, 42],
  11268. loc: {
  11269. start: { line: 1, column: 33 },
  11270. end: { line: 1, column: 42 }
  11271. }
  11272. },
  11273. range: [0, 42],
  11274. loc: {
  11275. start: { line: 1, column: 0 },
  11276. end: { line: 1, column: 42 }
  11277. }
  11278. }
  11279. },
  11280. 'Iteration Statements': {
  11281. 'do keep(); while (true)': {
  11282. type: 'DoWhileStatement',
  11283. body: {
  11284. type: 'ExpressionStatement',
  11285. expression: {
  11286. type: 'CallExpression',
  11287. callee: {
  11288. type: 'Identifier',
  11289. name: 'keep',
  11290. range: [3, 7],
  11291. loc: {
  11292. start: { line: 1, column: 3 },
  11293. end: { line: 1, column: 7 }
  11294. }
  11295. },
  11296. 'arguments': [],
  11297. range: [3, 9],
  11298. loc: {
  11299. start: { line: 1, column: 3 },
  11300. end: { line: 1, column: 9 }
  11301. }
  11302. },
  11303. range: [3, 10],
  11304. loc: {
  11305. start: { line: 1, column: 3 },
  11306. end: { line: 1, column: 10 }
  11307. }
  11308. },
  11309. test: {
  11310. type: 'Literal',
  11311. value: true,
  11312. raw: 'true',
  11313. range: [18, 22],
  11314. loc: {
  11315. start: { line: 1, column: 18 },
  11316. end: { line: 1, column: 22 }
  11317. }
  11318. },
  11319. range: [0, 23],
  11320. loc: {
  11321. start: { line: 1, column: 0 },
  11322. end: { line: 1, column: 23 }
  11323. }
  11324. },
  11325. 'do keep(); while (true);': {
  11326. type: 'DoWhileStatement',
  11327. body: {
  11328. type: 'ExpressionStatement',
  11329. expression: {
  11330. type: 'CallExpression',
  11331. callee: {
  11332. type: 'Identifier',
  11333. name: 'keep',
  11334. range: [3, 7],
  11335. loc: {
  11336. start: { line: 1, column: 3 },
  11337. end: { line: 1, column: 7 }
  11338. }
  11339. },
  11340. 'arguments': [],
  11341. range: [3, 9],
  11342. loc: {
  11343. start: { line: 1, column: 3 },
  11344. end: { line: 1, column: 9 }
  11345. }
  11346. },
  11347. range: [3, 10],
  11348. loc: {
  11349. start: { line: 1, column: 3 },
  11350. end: { line: 1, column: 10 }
  11351. }
  11352. },
  11353. test: {
  11354. type: 'Literal',
  11355. value: true,
  11356. raw: 'true',
  11357. range: [18, 22],
  11358. loc: {
  11359. start: { line: 1, column: 18 },
  11360. end: { line: 1, column: 22 }
  11361. }
  11362. },
  11363. range: [0, 24],
  11364. loc: {
  11365. start: { line: 1, column: 0 },
  11366. end: { line: 1, column: 24 }
  11367. }
  11368. },
  11369. 'do { x++; y--; } while (x < 10)': {
  11370. type: 'DoWhileStatement',
  11371. body: {
  11372. type: 'BlockStatement',
  11373. body: [{
  11374. type: 'ExpressionStatement',
  11375. expression: {
  11376. type: 'UpdateExpression',
  11377. operator: '++',
  11378. argument: {
  11379. type: 'Identifier',
  11380. name: 'x',
  11381. range: [5, 6],
  11382. loc: {
  11383. start: { line: 1, column: 5 },
  11384. end: { line: 1, column: 6 }
  11385. }
  11386. },
  11387. prefix: false,
  11388. range: [5, 8],
  11389. loc: {
  11390. start: { line: 1, column: 5 },
  11391. end: { line: 1, column: 8 }
  11392. }
  11393. },
  11394. range: [5, 9],
  11395. loc: {
  11396. start: { line: 1, column: 5 },
  11397. end: { line: 1, column: 9 }
  11398. }
  11399. }, {
  11400. type: 'ExpressionStatement',
  11401. expression: {
  11402. type: 'UpdateExpression',
  11403. operator: '--',
  11404. argument: {
  11405. type: 'Identifier',
  11406. name: 'y',
  11407. range: [10, 11],
  11408. loc: {
  11409. start: { line: 1, column: 10 },
  11410. end: { line: 1, column: 11 }
  11411. }
  11412. },
  11413. prefix: false,
  11414. range: [10, 13],
  11415. loc: {
  11416. start: { line: 1, column: 10 },
  11417. end: { line: 1, column: 13 }
  11418. }
  11419. },
  11420. range: [10, 14],
  11421. loc: {
  11422. start: { line: 1, column: 10 },
  11423. end: { line: 1, column: 14 }
  11424. }
  11425. }],
  11426. range: [3, 16],
  11427. loc: {
  11428. start: { line: 1, column: 3 },
  11429. end: { line: 1, column: 16 }
  11430. }
  11431. },
  11432. test: {
  11433. type: 'BinaryExpression',
  11434. operator: '<',
  11435. left: {
  11436. type: 'Identifier',
  11437. name: 'x',
  11438. range: [24, 25],
  11439. loc: {
  11440. start: { line: 1, column: 24 },
  11441. end: { line: 1, column: 25 }
  11442. }
  11443. },
  11444. right: {
  11445. type: 'Literal',
  11446. value: 10,
  11447. raw: '10',
  11448. range: [28, 30],
  11449. loc: {
  11450. start: { line: 1, column: 28 },
  11451. end: { line: 1, column: 30 }
  11452. }
  11453. },
  11454. range: [24, 30],
  11455. loc: {
  11456. start: { line: 1, column: 24 },
  11457. end: { line: 1, column: 30 }
  11458. }
  11459. },
  11460. range: [0, 31],
  11461. loc: {
  11462. start: { line: 1, column: 0 },
  11463. end: { line: 1, column: 31 }
  11464. }
  11465. },
  11466. '{ do { } while (false) false }': {
  11467. type: 'BlockStatement',
  11468. body: [{
  11469. type: 'DoWhileStatement',
  11470. body: {
  11471. type: 'BlockStatement',
  11472. body: [],
  11473. range: [5, 8],
  11474. loc: {
  11475. start: { line: 1, column: 5 },
  11476. end: { line: 1, column: 8 }
  11477. }
  11478. },
  11479. test: {
  11480. type: 'Literal',
  11481. value: false,
  11482. raw: 'false',
  11483. range: [16, 21],
  11484. loc: {
  11485. start: { line: 1, column: 16 },
  11486. end: { line: 1, column: 21 }
  11487. }
  11488. },
  11489. range: [2, 22],
  11490. loc: {
  11491. start: { line: 1, column: 2 },
  11492. end: { line: 1, column: 22 }
  11493. }
  11494. }, {
  11495. type: 'ExpressionStatement',
  11496. expression: {
  11497. type: 'Literal',
  11498. value: false,
  11499. raw: 'false',
  11500. range: [23, 28],
  11501. loc: {
  11502. start: { line: 1, column: 23 },
  11503. end: { line: 1, column: 28 }
  11504. }
  11505. },
  11506. range: [23, 29],
  11507. loc: {
  11508. start: { line: 1, column: 23 },
  11509. end: { line: 1, column: 29 }
  11510. }
  11511. }],
  11512. range: [0, 30],
  11513. loc: {
  11514. start: { line: 1, column: 0 },
  11515. end: { line: 1, column: 30 }
  11516. }
  11517. },
  11518. 'while (true) doSomething()': {
  11519. type: 'WhileStatement',
  11520. test: {
  11521. type: 'Literal',
  11522. value: true,
  11523. raw: 'true',
  11524. range: [7, 11],
  11525. loc: {
  11526. start: { line: 1, column: 7 },
  11527. end: { line: 1, column: 11 }
  11528. }
  11529. },
  11530. body: {
  11531. type: 'ExpressionStatement',
  11532. expression: {
  11533. type: 'CallExpression',
  11534. callee: {
  11535. type: 'Identifier',
  11536. name: 'doSomething',
  11537. range: [13, 24],
  11538. loc: {
  11539. start: { line: 1, column: 13 },
  11540. end: { line: 1, column: 24 }
  11541. }
  11542. },
  11543. 'arguments': [],
  11544. range: [13, 26],
  11545. loc: {
  11546. start: { line: 1, column: 13 },
  11547. end: { line: 1, column: 26 }
  11548. }
  11549. },
  11550. range: [13, 26],
  11551. loc: {
  11552. start: { line: 1, column: 13 },
  11553. end: { line: 1, column: 26 }
  11554. }
  11555. },
  11556. range: [0, 26],
  11557. loc: {
  11558. start: { line: 1, column: 0 },
  11559. end: { line: 1, column: 26 }
  11560. }
  11561. },
  11562. 'while (x < 10) { x++; y--; }': {
  11563. type: 'WhileStatement',
  11564. test: {
  11565. type: 'BinaryExpression',
  11566. operator: '<',
  11567. left: {
  11568. type: 'Identifier',
  11569. name: 'x',
  11570. range: [7, 8],
  11571. loc: {
  11572. start: { line: 1, column: 7 },
  11573. end: { line: 1, column: 8 }
  11574. }
  11575. },
  11576. right: {
  11577. type: 'Literal',
  11578. value: 10,
  11579. raw: '10',
  11580. range: [11, 13],
  11581. loc: {
  11582. start: { line: 1, column: 11 },
  11583. end: { line: 1, column: 13 }
  11584. }
  11585. },
  11586. range: [7, 13],
  11587. loc: {
  11588. start: { line: 1, column: 7 },
  11589. end: { line: 1, column: 13 }
  11590. }
  11591. },
  11592. body: {
  11593. type: 'BlockStatement',
  11594. body: [{
  11595. type: 'ExpressionStatement',
  11596. expression: {
  11597. type: 'UpdateExpression',
  11598. operator: '++',
  11599. argument: {
  11600. type: 'Identifier',
  11601. name: 'x',
  11602. range: [17, 18],
  11603. loc: {
  11604. start: { line: 1, column: 17 },
  11605. end: { line: 1, column: 18 }
  11606. }
  11607. },
  11608. prefix: false,
  11609. range: [17, 20],
  11610. loc: {
  11611. start: { line: 1, column: 17 },
  11612. end: { line: 1, column: 20 }
  11613. }
  11614. },
  11615. range: [17, 21],
  11616. loc: {
  11617. start: { line: 1, column: 17 },
  11618. end: { line: 1, column: 21 }
  11619. }
  11620. }, {
  11621. type: 'ExpressionStatement',
  11622. expression: {
  11623. type: 'UpdateExpression',
  11624. operator: '--',
  11625. argument: {
  11626. type: 'Identifier',
  11627. name: 'y',
  11628. range: [22, 23],
  11629. loc: {
  11630. start: { line: 1, column: 22 },
  11631. end: { line: 1, column: 23 }
  11632. }
  11633. },
  11634. prefix: false,
  11635. range: [22, 25],
  11636. loc: {
  11637. start: { line: 1, column: 22 },
  11638. end: { line: 1, column: 25 }
  11639. }
  11640. },
  11641. range: [22, 26],
  11642. loc: {
  11643. start: { line: 1, column: 22 },
  11644. end: { line: 1, column: 26 }
  11645. }
  11646. }],
  11647. range: [15, 28],
  11648. loc: {
  11649. start: { line: 1, column: 15 },
  11650. end: { line: 1, column: 28 }
  11651. }
  11652. },
  11653. range: [0, 28],
  11654. loc: {
  11655. start: { line: 1, column: 0 },
  11656. end: { line: 1, column: 28 }
  11657. }
  11658. },
  11659. 'for(;;);': {
  11660. type: 'ForStatement',
  11661. init: null,
  11662. test: null,
  11663. update: null,
  11664. body: {
  11665. type: 'EmptyStatement',
  11666. range: [7, 8],
  11667. loc: {
  11668. start: { line: 1, column: 7 },
  11669. end: { line: 1, column: 8 }
  11670. }
  11671. },
  11672. range: [0, 8],
  11673. loc: {
  11674. start: { line: 1, column: 0 },
  11675. end: { line: 1, column: 8 }
  11676. }
  11677. },
  11678. 'for(;;){}': {
  11679. type: 'ForStatement',
  11680. init: null,
  11681. test: null,
  11682. update: null,
  11683. body: {
  11684. type: 'BlockStatement',
  11685. body: [],
  11686. range: [7, 9],
  11687. loc: {
  11688. start: { line: 1, column: 7 },
  11689. end: { line: 1, column: 9 }
  11690. }
  11691. },
  11692. range: [0, 9],
  11693. loc: {
  11694. start: { line: 1, column: 0 },
  11695. end: { line: 1, column: 9 }
  11696. }
  11697. },
  11698. 'for(x = 0;;);': {
  11699. type: 'ForStatement',
  11700. init: {
  11701. type: 'AssignmentExpression',
  11702. operator: '=',
  11703. left: {
  11704. type: 'Identifier',
  11705. name: 'x',
  11706. range: [4, 5],
  11707. loc: {
  11708. start: { line: 1, column: 4 },
  11709. end: { line: 1, column: 5 }
  11710. }
  11711. },
  11712. right: {
  11713. type: 'Literal',
  11714. value: 0,
  11715. raw: '0',
  11716. range: [8, 9],
  11717. loc: {
  11718. start: { line: 1, column: 8 },
  11719. end: { line: 1, column: 9 }
  11720. }
  11721. },
  11722. range: [4, 9],
  11723. loc: {
  11724. start: { line: 1, column: 4 },
  11725. end: { line: 1, column: 9 }
  11726. }
  11727. },
  11728. test: null,
  11729. update: null,
  11730. body: {
  11731. type: 'EmptyStatement',
  11732. range: [12, 13],
  11733. loc: {
  11734. start: { line: 1, column: 12 },
  11735. end: { line: 1, column: 13 }
  11736. }
  11737. },
  11738. range: [0, 13],
  11739. loc: {
  11740. start: { line: 1, column: 0 },
  11741. end: { line: 1, column: 13 }
  11742. }
  11743. },
  11744. 'for(var x = 0;;);': {
  11745. type: 'ForStatement',
  11746. init: {
  11747. type: 'VariableDeclaration',
  11748. declarations: [{
  11749. type: 'VariableDeclarator',
  11750. id: {
  11751. type: 'Identifier',
  11752. name: 'x',
  11753. range: [8, 9],
  11754. loc: {
  11755. start: { line: 1, column: 8 },
  11756. end: { line: 1, column: 9 }
  11757. }
  11758. },
  11759. init: {
  11760. type: 'Literal',
  11761. value: 0,
  11762. raw: '0',
  11763. range: [12, 13],
  11764. loc: {
  11765. start: { line: 1, column: 12 },
  11766. end: { line: 1, column: 13 }
  11767. }
  11768. },
  11769. range: [8, 13],
  11770. loc: {
  11771. start: { line: 1, column: 8 },
  11772. end: { line: 1, column: 13 }
  11773. }
  11774. }],
  11775. kind: 'var',
  11776. range: [4, 13],
  11777. loc: {
  11778. start: { line: 1, column: 4 },
  11779. end: { line: 1, column: 13 }
  11780. }
  11781. },
  11782. test: null,
  11783. update: null,
  11784. body: {
  11785. type: 'EmptyStatement',
  11786. range: [16, 17],
  11787. loc: {
  11788. start: { line: 1, column: 16 },
  11789. end: { line: 1, column: 17 }
  11790. }
  11791. },
  11792. range: [0, 17],
  11793. loc: {
  11794. start: { line: 1, column: 0 },
  11795. end: { line: 1, column: 17 }
  11796. }
  11797. },
  11798. 'for(let x = 0;;);': {
  11799. type: 'ForStatement',
  11800. init: {
  11801. type: 'VariableDeclaration',
  11802. declarations: [{
  11803. type: 'VariableDeclarator',
  11804. id: {
  11805. type: 'Identifier',
  11806. name: 'x',
  11807. range: [8, 9],
  11808. loc: {
  11809. start: { line: 1, column: 8 },
  11810. end: { line: 1, column: 9 }
  11811. }
  11812. },
  11813. init: {
  11814. type: 'Literal',
  11815. value: 0,
  11816. raw: '0',
  11817. range: [12, 13],
  11818. loc: {
  11819. start: { line: 1, column: 12 },
  11820. end: { line: 1, column: 13 }
  11821. }
  11822. },
  11823. range: [8, 13],
  11824. loc: {
  11825. start: { line: 1, column: 8 },
  11826. end: { line: 1, column: 13 }
  11827. }
  11828. }],
  11829. kind: 'let',
  11830. range: [4, 13],
  11831. loc: {
  11832. start: { line: 1, column: 4 },
  11833. end: { line: 1, column: 13 }
  11834. }
  11835. },
  11836. test: null,
  11837. update: null,
  11838. body: {
  11839. type: 'EmptyStatement',
  11840. range: [16, 17],
  11841. loc: {
  11842. start: { line: 1, column: 16 },
  11843. end: { line: 1, column: 17 }
  11844. }
  11845. },
  11846. range: [0, 17],
  11847. loc: {
  11848. start: { line: 1, column: 0 },
  11849. end: { line: 1, column: 17 }
  11850. }
  11851. },
  11852. 'for(var x = 0, y = 1;;);': {
  11853. type: 'ForStatement',
  11854. init: {
  11855. type: 'VariableDeclaration',
  11856. declarations: [{
  11857. type: 'VariableDeclarator',
  11858. id: {
  11859. type: 'Identifier',
  11860. name: 'x',
  11861. range: [8, 9],
  11862. loc: {
  11863. start: { line: 1, column: 8 },
  11864. end: { line: 1, column: 9 }
  11865. }
  11866. },
  11867. init: {
  11868. type: 'Literal',
  11869. value: 0,
  11870. raw: '0',
  11871. range: [12, 13],
  11872. loc: {
  11873. start: { line: 1, column: 12 },
  11874. end: { line: 1, column: 13 }
  11875. }
  11876. },
  11877. range: [8, 13],
  11878. loc: {
  11879. start: { line: 1, column: 8 },
  11880. end: { line: 1, column: 13 }
  11881. }
  11882. }, {
  11883. type: 'VariableDeclarator',
  11884. id: {
  11885. type: 'Identifier',
  11886. name: 'y',
  11887. range: [15, 16],
  11888. loc: {
  11889. start: { line: 1, column: 15 },
  11890. end: { line: 1, column: 16 }
  11891. }
  11892. },
  11893. init: {
  11894. type: 'Literal',
  11895. value: 1,
  11896. raw: '1',
  11897. range: [19, 20],
  11898. loc: {
  11899. start: { line: 1, column: 19 },
  11900. end: { line: 1, column: 20 }
  11901. }
  11902. },
  11903. range: [15, 20],
  11904. loc: {
  11905. start: { line: 1, column: 15 },
  11906. end: { line: 1, column: 20 }
  11907. }
  11908. }],
  11909. kind: 'var',
  11910. range: [4, 20],
  11911. loc: {
  11912. start: { line: 1, column: 4 },
  11913. end: { line: 1, column: 20 }
  11914. }
  11915. },
  11916. test: null,
  11917. update: null,
  11918. body: {
  11919. type: 'EmptyStatement',
  11920. range: [23, 24],
  11921. loc: {
  11922. start: { line: 1, column: 23 },
  11923. end: { line: 1, column: 24 }
  11924. }
  11925. },
  11926. range: [0, 24],
  11927. loc: {
  11928. start: { line: 1, column: 0 },
  11929. end: { line: 1, column: 24 }
  11930. }
  11931. },
  11932. 'for(x = 0; x < 42;);': {
  11933. type: 'ForStatement',
  11934. init: {
  11935. type: 'AssignmentExpression',
  11936. operator: '=',
  11937. left: {
  11938. type: 'Identifier',
  11939. name: 'x',
  11940. range: [4, 5],
  11941. loc: {
  11942. start: { line: 1, column: 4 },
  11943. end: { line: 1, column: 5 }
  11944. }
  11945. },
  11946. right: {
  11947. type: 'Literal',
  11948. value: 0,
  11949. raw: '0',
  11950. range: [8, 9],
  11951. loc: {
  11952. start: { line: 1, column: 8 },
  11953. end: { line: 1, column: 9 }
  11954. }
  11955. },
  11956. range: [4, 9],
  11957. loc: {
  11958. start: { line: 1, column: 4 },
  11959. end: { line: 1, column: 9 }
  11960. }
  11961. },
  11962. test: {
  11963. type: 'BinaryExpression',
  11964. operator: '<',
  11965. left: {
  11966. type: 'Identifier',
  11967. name: 'x',
  11968. range: [11, 12],
  11969. loc: {
  11970. start: { line: 1, column: 11 },
  11971. end: { line: 1, column: 12 }
  11972. }
  11973. },
  11974. right: {
  11975. type: 'Literal',
  11976. value: 42,
  11977. raw: '42',
  11978. range: [15, 17],
  11979. loc: {
  11980. start: { line: 1, column: 15 },
  11981. end: { line: 1, column: 17 }
  11982. }
  11983. },
  11984. range: [11, 17],
  11985. loc: {
  11986. start: { line: 1, column: 11 },
  11987. end: { line: 1, column: 17 }
  11988. }
  11989. },
  11990. update: null,
  11991. body: {
  11992. type: 'EmptyStatement',
  11993. range: [19, 20],
  11994. loc: {
  11995. start: { line: 1, column: 19 },
  11996. end: { line: 1, column: 20 }
  11997. }
  11998. },
  11999. range: [0, 20],
  12000. loc: {
  12001. start: { line: 1, column: 0 },
  12002. end: { line: 1, column: 20 }
  12003. }
  12004. },
  12005. 'for(x = 0; x < 42; x++);': {
  12006. type: 'ForStatement',
  12007. init: {
  12008. type: 'AssignmentExpression',
  12009. operator: '=',
  12010. left: {
  12011. type: 'Identifier',
  12012. name: 'x',
  12013. range: [4, 5],
  12014. loc: {
  12015. start: { line: 1, column: 4 },
  12016. end: { line: 1, column: 5 }
  12017. }
  12018. },
  12019. right: {
  12020. type: 'Literal',
  12021. value: 0,
  12022. raw: '0',
  12023. range: [8, 9],
  12024. loc: {
  12025. start: { line: 1, column: 8 },
  12026. end: { line: 1, column: 9 }
  12027. }
  12028. },
  12029. range: [4, 9],
  12030. loc: {
  12031. start: { line: 1, column: 4 },
  12032. end: { line: 1, column: 9 }
  12033. }
  12034. },
  12035. test: {
  12036. type: 'BinaryExpression',
  12037. operator: '<',
  12038. left: {
  12039. type: 'Identifier',
  12040. name: 'x',
  12041. range: [11, 12],
  12042. loc: {
  12043. start: { line: 1, column: 11 },
  12044. end: { line: 1, column: 12 }
  12045. }
  12046. },
  12047. right: {
  12048. type: 'Literal',
  12049. value: 42,
  12050. raw: '42',
  12051. range: [15, 17],
  12052. loc: {
  12053. start: { line: 1, column: 15 },
  12054. end: { line: 1, column: 17 }
  12055. }
  12056. },
  12057. range: [11, 17],
  12058. loc: {
  12059. start: { line: 1, column: 11 },
  12060. end: { line: 1, column: 17 }
  12061. }
  12062. },
  12063. update: {
  12064. type: 'UpdateExpression',
  12065. operator: '++',
  12066. argument: {
  12067. type: 'Identifier',
  12068. name: 'x',
  12069. range: [19, 20],
  12070. loc: {
  12071. start: { line: 1, column: 19 },
  12072. end: { line: 1, column: 20 }
  12073. }
  12074. },
  12075. prefix: false,
  12076. range: [19, 22],
  12077. loc: {
  12078. start: { line: 1, column: 19 },
  12079. end: { line: 1, column: 22 }
  12080. }
  12081. },
  12082. body: {
  12083. type: 'EmptyStatement',
  12084. range: [23, 24],
  12085. loc: {
  12086. start: { line: 1, column: 23 },
  12087. end: { line: 1, column: 24 }
  12088. }
  12089. },
  12090. range: [0, 24],
  12091. loc: {
  12092. start: { line: 1, column: 0 },
  12093. end: { line: 1, column: 24 }
  12094. }
  12095. },
  12096. 'for(x = 0; x < 42; x++) process(x);': {
  12097. type: 'ForStatement',
  12098. init: {
  12099. type: 'AssignmentExpression',
  12100. operator: '=',
  12101. left: {
  12102. type: 'Identifier',
  12103. name: 'x',
  12104. range: [4, 5],
  12105. loc: {
  12106. start: { line: 1, column: 4 },
  12107. end: { line: 1, column: 5 }
  12108. }
  12109. },
  12110. right: {
  12111. type: 'Literal',
  12112. value: 0,
  12113. raw: '0',
  12114. range: [8, 9],
  12115. loc: {
  12116. start: { line: 1, column: 8 },
  12117. end: { line: 1, column: 9 }
  12118. }
  12119. },
  12120. range: [4, 9],
  12121. loc: {
  12122. start: { line: 1, column: 4 },
  12123. end: { line: 1, column: 9 }
  12124. }
  12125. },
  12126. test: {
  12127. type: 'BinaryExpression',
  12128. operator: '<',
  12129. left: {
  12130. type: 'Identifier',
  12131. name: 'x',
  12132. range: [11, 12],
  12133. loc: {
  12134. start: { line: 1, column: 11 },
  12135. end: { line: 1, column: 12 }
  12136. }
  12137. },
  12138. right: {
  12139. type: 'Literal',
  12140. value: 42,
  12141. raw: '42',
  12142. range: [15, 17],
  12143. loc: {
  12144. start: { line: 1, column: 15 },
  12145. end: { line: 1, column: 17 }
  12146. }
  12147. },
  12148. range: [11, 17],
  12149. loc: {
  12150. start: { line: 1, column: 11 },
  12151. end: { line: 1, column: 17 }
  12152. }
  12153. },
  12154. update: {
  12155. type: 'UpdateExpression',
  12156. operator: '++',
  12157. argument: {
  12158. type: 'Identifier',
  12159. name: 'x',
  12160. range: [19, 20],
  12161. loc: {
  12162. start: { line: 1, column: 19 },
  12163. end: { line: 1, column: 20 }
  12164. }
  12165. },
  12166. prefix: false,
  12167. range: [19, 22],
  12168. loc: {
  12169. start: { line: 1, column: 19 },
  12170. end: { line: 1, column: 22 }
  12171. }
  12172. },
  12173. body: {
  12174. type: 'ExpressionStatement',
  12175. expression: {
  12176. type: 'CallExpression',
  12177. callee: {
  12178. type: 'Identifier',
  12179. name: 'process',
  12180. range: [24, 31],
  12181. loc: {
  12182. start: { line: 1, column: 24 },
  12183. end: { line: 1, column: 31 }
  12184. }
  12185. },
  12186. 'arguments': [{
  12187. type: 'Identifier',
  12188. name: 'x',
  12189. range: [32, 33],
  12190. loc: {
  12191. start: { line: 1, column: 32 },
  12192. end: { line: 1, column: 33 }
  12193. }
  12194. }],
  12195. range: [24, 34],
  12196. loc: {
  12197. start: { line: 1, column: 24 },
  12198. end: { line: 1, column: 34 }
  12199. }
  12200. },
  12201. range: [24, 35],
  12202. loc: {
  12203. start: { line: 1, column: 24 },
  12204. end: { line: 1, column: 35 }
  12205. }
  12206. },
  12207. range: [0, 35],
  12208. loc: {
  12209. start: { line: 1, column: 0 },
  12210. end: { line: 1, column: 35 }
  12211. }
  12212. },
  12213. 'for(x in list) process(x);': {
  12214. type: 'ForInStatement',
  12215. left: {
  12216. type: 'Identifier',
  12217. name: 'x',
  12218. range: [4, 5],
  12219. loc: {
  12220. start: { line: 1, column: 4 },
  12221. end: { line: 1, column: 5 }
  12222. }
  12223. },
  12224. right: {
  12225. type: 'Identifier',
  12226. name: 'list',
  12227. range: [9, 13],
  12228. loc: {
  12229. start: { line: 1, column: 9 },
  12230. end: { line: 1, column: 13 }
  12231. }
  12232. },
  12233. body: {
  12234. type: 'ExpressionStatement',
  12235. expression: {
  12236. type: 'CallExpression',
  12237. callee: {
  12238. type: 'Identifier',
  12239. name: 'process',
  12240. range: [15, 22],
  12241. loc: {
  12242. start: { line: 1, column: 15 },
  12243. end: { line: 1, column: 22 }
  12244. }
  12245. },
  12246. 'arguments': [{
  12247. type: 'Identifier',
  12248. name: 'x',
  12249. range: [23, 24],
  12250. loc: {
  12251. start: { line: 1, column: 23 },
  12252. end: { line: 1, column: 24 }
  12253. }
  12254. }],
  12255. range: [15, 25],
  12256. loc: {
  12257. start: { line: 1, column: 15 },
  12258. end: { line: 1, column: 25 }
  12259. }
  12260. },
  12261. range: [15, 26],
  12262. loc: {
  12263. start: { line: 1, column: 15 },
  12264. end: { line: 1, column: 26 }
  12265. }
  12266. },
  12267. each: false,
  12268. range: [0, 26],
  12269. loc: {
  12270. start: { line: 1, column: 0 },
  12271. end: { line: 1, column: 26 }
  12272. }
  12273. },
  12274. 'for (var x in list) process(x);': {
  12275. type: 'ForInStatement',
  12276. left: {
  12277. type: 'VariableDeclaration',
  12278. declarations: [{
  12279. type: 'VariableDeclarator',
  12280. id: {
  12281. type: 'Identifier',
  12282. name: 'x',
  12283. range: [9, 10],
  12284. loc: {
  12285. start: { line: 1, column: 9 },
  12286. end: { line: 1, column: 10 }
  12287. }
  12288. },
  12289. init: null,
  12290. range: [9, 10],
  12291. loc: {
  12292. start: { line: 1, column: 9 },
  12293. end: { line: 1, column: 10 }
  12294. }
  12295. }],
  12296. kind: 'var',
  12297. range: [5, 10],
  12298. loc: {
  12299. start: { line: 1, column: 5 },
  12300. end: { line: 1, column: 10 }
  12301. }
  12302. },
  12303. right: {
  12304. type: 'Identifier',
  12305. name: 'list',
  12306. range: [14, 18],
  12307. loc: {
  12308. start: { line: 1, column: 14 },
  12309. end: { line: 1, column: 18 }
  12310. }
  12311. },
  12312. body: {
  12313. type: 'ExpressionStatement',
  12314. expression: {
  12315. type: 'CallExpression',
  12316. callee: {
  12317. type: 'Identifier',
  12318. name: 'process',
  12319. range: [20, 27],
  12320. loc: {
  12321. start: { line: 1, column: 20 },
  12322. end: { line: 1, column: 27 }
  12323. }
  12324. },
  12325. 'arguments': [{
  12326. type: 'Identifier',
  12327. name: 'x',
  12328. range: [28, 29],
  12329. loc: {
  12330. start: { line: 1, column: 28 },
  12331. end: { line: 1, column: 29 }
  12332. }
  12333. }],
  12334. range: [20, 30],
  12335. loc: {
  12336. start: { line: 1, column: 20 },
  12337. end: { line: 1, column: 30 }
  12338. }
  12339. },
  12340. range: [20, 31],
  12341. loc: {
  12342. start: { line: 1, column: 20 },
  12343. end: { line: 1, column: 31 }
  12344. }
  12345. },
  12346. each: false,
  12347. range: [0, 31],
  12348. loc: {
  12349. start: { line: 1, column: 0 },
  12350. end: { line: 1, column: 31 }
  12351. }
  12352. },
  12353. 'for (let x in list) process(x);': {
  12354. type: 'ForInStatement',
  12355. left: {
  12356. type: 'VariableDeclaration',
  12357. declarations: [{
  12358. type: 'VariableDeclarator',
  12359. id: {
  12360. type: 'Identifier',
  12361. name: 'x',
  12362. range: [9, 10],
  12363. loc: {
  12364. start: { line: 1, column: 9 },
  12365. end: { line: 1, column: 10 }
  12366. }
  12367. },
  12368. init: null,
  12369. range: [9, 10],
  12370. loc: {
  12371. start: { line: 1, column: 9 },
  12372. end: { line: 1, column: 10 }
  12373. }
  12374. }],
  12375. kind: 'let',
  12376. range: [5, 10],
  12377. loc: {
  12378. start: { line: 1, column: 5 },
  12379. end: { line: 1, column: 10 }
  12380. }
  12381. },
  12382. right: {
  12383. type: 'Identifier',
  12384. name: 'list',
  12385. range: [14, 18],
  12386. loc: {
  12387. start: { line: 1, column: 14 },
  12388. end: { line: 1, column: 18 }
  12389. }
  12390. },
  12391. body: {
  12392. type: 'ExpressionStatement',
  12393. expression: {
  12394. type: 'CallExpression',
  12395. callee: {
  12396. type: 'Identifier',
  12397. name: 'process',
  12398. range: [20, 27],
  12399. loc: {
  12400. start: { line: 1, column: 20 },
  12401. end: { line: 1, column: 27 }
  12402. }
  12403. },
  12404. 'arguments': [{
  12405. type: 'Identifier',
  12406. name: 'x',
  12407. range: [28, 29],
  12408. loc: {
  12409. start: { line: 1, column: 28 },
  12410. end: { line: 1, column: 29 }
  12411. }
  12412. }],
  12413. range: [20, 30],
  12414. loc: {
  12415. start: { line: 1, column: 20 },
  12416. end: { line: 1, column: 30 }
  12417. }
  12418. },
  12419. range: [20, 31],
  12420. loc: {
  12421. start: { line: 1, column: 20 },
  12422. end: { line: 1, column: 31 }
  12423. }
  12424. },
  12425. each: false,
  12426. range: [0, 31],
  12427. loc: {
  12428. start: { line: 1, column: 0 },
  12429. end: { line: 1, column: 31 }
  12430. }
  12431. },
  12432. 'for (var i = function() { return 10 in [] } of list) process(x);': {
  12433. type: 'ForOfStatement',
  12434. left: {
  12435. type: 'VariableDeclaration',
  12436. declarations: [{
  12437. type: 'VariableDeclarator',
  12438. id: {
  12439. type: 'Identifier',
  12440. name: 'i',
  12441. range: [9, 10],
  12442. loc: {
  12443. start: { line: 1, column: 9 },
  12444. end: { line: 1, column: 10 }
  12445. }
  12446. },
  12447. init: {
  12448. type: 'FunctionExpression',
  12449. id: null,
  12450. params: [],
  12451. defaults: [],
  12452. body: {
  12453. type: 'BlockStatement',
  12454. body: [{
  12455. type: 'ReturnStatement',
  12456. argument: {
  12457. type: 'BinaryExpression',
  12458. operator: 'in',
  12459. left: {
  12460. type: 'Literal',
  12461. value: 10,
  12462. raw: '10',
  12463. range: [33, 35],
  12464. loc: {
  12465. start: { line: 1, column: 33 },
  12466. end: { line: 1, column: 35 }
  12467. }
  12468. },
  12469. right: {
  12470. type: 'ArrayExpression',
  12471. elements: [],
  12472. range: [39, 41],
  12473. loc: {
  12474. start: { line: 1, column: 39 },
  12475. end: { line: 1, column: 41 }
  12476. }
  12477. },
  12478. range: [33, 41],
  12479. loc: {
  12480. start: { line: 1, column: 33 },
  12481. end: { line: 1, column: 41 }
  12482. }
  12483. },
  12484. range: [26, 42],
  12485. loc: {
  12486. start: { line: 1, column: 26 },
  12487. end: { line: 1, column: 42 }
  12488. }
  12489. }],
  12490. range: [24, 43],
  12491. loc: {
  12492. start: { line: 1, column: 24 },
  12493. end: { line: 1, column: 43 }
  12494. }
  12495. },
  12496. rest: null,
  12497. generator: false,
  12498. expression: false,
  12499. range: [13, 43],
  12500. loc: {
  12501. start: { line: 1, column: 13 },
  12502. end: { line: 1, column: 43 }
  12503. }
  12504. },
  12505. range: [9, 43],
  12506. loc: {
  12507. start: { line: 1, column: 9 },
  12508. end: { line: 1, column: 43 }
  12509. }
  12510. }],
  12511. kind: 'var',
  12512. range: [5, 43],
  12513. loc: {
  12514. start: { line: 1, column: 5 },
  12515. end: { line: 1, column: 43 }
  12516. }
  12517. },
  12518. right: {
  12519. type: 'Identifier',
  12520. name: 'list',
  12521. range: [47, 51],
  12522. loc: {
  12523. start: { line: 1, column: 47 },
  12524. end: { line: 1, column: 51 }
  12525. }
  12526. },
  12527. body: {
  12528. type: 'ExpressionStatement',
  12529. expression: {
  12530. type: 'CallExpression',
  12531. callee: {
  12532. type: 'Identifier',
  12533. name: 'process',
  12534. range: [53, 60],
  12535. loc: {
  12536. start: { line: 1, column: 53 },
  12537. end: { line: 1, column: 60 }
  12538. }
  12539. },
  12540. 'arguments': [{
  12541. type: 'Identifier',
  12542. name: 'x',
  12543. range: [61, 62],
  12544. loc: {
  12545. start: { line: 1, column: 61 },
  12546. end: { line: 1, column: 62 }
  12547. }
  12548. }],
  12549. range: [53, 63],
  12550. loc: {
  12551. start: { line: 1, column: 53 },
  12552. end: { line: 1, column: 63 }
  12553. }
  12554. },
  12555. range: [53, 64],
  12556. loc: {
  12557. start: { line: 1, column: 53 },
  12558. end: { line: 1, column: 64 }
  12559. }
  12560. },
  12561. range: [0, 64],
  12562. loc: {
  12563. start: { line: 1, column: 0 },
  12564. end: { line: 1, column: 64 }
  12565. }
  12566. }
  12567. },
  12568. 'continue statement': {
  12569. 'while (true) { continue; }': {
  12570. type: 'WhileStatement',
  12571. test: {
  12572. type: 'Literal',
  12573. value: true,
  12574. raw: 'true',
  12575. range: [7, 11],
  12576. loc: {
  12577. start: { line: 1, column: 7 },
  12578. end: { line: 1, column: 11 }
  12579. }
  12580. },
  12581. body: {
  12582. type: 'BlockStatement',
  12583. body: [
  12584. {
  12585. type: 'ContinueStatement',
  12586. label: null,
  12587. range: [15, 24],
  12588. loc: {
  12589. start: { line: 1, column: 15 },
  12590. end: { line: 1, column: 24 }
  12591. }
  12592. }
  12593. ],
  12594. range: [13, 26],
  12595. loc: {
  12596. start: { line: 1, column: 13 },
  12597. end: { line: 1, column: 26 }
  12598. }
  12599. },
  12600. range: [0, 26],
  12601. loc: {
  12602. start: { line: 1, column: 0 },
  12603. end: { line: 1, column: 26 }
  12604. }
  12605. },
  12606. 'while (true) { continue }': {
  12607. type: 'WhileStatement',
  12608. test: {
  12609. type: 'Literal',
  12610. value: true,
  12611. raw: 'true',
  12612. range: [7, 11],
  12613. loc: {
  12614. start: { line: 1, column: 7 },
  12615. end: { line: 1, column: 11 }
  12616. }
  12617. },
  12618. body: {
  12619. type: 'BlockStatement',
  12620. body: [
  12621. {
  12622. type: 'ContinueStatement',
  12623. label: null,
  12624. range: [15, 24],
  12625. loc: {
  12626. start: { line: 1, column: 15 },
  12627. end: { line: 1, column: 24 }
  12628. }
  12629. }
  12630. ],
  12631. range: [13, 25],
  12632. loc: {
  12633. start: { line: 1, column: 13 },
  12634. end: { line: 1, column: 25 }
  12635. }
  12636. },
  12637. range: [0, 25],
  12638. loc: {
  12639. start: { line: 1, column: 0 },
  12640. end: { line: 1, column: 25 }
  12641. }
  12642. },
  12643. 'done: while (true) { continue done }': {
  12644. type: 'LabeledStatement',
  12645. label: {
  12646. type: 'Identifier',
  12647. name: 'done',
  12648. range: [0, 4],
  12649. loc: {
  12650. start: { line: 1, column: 0 },
  12651. end: { line: 1, column: 4 }
  12652. }
  12653. },
  12654. body: {
  12655. type: 'WhileStatement',
  12656. test: {
  12657. type: 'Literal',
  12658. value: true,
  12659. raw: 'true',
  12660. range: [13, 17],
  12661. loc: {
  12662. start: { line: 1, column: 13 },
  12663. end: { line: 1, column: 17 }
  12664. }
  12665. },
  12666. body: {
  12667. type: 'BlockStatement',
  12668. body: [
  12669. {
  12670. type: 'ContinueStatement',
  12671. label: {
  12672. type: 'Identifier',
  12673. name: 'done',
  12674. range: [30, 34],
  12675. loc: {
  12676. start: { line: 1, column: 30 },
  12677. end: { line: 1, column: 34 }
  12678. }
  12679. },
  12680. range: [21, 35],
  12681. loc: {
  12682. start: { line: 1, column: 21 },
  12683. end: { line: 1, column: 35 }
  12684. }
  12685. }
  12686. ],
  12687. range: [19, 36],
  12688. loc: {
  12689. start: { line: 1, column: 19 },
  12690. end: { line: 1, column: 36 }
  12691. }
  12692. },
  12693. range: [6, 36],
  12694. loc: {
  12695. start: { line: 1, column: 6 },
  12696. end: { line: 1, column: 36 }
  12697. }
  12698. },
  12699. range: [0, 36],
  12700. loc: {
  12701. start: { line: 1, column: 0 },
  12702. end: { line: 1, column: 36 }
  12703. }
  12704. },
  12705. 'done: while (true) { continue done; }': {
  12706. type: 'LabeledStatement',
  12707. label: {
  12708. type: 'Identifier',
  12709. name: 'done',
  12710. range: [0, 4],
  12711. loc: {
  12712. start: { line: 1, column: 0 },
  12713. end: { line: 1, column: 4 }
  12714. }
  12715. },
  12716. body: {
  12717. type: 'WhileStatement',
  12718. test: {
  12719. type: 'Literal',
  12720. value: true,
  12721. raw: 'true',
  12722. range: [13, 17],
  12723. loc: {
  12724. start: { line: 1, column: 13 },
  12725. end: { line: 1, column: 17 }
  12726. }
  12727. },
  12728. body: {
  12729. type: 'BlockStatement',
  12730. body: [
  12731. {
  12732. type: 'ContinueStatement',
  12733. label: {
  12734. type: 'Identifier',
  12735. name: 'done',
  12736. range: [30, 34],
  12737. loc: {
  12738. start: { line: 1, column: 30 },
  12739. end: { line: 1, column: 34 }
  12740. }
  12741. },
  12742. range: [21, 35],
  12743. loc: {
  12744. start: { line: 1, column: 21 },
  12745. end: { line: 1, column: 35 }
  12746. }
  12747. }
  12748. ],
  12749. range: [19, 37],
  12750. loc: {
  12751. start: { line: 1, column: 19 },
  12752. end: { line: 1, column: 37 }
  12753. }
  12754. },
  12755. range: [6, 37],
  12756. loc: {
  12757. start: { line: 1, column: 6 },
  12758. end: { line: 1, column: 37 }
  12759. }
  12760. },
  12761. range: [0, 37],
  12762. loc: {
  12763. start: { line: 1, column: 0 },
  12764. end: { line: 1, column: 37 }
  12765. }
  12766. },
  12767. '__proto__: while (true) { continue __proto__; }': {
  12768. type: 'LabeledStatement',
  12769. label: {
  12770. type: 'Identifier',
  12771. name: '__proto__',
  12772. range: [0, 9],
  12773. loc: {
  12774. start: { line: 1, column: 0 },
  12775. end: { line: 1, column: 9 }
  12776. }
  12777. },
  12778. body: {
  12779. type: 'WhileStatement',
  12780. test: {
  12781. type: 'Literal',
  12782. value: true,
  12783. raw: 'true',
  12784. range: [18, 22],
  12785. loc: {
  12786. start: { line: 1, column: 18 },
  12787. end: { line: 1, column: 22 }
  12788. }
  12789. },
  12790. body: {
  12791. type: 'BlockStatement',
  12792. body: [{
  12793. type: 'ContinueStatement',
  12794. label: {
  12795. type: 'Identifier',
  12796. name: '__proto__',
  12797. range: [35, 44],
  12798. loc: {
  12799. start: { line: 1, column: 35 },
  12800. end: { line: 1, column: 44 }
  12801. }
  12802. },
  12803. range: [26, 45],
  12804. loc: {
  12805. start: { line: 1, column: 26 },
  12806. end: { line: 1, column: 45 }
  12807. }
  12808. }],
  12809. range: [24, 47],
  12810. loc: {
  12811. start: { line: 1, column: 24 },
  12812. end: { line: 1, column: 47 }
  12813. }
  12814. },
  12815. range: [11, 47],
  12816. loc: {
  12817. start: { line: 1, column: 11 },
  12818. end: { line: 1, column: 47 }
  12819. }
  12820. },
  12821. range: [0, 47],
  12822. loc: {
  12823. start: { line: 1, column: 0 },
  12824. end: { line: 1, column: 47 }
  12825. }
  12826. }
  12827. },
  12828. 'break statement': {
  12829. 'while (true) { break }': {
  12830. type: 'WhileStatement',
  12831. test: {
  12832. type: 'Literal',
  12833. value: true,
  12834. raw: 'true',
  12835. range: [7, 11],
  12836. loc: {
  12837. start: { line: 1, column: 7 },
  12838. end: { line: 1, column: 11 }
  12839. }
  12840. },
  12841. body: {
  12842. type: 'BlockStatement',
  12843. body: [
  12844. {
  12845. type: 'BreakStatement',
  12846. label: null,
  12847. range: [15, 21],
  12848. loc: {
  12849. start: { line: 1, column: 15 },
  12850. end: { line: 1, column: 21 }
  12851. }
  12852. }
  12853. ],
  12854. range: [13, 22],
  12855. loc: {
  12856. start: { line: 1, column: 13 },
  12857. end: { line: 1, column: 22 }
  12858. }
  12859. },
  12860. range: [0, 22],
  12861. loc: {
  12862. start: { line: 1, column: 0 },
  12863. end: { line: 1, column: 22 }
  12864. }
  12865. },
  12866. 'done: while (true) { break done }': {
  12867. type: 'LabeledStatement',
  12868. label: {
  12869. type: 'Identifier',
  12870. name: 'done',
  12871. range: [0, 4],
  12872. loc: {
  12873. start: { line: 1, column: 0 },
  12874. end: { line: 1, column: 4 }
  12875. }
  12876. },
  12877. body: {
  12878. type: 'WhileStatement',
  12879. test: {
  12880. type: 'Literal',
  12881. value: true,
  12882. raw: 'true',
  12883. range: [13, 17],
  12884. loc: {
  12885. start: { line: 1, column: 13 },
  12886. end: { line: 1, column: 17 }
  12887. }
  12888. },
  12889. body: {
  12890. type: 'BlockStatement',
  12891. body: [
  12892. {
  12893. type: 'BreakStatement',
  12894. label: {
  12895. type: 'Identifier',
  12896. name: 'done',
  12897. range: [27, 31],
  12898. loc: {
  12899. start: { line: 1, column: 27 },
  12900. end: { line: 1, column: 31 }
  12901. }
  12902. },
  12903. range: [21, 32],
  12904. loc: {
  12905. start: { line: 1, column: 21 },
  12906. end: { line: 1, column: 32 }
  12907. }
  12908. }
  12909. ],
  12910. range: [19, 33],
  12911. loc: {
  12912. start: { line: 1, column: 19 },
  12913. end: { line: 1, column: 33 }
  12914. }
  12915. },
  12916. range: [6, 33],
  12917. loc: {
  12918. start: { line: 1, column: 6 },
  12919. end: { line: 1, column: 33 }
  12920. }
  12921. },
  12922. range: [0, 33],
  12923. loc: {
  12924. start: { line: 1, column: 0 },
  12925. end: { line: 1, column: 33 }
  12926. }
  12927. },
  12928. 'done: while (true) { break done; }': {
  12929. type: 'LabeledStatement',
  12930. label: {
  12931. type: 'Identifier',
  12932. name: 'done',
  12933. range: [0, 4],
  12934. loc: {
  12935. start: { line: 1, column: 0 },
  12936. end: { line: 1, column: 4 }
  12937. }
  12938. },
  12939. body: {
  12940. type: 'WhileStatement',
  12941. test: {
  12942. type: 'Literal',
  12943. value: true,
  12944. raw: 'true',
  12945. range: [13, 17],
  12946. loc: {
  12947. start: { line: 1, column: 13 },
  12948. end: { line: 1, column: 17 }
  12949. }
  12950. },
  12951. body: {
  12952. type: 'BlockStatement',
  12953. body: [
  12954. {
  12955. type: 'BreakStatement',
  12956. label: {
  12957. type: 'Identifier',
  12958. name: 'done',
  12959. range: [27, 31],
  12960. loc: {
  12961. start: { line: 1, column: 27 },
  12962. end: { line: 1, column: 31 }
  12963. }
  12964. },
  12965. range: [21, 32],
  12966. loc: {
  12967. start: { line: 1, column: 21 },
  12968. end: { line: 1, column: 32 }
  12969. }
  12970. }
  12971. ],
  12972. range: [19, 34],
  12973. loc: {
  12974. start: { line: 1, column: 19 },
  12975. end: { line: 1, column: 34 }
  12976. }
  12977. },
  12978. range: [6, 34],
  12979. loc: {
  12980. start: { line: 1, column: 6 },
  12981. end: { line: 1, column: 34 }
  12982. }
  12983. },
  12984. range: [0, 34],
  12985. loc: {
  12986. start: { line: 1, column: 0 },
  12987. end: { line: 1, column: 34 }
  12988. }
  12989. },
  12990. '__proto__: while (true) { break __proto__; }': {
  12991. type: 'LabeledStatement',
  12992. label: {
  12993. type: 'Identifier',
  12994. name: '__proto__',
  12995. range: [0, 9],
  12996. loc: {
  12997. start: { line: 1, column: 0 },
  12998. end: { line: 1, column: 9 }
  12999. }
  13000. },
  13001. body: {
  13002. type: 'WhileStatement',
  13003. test: {
  13004. type: 'Literal',
  13005. value: true,
  13006. raw: 'true',
  13007. range: [18, 22],
  13008. loc: {
  13009. start: { line: 1, column: 18 },
  13010. end: { line: 1, column: 22 }
  13011. }
  13012. },
  13013. body: {
  13014. type: 'BlockStatement',
  13015. body: [{
  13016. type: 'BreakStatement',
  13017. label: {
  13018. type: 'Identifier',
  13019. name: '__proto__',
  13020. range: [32, 41],
  13021. loc: {
  13022. start: { line: 1, column: 32 },
  13023. end: { line: 1, column: 41 }
  13024. }
  13025. },
  13026. range: [26, 42],
  13027. loc: {
  13028. start: { line: 1, column: 26 },
  13029. end: { line: 1, column: 42 }
  13030. }
  13031. }],
  13032. range: [24, 44],
  13033. loc: {
  13034. start: { line: 1, column: 24 },
  13035. end: { line: 1, column: 44 }
  13036. }
  13037. },
  13038. range: [11, 44],
  13039. loc: {
  13040. start: { line: 1, column: 11 },
  13041. end: { line: 1, column: 44 }
  13042. }
  13043. },
  13044. range: [0, 44],
  13045. loc: {
  13046. start: { line: 1, column: 0 },
  13047. end: { line: 1, column: 44 }
  13048. }
  13049. }
  13050. },
  13051. 'return statement': {
  13052. '(function(){ return })': {
  13053. type: 'ExpressionStatement',
  13054. expression: {
  13055. type: 'FunctionExpression',
  13056. id: null,
  13057. params: [],
  13058. defaults: [],
  13059. body: {
  13060. type: 'BlockStatement',
  13061. body: [
  13062. {
  13063. type: 'ReturnStatement',
  13064. argument: null,
  13065. range: [13, 20],
  13066. loc: {
  13067. start: { line: 1, column: 13 },
  13068. end: { line: 1, column: 20 }
  13069. }
  13070. }
  13071. ],
  13072. range: [11, 21],
  13073. loc: {
  13074. start: { line: 1, column: 11 },
  13075. end: { line: 1, column: 21 }
  13076. }
  13077. },
  13078. rest: null,
  13079. generator: false,
  13080. expression: false,
  13081. range: [1, 21],
  13082. loc: {
  13083. start: { line: 1, column: 1 },
  13084. end: { line: 1, column: 21 }
  13085. }
  13086. },
  13087. range: [0, 22],
  13088. loc: {
  13089. start: { line: 1, column: 0 },
  13090. end: { line: 1, column: 22 }
  13091. }
  13092. },
  13093. '(function(){ return; })': {
  13094. type: 'ExpressionStatement',
  13095. expression: {
  13096. type: 'FunctionExpression',
  13097. id: null,
  13098. params: [],
  13099. defaults: [],
  13100. body: {
  13101. type: 'BlockStatement',
  13102. body: [
  13103. {
  13104. type: 'ReturnStatement',
  13105. argument: null,
  13106. range: [13, 20],
  13107. loc: {
  13108. start: { line: 1, column: 13 },
  13109. end: { line: 1, column: 20 }
  13110. }
  13111. }
  13112. ],
  13113. range: [11, 22],
  13114. loc: {
  13115. start: { line: 1, column: 11 },
  13116. end: { line: 1, column: 22 }
  13117. }
  13118. },
  13119. rest: null,
  13120. generator: false,
  13121. expression: false,
  13122. range: [1, 22],
  13123. loc: {
  13124. start: { line: 1, column: 1 },
  13125. end: { line: 1, column: 22 }
  13126. }
  13127. },
  13128. range: [0, 23],
  13129. loc: {
  13130. start: { line: 1, column: 0 },
  13131. end: { line: 1, column: 23 }
  13132. }
  13133. },
  13134. '(function(){ return x; })': {
  13135. type: 'ExpressionStatement',
  13136. expression: {
  13137. type: 'FunctionExpression',
  13138. id: null,
  13139. params: [],
  13140. defaults: [],
  13141. body: {
  13142. type: 'BlockStatement',
  13143. body: [
  13144. {
  13145. type: 'ReturnStatement',
  13146. argument: {
  13147. type: 'Identifier',
  13148. name: 'x',
  13149. range: [20, 21],
  13150. loc: {
  13151. start: { line: 1, column: 20 },
  13152. end: { line: 1, column: 21 }
  13153. }
  13154. },
  13155. range: [13, 22],
  13156. loc: {
  13157. start: { line: 1, column: 13 },
  13158. end: { line: 1, column: 22 }
  13159. }
  13160. }
  13161. ],
  13162. range: [11, 24],
  13163. loc: {
  13164. start: { line: 1, column: 11 },
  13165. end: { line: 1, column: 24 }
  13166. }
  13167. },
  13168. rest: null,
  13169. generator: false,
  13170. expression: false,
  13171. range: [1, 24],
  13172. loc: {
  13173. start: { line: 1, column: 1 },
  13174. end: { line: 1, column: 24 }
  13175. }
  13176. },
  13177. range: [0, 25],
  13178. loc: {
  13179. start: { line: 1, column: 0 },
  13180. end: { line: 1, column: 25 }
  13181. }
  13182. },
  13183. '(function(){ return x * y })': {
  13184. type: 'ExpressionStatement',
  13185. expression: {
  13186. type: 'FunctionExpression',
  13187. id: null,
  13188. params: [],
  13189. defaults: [],
  13190. body: {
  13191. type: 'BlockStatement',
  13192. body: [
  13193. {
  13194. type: 'ReturnStatement',
  13195. argument: {
  13196. type: 'BinaryExpression',
  13197. operator: '*',
  13198. left: {
  13199. type: 'Identifier',
  13200. name: 'x',
  13201. range: [20, 21],
  13202. loc: {
  13203. start: { line: 1, column: 20 },
  13204. end: { line: 1, column: 21 }
  13205. }
  13206. },
  13207. right: {
  13208. type: 'Identifier',
  13209. name: 'y',
  13210. range: [24, 25],
  13211. loc: {
  13212. start: { line: 1, column: 24 },
  13213. end: { line: 1, column: 25 }
  13214. }
  13215. },
  13216. range: [20, 25],
  13217. loc: {
  13218. start: { line: 1, column: 20 },
  13219. end: { line: 1, column: 25 }
  13220. }
  13221. },
  13222. range: [13, 26],
  13223. loc: {
  13224. start: { line: 1, column: 13 },
  13225. end: { line: 1, column: 26 }
  13226. }
  13227. }
  13228. ],
  13229. range: [11, 27],
  13230. loc: {
  13231. start: { line: 1, column: 11 },
  13232. end: { line: 1, column: 27 }
  13233. }
  13234. },
  13235. rest: null,
  13236. generator: false,
  13237. expression: false,
  13238. range: [1, 27],
  13239. loc: {
  13240. start: { line: 1, column: 1 },
  13241. end: { line: 1, column: 27 }
  13242. }
  13243. },
  13244. range: [0, 28],
  13245. loc: {
  13246. start: { line: 1, column: 0 },
  13247. end: { line: 1, column: 28 }
  13248. }
  13249. }
  13250. },
  13251. 'with statement': {
  13252. 'with (x) foo = bar': {
  13253. type: 'WithStatement',
  13254. object: {
  13255. type: 'Identifier',
  13256. name: 'x',
  13257. range: [6, 7],
  13258. loc: {
  13259. start: { line: 1, column: 6 },
  13260. end: { line: 1, column: 7 }
  13261. }
  13262. },
  13263. body: {
  13264. type: 'ExpressionStatement',
  13265. expression: {
  13266. type: 'AssignmentExpression',
  13267. operator: '=',
  13268. left: {
  13269. type: 'Identifier',
  13270. name: 'foo',
  13271. range: [9, 12],
  13272. loc: {
  13273. start: { line: 1, column: 9 },
  13274. end: { line: 1, column: 12 }
  13275. }
  13276. },
  13277. right: {
  13278. type: 'Identifier',
  13279. name: 'bar',
  13280. range: [15, 18],
  13281. loc: {
  13282. start: { line: 1, column: 15 },
  13283. end: { line: 1, column: 18 }
  13284. }
  13285. },
  13286. range: [9, 18],
  13287. loc: {
  13288. start: { line: 1, column: 9 },
  13289. end: { line: 1, column: 18 }
  13290. }
  13291. },
  13292. range: [9, 18],
  13293. loc: {
  13294. start: { line: 1, column: 9 },
  13295. end: { line: 1, column: 18 }
  13296. }
  13297. },
  13298. range: [0, 18],
  13299. loc: {
  13300. start: { line: 1, column: 0 },
  13301. end: { line: 1, column: 18 }
  13302. }
  13303. },
  13304. 'with (x) foo = bar;': {
  13305. type: 'WithStatement',
  13306. object: {
  13307. type: 'Identifier',
  13308. name: 'x',
  13309. range: [6, 7],
  13310. loc: {
  13311. start: { line: 1, column: 6 },
  13312. end: { line: 1, column: 7 }
  13313. }
  13314. },
  13315. body: {
  13316. type: 'ExpressionStatement',
  13317. expression: {
  13318. type: 'AssignmentExpression',
  13319. operator: '=',
  13320. left: {
  13321. type: 'Identifier',
  13322. name: 'foo',
  13323. range: [9, 12],
  13324. loc: {
  13325. start: { line: 1, column: 9 },
  13326. end: { line: 1, column: 12 }
  13327. }
  13328. },
  13329. right: {
  13330. type: 'Identifier',
  13331. name: 'bar',
  13332. range: [15, 18],
  13333. loc: {
  13334. start: { line: 1, column: 15 },
  13335. end: { line: 1, column: 18 }
  13336. }
  13337. },
  13338. range: [9, 18],
  13339. loc: {
  13340. start: { line: 1, column: 9 },
  13341. end: { line: 1, column: 18 }
  13342. }
  13343. },
  13344. range: [9, 19],
  13345. loc: {
  13346. start: { line: 1, column: 9 },
  13347. end: { line: 1, column: 19 }
  13348. }
  13349. },
  13350. range: [0, 19],
  13351. loc: {
  13352. start: { line: 1, column: 0 },
  13353. end: { line: 1, column: 19 }
  13354. }
  13355. },
  13356. 'with (x) { foo = bar }': {
  13357. type: 'WithStatement',
  13358. object: {
  13359. type: 'Identifier',
  13360. name: 'x',
  13361. range: [6, 7],
  13362. loc: {
  13363. start: { line: 1, column: 6 },
  13364. end: { line: 1, column: 7 }
  13365. }
  13366. },
  13367. body: {
  13368. type: 'BlockStatement',
  13369. body: [{
  13370. type: 'ExpressionStatement',
  13371. expression: {
  13372. type: 'AssignmentExpression',
  13373. operator: '=',
  13374. left: {
  13375. type: 'Identifier',
  13376. name: 'foo',
  13377. range: [11, 14],
  13378. loc: {
  13379. start: { line: 1, column: 11 },
  13380. end: { line: 1, column: 14 }
  13381. }
  13382. },
  13383. right: {
  13384. type: 'Identifier',
  13385. name: 'bar',
  13386. range: [17, 20],
  13387. loc: {
  13388. start: { line: 1, column: 17 },
  13389. end: { line: 1, column: 20 }
  13390. }
  13391. },
  13392. range: [11, 20],
  13393. loc: {
  13394. start: { line: 1, column: 11 },
  13395. end: { line: 1, column: 20 }
  13396. }
  13397. },
  13398. range: [11, 21],
  13399. loc: {
  13400. start: { line: 1, column: 11 },
  13401. end: { line: 1, column: 21 }
  13402. }
  13403. }],
  13404. range: [9, 22],
  13405. loc: {
  13406. start: { line: 1, column: 9 },
  13407. end: { line: 1, column: 22 }
  13408. }
  13409. },
  13410. range: [0, 22],
  13411. loc: {
  13412. start: { line: 1, column: 0 },
  13413. end: { line: 1, column: 22 }
  13414. }
  13415. }
  13416. },
  13417. 'switch statement': {
  13418. 'switch (x) {}': {
  13419. type: 'SwitchStatement',
  13420. discriminant: {
  13421. type: 'Identifier',
  13422. name: 'x',
  13423. range: [8, 9],
  13424. loc: {
  13425. start: { line: 1, column: 8 },
  13426. end: { line: 1, column: 9 }
  13427. }
  13428. },
  13429. cases:[],
  13430. range: [0, 13],
  13431. loc: {
  13432. start: { line: 1, column: 0 },
  13433. end: { line: 1, column: 13 }
  13434. }
  13435. },
  13436. 'switch (answer) { case 42: hi(); break; }': {
  13437. type: 'SwitchStatement',
  13438. discriminant: {
  13439. type: 'Identifier',
  13440. name: 'answer',
  13441. range: [8, 14],
  13442. loc: {
  13443. start: { line: 1, column: 8 },
  13444. end: { line: 1, column: 14 }
  13445. }
  13446. },
  13447. cases: [{
  13448. type: 'SwitchCase',
  13449. test: {
  13450. type: 'Literal',
  13451. value: 42,
  13452. raw: '42',
  13453. range: [23, 25],
  13454. loc: {
  13455. start: { line: 1, column: 23 },
  13456. end: { line: 1, column: 25 }
  13457. }
  13458. },
  13459. consequent: [{
  13460. type: 'ExpressionStatement',
  13461. expression: {
  13462. type: 'CallExpression',
  13463. callee: {
  13464. type: 'Identifier',
  13465. name: 'hi',
  13466. range: [27, 29],
  13467. loc: {
  13468. start: { line: 1, column: 27 },
  13469. end: { line: 1, column: 29 }
  13470. }
  13471. },
  13472. 'arguments': [],
  13473. range: [27, 31],
  13474. loc: {
  13475. start: { line: 1, column: 27 },
  13476. end: { line: 1, column: 31 }
  13477. }
  13478. },
  13479. range: [27, 32],
  13480. loc: {
  13481. start: { line: 1, column: 27 },
  13482. end: { line: 1, column: 32 }
  13483. }
  13484. }, {
  13485. type: 'BreakStatement',
  13486. label: null,
  13487. range: [33, 39],
  13488. loc: {
  13489. start: { line: 1, column: 33 },
  13490. end: { line: 1, column: 39 }
  13491. }
  13492. }],
  13493. range: [18, 39],
  13494. loc: {
  13495. start: { line: 1, column: 18 },
  13496. end: { line: 1, column: 39 }
  13497. }
  13498. }],
  13499. range: [0, 41],
  13500. loc: {
  13501. start: { line: 1, column: 0 },
  13502. end: { line: 1, column: 41 }
  13503. }
  13504. },
  13505. 'switch (answer) { case 42: hi(); break; default: break }': {
  13506. type: 'SwitchStatement',
  13507. discriminant: {
  13508. type: 'Identifier',
  13509. name: 'answer',
  13510. range: [8, 14],
  13511. loc: {
  13512. start: { line: 1, column: 8 },
  13513. end: { line: 1, column: 14 }
  13514. }
  13515. },
  13516. cases: [{
  13517. type: 'SwitchCase',
  13518. test: {
  13519. type: 'Literal',
  13520. value: 42,
  13521. raw: '42',
  13522. range: [23, 25],
  13523. loc: {
  13524. start: { line: 1, column: 23 },
  13525. end: { line: 1, column: 25 }
  13526. }
  13527. },
  13528. consequent: [{
  13529. type: 'ExpressionStatement',
  13530. expression: {
  13531. type: 'CallExpression',
  13532. callee: {
  13533. type: 'Identifier',
  13534. name: 'hi',
  13535. range: [27, 29],
  13536. loc: {
  13537. start: { line: 1, column: 27 },
  13538. end: { line: 1, column: 29 }
  13539. }
  13540. },
  13541. 'arguments': [],
  13542. range: [27, 31],
  13543. loc: {
  13544. start: { line: 1, column: 27 },
  13545. end: { line: 1, column: 31 }
  13546. }
  13547. },
  13548. range: [27, 32],
  13549. loc: {
  13550. start: { line: 1, column: 27 },
  13551. end: { line: 1, column: 32 }
  13552. }
  13553. }, {
  13554. type: 'BreakStatement',
  13555. label: null,
  13556. range: [33, 39],
  13557. loc: {
  13558. start: { line: 1, column: 33 },
  13559. end: { line: 1, column: 39 }
  13560. }
  13561. }],
  13562. range: [18, 39],
  13563. loc: {
  13564. start: { line: 1, column: 18 },
  13565. end: { line: 1, column: 39 }
  13566. }
  13567. }, {
  13568. type: 'SwitchCase',
  13569. test: null,
  13570. consequent: [{
  13571. type: 'BreakStatement',
  13572. label: null,
  13573. range: [49, 55],
  13574. loc: {
  13575. start: { line: 1, column: 49 },
  13576. end: { line: 1, column: 55 }
  13577. }
  13578. }],
  13579. range: [40, 55],
  13580. loc: {
  13581. start: { line: 1, column: 40 },
  13582. end: { line: 1, column: 55 }
  13583. }
  13584. }],
  13585. range: [0, 56],
  13586. loc: {
  13587. start: { line: 1, column: 0 },
  13588. end: { line: 1, column: 56 }
  13589. }
  13590. }
  13591. },
  13592. 'Labelled Statements': {
  13593. 'start: for (;;) break start': {
  13594. type: 'LabeledStatement',
  13595. label: {
  13596. type: 'Identifier',
  13597. name: 'start',
  13598. range: [0, 5],
  13599. loc: {
  13600. start: { line: 1, column: 0 },
  13601. end: { line: 1, column: 5 }
  13602. }
  13603. },
  13604. body: {
  13605. type: 'ForStatement',
  13606. init: null,
  13607. test: null,
  13608. update: null,
  13609. body: {
  13610. type: 'BreakStatement',
  13611. label: {
  13612. type: 'Identifier',
  13613. name: 'start',
  13614. range: [22, 27],
  13615. loc: {
  13616. start: { line: 1, column: 22 },
  13617. end: { line: 1, column: 27 }
  13618. }
  13619. },
  13620. range: [16, 27],
  13621. loc: {
  13622. start: { line: 1, column: 16 },
  13623. end: { line: 1, column: 27 }
  13624. }
  13625. },
  13626. range: [7, 27],
  13627. loc: {
  13628. start: { line: 1, column: 7 },
  13629. end: { line: 1, column: 27 }
  13630. }
  13631. },
  13632. range: [0, 27],
  13633. loc: {
  13634. start: { line: 1, column: 0 },
  13635. end: { line: 1, column: 27 }
  13636. }
  13637. },
  13638. 'start: while (true) break start': {
  13639. type: 'LabeledStatement',
  13640. label: {
  13641. type: 'Identifier',
  13642. name: 'start',
  13643. range: [0, 5],
  13644. loc: {
  13645. start: { line: 1, column: 0 },
  13646. end: { line: 1, column: 5 }
  13647. }
  13648. },
  13649. body: {
  13650. type: 'WhileStatement',
  13651. test: {
  13652. type: 'Literal',
  13653. value: true,
  13654. raw: 'true',
  13655. range: [14, 18],
  13656. loc: {
  13657. start: { line: 1, column: 14 },
  13658. end: { line: 1, column: 18 }
  13659. }
  13660. },
  13661. body: {
  13662. type: 'BreakStatement',
  13663. label: {
  13664. type: 'Identifier',
  13665. name: 'start',
  13666. range: [26, 31],
  13667. loc: {
  13668. start: { line: 1, column: 26 },
  13669. end: { line: 1, column: 31 }
  13670. }
  13671. },
  13672. range: [20, 31],
  13673. loc: {
  13674. start: { line: 1, column: 20 },
  13675. end: { line: 1, column: 31 }
  13676. }
  13677. },
  13678. range: [7, 31],
  13679. loc: {
  13680. start: { line: 1, column: 7 },
  13681. end: { line: 1, column: 31 }
  13682. }
  13683. },
  13684. range: [0, 31],
  13685. loc: {
  13686. start: { line: 1, column: 0 },
  13687. end: { line: 1, column: 31 }
  13688. }
  13689. },
  13690. '__proto__: test': {
  13691. type: 'LabeledStatement',
  13692. label: {
  13693. type: 'Identifier',
  13694. name: '__proto__',
  13695. range: [0, 9],
  13696. loc: {
  13697. start: { line: 1, column: 0 },
  13698. end: { line: 1, column: 9 }
  13699. }
  13700. },
  13701. body: {
  13702. type: 'ExpressionStatement',
  13703. expression: {
  13704. type: 'Identifier',
  13705. name: 'test',
  13706. range: [11, 15],
  13707. loc: {
  13708. start: { line: 1, column: 11 },
  13709. end: { line: 1, column: 15 }
  13710. }
  13711. },
  13712. range: [11, 15],
  13713. loc: {
  13714. start: { line: 1, column: 11 },
  13715. end: { line: 1, column: 15 }
  13716. }
  13717. },
  13718. range: [0, 15],
  13719. loc: {
  13720. start: { line: 1, column: 0 },
  13721. end: { line: 1, column: 15 }
  13722. }
  13723. }
  13724. },
  13725. 'throw statement': {
  13726. 'throw x;': {
  13727. type: 'ThrowStatement',
  13728. argument: {
  13729. type: 'Identifier',
  13730. name: 'x',
  13731. range: [6, 7],
  13732. loc: {
  13733. start: { line: 1, column: 6 },
  13734. end: { line: 1, column: 7 }
  13735. }
  13736. },
  13737. range: [0, 8],
  13738. loc: {
  13739. start: { line: 1, column: 0 },
  13740. end: { line: 1, column: 8 }
  13741. }
  13742. },
  13743. 'throw x * y': {
  13744. type: 'ThrowStatement',
  13745. argument: {
  13746. type: 'BinaryExpression',
  13747. operator: '*',
  13748. left: {
  13749. type: 'Identifier',
  13750. name: 'x',
  13751. range: [6, 7],
  13752. loc: {
  13753. start: { line: 1, column: 6 },
  13754. end: { line: 1, column: 7 }
  13755. }
  13756. },
  13757. right: {
  13758. type: 'Identifier',
  13759. name: 'y',
  13760. range: [10, 11],
  13761. loc: {
  13762. start: { line: 1, column: 10 },
  13763. end: { line: 1, column: 11 }
  13764. }
  13765. },
  13766. range: [6, 11],
  13767. loc: {
  13768. start: { line: 1, column: 6 },
  13769. end: { line: 1, column: 11 }
  13770. }
  13771. },
  13772. range: [0, 11],
  13773. loc: {
  13774. start: { line: 1, column: 0 },
  13775. end: { line: 1, column: 11 }
  13776. }
  13777. },
  13778. 'throw { message: "Error" }': {
  13779. type: 'ThrowStatement',
  13780. argument: {
  13781. type: 'ObjectExpression',
  13782. properties: [{
  13783. type: 'Property',
  13784. key: {
  13785. type: 'Identifier',
  13786. name: 'message',
  13787. range: [8, 15],
  13788. loc: {
  13789. start: { line: 1, column: 8 },
  13790. end: { line: 1, column: 15 }
  13791. }
  13792. },
  13793. value: {
  13794. type: 'Literal',
  13795. value: 'Error',
  13796. raw: '"Error"',
  13797. range: [17, 24],
  13798. loc: {
  13799. start: { line: 1, column: 17 },
  13800. end: { line: 1, column: 24 }
  13801. }
  13802. },
  13803. kind: 'init',
  13804. method: false,
  13805. shorthand: false,
  13806. range: [8, 24],
  13807. loc: {
  13808. start: { line: 1, column: 8 },
  13809. end: { line: 1, column: 24 }
  13810. }
  13811. }],
  13812. range: [6, 26],
  13813. loc: {
  13814. start: { line: 1, column: 6 },
  13815. end: { line: 1, column: 26 }
  13816. }
  13817. },
  13818. range: [0, 26],
  13819. loc: {
  13820. start: { line: 1, column: 0 },
  13821. end: { line: 1, column: 26 }
  13822. }
  13823. }
  13824. },
  13825. 'try statement': {
  13826. 'try { } catch (e) { }': {
  13827. type: 'TryStatement',
  13828. block: {
  13829. type: 'BlockStatement',
  13830. body: [],
  13831. range: [4, 7],
  13832. loc: {
  13833. start: { line: 1, column: 4 },
  13834. end: { line: 1, column: 7 }
  13835. }
  13836. },
  13837. guardedHandlers: [],
  13838. handlers: [{
  13839. type: 'CatchClause',
  13840. param: {
  13841. type: 'Identifier',
  13842. name: 'e',
  13843. range: [15, 16],
  13844. loc: {
  13845. start: { line: 1, column: 15 },
  13846. end: { line: 1, column: 16 }
  13847. }
  13848. },
  13849. body: {
  13850. type: 'BlockStatement',
  13851. body: [],
  13852. range: [18, 21],
  13853. loc: {
  13854. start: { line: 1, column: 18 },
  13855. end: { line: 1, column: 21 }
  13856. }
  13857. },
  13858. range: [8, 21],
  13859. loc: {
  13860. start: { line: 1, column: 8 },
  13861. end: { line: 1, column: 21 }
  13862. }
  13863. }],
  13864. finalizer: null,
  13865. range: [0, 21],
  13866. loc: {
  13867. start: { line: 1, column: 0 },
  13868. end: { line: 1, column: 21 }
  13869. }
  13870. },
  13871. 'try { } catch (eval) { }': {
  13872. type: 'TryStatement',
  13873. block: {
  13874. type: 'BlockStatement',
  13875. body: [],
  13876. range: [4, 7],
  13877. loc: {
  13878. start: { line: 1, column: 4 },
  13879. end: { line: 1, column: 7 }
  13880. }
  13881. },
  13882. guardedHandlers: [],
  13883. handlers: [{
  13884. type: 'CatchClause',
  13885. param: {
  13886. type: 'Identifier',
  13887. name: 'eval',
  13888. range: [15, 19],
  13889. loc: {
  13890. start: { line: 1, column: 15 },
  13891. end: { line: 1, column: 19 }
  13892. }
  13893. },
  13894. body: {
  13895. type: 'BlockStatement',
  13896. body: [],
  13897. range: [21, 24],
  13898. loc: {
  13899. start: { line: 1, column: 21 },
  13900. end: { line: 1, column: 24 }
  13901. }
  13902. },
  13903. range: [8, 24],
  13904. loc: {
  13905. start: { line: 1, column: 8 },
  13906. end: { line: 1, column: 24 }
  13907. }
  13908. }],
  13909. finalizer: null,
  13910. range: [0, 24],
  13911. loc: {
  13912. start: { line: 1, column: 0 },
  13913. end: { line: 1, column: 24 }
  13914. }
  13915. },
  13916. 'try { } catch (arguments) { }': {
  13917. type: 'TryStatement',
  13918. block: {
  13919. type: 'BlockStatement',
  13920. body: [],
  13921. range: [4, 7],
  13922. loc: {
  13923. start: { line: 1, column: 4 },
  13924. end: { line: 1, column: 7 }
  13925. }
  13926. },
  13927. guardedHandlers: [],
  13928. handlers: [{
  13929. type: 'CatchClause',
  13930. param: {
  13931. type: 'Identifier',
  13932. name: 'arguments',
  13933. range: [15, 24],
  13934. loc: {
  13935. start: { line: 1, column: 15 },
  13936. end: { line: 1, column: 24 }
  13937. }
  13938. },
  13939. body: {
  13940. type: 'BlockStatement',
  13941. body: [],
  13942. range: [26, 29],
  13943. loc: {
  13944. start: { line: 1, column: 26 },
  13945. end: { line: 1, column: 29 }
  13946. }
  13947. },
  13948. range: [8, 29],
  13949. loc: {
  13950. start: { line: 1, column: 8 },
  13951. end: { line: 1, column: 29 }
  13952. }
  13953. }],
  13954. finalizer: null,
  13955. range: [0, 29],
  13956. loc: {
  13957. start: { line: 1, column: 0 },
  13958. end: { line: 1, column: 29 }
  13959. }
  13960. },
  13961. 'try { } catch (e) { say(e) }': {
  13962. type: 'TryStatement',
  13963. block: {
  13964. type: 'BlockStatement',
  13965. body: [],
  13966. range: [4, 7],
  13967. loc: {
  13968. start: { line: 1, column: 4 },
  13969. end: { line: 1, column: 7 }
  13970. }
  13971. },
  13972. guardedHandlers: [],
  13973. handlers: [{
  13974. type: 'CatchClause',
  13975. param: {
  13976. type: 'Identifier',
  13977. name: 'e',
  13978. range: [15, 16],
  13979. loc: {
  13980. start: { line: 1, column: 15 },
  13981. end: { line: 1, column: 16 }
  13982. }
  13983. },
  13984. body: {
  13985. type: 'BlockStatement',
  13986. body: [{
  13987. type: 'ExpressionStatement',
  13988. expression: {
  13989. type: 'CallExpression',
  13990. callee: {
  13991. type: 'Identifier',
  13992. name: 'say',
  13993. range: [20, 23],
  13994. loc: {
  13995. start: { line: 1, column: 20 },
  13996. end: { line: 1, column: 23 }
  13997. }
  13998. },
  13999. 'arguments': [{
  14000. type: 'Identifier',
  14001. name: 'e',
  14002. range: [24, 25],
  14003. loc: {
  14004. start: { line: 1, column: 24 },
  14005. end: { line: 1, column: 25 }
  14006. }
  14007. }],
  14008. range: [20, 26],
  14009. loc: {
  14010. start: { line: 1, column: 20 },
  14011. end: { line: 1, column: 26 }
  14012. }
  14013. },
  14014. range: [20, 27],
  14015. loc: {
  14016. start: { line: 1, column: 20 },
  14017. end: { line: 1, column: 27 }
  14018. }
  14019. }],
  14020. range: [18, 28],
  14021. loc: {
  14022. start: { line: 1, column: 18 },
  14023. end: { line: 1, column: 28 }
  14024. }
  14025. },
  14026. range: [8, 28],
  14027. loc: {
  14028. start: { line: 1, column: 8 },
  14029. end: { line: 1, column: 28 }
  14030. }
  14031. }],
  14032. finalizer: null,
  14033. range: [0, 28],
  14034. loc: {
  14035. start: { line: 1, column: 0 },
  14036. end: { line: 1, column: 28 }
  14037. }
  14038. },
  14039. 'try { } finally { cleanup(stuff) }': {
  14040. type: 'TryStatement',
  14041. block: {
  14042. type: 'BlockStatement',
  14043. body: [],
  14044. range: [4, 7],
  14045. loc: {
  14046. start: { line: 1, column: 4 },
  14047. end: { line: 1, column: 7 }
  14048. }
  14049. },
  14050. guardedHandlers: [],
  14051. handlers: [],
  14052. finalizer: {
  14053. type: 'BlockStatement',
  14054. body: [{
  14055. type: 'ExpressionStatement',
  14056. expression: {
  14057. type: 'CallExpression',
  14058. callee: {
  14059. type: 'Identifier',
  14060. name: 'cleanup',
  14061. range: [18, 25],
  14062. loc: {
  14063. start: { line: 1, column: 18 },
  14064. end: { line: 1, column: 25 }
  14065. }
  14066. },
  14067. 'arguments': [{
  14068. type: 'Identifier',
  14069. name: 'stuff',
  14070. range: [26, 31],
  14071. loc: {
  14072. start: { line: 1, column: 26 },
  14073. end: { line: 1, column: 31 }
  14074. }
  14075. }],
  14076. range: [18, 32],
  14077. loc: {
  14078. start: { line: 1, column: 18 },
  14079. end: { line: 1, column: 32 }
  14080. }
  14081. },
  14082. range: [18, 33],
  14083. loc: {
  14084. start: { line: 1, column: 18 },
  14085. end: { line: 1, column: 33 }
  14086. }
  14087. }],
  14088. range: [16, 34],
  14089. loc: {
  14090. start: { line: 1, column: 16 },
  14091. end: { line: 1, column: 34 }
  14092. }
  14093. },
  14094. range: [0, 34],
  14095. loc: {
  14096. start: { line: 1, column: 0 },
  14097. end: { line: 1, column: 34 }
  14098. }
  14099. },
  14100. 'try { doThat(); } catch (e) { say(e) }': {
  14101. type: 'TryStatement',
  14102. block: {
  14103. type: 'BlockStatement',
  14104. body: [{
  14105. type: 'ExpressionStatement',
  14106. expression: {
  14107. type: 'CallExpression',
  14108. callee: {
  14109. type: 'Identifier',
  14110. name: 'doThat',
  14111. range: [6, 12],
  14112. loc: {
  14113. start: { line: 1, column: 6 },
  14114. end: { line: 1, column: 12 }
  14115. }
  14116. },
  14117. 'arguments': [],
  14118. range: [6, 14],
  14119. loc: {
  14120. start: { line: 1, column: 6 },
  14121. end: { line: 1, column: 14 }
  14122. }
  14123. },
  14124. range: [6, 15],
  14125. loc: {
  14126. start: { line: 1, column: 6 },
  14127. end: { line: 1, column: 15 }
  14128. }
  14129. }],
  14130. range: [4, 17],
  14131. loc: {
  14132. start: { line: 1, column: 4 },
  14133. end: { line: 1, column: 17 }
  14134. }
  14135. },
  14136. guardedHandlers: [],
  14137. handlers: [{
  14138. type: 'CatchClause',
  14139. param: {
  14140. type: 'Identifier',
  14141. name: 'e',
  14142. range: [25, 26],
  14143. loc: {
  14144. start: { line: 1, column: 25 },
  14145. end: { line: 1, column: 26 }
  14146. }
  14147. },
  14148. body: {
  14149. type: 'BlockStatement',
  14150. body: [{
  14151. type: 'ExpressionStatement',
  14152. expression: {
  14153. type: 'CallExpression',
  14154. callee: {
  14155. type: 'Identifier',
  14156. name: 'say',
  14157. range: [30, 33],
  14158. loc: {
  14159. start: { line: 1, column: 30 },
  14160. end: { line: 1, column: 33 }
  14161. }
  14162. },
  14163. 'arguments': [{
  14164. type: 'Identifier',
  14165. name: 'e',
  14166. range: [34, 35],
  14167. loc: {
  14168. start: { line: 1, column: 34 },
  14169. end: { line: 1, column: 35 }
  14170. }
  14171. }],
  14172. range: [30, 36],
  14173. loc: {
  14174. start: { line: 1, column: 30 },
  14175. end: { line: 1, column: 36 }
  14176. }
  14177. },
  14178. range: [30, 37],
  14179. loc: {
  14180. start: { line: 1, column: 30 },
  14181. end: { line: 1, column: 37 }
  14182. }
  14183. }],
  14184. range: [28, 38],
  14185. loc: {
  14186. start: { line: 1, column: 28 },
  14187. end: { line: 1, column: 38 }
  14188. }
  14189. },
  14190. range: [18, 38],
  14191. loc: {
  14192. start: { line: 1, column: 18 },
  14193. end: { line: 1, column: 38 }
  14194. }
  14195. }],
  14196. finalizer: null,
  14197. range: [0, 38],
  14198. loc: {
  14199. start: { line: 1, column: 0 },
  14200. end: { line: 1, column: 38 }
  14201. }
  14202. },
  14203. 'try { doThat(); } catch (e) { say(e) } finally { cleanup(stuff) }': {
  14204. type: 'TryStatement',
  14205. block: {
  14206. type: 'BlockStatement',
  14207. body: [{
  14208. type: 'ExpressionStatement',
  14209. expression: {
  14210. type: 'CallExpression',
  14211. callee: {
  14212. type: 'Identifier',
  14213. name: 'doThat',
  14214. range: [6, 12],
  14215. loc: {
  14216. start: { line: 1, column: 6 },
  14217. end: { line: 1, column: 12 }
  14218. }
  14219. },
  14220. 'arguments': [],
  14221. range: [6, 14],
  14222. loc: {
  14223. start: { line: 1, column: 6 },
  14224. end: { line: 1, column: 14 }
  14225. }
  14226. },
  14227. range: [6, 15],
  14228. loc: {
  14229. start: { line: 1, column: 6 },
  14230. end: { line: 1, column: 15 }
  14231. }
  14232. }],
  14233. range: [4, 17],
  14234. loc: {
  14235. start: { line: 1, column: 4 },
  14236. end: { line: 1, column: 17 }
  14237. }
  14238. },
  14239. guardedHandlers: [],
  14240. handlers: [{
  14241. type: 'CatchClause',
  14242. param: {
  14243. type: 'Identifier',
  14244. name: 'e',
  14245. range: [25, 26],
  14246. loc: {
  14247. start: { line: 1, column: 25 },
  14248. end: { line: 1, column: 26 }
  14249. }
  14250. },
  14251. body: {
  14252. type: 'BlockStatement',
  14253. body: [{
  14254. type: 'ExpressionStatement',
  14255. expression: {
  14256. type: 'CallExpression',
  14257. callee: {
  14258. type: 'Identifier',
  14259. name: 'say',
  14260. range: [30, 33],
  14261. loc: {
  14262. start: { line: 1, column: 30 },
  14263. end: { line: 1, column: 33 }
  14264. }
  14265. },
  14266. 'arguments': [{
  14267. type: 'Identifier',
  14268. name: 'e',
  14269. range: [34, 35],
  14270. loc: {
  14271. start: { line: 1, column: 34 },
  14272. end: { line: 1, column: 35 }
  14273. }
  14274. }],
  14275. range: [30, 36],
  14276. loc: {
  14277. start: { line: 1, column: 30 },
  14278. end: { line: 1, column: 36 }
  14279. }
  14280. },
  14281. range: [30, 37],
  14282. loc: {
  14283. start: { line: 1, column: 30 },
  14284. end: { line: 1, column: 37 }
  14285. }
  14286. }],
  14287. range: [28, 38],
  14288. loc: {
  14289. start: { line: 1, column: 28 },
  14290. end: { line: 1, column: 38 }
  14291. }
  14292. },
  14293. range: [18, 38],
  14294. loc: {
  14295. start: { line: 1, column: 18 },
  14296. end: { line: 1, column: 38 }
  14297. }
  14298. }],
  14299. finalizer: {
  14300. type: 'BlockStatement',
  14301. body: [{
  14302. type: 'ExpressionStatement',
  14303. expression: {
  14304. type: 'CallExpression',
  14305. callee: {
  14306. type: 'Identifier',
  14307. name: 'cleanup',
  14308. range: [49, 56],
  14309. loc: {
  14310. start: { line: 1, column: 49 },
  14311. end: { line: 1, column: 56 }
  14312. }
  14313. },
  14314. 'arguments': [{
  14315. type: 'Identifier',
  14316. name: 'stuff',
  14317. range: [57, 62],
  14318. loc: {
  14319. start: { line: 1, column: 57 },
  14320. end: { line: 1, column: 62 }
  14321. }
  14322. }],
  14323. range: [49, 63],
  14324. loc: {
  14325. start: { line: 1, column: 49 },
  14326. end: { line: 1, column: 63 }
  14327. }
  14328. },
  14329. range: [49, 64],
  14330. loc: {
  14331. start: { line: 1, column: 49 },
  14332. end: { line: 1, column: 64 }
  14333. }
  14334. }],
  14335. range: [47, 65],
  14336. loc: {
  14337. start: { line: 1, column: 47 },
  14338. end: { line: 1, column: 65 }
  14339. }
  14340. },
  14341. range: [0, 65],
  14342. loc: {
  14343. start: { line: 1, column: 0 },
  14344. end: { line: 1, column: 65 }
  14345. }
  14346. }
  14347. },
  14348. 'debugger statement': {
  14349. 'debugger;': {
  14350. type: 'DebuggerStatement',
  14351. range: [0, 9],
  14352. loc: {
  14353. start: { line: 1, column: 0 },
  14354. end: { line: 1, column: 9 }
  14355. }
  14356. }
  14357. },
  14358. 'Function Definition': {
  14359. 'function hello() { sayHi(); }': {
  14360. type: 'FunctionDeclaration',
  14361. id: {
  14362. type: 'Identifier',
  14363. name: 'hello',
  14364. range: [9, 14],
  14365. loc: {
  14366. start: { line: 1, column: 9 },
  14367. end: { line: 1, column: 14 }
  14368. }
  14369. },
  14370. params: [],
  14371. defaults: [],
  14372. body: {
  14373. type: 'BlockStatement',
  14374. body: [{
  14375. type: 'ExpressionStatement',
  14376. expression: {
  14377. type: 'CallExpression',
  14378. callee: {
  14379. type: 'Identifier',
  14380. name: 'sayHi',
  14381. range: [19, 24],
  14382. loc: {
  14383. start: { line: 1, column: 19 },
  14384. end: { line: 1, column: 24 }
  14385. }
  14386. },
  14387. 'arguments': [],
  14388. range: [19, 26],
  14389. loc: {
  14390. start: { line: 1, column: 19 },
  14391. end: { line: 1, column: 26 }
  14392. }
  14393. },
  14394. range: [19, 27],
  14395. loc: {
  14396. start: { line: 1, column: 19 },
  14397. end: { line: 1, column: 27 }
  14398. }
  14399. }],
  14400. range: [17, 29],
  14401. loc: {
  14402. start: { line: 1, column: 17 },
  14403. end: { line: 1, column: 29 }
  14404. }
  14405. },
  14406. rest: null,
  14407. generator: false,
  14408. expression: false,
  14409. range: [0, 29],
  14410. loc: {
  14411. start: { line: 1, column: 0 },
  14412. end: { line: 1, column: 29 }
  14413. }
  14414. },
  14415. 'function eval() { }': {
  14416. type: 'FunctionDeclaration',
  14417. id: {
  14418. type: 'Identifier',
  14419. name: 'eval',
  14420. range: [9, 13],
  14421. loc: {
  14422. start: { line: 1, column: 9 },
  14423. end: { line: 1, column: 13 }
  14424. }
  14425. },
  14426. params: [],
  14427. defaults: [],
  14428. body: {
  14429. type: 'BlockStatement',
  14430. body: [],
  14431. range: [16, 19],
  14432. loc: {
  14433. start: { line: 1, column: 16 },
  14434. end: { line: 1, column: 19 }
  14435. }
  14436. },
  14437. rest: null,
  14438. generator: false,
  14439. expression: false,
  14440. range: [0, 19],
  14441. loc: {
  14442. start: { line: 1, column: 0 },
  14443. end: { line: 1, column: 19 }
  14444. }
  14445. },
  14446. 'function arguments() { }': {
  14447. type: 'FunctionDeclaration',
  14448. id: {
  14449. type: 'Identifier',
  14450. name: 'arguments',
  14451. range: [9, 18],
  14452. loc: {
  14453. start: { line: 1, column: 9 },
  14454. end: { line: 1, column: 18 }
  14455. }
  14456. },
  14457. params: [],
  14458. defaults: [],
  14459. body: {
  14460. type: 'BlockStatement',
  14461. body: [],
  14462. range: [21, 24],
  14463. loc: {
  14464. start: { line: 1, column: 21 },
  14465. end: { line: 1, column: 24 }
  14466. }
  14467. },
  14468. rest: null,
  14469. generator: false,
  14470. expression: false,
  14471. range: [0, 24],
  14472. loc: {
  14473. start: { line: 1, column: 0 },
  14474. end: { line: 1, column: 24 }
  14475. }
  14476. },
  14477. 'function test(t, t) { }': {
  14478. type: 'FunctionDeclaration',
  14479. id: {
  14480. type: 'Identifier',
  14481. name: 'test',
  14482. range: [9, 13],
  14483. loc: {
  14484. start: { line: 1, column: 9 },
  14485. end: { line: 1, column: 13 }
  14486. }
  14487. },
  14488. params: [{
  14489. type: 'Identifier',
  14490. name: 't',
  14491. range: [14, 15],
  14492. loc: {
  14493. start: { line: 1, column: 14 },
  14494. end: { line: 1, column: 15 }
  14495. }
  14496. }, {
  14497. type: 'Identifier',
  14498. name: 't',
  14499. range: [17, 18],
  14500. loc: {
  14501. start: { line: 1, column: 17 },
  14502. end: { line: 1, column: 18 }
  14503. }
  14504. }],
  14505. defaults: [],
  14506. body: {
  14507. type: 'BlockStatement',
  14508. body: [],
  14509. range: [20, 23],
  14510. loc: {
  14511. start: { line: 1, column: 20 },
  14512. end: { line: 1, column: 23 }
  14513. }
  14514. },
  14515. rest: null,
  14516. generator: false,
  14517. expression: false,
  14518. range: [0, 23],
  14519. loc: {
  14520. start: { line: 1, column: 0 },
  14521. end: { line: 1, column: 23 }
  14522. }
  14523. },
  14524. '(function test(t, t) { })': {
  14525. type: 'ExpressionStatement',
  14526. expression: {
  14527. type: 'FunctionExpression',
  14528. id: {
  14529. type: 'Identifier',
  14530. name: 'test',
  14531. range: [10, 14],
  14532. loc: {
  14533. start: { line: 1, column: 10 },
  14534. end: { line: 1, column: 14 }
  14535. }
  14536. },
  14537. params: [{
  14538. type: 'Identifier',
  14539. name: 't',
  14540. range: [15, 16],
  14541. loc: {
  14542. start: { line: 1, column: 15 },
  14543. end: { line: 1, column: 16 }
  14544. }
  14545. }, {
  14546. type: 'Identifier',
  14547. name: 't',
  14548. range: [18, 19],
  14549. loc: {
  14550. start: { line: 1, column: 18 },
  14551. end: { line: 1, column: 19 }
  14552. }
  14553. }],
  14554. defaults: [],
  14555. body: {
  14556. type: 'BlockStatement',
  14557. body: [],
  14558. range: [21, 24],
  14559. loc: {
  14560. start: { line: 1, column: 21 },
  14561. end: { line: 1, column: 24 }
  14562. }
  14563. },
  14564. rest: null,
  14565. generator: false,
  14566. expression: false,
  14567. range: [1, 24],
  14568. loc: {
  14569. start: { line: 1, column: 1 },
  14570. end: { line: 1, column: 24 }
  14571. }
  14572. },
  14573. range: [0, 25],
  14574. loc: {
  14575. start: { line: 1, column: 0 },
  14576. end: { line: 1, column: 25 }
  14577. }
  14578. },
  14579. 'function eval() { function inner() { "use strict" } }': {
  14580. type: 'FunctionDeclaration',
  14581. id: {
  14582. type: 'Identifier',
  14583. name: 'eval',
  14584. range: [9, 13],
  14585. loc: {
  14586. start: { line: 1, column: 9 },
  14587. end: { line: 1, column: 13 }
  14588. }
  14589. },
  14590. params: [],
  14591. defaults: [],
  14592. body: {
  14593. type: 'BlockStatement',
  14594. body: [{
  14595. type: 'FunctionDeclaration',
  14596. id: {
  14597. type: 'Identifier',
  14598. name: 'inner',
  14599. range: [27, 32],
  14600. loc: {
  14601. start: { line: 1, column: 27 },
  14602. end: { line: 1, column: 32 }
  14603. }
  14604. },
  14605. params: [],
  14606. defaults: [],
  14607. body: {
  14608. type: 'BlockStatement',
  14609. body: [{
  14610. type: 'ExpressionStatement',
  14611. expression: {
  14612. type: 'Literal',
  14613. value: 'use strict',
  14614. raw: '\"use strict\"',
  14615. range: [37, 49],
  14616. loc: {
  14617. start: { line: 1, column: 37 },
  14618. end: { line: 1, column: 49 }
  14619. }
  14620. },
  14621. range: [37, 50],
  14622. loc: {
  14623. start: { line: 1, column: 37 },
  14624. end: { line: 1, column: 50 }
  14625. }
  14626. }],
  14627. range: [35, 51],
  14628. loc: {
  14629. start: { line: 1, column: 35 },
  14630. end: { line: 1, column: 51 }
  14631. }
  14632. },
  14633. rest: null,
  14634. generator: false,
  14635. expression: false,
  14636. range: [18, 51],
  14637. loc: {
  14638. start: { line: 1, column: 18 },
  14639. end: { line: 1, column: 51 }
  14640. }
  14641. }],
  14642. range: [16, 53],
  14643. loc: {
  14644. start: { line: 1, column: 16 },
  14645. end: { line: 1, column: 53 }
  14646. }
  14647. },
  14648. rest: null,
  14649. generator: false,
  14650. expression: false,
  14651. range: [0, 53],
  14652. loc: {
  14653. start: { line: 1, column: 0 },
  14654. end: { line: 1, column: 53 }
  14655. }
  14656. },
  14657. 'function hello(a) { sayHi(); }': {
  14658. type: 'FunctionDeclaration',
  14659. id: {
  14660. type: 'Identifier',
  14661. name: 'hello',
  14662. range: [9, 14],
  14663. loc: {
  14664. start: { line: 1, column: 9 },
  14665. end: { line: 1, column: 14 }
  14666. }
  14667. },
  14668. params: [{
  14669. type: 'Identifier',
  14670. name: 'a',
  14671. range: [15, 16],
  14672. loc: {
  14673. start: { line: 1, column: 15 },
  14674. end: { line: 1, column: 16 }
  14675. }
  14676. }],
  14677. defaults: [],
  14678. body: {
  14679. type: 'BlockStatement',
  14680. body: [{
  14681. type: 'ExpressionStatement',
  14682. expression: {
  14683. type: 'CallExpression',
  14684. callee: {
  14685. type: 'Identifier',
  14686. name: 'sayHi',
  14687. range: [20, 25],
  14688. loc: {
  14689. start: { line: 1, column: 20 },
  14690. end: { line: 1, column: 25 }
  14691. }
  14692. },
  14693. 'arguments': [],
  14694. range: [20, 27],
  14695. loc: {
  14696. start: { line: 1, column: 20 },
  14697. end: { line: 1, column: 27 }
  14698. }
  14699. },
  14700. range: [20, 28],
  14701. loc: {
  14702. start: { line: 1, column: 20 },
  14703. end: { line: 1, column: 28 }
  14704. }
  14705. }],
  14706. range: [18, 30],
  14707. loc: {
  14708. start: { line: 1, column: 18 },
  14709. end: { line: 1, column: 30 }
  14710. }
  14711. },
  14712. rest: null,
  14713. generator: false,
  14714. expression: false,
  14715. range: [0, 30],
  14716. loc: {
  14717. start: { line: 1, column: 0 },
  14718. end: { line: 1, column: 30 }
  14719. }
  14720. },
  14721. 'function hello(a, b) { sayHi(); }': {
  14722. type: 'FunctionDeclaration',
  14723. id: {
  14724. type: 'Identifier',
  14725. name: 'hello',
  14726. range: [9, 14],
  14727. loc: {
  14728. start: { line: 1, column: 9 },
  14729. end: { line: 1, column: 14 }
  14730. }
  14731. },
  14732. params: [{
  14733. type: 'Identifier',
  14734. name: 'a',
  14735. range: [15, 16],
  14736. loc: {
  14737. start: { line: 1, column: 15 },
  14738. end: { line: 1, column: 16 }
  14739. }
  14740. }, {
  14741. type: 'Identifier',
  14742. name: 'b',
  14743. range: [18, 19],
  14744. loc: {
  14745. start: { line: 1, column: 18 },
  14746. end: { line: 1, column: 19 }
  14747. }
  14748. }],
  14749. defaults: [],
  14750. body: {
  14751. type: 'BlockStatement',
  14752. body: [{
  14753. type: 'ExpressionStatement',
  14754. expression: {
  14755. type: 'CallExpression',
  14756. callee: {
  14757. type: 'Identifier',
  14758. name: 'sayHi',
  14759. range: [23, 28],
  14760. loc: {
  14761. start: { line: 1, column: 23 },
  14762. end: { line: 1, column: 28 }
  14763. }
  14764. },
  14765. 'arguments': [],
  14766. range: [23, 30],
  14767. loc: {
  14768. start: { line: 1, column: 23 },
  14769. end: { line: 1, column: 30 }
  14770. }
  14771. },
  14772. range: [23, 31],
  14773. loc: {
  14774. start: { line: 1, column: 23 },
  14775. end: { line: 1, column: 31 }
  14776. }
  14777. }],
  14778. range: [21, 33],
  14779. loc: {
  14780. start: { line: 1, column: 21 },
  14781. end: { line: 1, column: 33 }
  14782. }
  14783. },
  14784. rest: null,
  14785. generator: false,
  14786. expression: false,
  14787. range: [0, 33],
  14788. loc: {
  14789. start: { line: 1, column: 0 },
  14790. end: { line: 1, column: 33 }
  14791. }
  14792. },
  14793. 'var hi = function() { sayHi() };': {
  14794. type: 'VariableDeclaration',
  14795. declarations: [{
  14796. type: 'VariableDeclarator',
  14797. id: {
  14798. type: 'Identifier',
  14799. name: 'hi',
  14800. range: [4, 6],
  14801. loc: {
  14802. start: { line: 1, column: 4 },
  14803. end: { line: 1, column: 6 }
  14804. }
  14805. },
  14806. init: {
  14807. type: 'FunctionExpression',
  14808. id: null,
  14809. params: [],
  14810. defaults: [],
  14811. body: {
  14812. type: 'BlockStatement',
  14813. body: [{
  14814. type: 'ExpressionStatement',
  14815. expression: {
  14816. type: 'CallExpression',
  14817. callee: {
  14818. type: 'Identifier',
  14819. name: 'sayHi',
  14820. range: [22, 27],
  14821. loc: {
  14822. start: { line: 1, column: 22 },
  14823. end: { line: 1, column: 27 }
  14824. }
  14825. },
  14826. 'arguments': [],
  14827. range: [22, 29],
  14828. loc: {
  14829. start: { line: 1, column: 22 },
  14830. end: { line: 1, column: 29 }
  14831. }
  14832. },
  14833. range: [22, 30],
  14834. loc: {
  14835. start: { line: 1, column: 22 },
  14836. end: { line: 1, column: 30 }
  14837. }
  14838. }],
  14839. range: [20, 31],
  14840. loc: {
  14841. start: { line: 1, column: 20 },
  14842. end: { line: 1, column: 31 }
  14843. }
  14844. },
  14845. rest: null,
  14846. generator: false,
  14847. expression: false,
  14848. range: [9, 31],
  14849. loc: {
  14850. start: { line: 1, column: 9 },
  14851. end: { line: 1, column: 31 }
  14852. }
  14853. },
  14854. range: [4, 31],
  14855. loc: {
  14856. start: { line: 1, column: 4 },
  14857. end: { line: 1, column: 31 }
  14858. }
  14859. }],
  14860. kind: 'var',
  14861. range: [0, 32],
  14862. loc: {
  14863. start: { line: 1, column: 0 },
  14864. end: { line: 1, column: 32 }
  14865. }
  14866. },
  14867. 'var hi = function eval() { };': {
  14868. type: 'VariableDeclaration',
  14869. declarations: [{
  14870. type: 'VariableDeclarator',
  14871. id: {
  14872. type: 'Identifier',
  14873. name: 'hi',
  14874. range: [4, 6],
  14875. loc: {
  14876. start: { line: 1, column: 4 },
  14877. end: { line: 1, column: 6 }
  14878. }
  14879. },
  14880. init: {
  14881. type: 'FunctionExpression',
  14882. id: {
  14883. type: 'Identifier',
  14884. name: 'eval',
  14885. range: [18, 22],
  14886. loc: {
  14887. start: { line: 1, column: 18 },
  14888. end: { line: 1, column: 22 }
  14889. }
  14890. },
  14891. params: [],
  14892. defaults: [],
  14893. body: {
  14894. type: 'BlockStatement',
  14895. body: [],
  14896. range: [25, 28],
  14897. loc: {
  14898. start: { line: 1, column: 25 },
  14899. end: { line: 1, column: 28 }
  14900. }
  14901. },
  14902. rest: null,
  14903. generator: false,
  14904. expression: false,
  14905. range: [9, 28],
  14906. loc: {
  14907. start: { line: 1, column: 9 },
  14908. end: { line: 1, column: 28 }
  14909. }
  14910. },
  14911. range: [4, 28],
  14912. loc: {
  14913. start: { line: 1, column: 4 },
  14914. end: { line: 1, column: 28 }
  14915. }
  14916. }],
  14917. kind: 'var',
  14918. range: [0, 29],
  14919. loc: {
  14920. start: { line: 1, column: 0 },
  14921. end: { line: 1, column: 29 }
  14922. }
  14923. },
  14924. 'var hi = function arguments() { };': {
  14925. type: 'VariableDeclaration',
  14926. declarations: [{
  14927. type: 'VariableDeclarator',
  14928. id: {
  14929. type: 'Identifier',
  14930. name: 'hi',
  14931. range: [4, 6],
  14932. loc: {
  14933. start: { line: 1, column: 4 },
  14934. end: { line: 1, column: 6 }
  14935. }
  14936. },
  14937. init: {
  14938. type: 'FunctionExpression',
  14939. id: {
  14940. type: 'Identifier',
  14941. name: 'arguments',
  14942. range: [18, 27],
  14943. loc: {
  14944. start: { line: 1, column: 18 },
  14945. end: { line: 1, column: 27 }
  14946. }
  14947. },
  14948. params: [],
  14949. defaults: [],
  14950. body: {
  14951. type: 'BlockStatement',
  14952. body: [],
  14953. range: [30, 33],
  14954. loc: {
  14955. start: { line: 1, column: 30 },
  14956. end: { line: 1, column: 33 }
  14957. }
  14958. },
  14959. rest: null,
  14960. generator: false,
  14961. expression: false,
  14962. range: [9, 33],
  14963. loc: {
  14964. start: { line: 1, column: 9 },
  14965. end: { line: 1, column: 33 }
  14966. }
  14967. },
  14968. range: [4, 33],
  14969. loc: {
  14970. start: { line: 1, column: 4 },
  14971. end: { line: 1, column: 33 }
  14972. }
  14973. }],
  14974. kind: 'var',
  14975. range: [0, 34],
  14976. loc: {
  14977. start: { line: 1, column: 0 },
  14978. end: { line: 1, column: 34 }
  14979. }
  14980. },
  14981. 'var hello = function hi() { sayHi() };': {
  14982. type: 'VariableDeclaration',
  14983. declarations: [{
  14984. type: 'VariableDeclarator',
  14985. id: {
  14986. type: 'Identifier',
  14987. name: 'hello',
  14988. range: [4, 9],
  14989. loc: {
  14990. start: { line: 1, column: 4 },
  14991. end: { line: 1, column: 9 }
  14992. }
  14993. },
  14994. init: {
  14995. type: 'FunctionExpression',
  14996. id: {
  14997. type: 'Identifier',
  14998. name: 'hi',
  14999. range: [21, 23],
  15000. loc: {
  15001. start: { line: 1, column: 21 },
  15002. end: { line: 1, column: 23 }
  15003. }
  15004. },
  15005. params: [],
  15006. defaults: [],
  15007. body: {
  15008. type: 'BlockStatement',
  15009. body: [{
  15010. type: 'ExpressionStatement',
  15011. expression: {
  15012. type: 'CallExpression',
  15013. callee: {
  15014. type: 'Identifier',
  15015. name: 'sayHi',
  15016. range: [28, 33],
  15017. loc: {
  15018. start: { line: 1, column: 28 },
  15019. end: { line: 1, column: 33 }
  15020. }
  15021. },
  15022. 'arguments': [],
  15023. range: [28, 35],
  15024. loc: {
  15025. start: { line: 1, column: 28 },
  15026. end: { line: 1, column: 35 }
  15027. }
  15028. },
  15029. range: [28, 36],
  15030. loc: {
  15031. start: { line: 1, column: 28 },
  15032. end: { line: 1, column: 36 }
  15033. }
  15034. }],
  15035. range: [26, 37],
  15036. loc: {
  15037. start: { line: 1, column: 26 },
  15038. end: { line: 1, column: 37 }
  15039. }
  15040. },
  15041. rest: null,
  15042. generator: false,
  15043. expression: false,
  15044. range: [12, 37],
  15045. loc: {
  15046. start: { line: 1, column: 12 },
  15047. end: { line: 1, column: 37 }
  15048. }
  15049. },
  15050. range: [4, 37],
  15051. loc: {
  15052. start: { line: 1, column: 4 },
  15053. end: { line: 1, column: 37 }
  15054. }
  15055. }],
  15056. kind: 'var',
  15057. range: [0, 38],
  15058. loc: {
  15059. start: { line: 1, column: 0 },
  15060. end: { line: 1, column: 38 }
  15061. }
  15062. },
  15063. '(function(){})': {
  15064. type: 'ExpressionStatement',
  15065. expression: {
  15066. type: 'FunctionExpression',
  15067. id: null,
  15068. params: [],
  15069. defaults: [],
  15070. body: {
  15071. type: 'BlockStatement',
  15072. body: [],
  15073. range: [11, 13],
  15074. loc: {
  15075. start: { line: 1, column: 11 },
  15076. end: { line: 1, column: 13 }
  15077. }
  15078. },
  15079. rest: null,
  15080. generator: false,
  15081. expression: false,
  15082. range: [1, 13],
  15083. loc: {
  15084. start: { line: 1, column: 1 },
  15085. end: { line: 1, column: 13 }
  15086. }
  15087. },
  15088. range: [0, 14],
  15089. loc: {
  15090. start: { line: 1, column: 0 },
  15091. end: { line: 1, column: 14 }
  15092. }
  15093. },
  15094. 'function universe(__proto__) { }': {
  15095. type: 'FunctionDeclaration',
  15096. id: {
  15097. type: 'Identifier',
  15098. name: 'universe',
  15099. range: [9, 17],
  15100. loc: {
  15101. start: { line: 1, column: 9 },
  15102. end: { line: 1, column: 17 }
  15103. }
  15104. },
  15105. params: [{
  15106. type: 'Identifier',
  15107. name: '__proto__',
  15108. range: [18, 27],
  15109. loc: {
  15110. start: { line: 1, column: 18 },
  15111. end: { line: 1, column: 27 }
  15112. }
  15113. }],
  15114. defaults: [],
  15115. body: {
  15116. type: 'BlockStatement',
  15117. body: [],
  15118. range: [29, 32],
  15119. loc: {
  15120. start: { line: 1, column: 29 },
  15121. end: { line: 1, column: 32 }
  15122. }
  15123. },
  15124. rest: null,
  15125. generator: false,
  15126. expression: false,
  15127. range: [0, 32],
  15128. loc: {
  15129. start: { line: 1, column: 0 },
  15130. end: { line: 1, column: 32 }
  15131. }
  15132. },
  15133. 'function test() { "use strict" + 42; }': {
  15134. type: 'FunctionDeclaration',
  15135. id: {
  15136. type: 'Identifier',
  15137. name: 'test',
  15138. range: [9, 13],
  15139. loc: {
  15140. start: { line: 1, column: 9 },
  15141. end: { line: 1, column: 13 }
  15142. }
  15143. },
  15144. params: [],
  15145. defaults: [],
  15146. body: {
  15147. type: 'BlockStatement',
  15148. body: [{
  15149. type: 'ExpressionStatement',
  15150. expression: {
  15151. type: 'BinaryExpression',
  15152. operator: '+',
  15153. left: {
  15154. type: 'Literal',
  15155. value: 'use strict',
  15156. raw: '"use strict"',
  15157. range: [18, 30],
  15158. loc: {
  15159. start: { line: 1, column: 18 },
  15160. end: { line: 1, column: 30 }
  15161. }
  15162. },
  15163. right: {
  15164. type: 'Literal',
  15165. value: 42,
  15166. raw: '42',
  15167. range: [33, 35],
  15168. loc: {
  15169. start: { line: 1, column: 33 },
  15170. end: { line: 1, column: 35 }
  15171. }
  15172. },
  15173. range: [18, 35],
  15174. loc: {
  15175. start: { line: 1, column: 18 },
  15176. end: { line: 1, column: 35 }
  15177. }
  15178. },
  15179. range: [18, 36],
  15180. loc: {
  15181. start: { line: 1, column: 18 },
  15182. end: { line: 1, column: 36 }
  15183. }
  15184. }],
  15185. range: [16, 38],
  15186. loc: {
  15187. start: { line: 1, column: 16 },
  15188. end: { line: 1, column: 38 }
  15189. }
  15190. },
  15191. rest: null,
  15192. generator: false,
  15193. expression: false,
  15194. range: [0, 38],
  15195. loc: {
  15196. start: { line: 1, column: 0 },
  15197. end: { line: 1, column: 38 }
  15198. }
  15199. }
  15200. },
  15201. 'Automatic semicolon insertion': {
  15202. '{ x\n++y }': {
  15203. type: 'BlockStatement',
  15204. body: [{
  15205. type: 'ExpressionStatement',
  15206. expression: {
  15207. type: 'Identifier',
  15208. name: 'x',
  15209. range: [2, 3],
  15210. loc: {
  15211. start: { line: 1, column: 2 },
  15212. end: { line: 1, column: 3 }
  15213. }
  15214. },
  15215. range: [2, 4],
  15216. loc: {
  15217. start: { line: 1, column: 2 },
  15218. end: { line: 2, column: 0 }
  15219. }
  15220. }, {
  15221. type: 'ExpressionStatement',
  15222. expression: {
  15223. type: 'UpdateExpression',
  15224. operator: '++',
  15225. argument: {
  15226. type: 'Identifier',
  15227. name: 'y',
  15228. range: [6, 7],
  15229. loc: {
  15230. start: { line: 2, column: 2 },
  15231. end: { line: 2, column: 3 }
  15232. }
  15233. },
  15234. prefix: true,
  15235. range: [4, 7],
  15236. loc: {
  15237. start: { line: 2, column: 0 },
  15238. end: { line: 2, column: 3 }
  15239. }
  15240. },
  15241. range: [4, 8],
  15242. loc: {
  15243. start: { line: 2, column: 0 },
  15244. end: { line: 2, column: 4 }
  15245. }
  15246. }],
  15247. range: [0, 9],
  15248. loc: {
  15249. start: { line: 1, column: 0 },
  15250. end: { line: 2, column: 5 }
  15251. }
  15252. },
  15253. '{ x\n--y }': {
  15254. type: 'BlockStatement',
  15255. body: [{
  15256. type: 'ExpressionStatement',
  15257. expression: {
  15258. type: 'Identifier',
  15259. name: 'x',
  15260. range: [2, 3],
  15261. loc: {
  15262. start: { line: 1, column: 2 },
  15263. end: { line: 1, column: 3 }
  15264. }
  15265. },
  15266. range: [2, 4],
  15267. loc: {
  15268. start: { line: 1, column: 2 },
  15269. end: { line: 2, column: 0 }
  15270. }
  15271. }, {
  15272. type: 'ExpressionStatement',
  15273. expression: {
  15274. type: 'UpdateExpression',
  15275. operator: '--',
  15276. argument: {
  15277. type: 'Identifier',
  15278. name: 'y',
  15279. range: [6, 7],
  15280. loc: {
  15281. start: { line: 2, column: 2 },
  15282. end: { line: 2, column: 3 }
  15283. }
  15284. },
  15285. prefix: true,
  15286. range: [4, 7],
  15287. loc: {
  15288. start: { line: 2, column: 0 },
  15289. end: { line: 2, column: 3 }
  15290. }
  15291. },
  15292. range: [4, 8],
  15293. loc: {
  15294. start: { line: 2, column: 0 },
  15295. end: { line: 2, column: 4 }
  15296. }
  15297. }],
  15298. range: [0, 9],
  15299. loc: {
  15300. start: { line: 1, column: 0 },
  15301. end: { line: 2, column: 5 }
  15302. }
  15303. },
  15304. 'var x /* comment */;': {
  15305. type: 'VariableDeclaration',
  15306. declarations: [{
  15307. type: 'VariableDeclarator',
  15308. id: {
  15309. type: 'Identifier',
  15310. name: 'x',
  15311. range: [4, 5],
  15312. loc: {
  15313. start: { line: 1, column: 4 },
  15314. end: { line: 1, column: 5 }
  15315. }
  15316. },
  15317. init: null,
  15318. range: [4, 5],
  15319. loc: {
  15320. start: { line: 1, column: 4 },
  15321. end: { line: 1, column: 5 }
  15322. }
  15323. }],
  15324. kind: 'var',
  15325. range: [0, 20],
  15326. loc: {
  15327. start: { line: 1, column: 0 },
  15328. end: { line: 1, column: 20 }
  15329. }
  15330. },
  15331. '{ var x = 14, y = 3\nz; }': {
  15332. type: 'BlockStatement',
  15333. body: [{
  15334. type: 'VariableDeclaration',
  15335. declarations: [{
  15336. type: 'VariableDeclarator',
  15337. id: {
  15338. type: 'Identifier',
  15339. name: 'x',
  15340. range: [6, 7],
  15341. loc: {
  15342. start: { line: 1, column: 6 },
  15343. end: { line: 1, column: 7 }
  15344. }
  15345. },
  15346. init: {
  15347. type: 'Literal',
  15348. value: 14,
  15349. raw: '14',
  15350. range: [10, 12],
  15351. loc: {
  15352. start: { line: 1, column: 10 },
  15353. end: { line: 1, column: 12 }
  15354. }
  15355. },
  15356. range: [6, 12],
  15357. loc: {
  15358. start: { line: 1, column: 6 },
  15359. end: { line: 1, column: 12 }
  15360. }
  15361. }, {
  15362. type: 'VariableDeclarator',
  15363. id: {
  15364. type: 'Identifier',
  15365. name: 'y',
  15366. range: [14, 15],
  15367. loc: {
  15368. start: { line: 1, column: 14 },
  15369. end: { line: 1, column: 15 }
  15370. }
  15371. },
  15372. init: {
  15373. type: 'Literal',
  15374. value: 3,
  15375. raw: '3',
  15376. range: [18, 19],
  15377. loc: {
  15378. start: { line: 1, column: 18 },
  15379. end: { line: 1, column: 19 }
  15380. }
  15381. },
  15382. range: [14, 19],
  15383. loc: {
  15384. start: { line: 1, column: 14 },
  15385. end: { line: 1, column: 19 }
  15386. }
  15387. }],
  15388. kind: 'var',
  15389. range: [2, 20],
  15390. loc: {
  15391. start: { line: 1, column: 2 },
  15392. end: { line: 2, column: 0 }
  15393. }
  15394. }, {
  15395. type: 'ExpressionStatement',
  15396. expression: {
  15397. type: 'Identifier',
  15398. name: 'z',
  15399. range: [20, 21],
  15400. loc: {
  15401. start: { line: 2, column: 0 },
  15402. end: { line: 2, column: 1 }
  15403. }
  15404. },
  15405. range: [20, 22],
  15406. loc: {
  15407. start: { line: 2, column: 0 },
  15408. end: { line: 2, column: 2 }
  15409. }
  15410. }],
  15411. range: [0, 24],
  15412. loc: {
  15413. start: { line: 1, column: 0 },
  15414. end: { line: 2, column: 4 }
  15415. }
  15416. },
  15417. 'while (true) { continue\nthere; }': {
  15418. type: 'WhileStatement',
  15419. test: {
  15420. type: 'Literal',
  15421. value: true,
  15422. raw: 'true',
  15423. range: [7, 11],
  15424. loc: {
  15425. start: { line: 1, column: 7 },
  15426. end: { line: 1, column: 11 }
  15427. }
  15428. },
  15429. body: {
  15430. type: 'BlockStatement',
  15431. body: [{
  15432. type: 'ContinueStatement',
  15433. label: null,
  15434. range: [15, 23],
  15435. loc: {
  15436. start: { line: 1, column: 15 },
  15437. end: { line: 1, column: 23 }
  15438. }
  15439. }, {
  15440. type: 'ExpressionStatement',
  15441. expression: {
  15442. type: 'Identifier',
  15443. name: 'there',
  15444. range: [24, 29],
  15445. loc: {
  15446. start: { line: 2, column: 0 },
  15447. end: { line: 2, column: 5 }
  15448. }
  15449. },
  15450. range: [24, 30],
  15451. loc: {
  15452. start: { line: 2, column: 0 },
  15453. end: { line: 2, column: 6 }
  15454. }
  15455. }],
  15456. range: [13, 32],
  15457. loc: {
  15458. start: { line: 1, column: 13 },
  15459. end: { line: 2, column: 8 }
  15460. }
  15461. },
  15462. range: [0, 32],
  15463. loc: {
  15464. start: { line: 1, column: 0 },
  15465. end: { line: 2, column: 8 }
  15466. }
  15467. },
  15468. 'while (true) { continue // Comment\nthere; }': {
  15469. type: 'WhileStatement',
  15470. test: {
  15471. type: 'Literal',
  15472. value: true,
  15473. raw: 'true',
  15474. range: [7, 11],
  15475. loc: {
  15476. start: { line: 1, column: 7 },
  15477. end: { line: 1, column: 11 }
  15478. }
  15479. },
  15480. body: {
  15481. type: 'BlockStatement',
  15482. body: [{
  15483. type: 'ContinueStatement',
  15484. label: null,
  15485. range: [15, 23],
  15486. loc: {
  15487. start: { line: 1, column: 15 },
  15488. end: { line: 1, column: 23 }
  15489. }
  15490. }, {
  15491. type: 'ExpressionStatement',
  15492. expression: {
  15493. type: 'Identifier',
  15494. name: 'there',
  15495. range: [35, 40],
  15496. loc: {
  15497. start: { line: 2, column: 0 },
  15498. end: { line: 2, column: 5 }
  15499. }
  15500. },
  15501. range: [35, 41],
  15502. loc: {
  15503. start: { line: 2, column: 0 },
  15504. end: { line: 2, column: 6 }
  15505. }
  15506. }],
  15507. range: [13, 43],
  15508. loc: {
  15509. start: { line: 1, column: 13 },
  15510. end: { line: 2, column: 8 }
  15511. }
  15512. },
  15513. range: [0, 43],
  15514. loc: {
  15515. start: { line: 1, column: 0 },
  15516. end: { line: 2, column: 8 }
  15517. }
  15518. },
  15519. 'while (true) { continue /* Multiline\nComment */there; }': {
  15520. type: 'WhileStatement',
  15521. test: {
  15522. type: 'Literal',
  15523. value: true,
  15524. raw: 'true',
  15525. range: [7, 11],
  15526. loc: {
  15527. start: { line: 1, column: 7 },
  15528. end: { line: 1, column: 11 }
  15529. }
  15530. },
  15531. body: {
  15532. type: 'BlockStatement',
  15533. body: [{
  15534. type: 'ContinueStatement',
  15535. label: null,
  15536. range: [15, 23],
  15537. loc: {
  15538. start: { line: 1, column: 15 },
  15539. end: { line: 1, column: 23 }
  15540. }
  15541. }, {
  15542. type: 'ExpressionStatement',
  15543. expression: {
  15544. type: 'Identifier',
  15545. name: 'there',
  15546. range: [47, 52],
  15547. loc: {
  15548. start: { line: 2, column: 10 },
  15549. end: { line: 2, column: 15 }
  15550. }
  15551. },
  15552. range: [47, 53],
  15553. loc: {
  15554. start: { line: 2, column: 10 },
  15555. end: { line: 2, column: 16 }
  15556. }
  15557. }],
  15558. range: [13, 55],
  15559. loc: {
  15560. start: { line: 1, column: 13 },
  15561. end: { line: 2, column: 18 }
  15562. }
  15563. },
  15564. range: [0, 55],
  15565. loc: {
  15566. start: { line: 1, column: 0 },
  15567. end: { line: 2, column: 18 }
  15568. }
  15569. },
  15570. 'while (true) { break\nthere; }': {
  15571. type: 'WhileStatement',
  15572. test: {
  15573. type: 'Literal',
  15574. value: true,
  15575. raw: 'true',
  15576. range: [7, 11],
  15577. loc: {
  15578. start: { line: 1, column: 7 },
  15579. end: { line: 1, column: 11 }
  15580. }
  15581. },
  15582. body: {
  15583. type: 'BlockStatement',
  15584. body: [{
  15585. type: 'BreakStatement',
  15586. label: null,
  15587. range: [15, 20],
  15588. loc: {
  15589. start: { line: 1, column: 15 },
  15590. end: { line: 1, column: 20 }
  15591. }
  15592. }, {
  15593. type: 'ExpressionStatement',
  15594. expression: {
  15595. type: 'Identifier',
  15596. name: 'there',
  15597. range: [21, 26],
  15598. loc: {
  15599. start: { line: 2, column: 0 },
  15600. end: { line: 2, column: 5 }
  15601. }
  15602. },
  15603. range: [21, 27],
  15604. loc: {
  15605. start: { line: 2, column: 0 },
  15606. end: { line: 2, column: 6 }
  15607. }
  15608. }],
  15609. range: [13, 29],
  15610. loc: {
  15611. start: { line: 1, column: 13 },
  15612. end: { line: 2, column: 8 }
  15613. }
  15614. },
  15615. range: [0, 29],
  15616. loc: {
  15617. start: { line: 1, column: 0 },
  15618. end: { line: 2, column: 8 }
  15619. }
  15620. },
  15621. 'while (true) { break // Comment\nthere; }': {
  15622. type: 'WhileStatement',
  15623. test: {
  15624. type: 'Literal',
  15625. value: true,
  15626. raw: 'true',
  15627. range: [7, 11],
  15628. loc: {
  15629. start: { line: 1, column: 7 },
  15630. end: { line: 1, column: 11 }
  15631. }
  15632. },
  15633. body: {
  15634. type: 'BlockStatement',
  15635. body: [{
  15636. type: 'BreakStatement',
  15637. label: null,
  15638. range: [15, 20],
  15639. loc: {
  15640. start: { line: 1, column: 15 },
  15641. end: { line: 1, column: 20 }
  15642. }
  15643. }, {
  15644. type: 'ExpressionStatement',
  15645. expression: {
  15646. type: 'Identifier',
  15647. name: 'there',
  15648. range: [32, 37],
  15649. loc: {
  15650. start: { line: 2, column: 0 },
  15651. end: { line: 2, column: 5 }
  15652. }
  15653. },
  15654. range: [32, 38],
  15655. loc: {
  15656. start: { line: 2, column: 0 },
  15657. end: { line: 2, column: 6 }
  15658. }
  15659. }],
  15660. range: [13, 40],
  15661. loc: {
  15662. start: { line: 1, column: 13 },
  15663. end: { line: 2, column: 8 }
  15664. }
  15665. },
  15666. range: [0, 40],
  15667. loc: {
  15668. start: { line: 1, column: 0 },
  15669. end: { line: 2, column: 8 }
  15670. }
  15671. },
  15672. 'while (true) { break /* Multiline\nComment */there; }': {
  15673. type: 'WhileStatement',
  15674. test: {
  15675. type: 'Literal',
  15676. value: true,
  15677. raw: 'true',
  15678. range: [7, 11],
  15679. loc: {
  15680. start: { line: 1, column: 7 },
  15681. end: { line: 1, column: 11 }
  15682. }
  15683. },
  15684. body: {
  15685. type: 'BlockStatement',
  15686. body: [{
  15687. type: 'BreakStatement',
  15688. label: null,
  15689. range: [15, 20],
  15690. loc: {
  15691. start: { line: 1, column: 15 },
  15692. end: { line: 1, column: 20 }
  15693. }
  15694. }, {
  15695. type: 'ExpressionStatement',
  15696. expression: {
  15697. type: 'Identifier',
  15698. name: 'there',
  15699. range: [44, 49],
  15700. loc: {
  15701. start: { line: 2, column: 10 },
  15702. end: { line: 2, column: 15 }
  15703. }
  15704. },
  15705. range: [44, 50],
  15706. loc: {
  15707. start: { line: 2, column: 10 },
  15708. end: { line: 2, column: 16 }
  15709. }
  15710. }],
  15711. range: [13, 52],
  15712. loc: {
  15713. start: { line: 1, column: 13 },
  15714. end: { line: 2, column: 18 }
  15715. }
  15716. },
  15717. range: [0, 52],
  15718. loc: {
  15719. start: { line: 1, column: 0 },
  15720. end: { line: 2, column: 18 }
  15721. }
  15722. },
  15723. '(function(){ return\nx; })': {
  15724. type: 'ExpressionStatement',
  15725. expression: {
  15726. type: 'FunctionExpression',
  15727. id: null,
  15728. params: [],
  15729. defaults: [],
  15730. body: {
  15731. type: 'BlockStatement',
  15732. body: [
  15733. {
  15734. type: 'ReturnStatement',
  15735. argument: null,
  15736. range: [13, 19],
  15737. loc: {
  15738. start: { line: 1, column: 13 },
  15739. end: { line: 1, column: 19 }
  15740. }
  15741. },
  15742. {
  15743. type: 'ExpressionStatement',
  15744. expression: {
  15745. type: 'Identifier',
  15746. name: 'x',
  15747. range: [20, 21],
  15748. loc: {
  15749. start: { line: 2, column: 0 },
  15750. end: { line: 2, column: 1 }
  15751. }
  15752. },
  15753. range: [20, 22],
  15754. loc: {
  15755. start: { line: 2, column: 0 },
  15756. end: { line: 2, column: 2 }
  15757. }
  15758. }
  15759. ],
  15760. range: [11, 24],
  15761. loc: {
  15762. start: { line: 1, column: 11 },
  15763. end: { line: 2, column: 4 }
  15764. }
  15765. },
  15766. rest: null,
  15767. generator: false,
  15768. expression: false,
  15769. range: [1, 24],
  15770. loc: {
  15771. start: { line: 1, column: 1 },
  15772. end: { line: 2, column: 4 }
  15773. }
  15774. },
  15775. range: [0, 25],
  15776. loc: {
  15777. start: { line: 1, column: 0 },
  15778. end: { line: 2, column: 5 }
  15779. }
  15780. },
  15781. '(function(){ return // Comment\nx; })': {
  15782. type: 'ExpressionStatement',
  15783. expression: {
  15784. type: 'FunctionExpression',
  15785. id: null,
  15786. params: [],
  15787. defaults: [],
  15788. body: {
  15789. type: 'BlockStatement',
  15790. body: [
  15791. {
  15792. type: 'ReturnStatement',
  15793. argument: null,
  15794. range: [13, 19],
  15795. loc: {
  15796. start: { line: 1, column: 13 },
  15797. end: { line: 1, column: 19 }
  15798. }
  15799. },
  15800. {
  15801. type: 'ExpressionStatement',
  15802. expression: {
  15803. type: 'Identifier',
  15804. name: 'x',
  15805. range: [31, 32],
  15806. loc: {
  15807. start: { line: 2, column: 0 },
  15808. end: { line: 2, column: 1 }
  15809. }
  15810. },
  15811. range: [31, 33],
  15812. loc: {
  15813. start: { line: 2, column: 0 },
  15814. end: { line: 2, column: 2 }
  15815. }
  15816. }
  15817. ],
  15818. range: [11, 35],
  15819. loc: {
  15820. start: { line: 1, column: 11 },
  15821. end: { line: 2, column: 4 }
  15822. }
  15823. },
  15824. rest: null,
  15825. generator: false,
  15826. expression: false,
  15827. range: [1, 35],
  15828. loc: {
  15829. start: { line: 1, column: 1 },
  15830. end: { line: 2, column: 4 }
  15831. }
  15832. },
  15833. range: [0, 36],
  15834. loc: {
  15835. start: { line: 1, column: 0 },
  15836. end: { line: 2, column: 5 }
  15837. }
  15838. },
  15839. '(function(){ return/* Multiline\nComment */x; })': {
  15840. type: 'ExpressionStatement',
  15841. expression: {
  15842. type: 'FunctionExpression',
  15843. id: null,
  15844. params: [],
  15845. defaults: [],
  15846. body: {
  15847. type: 'BlockStatement',
  15848. body: [
  15849. {
  15850. type: 'ReturnStatement',
  15851. argument: null,
  15852. range: [13, 19],
  15853. loc: {
  15854. start: { line: 1, column: 13 },
  15855. end: { line: 1, column: 19 }
  15856. }
  15857. },
  15858. {
  15859. type: 'ExpressionStatement',
  15860. expression: {
  15861. type: 'Identifier',
  15862. name: 'x',
  15863. range: [42, 43],
  15864. loc: {
  15865. start: { line: 2, column: 10 },
  15866. end: { line: 2, column: 11 }
  15867. }
  15868. },
  15869. range: [42, 44],
  15870. loc: {
  15871. start: { line: 2, column: 10 },
  15872. end: { line: 2, column: 12 }
  15873. }
  15874. }
  15875. ],
  15876. range: [11, 46],
  15877. loc: {
  15878. start: { line: 1, column: 11 },
  15879. end: { line: 2, column: 14 }
  15880. }
  15881. },
  15882. rest: null,
  15883. generator: false,
  15884. expression: false,
  15885. range: [1, 46],
  15886. loc: {
  15887. start: { line: 1, column: 1 },
  15888. end: { line: 2, column: 14 }
  15889. }
  15890. },
  15891. range: [0, 47],
  15892. loc: {
  15893. start: { line: 1, column: 0 },
  15894. end: { line: 2, column: 15 }
  15895. }
  15896. },
  15897. '{ throw error\nerror; }': {
  15898. type: 'BlockStatement',
  15899. body: [{
  15900. type: 'ThrowStatement',
  15901. argument: {
  15902. type: 'Identifier',
  15903. name: 'error',
  15904. range: [8, 13],
  15905. loc: {
  15906. start: { line: 1, column: 8 },
  15907. end: { line: 1, column: 13 }
  15908. }
  15909. },
  15910. range: [2, 14],
  15911. loc: {
  15912. start: { line: 1, column: 2 },
  15913. end: { line: 2, column: 0 }
  15914. }
  15915. }, {
  15916. type: 'ExpressionStatement',
  15917. expression: {
  15918. type: 'Identifier',
  15919. name: 'error',
  15920. range: [14, 19],
  15921. loc: {
  15922. start: { line: 2, column: 0 },
  15923. end: { line: 2, column: 5 }
  15924. }
  15925. },
  15926. range: [14, 20],
  15927. loc: {
  15928. start: { line: 2, column: 0 },
  15929. end: { line: 2, column: 6 }
  15930. }
  15931. }],
  15932. range: [0, 22],
  15933. loc: {
  15934. start: { line: 1, column: 0 },
  15935. end: { line: 2, column: 8 }
  15936. }
  15937. },
  15938. '{ throw error// Comment\nerror; }': {
  15939. type: 'BlockStatement',
  15940. body: [{
  15941. type: 'ThrowStatement',
  15942. argument: {
  15943. type: 'Identifier',
  15944. name: 'error',
  15945. range: [8, 13],
  15946. loc: {
  15947. start: { line: 1, column: 8 },
  15948. end: { line: 1, column: 13 }
  15949. }
  15950. },
  15951. range: [2, 24],
  15952. loc: {
  15953. start: { line: 1, column: 2 },
  15954. end: { line: 2, column: 0 }
  15955. }
  15956. }, {
  15957. type: 'ExpressionStatement',
  15958. expression: {
  15959. type: 'Identifier',
  15960. name: 'error',
  15961. range: [24, 29],
  15962. loc: {
  15963. start: { line: 2, column: 0 },
  15964. end: { line: 2, column: 5 }
  15965. }
  15966. },
  15967. range: [24, 30],
  15968. loc: {
  15969. start: { line: 2, column: 0 },
  15970. end: { line: 2, column: 6 }
  15971. }
  15972. }],
  15973. range: [0, 32],
  15974. loc: {
  15975. start: { line: 1, column: 0 },
  15976. end: { line: 2, column: 8 }
  15977. }
  15978. },
  15979. '{ throw error/* Multiline\nComment */error; }': {
  15980. type: 'BlockStatement',
  15981. body: [{
  15982. type: 'ThrowStatement',
  15983. argument: {
  15984. type: 'Identifier',
  15985. name: 'error',
  15986. range: [8, 13],
  15987. loc: {
  15988. start: { line: 1, column: 8 },
  15989. end: { line: 1, column: 13 }
  15990. }
  15991. },
  15992. range: [2, 36],
  15993. loc: {
  15994. start: { line: 1, column: 2 },
  15995. end: { line: 2, column: 10 }
  15996. }
  15997. }, {
  15998. type: 'ExpressionStatement',
  15999. expression: {
  16000. type: 'Identifier',
  16001. name: 'error',
  16002. range: [36, 41],
  16003. loc: {
  16004. start: { line: 2, column: 10 },
  16005. end: { line: 2, column: 15 }
  16006. }
  16007. },
  16008. range: [36, 42],
  16009. loc: {
  16010. start: { line: 2, column: 10 },
  16011. end: { line: 2, column: 16 }
  16012. }
  16013. }],
  16014. range: [0, 44],
  16015. loc: {
  16016. start: { line: 1, column: 0 },
  16017. end: { line: 2, column: 18 }
  16018. }
  16019. }
  16020. },
  16021. 'Source elements': {
  16022. '': {
  16023. type: 'Program',
  16024. body: [],
  16025. range: [0, 0],
  16026. loc: {
  16027. start: { line: 0, column: 0 },
  16028. end: { line: 0, column: 0 }
  16029. },
  16030. tokens: []
  16031. }
  16032. },
  16033. 'Source option': {
  16034. 'x + y - z': {
  16035. type: 'ExpressionStatement',
  16036. expression: {
  16037. type: 'BinaryExpression',
  16038. operator: '-',
  16039. left: {
  16040. type: 'BinaryExpression',
  16041. operator: '+',
  16042. left: {
  16043. type: 'Identifier',
  16044. name: 'x',
  16045. range: [0, 1],
  16046. loc: {
  16047. start: { line: 1, column: 0 },
  16048. end: { line: 1, column: 1 },
  16049. source: '42.js'
  16050. }
  16051. },
  16052. right: {
  16053. type: 'Identifier',
  16054. name: 'y',
  16055. range: [4, 5],
  16056. loc: {
  16057. start: { line: 1, column: 4 },
  16058. end: { line: 1, column: 5 },
  16059. source: '42.js'
  16060. }
  16061. },
  16062. range: [0, 5],
  16063. loc: {
  16064. start: { line: 1, column: 0 },
  16065. end: { line: 1, column: 5 },
  16066. source: '42.js'
  16067. }
  16068. },
  16069. right: {
  16070. type: 'Identifier',
  16071. name: 'z',
  16072. range: [8, 9],
  16073. loc: {
  16074. start: { line: 1, column: 8 },
  16075. end: { line: 1, column: 9 },
  16076. source: '42.js'
  16077. }
  16078. },
  16079. range: [0, 9],
  16080. loc: {
  16081. start: { line: 1, column: 0 },
  16082. end: { line: 1, column: 9 },
  16083. source: '42.js'
  16084. }
  16085. },
  16086. range: [0, 9],
  16087. loc: {
  16088. start: { line: 1, column: 0 },
  16089. end: { line: 1, column: 9 },
  16090. source: '42.js'
  16091. }
  16092. },
  16093. 'a + (b < (c * d)) + e': {
  16094. type: 'ExpressionStatement',
  16095. expression: {
  16096. type: 'BinaryExpression',
  16097. operator: '+',
  16098. left: {
  16099. type: 'BinaryExpression',
  16100. operator: '+',
  16101. left: {
  16102. type: 'Identifier',
  16103. name: 'a',
  16104. range: [0, 1],
  16105. loc: {
  16106. start: { line: 1, column: 0 },
  16107. end: { line: 1, column: 1 },
  16108. source: '42.js'
  16109. }
  16110. },
  16111. right: {
  16112. type: 'BinaryExpression',
  16113. operator: '<',
  16114. left: {
  16115. type: 'Identifier',
  16116. name: 'b',
  16117. range: [5, 6],
  16118. loc: {
  16119. start: { line: 1, column: 5 },
  16120. end: { line: 1, column: 6 },
  16121. source: '42.js'
  16122. }
  16123. },
  16124. right: {
  16125. type: 'BinaryExpression',
  16126. operator: '*',
  16127. left: {
  16128. type: 'Identifier',
  16129. name: 'c',
  16130. range: [10, 11],
  16131. loc: {
  16132. start: { line: 1, column: 10 },
  16133. end: { line: 1, column: 11 },
  16134. source: '42.js'
  16135. }
  16136. },
  16137. right: {
  16138. type: 'Identifier',
  16139. name: 'd',
  16140. range: [14, 15],
  16141. loc: {
  16142. start: { line: 1, column: 14 },
  16143. end: { line: 1, column: 15 },
  16144. source: '42.js'
  16145. }
  16146. },
  16147. range: [10, 15],
  16148. loc: {
  16149. start: { line: 1, column: 10 },
  16150. end: { line: 1, column: 15 },
  16151. source: '42.js'
  16152. }
  16153. },
  16154. range: [5, 16],
  16155. loc: {
  16156. start: { line: 1, column: 5 },
  16157. end: { line: 1, column: 16 },
  16158. source: '42.js'
  16159. }
  16160. },
  16161. range: [0, 17],
  16162. loc: {
  16163. start: { line: 1, column: 0 },
  16164. end: { line: 1, column: 17 },
  16165. source: '42.js'
  16166. }
  16167. },
  16168. right: {
  16169. type: 'Identifier',
  16170. name: 'e',
  16171. range: [20, 21],
  16172. loc: {
  16173. start: { line: 1, column: 20 },
  16174. end: { line: 1, column: 21 },
  16175. source: '42.js'
  16176. }
  16177. },
  16178. range: [0, 21],
  16179. loc: {
  16180. start: { line: 1, column: 0 },
  16181. end: { line: 1, column: 21 },
  16182. source: '42.js'
  16183. }
  16184. },
  16185. range: [0, 21],
  16186. loc: {
  16187. start: { line: 1, column: 0 },
  16188. end: { line: 1, column: 21 },
  16189. source: '42.js'
  16190. }
  16191. }
  16192. },
  16193. 'Invalid syntax': {
  16194. '{': {
  16195. index: 1,
  16196. lineNumber: 1,
  16197. column: 2,
  16198. message: 'Error: Line 1: Unexpected end of input'
  16199. },
  16200. '}': {
  16201. index: 0,
  16202. lineNumber: 1,
  16203. column: 1,
  16204. message: 'Error: Line 1: Unexpected token }'
  16205. },
  16206. '3ea': {
  16207. index: 2,
  16208. lineNumber: 1,
  16209. column: 3,
  16210. message: 'Error: Line 1: Unexpected token ILLEGAL'
  16211. },
  16212. '3in []': {
  16213. index: 1,
  16214. lineNumber: 1,
  16215. column: 2,
  16216. message: 'Error: Line 1: Unexpected token ILLEGAL'
  16217. },
  16218. '3e': {
  16219. index: 2,
  16220. lineNumber: 1,
  16221. column: 3,
  16222. message: 'Error: Line 1: Unexpected token ILLEGAL'
  16223. },
  16224. '3e+': {
  16225. index: 3,
  16226. lineNumber: 1,
  16227. column: 4,
  16228. message: 'Error: Line 1: Unexpected token ILLEGAL'
  16229. },
  16230. '3e-': {
  16231. index: 3,
  16232. lineNumber: 1,
  16233. column: 4,
  16234. message: 'Error: Line 1: Unexpected token ILLEGAL'
  16235. },
  16236. '3x': {
  16237. index: 1,
  16238. lineNumber: 1,
  16239. column: 2,
  16240. message: 'Error: Line 1: Unexpected token ILLEGAL'
  16241. },
  16242. '3x0': {
  16243. index: 1,
  16244. lineNumber: 1,
  16245. column: 2,
  16246. message: 'Error: Line 1: Unexpected token ILLEGAL'
  16247. },
  16248. '0x': {
  16249. index: 2,
  16250. lineNumber: 1,
  16251. column: 3,
  16252. message: 'Error: Line 1: Unexpected token ILLEGAL'
  16253. },
  16254. '09': {
  16255. index: 1,
  16256. lineNumber: 1,
  16257. column: 2,
  16258. message: 'Error: Line 1: Unexpected token ILLEGAL'
  16259. },
  16260. '018': {
  16261. index: 2,
  16262. lineNumber: 1,
  16263. column: 3,
  16264. message: 'Error: Line 1: Unexpected token ILLEGAL'
  16265. },
  16266. '01a': {
  16267. index: 2,
  16268. lineNumber: 1,
  16269. column: 3,
  16270. message: 'Error: Line 1: Unexpected token ILLEGAL'
  16271. },
  16272. '3in[]': {
  16273. index: 1,
  16274. lineNumber: 1,
  16275. column: 2,
  16276. message: 'Error: Line 1: Unexpected token ILLEGAL'
  16277. },
  16278. '0x3in[]': {
  16279. index: 3,
  16280. lineNumber: 1,
  16281. column: 4,
  16282. message: 'Error: Line 1: Unexpected token ILLEGAL'
  16283. },
  16284. '"Hello\nWorld"': {
  16285. index: 7,
  16286. lineNumber: 1,
  16287. column: 8,
  16288. message: 'Error: Line 1: Unexpected token ILLEGAL'
  16289. },
  16290. 'x\\': {
  16291. index: 2,
  16292. lineNumber: 1,
  16293. column: 3,
  16294. message: 'Error: Line 1: Unexpected token ILLEGAL'
  16295. },
  16296. 'x\\u005c': {
  16297. index: 7,
  16298. lineNumber: 1,
  16299. column: 8,
  16300. message: 'Error: Line 1: Unexpected token ILLEGAL'
  16301. },
  16302. 'x\\u002a': {
  16303. index: 7,
  16304. lineNumber: 1,
  16305. column: 8,
  16306. message: 'Error: Line 1: Unexpected token ILLEGAL'
  16307. },
  16308. 'var x = /(s/g': {
  16309. index: 13,
  16310. lineNumber: 1,
  16311. column: 14,
  16312. message: 'Error: Line 1: Invalid regular expression'
  16313. },
  16314. 'a\\u': {
  16315. index: 3,
  16316. lineNumber: 1,
  16317. column: 4,
  16318. message: 'Error: Line 1: Unexpected token ILLEGAL'
  16319. },
  16320. '\\ua': {
  16321. index: 3,
  16322. lineNumber: 1,
  16323. column: 4,
  16324. message: 'Error: Line 1: Unexpected token ILLEGAL'
  16325. },
  16326. '/': {
  16327. index: 1,
  16328. lineNumber: 1,
  16329. column: 2,
  16330. message: 'Error: Line 1: Invalid regular expression: missing /'
  16331. },
  16332. '/test': {
  16333. index: 5,
  16334. lineNumber: 1,
  16335. column: 6,
  16336. message: 'Error: Line 1: Invalid regular expression: missing /'
  16337. },
  16338. 'var x = /[a-z]/\\ux': {
  16339. index: 18,
  16340. lineNumber: 1,
  16341. column: 19,
  16342. message: 'Error: Line 1: Invalid regular expression'
  16343. },
  16344. '3 = 4': {
  16345. index: 1,
  16346. lineNumber: 1,
  16347. column: 2,
  16348. message: 'Error: Line 1: Invalid left-hand side in assignment'
  16349. },
  16350. 'func() = 4': {
  16351. index: 6,
  16352. lineNumber: 1,
  16353. column: 7,
  16354. message: 'Error: Line 1: Invalid left-hand side in assignment'
  16355. },
  16356. '(1 + 1) = 10': {
  16357. index: 7,
  16358. lineNumber: 1,
  16359. column: 8,
  16360. message: 'Error: Line 1: Invalid left-hand side in assignment'
  16361. },
  16362. '1++': {
  16363. index: 1,
  16364. lineNumber: 1,
  16365. column: 2,
  16366. message: 'Error: Line 1: Invalid left-hand side in assignment'
  16367. },
  16368. '1--': {
  16369. index: 1,
  16370. lineNumber: 1,
  16371. column: 2,
  16372. message: 'Error: Line 1: Invalid left-hand side in assignment'
  16373. },
  16374. '++1': {
  16375. index: 3,
  16376. lineNumber: 1,
  16377. column: 4,
  16378. message: 'Error: Line 1: Invalid left-hand side in assignment'
  16379. },
  16380. '--1': {
  16381. index: 3,
  16382. lineNumber: 1,
  16383. column: 4,
  16384. message: 'Error: Line 1: Invalid left-hand side in assignment'
  16385. },
  16386. 'for((1 + 1) in list) process(x);': {
  16387. index: 11,
  16388. lineNumber: 1,
  16389. column: 12,
  16390. message: 'Error: Line 1: Invalid left-hand side in for-in'
  16391. },
  16392. '[': {
  16393. index: 1,
  16394. lineNumber: 1,
  16395. column: 2,
  16396. message: 'Error: Line 1: Unexpected end of input'
  16397. },
  16398. '[,': {
  16399. index: 2,
  16400. lineNumber: 1,
  16401. column: 3,
  16402. message: 'Error: Line 1: Unexpected end of input'
  16403. },
  16404. '1 + {': {
  16405. index: 5,
  16406. lineNumber: 1,
  16407. column: 6,
  16408. message: 'Error: Line 1: Unexpected end of input'
  16409. },
  16410. '1 + { t:t ': {
  16411. index: 10,
  16412. lineNumber: 1,
  16413. column: 11,
  16414. message: 'Error: Line 1: Unexpected end of input'
  16415. },
  16416. '1 + { t:t,': {
  16417. index: 10,
  16418. lineNumber: 1,
  16419. column: 11,
  16420. message: 'Error: Line 1: Unexpected end of input'
  16421. },
  16422. 'var x = /\n/': {
  16423. index: 10,
  16424. lineNumber: 1,
  16425. column: 11,
  16426. message: 'Error: Line 1: Invalid regular expression: missing /'
  16427. },
  16428. 'var x = "\n': {
  16429. index: 10,
  16430. lineNumber: 1,
  16431. column: 11,
  16432. message: 'Error: Line 1: Unexpected token ILLEGAL'
  16433. },
  16434. 'var if = 42': {
  16435. index: 4,
  16436. lineNumber: 1,
  16437. column: 5,
  16438. message: 'Error: Line 1: Unexpected token if'
  16439. },
  16440. 'i #= 42': {
  16441. index: 2,
  16442. lineNumber: 1,
  16443. column: 3,
  16444. message: 'Error: Line 1: Unexpected token ILLEGAL'
  16445. },
  16446. 'i + 2 = 42': {
  16447. index: 5,
  16448. lineNumber: 1,
  16449. column: 6,
  16450. message: 'Error: Line 1: Invalid left-hand side in assignment'
  16451. },
  16452. '+i = 42': {
  16453. index: 2,
  16454. lineNumber: 1,
  16455. column: 3,
  16456. message: 'Error: Line 1: Invalid left-hand side in assignment'
  16457. },
  16458. '1 + (': {
  16459. index: 5,
  16460. lineNumber: 1,
  16461. column: 6,
  16462. message: 'Error: Line 1: Unexpected end of input'
  16463. },
  16464. '\n\n\n{': {
  16465. index: 4,
  16466. lineNumber: 4,
  16467. column: 2,
  16468. message: 'Error: Line 4: Unexpected end of input'
  16469. },
  16470. '\n/* Some multiline\ncomment */\n)': {
  16471. index: 30,
  16472. lineNumber: 4,
  16473. column: 1,
  16474. message: 'Error: Line 4: Unexpected token )'
  16475. },
  16476. '{ set 1 }': {
  16477. index: 6,
  16478. lineNumber: 1,
  16479. column: 7,
  16480. message: 'Error: Line 1: Unexpected number'
  16481. },
  16482. '{ get 2 }': {
  16483. index: 6,
  16484. lineNumber: 1,
  16485. column: 7,
  16486. message: 'Error: Line 1: Unexpected number'
  16487. },
  16488. '({ set: s(if) { } })': {
  16489. index: 10,
  16490. lineNumber: 1,
  16491. column: 11,
  16492. message: 'Error: Line 1: Unexpected token if'
  16493. },
  16494. '({ set s(.) { } })': {
  16495. index: 9,
  16496. lineNumber: 1,
  16497. column: 10,
  16498. message: 'Error: Line 1: Unexpected token .'
  16499. },
  16500. '({ set: s() { } })': {
  16501. index: 12,
  16502. lineNumber: 1,
  16503. column: 13,
  16504. message: 'Error: Line 1: Unexpected token {'
  16505. },
  16506. '({ set: s(a, b) { } })': {
  16507. index: 16,
  16508. lineNumber: 1,
  16509. column: 17,
  16510. message: 'Error: Line 1: Unexpected token {'
  16511. },
  16512. '({ get: g(d) { } })': {
  16513. index: 13,
  16514. lineNumber: 1,
  16515. column: 14,
  16516. message: 'Error: Line 1: Unexpected token {'
  16517. },
  16518. '({ get i() { }, i: 42 })': {
  16519. index: 21,
  16520. lineNumber: 1,
  16521. column: 22,
  16522. message: 'Error: Line 1: Object literal may not have data and accessor property with the same name'
  16523. },
  16524. '({ i: 42, get i() { } })': {
  16525. index: 21,
  16526. lineNumber: 1,
  16527. column: 22,
  16528. message: 'Error: Line 1: Object literal may not have data and accessor property with the same name'
  16529. },
  16530. '({ set i(x) { }, i: 42 })': {
  16531. index: 22,
  16532. lineNumber: 1,
  16533. column: 23,
  16534. message: 'Error: Line 1: Object literal may not have data and accessor property with the same name'
  16535. },
  16536. '({ i: 42, set i(x) { } })': {
  16537. index: 22,
  16538. lineNumber: 1,
  16539. column: 23,
  16540. message: 'Error: Line 1: Object literal may not have data and accessor property with the same name'
  16541. },
  16542. '({ get i() { }, get i() { } })': {
  16543. index: 27,
  16544. lineNumber: 1,
  16545. column: 28,
  16546. message: 'Error: Line 1: Object literal may not have multiple get/set accessors with the same name'
  16547. },
  16548. '({ set i(x) { }, set i(x) { } })': {
  16549. index: 29,
  16550. lineNumber: 1,
  16551. column: 30,
  16552. message: 'Error: Line 1: Object literal may not have multiple get/set accessors with the same name'
  16553. },
  16554. 'function t(if) { }': {
  16555. index: 11,
  16556. lineNumber: 1,
  16557. column: 12,
  16558. message: 'Error: Line 1: Unexpected token if'
  16559. },
  16560. 'function t(true) { }': {
  16561. index: 11,
  16562. lineNumber: 1,
  16563. column: 12,
  16564. message: 'Error: Line 1: Unexpected token true'
  16565. },
  16566. 'function t(false) { }': {
  16567. index: 11,
  16568. lineNumber: 1,
  16569. column: 12,
  16570. message: 'Error: Line 1: Unexpected token false'
  16571. },
  16572. 'function t(null) { }': {
  16573. index: 11,
  16574. lineNumber: 1,
  16575. column: 12,
  16576. message: 'Error: Line 1: Unexpected token null'
  16577. },
  16578. 'function null() { }': {
  16579. index: 9,
  16580. lineNumber: 1,
  16581. column: 10,
  16582. message: 'Error: Line 1: Unexpected token null'
  16583. },
  16584. 'function true() { }': {
  16585. index: 9,
  16586. lineNumber: 1,
  16587. column: 10,
  16588. message: 'Error: Line 1: Unexpected token true'
  16589. },
  16590. 'function false() { }': {
  16591. index: 9,
  16592. lineNumber: 1,
  16593. column: 10,
  16594. message: 'Error: Line 1: Unexpected token false'
  16595. },
  16596. 'function if() { }': {
  16597. index: 9,
  16598. lineNumber: 1,
  16599. column: 10,
  16600. message: 'Error: Line 1: Unexpected token if'
  16601. },
  16602. 'a b;': {
  16603. index: 2,
  16604. lineNumber: 1,
  16605. column: 3,
  16606. message: 'Error: Line 1: Unexpected identifier'
  16607. },
  16608. 'if.a;': {
  16609. index: 2,
  16610. lineNumber: 1,
  16611. column: 3,
  16612. message: 'Error: Line 1: Unexpected token .'
  16613. },
  16614. 'a if;': {
  16615. index: 2,
  16616. lineNumber: 1,
  16617. column: 3,
  16618. message: 'Error: Line 1: Unexpected token if'
  16619. },
  16620. 'a class;': {
  16621. index: 2,
  16622. lineNumber: 1,
  16623. column: 3,
  16624. message: 'Error: Line 1: Unexpected reserved word'
  16625. },
  16626. 'break\n': {
  16627. index: 5,
  16628. lineNumber: 1,
  16629. column: 6,
  16630. message: 'Error: Line 1: Illegal break statement'
  16631. },
  16632. 'break 1;': {
  16633. index: 6,
  16634. lineNumber: 1,
  16635. column: 7,
  16636. message: 'Error: Line 1: Unexpected number'
  16637. },
  16638. 'continue\n': {
  16639. index: 8,
  16640. lineNumber: 1,
  16641. column: 9,
  16642. message: 'Error: Line 1: Illegal continue statement'
  16643. },
  16644. 'continue 2;': {
  16645. index: 9,
  16646. lineNumber: 1,
  16647. column: 10,
  16648. message: 'Error: Line 1: Unexpected number'
  16649. },
  16650. 'throw': {
  16651. index: 5,
  16652. lineNumber: 1,
  16653. column: 6,
  16654. message: 'Error: Line 1: Unexpected end of input'
  16655. },
  16656. 'throw;': {
  16657. index: 5,
  16658. lineNumber: 1,
  16659. column: 6,
  16660. message: 'Error: Line 1: Unexpected token ;'
  16661. },
  16662. 'throw\n': {
  16663. index: 5,
  16664. lineNumber: 1,
  16665. column: 6,
  16666. message: 'Error: Line 1: Illegal newline after throw'
  16667. },
  16668. 'for (var i, i2 in {});': {
  16669. index: 15,
  16670. lineNumber: 1,
  16671. column: 16,
  16672. message: 'Error: Line 1: Unexpected token in'
  16673. },
  16674. 'for ((i in {}));': {
  16675. index: 14,
  16676. lineNumber: 1,
  16677. column: 15,
  16678. message: 'Error: Line 1: Unexpected token )'
  16679. },
  16680. 'for (i + 1 in {});': {
  16681. index: 10,
  16682. lineNumber: 1,
  16683. column: 11,
  16684. message: 'Error: Line 1: Invalid left-hand side in for-in'
  16685. },
  16686. 'for (+i in {});': {
  16687. index: 7,
  16688. lineNumber: 1,
  16689. column: 8,
  16690. message: 'Error: Line 1: Invalid left-hand side in for-in'
  16691. },
  16692. 'if(false)': {
  16693. index: 9,
  16694. lineNumber: 1,
  16695. column: 10,
  16696. message: 'Error: Line 1: Unexpected end of input'
  16697. },
  16698. 'if(false) doThis(); else': {
  16699. index: 24,
  16700. lineNumber: 1,
  16701. column: 25,
  16702. message: 'Error: Line 1: Unexpected end of input'
  16703. },
  16704. 'do': {
  16705. index: 2,
  16706. lineNumber: 1,
  16707. column: 3,
  16708. message: 'Error: Line 1: Unexpected end of input'
  16709. },
  16710. 'while(false)': {
  16711. index: 12,
  16712. lineNumber: 1,
  16713. column: 13,
  16714. message: 'Error: Line 1: Unexpected end of input'
  16715. },
  16716. 'for(;;)': {
  16717. index: 7,
  16718. lineNumber: 1,
  16719. column: 8,
  16720. message: 'Error: Line 1: Unexpected end of input'
  16721. },
  16722. 'with(x)': {
  16723. index: 7,
  16724. lineNumber: 1,
  16725. column: 8,
  16726. message: 'Error: Line 1: Unexpected end of input'
  16727. },
  16728. 'try { }': {
  16729. index: 7,
  16730. lineNumber: 1,
  16731. column: 8,
  16732. message: 'Error: Line 1: Missing catch or finally after try'
  16733. },
  16734. '\u203F = 10': {
  16735. index: 0,
  16736. lineNumber: 1,
  16737. column: 1,
  16738. message: 'Error: Line 1: Unexpected token ILLEGAL'
  16739. },
  16740. 'const x = 12, y;': {
  16741. index: 15,
  16742. lineNumber: 1,
  16743. column: 16,
  16744. message: 'Error: Line 1: Const must be initialized'
  16745. },
  16746. 'const x, y = 12;': {
  16747. index: 7,
  16748. lineNumber: 1,
  16749. column: 8,
  16750. message: 'Error: Line 1: Const must be initialized'
  16751. },
  16752. 'const x;': {
  16753. index: 7,
  16754. lineNumber: 1,
  16755. column: 8,
  16756. message: 'Error: Line 1: Const must be initialized'
  16757. },
  16758. 'if(true) let a = 1;': {
  16759. index: 9,
  16760. lineNumber: 1,
  16761. column: 10,
  16762. message: 'Error: Line 1: Unexpected token let'
  16763. },
  16764. 'if(true) const a = 1;': {
  16765. index: 9,
  16766. lineNumber: 1,
  16767. column: 10,
  16768. message: 'Error: Line 1: Unexpected token const'
  16769. },
  16770. 'switch (c) { default: default: }': {
  16771. index: 30,
  16772. lineNumber: 1,
  16773. column: 31,
  16774. message: 'Error: Line 1: More than one default clause in switch statement'
  16775. },
  16776. 'new X()."s"': {
  16777. index: 8,
  16778. lineNumber: 1,
  16779. column: 9,
  16780. message: 'Error: Line 1: Unexpected string'
  16781. },
  16782. '/*': {
  16783. index: 2,
  16784. lineNumber: 1,
  16785. column: 3,
  16786. message: 'Error: Line 1: Unexpected token ILLEGAL'
  16787. },
  16788. '/*\n\n\n': {
  16789. index: 5,
  16790. lineNumber: 4,
  16791. column: 1,
  16792. message: 'Error: Line 4: Unexpected token ILLEGAL'
  16793. },
  16794. '/**': {
  16795. index: 3,
  16796. lineNumber: 1,
  16797. column: 4,
  16798. message: 'Error: Line 1: Unexpected token ILLEGAL'
  16799. },
  16800. '/*\n\n*': {
  16801. index: 5,
  16802. lineNumber: 3,
  16803. column: 2,
  16804. message: 'Error: Line 3: Unexpected token ILLEGAL'
  16805. },
  16806. '/*hello': {
  16807. index: 7,
  16808. lineNumber: 1,
  16809. column: 8,
  16810. message: 'Error: Line 1: Unexpected token ILLEGAL'
  16811. },
  16812. '/*hello *': {
  16813. index: 10,
  16814. lineNumber: 1,
  16815. column: 11,
  16816. message: 'Error: Line 1: Unexpected token ILLEGAL'
  16817. },
  16818. '\n]': {
  16819. index: 1,
  16820. lineNumber: 2,
  16821. column: 1,
  16822. message: 'Error: Line 2: Unexpected token ]'
  16823. },
  16824. '\r]': {
  16825. index: 1,
  16826. lineNumber: 2,
  16827. column: 1,
  16828. message: 'Error: Line 2: Unexpected token ]'
  16829. },
  16830. '\r\n]': {
  16831. index: 2,
  16832. lineNumber: 2,
  16833. column: 1,
  16834. message: 'Error: Line 2: Unexpected token ]'
  16835. },
  16836. '\n\r]': {
  16837. index: 2,
  16838. lineNumber: 3,
  16839. column: 1,
  16840. message: 'Error: Line 3: Unexpected token ]'
  16841. },
  16842. '//\r\n]': {
  16843. index: 4,
  16844. lineNumber: 2,
  16845. column: 1,
  16846. message: 'Error: Line 2: Unexpected token ]'
  16847. },
  16848. '//\n\r]': {
  16849. index: 4,
  16850. lineNumber: 3,
  16851. column: 1,
  16852. message: 'Error: Line 3: Unexpected token ]'
  16853. },
  16854. '/a\\\n/': {
  16855. index: 4,
  16856. lineNumber: 1,
  16857. column: 5,
  16858. message: 'Error: Line 1: Invalid regular expression: missing /'
  16859. },
  16860. '//\r \n]': {
  16861. index: 5,
  16862. lineNumber: 3,
  16863. column: 1,
  16864. message: 'Error: Line 3: Unexpected token ]'
  16865. },
  16866. '/*\r\n*/]': {
  16867. index: 6,
  16868. lineNumber: 2,
  16869. column: 3,
  16870. message: 'Error: Line 2: Unexpected token ]'
  16871. },
  16872. '/*\n\r*/]': {
  16873. index: 6,
  16874. lineNumber: 3,
  16875. column: 3,
  16876. message: 'Error: Line 3: Unexpected token ]'
  16877. },
  16878. '/*\r \n*/]': {
  16879. index: 7,
  16880. lineNumber: 3,
  16881. column: 3,
  16882. message: 'Error: Line 3: Unexpected token ]'
  16883. },
  16884. '\\\\': {
  16885. index: 1,
  16886. lineNumber: 1,
  16887. column: 2,
  16888. message: 'Error: Line 1: Unexpected token ILLEGAL'
  16889. },
  16890. '\\u005c': {
  16891. index: 6,
  16892. lineNumber: 1,
  16893. column: 7,
  16894. message: 'Error: Line 1: Unexpected token ILLEGAL'
  16895. },
  16896. '\\x': {
  16897. index: 1,
  16898. lineNumber: 1,
  16899. column: 2,
  16900. message: 'Error: Line 1: Unexpected token ILLEGAL'
  16901. },
  16902. '\\u0000': {
  16903. index: 6,
  16904. lineNumber: 1,
  16905. column: 7,
  16906. message: 'Error: Line 1: Unexpected token ILLEGAL'
  16907. },
  16908. '\u200C = []': {
  16909. index: 0,
  16910. lineNumber: 1,
  16911. column: 1,
  16912. message: 'Error: Line 1: Unexpected token ILLEGAL'
  16913. },
  16914. '\u200D = []': {
  16915. index: 0,
  16916. lineNumber: 1,
  16917. column: 1,
  16918. message: 'Error: Line 1: Unexpected token ILLEGAL'
  16919. },
  16920. '"\\': {
  16921. index: 3,
  16922. lineNumber: 1,
  16923. column: 4,
  16924. message: 'Error: Line 1: Unexpected token ILLEGAL'
  16925. },
  16926. '"\\u': {
  16927. index: 3,
  16928. lineNumber: 1,
  16929. column: 4,
  16930. message: 'Error: Line 1: Unexpected token ILLEGAL'
  16931. },
  16932. 'try { } catch() {}': {
  16933. index: 14,
  16934. lineNumber: 1,
  16935. column: 15,
  16936. message: 'Error: Line 1: Unexpected token )'
  16937. },
  16938. 'return': {
  16939. index: 6,
  16940. lineNumber: 1,
  16941. column: 7,
  16942. message: 'Error: Line 1: Illegal return statement'
  16943. },
  16944. 'break': {
  16945. index: 5,
  16946. lineNumber: 1,
  16947. column: 6,
  16948. message: 'Error: Line 1: Illegal break statement'
  16949. },
  16950. 'continue': {
  16951. index: 8,
  16952. lineNumber: 1,
  16953. column: 9,
  16954. message: 'Error: Line 1: Illegal continue statement'
  16955. },
  16956. 'switch (x) { default: continue; }': {
  16957. index: 31,
  16958. lineNumber: 1,
  16959. column: 32,
  16960. message: 'Error: Line 1: Illegal continue statement'
  16961. },
  16962. 'do { x } *': {
  16963. index: 9,
  16964. lineNumber: 1,
  16965. column: 10,
  16966. message: 'Error: Line 1: Unexpected token *'
  16967. },
  16968. 'while (true) { break x; }': {
  16969. index: 22,
  16970. lineNumber: 1,
  16971. column: 23,
  16972. message: 'Error: Line 1: Undefined label \'x\''
  16973. },
  16974. 'while (true) { continue x; }': {
  16975. index: 25,
  16976. lineNumber: 1,
  16977. column: 26,
  16978. message: 'Error: Line 1: Undefined label \'x\''
  16979. },
  16980. 'x: while (true) { (function () { break x; }); }': {
  16981. index: 40,
  16982. lineNumber: 1,
  16983. column: 41,
  16984. message: 'Error: Line 1: Undefined label \'x\''
  16985. },
  16986. 'x: while (true) { (function () { continue x; }); }': {
  16987. index: 43,
  16988. lineNumber: 1,
  16989. column: 44,
  16990. message: 'Error: Line 1: Undefined label \'x\''
  16991. },
  16992. 'x: while (true) { (function () { break; }); }': {
  16993. index: 39,
  16994. lineNumber: 1,
  16995. column: 40,
  16996. message: 'Error: Line 1: Illegal break statement'
  16997. },
  16998. 'x: while (true) { (function () { continue; }); }': {
  16999. index: 42,
  17000. lineNumber: 1,
  17001. column: 43,
  17002. message: 'Error: Line 1: Illegal continue statement'
  17003. },
  17004. 'x: while (true) { x: while (true) { } }': {
  17005. index: 20,
  17006. lineNumber: 1,
  17007. column: 21,
  17008. message: 'Error: Line 1: Label \'x\' has already been declared'
  17009. },
  17010. '(function () { \'use strict\'; delete i; }())': {
  17011. index: 37,
  17012. lineNumber: 1,
  17013. column: 38,
  17014. message: 'Error: Line 1: Delete of an unqualified identifier in strict mode.'
  17015. },
  17016. '(function () { \'use strict\'; with (i); }())': {
  17017. index: 28,
  17018. lineNumber: 1,
  17019. column: 29,
  17020. message: 'Error: Line 1: Strict mode code may not include a with statement'
  17021. },
  17022. 'function hello() {\'use strict\'; ({ i: 42, i: 42 }) }': {
  17023. index: 47,
  17024. lineNumber: 1,
  17025. column: 48,
  17026. message: 'Error: Line 1: Duplicate data property in object literal not allowed in strict mode'
  17027. },
  17028. 'function hello() {\'use strict\'; ({ hasOwnProperty: 42, hasOwnProperty: 42 }) }': {
  17029. index: 73,
  17030. lineNumber: 1,
  17031. column: 74,
  17032. message: 'Error: Line 1: Duplicate data property in object literal not allowed in strict mode'
  17033. },
  17034. 'function hello() {\'use strict\'; var eval = 10; }': {
  17035. index: 40,
  17036. lineNumber: 1,
  17037. column: 41,
  17038. message: 'Error: Line 1: Variable name may not be eval or arguments in strict mode'
  17039. },
  17040. 'function hello() {\'use strict\'; var arguments = 10; }': {
  17041. index: 45,
  17042. lineNumber: 1,
  17043. column: 46,
  17044. message: 'Error: Line 1: Variable name may not be eval or arguments in strict mode'
  17045. },
  17046. 'function hello() {\'use strict\'; try { } catch (eval) { } }': {
  17047. index: 51,
  17048. lineNumber: 1,
  17049. column: 52,
  17050. message: 'Error: Line 1: Catch variable may not be eval or arguments in strict mode'
  17051. },
  17052. 'function hello() {\'use strict\'; try { } catch (arguments) { } }': {
  17053. index: 56,
  17054. lineNumber: 1,
  17055. column: 57,
  17056. message: 'Error: Line 1: Catch variable may not be eval or arguments in strict mode'
  17057. },
  17058. 'function hello() {\'use strict\'; eval = 10; }': {
  17059. index: 32,
  17060. lineNumber: 1,
  17061. column: 33,
  17062. message: 'Error: Line 1: Assignment to eval or arguments is not allowed in strict mode'
  17063. },
  17064. 'function hello() {\'use strict\'; arguments = 10; }': {
  17065. index: 32,
  17066. lineNumber: 1,
  17067. column: 33,
  17068. message: 'Error: Line 1: Assignment to eval or arguments is not allowed in strict mode'
  17069. },
  17070. 'function hello() {\'use strict\'; ++eval; }': {
  17071. index: 38,
  17072. lineNumber: 1,
  17073. column: 39,
  17074. message: 'Error: Line 1: Prefix increment/decrement may not have eval or arguments operand in strict mode'
  17075. },
  17076. 'function hello() {\'use strict\'; --eval; }': {
  17077. index: 38,
  17078. lineNumber: 1,
  17079. column: 39,
  17080. message: 'Error: Line 1: Prefix increment/decrement may not have eval or arguments operand in strict mode'
  17081. },
  17082. 'function hello() {\'use strict\'; ++arguments; }': {
  17083. index: 43,
  17084. lineNumber: 1,
  17085. column: 44,
  17086. message: 'Error: Line 1: Prefix increment/decrement may not have eval or arguments operand in strict mode'
  17087. },
  17088. 'function hello() {\'use strict\'; --arguments; }': {
  17089. index: 43,
  17090. lineNumber: 1,
  17091. column: 44,
  17092. message: 'Error: Line 1: Prefix increment/decrement may not have eval or arguments operand in strict mode'
  17093. },
  17094. 'function hello() {\'use strict\'; eval++; }': {
  17095. index: 36,
  17096. lineNumber: 1,
  17097. column: 37,
  17098. message: 'Error: Line 1: Postfix increment/decrement may not have eval or arguments operand in strict mode'
  17099. },
  17100. 'function hello() {\'use strict\'; eval--; }': {
  17101. index: 36,
  17102. lineNumber: 1,
  17103. column: 37,
  17104. message: 'Error: Line 1: Postfix increment/decrement may not have eval or arguments operand in strict mode'
  17105. },
  17106. 'function hello() {\'use strict\'; arguments++; }': {
  17107. index: 41,
  17108. lineNumber: 1,
  17109. column: 42,
  17110. message: 'Error: Line 1: Postfix increment/decrement may not have eval or arguments operand in strict mode'
  17111. },
  17112. 'function hello() {\'use strict\'; arguments--; }': {
  17113. index: 41,
  17114. lineNumber: 1,
  17115. column: 42,
  17116. message: 'Error: Line 1: Postfix increment/decrement may not have eval or arguments operand in strict mode'
  17117. },
  17118. 'function hello() {\'use strict\'; function eval() { } }': {
  17119. index: 41,
  17120. lineNumber: 1,
  17121. column: 42,
  17122. message: 'Error: Line 1: Function name may not be eval or arguments in strict mode'
  17123. },
  17124. 'function hello() {\'use strict\'; function arguments() { } }': {
  17125. index: 41,
  17126. lineNumber: 1,
  17127. column: 42,
  17128. message: 'Error: Line 1: Function name may not be eval or arguments in strict mode'
  17129. },
  17130. 'function eval() {\'use strict\'; }': {
  17131. index: 9,
  17132. lineNumber: 1,
  17133. column: 10,
  17134. message: 'Error: Line 1: Function name may not be eval or arguments in strict mode'
  17135. },
  17136. 'function arguments() {\'use strict\'; }': {
  17137. index: 9,
  17138. lineNumber: 1,
  17139. column: 10,
  17140. message: 'Error: Line 1: Function name may not be eval or arguments in strict mode'
  17141. },
  17142. 'function hello() {\'use strict\'; (function eval() { }()) }': {
  17143. index: 42,
  17144. lineNumber: 1,
  17145. column: 43,
  17146. message: 'Error: Line 1: Function name may not be eval or arguments in strict mode'
  17147. },
  17148. 'function hello() {\'use strict\'; (function arguments() { }()) }': {
  17149. index: 42,
  17150. lineNumber: 1,
  17151. column: 43,
  17152. message: 'Error: Line 1: Function name may not be eval or arguments in strict mode'
  17153. },
  17154. '(function eval() {\'use strict\'; })()': {
  17155. index: 10,
  17156. lineNumber: 1,
  17157. column: 11,
  17158. message: 'Error: Line 1: Function name may not be eval or arguments in strict mode'
  17159. },
  17160. '(function arguments() {\'use strict\'; })()': {
  17161. index: 10,
  17162. lineNumber: 1,
  17163. column: 11,
  17164. message: 'Error: Line 1: Function name may not be eval or arguments in strict mode'
  17165. },
  17166. 'function hello() {\'use strict\'; ({ s: function eval() { } }); }': {
  17167. index: 47,
  17168. lineNumber: 1,
  17169. column: 48,
  17170. message: 'Error: Line 1: Function name may not be eval or arguments in strict mode'
  17171. },
  17172. '(function package() {\'use strict\'; })()': {
  17173. index: 10,
  17174. lineNumber: 1,
  17175. column: 11,
  17176. message: 'Error: Line 1: Use of future reserved word in strict mode'
  17177. },
  17178. 'function hello() {\'use strict\'; ({ i: 10, set s(eval) { } }); }': {
  17179. index: 48,
  17180. lineNumber: 1,
  17181. column: 49,
  17182. message: 'Error: Line 1: Parameter name eval or arguments is not allowed in strict mode'
  17183. },
  17184. 'function hello() {\'use strict\'; ({ set s(eval) { } }); }': {
  17185. index: 41,
  17186. lineNumber: 1,
  17187. column: 42,
  17188. message: 'Error: Line 1: Parameter name eval or arguments is not allowed in strict mode'
  17189. },
  17190. 'function hello() {\'use strict\'; ({ s: function s(eval) { } }); }': {
  17191. index: 49,
  17192. lineNumber: 1,
  17193. column: 50,
  17194. message: 'Error: Line 1: Parameter name eval or arguments is not allowed in strict mode'
  17195. },
  17196. 'function hello(eval) {\'use strict\';}': {
  17197. index: 15,
  17198. lineNumber: 1,
  17199. column: 16,
  17200. message: 'Error: Line 1: Parameter name eval or arguments is not allowed in strict mode'
  17201. },
  17202. 'function hello(arguments) {\'use strict\';}': {
  17203. index: 15,
  17204. lineNumber: 1,
  17205. column: 16,
  17206. message: 'Error: Line 1: Parameter name eval or arguments is not allowed in strict mode'
  17207. },
  17208. 'function hello() { \'use strict\'; function inner(eval) {} }': {
  17209. index: 48,
  17210. lineNumber: 1,
  17211. column: 49,
  17212. message: 'Error: Line 1: Parameter name eval or arguments is not allowed in strict mode'
  17213. },
  17214. 'function hello() { \'use strict\'; function inner(arguments) {} }': {
  17215. index: 48,
  17216. lineNumber: 1,
  17217. column: 49,
  17218. message: 'Error: Line 1: Parameter name eval or arguments is not allowed in strict mode'
  17219. },
  17220. ' "\\1"; \'use strict\';': {
  17221. index: 1,
  17222. lineNumber: 1,
  17223. column: 2,
  17224. message: 'Error: Line 1: Octal literals are not allowed in strict mode.'
  17225. },
  17226. 'function hello() { \'use strict\'; "\\1"; }': {
  17227. index: 33,
  17228. lineNumber: 1,
  17229. column: 34,
  17230. message: 'Error: Line 1: Octal literals are not allowed in strict mode.'
  17231. },
  17232. 'function hello() { \'use strict\'; 021; }': {
  17233. index: 33,
  17234. lineNumber: 1,
  17235. column: 34,
  17236. message: 'Error: Line 1: Octal literals are not allowed in strict mode.'
  17237. },
  17238. 'function hello() { \'use strict\'; ({ "\\1": 42 }); }': {
  17239. index: 36,
  17240. lineNumber: 1,
  17241. column: 37,
  17242. message: 'Error: Line 1: Octal literals are not allowed in strict mode.'
  17243. },
  17244. 'function hello() { \'use strict\'; ({ 021: 42 }); }': {
  17245. index: 36,
  17246. lineNumber: 1,
  17247. column: 37,
  17248. message: 'Error: Line 1: Octal literals are not allowed in strict mode.'
  17249. },
  17250. 'function hello() { "octal directive\\1"; "use strict"; }': {
  17251. index: 19,
  17252. lineNumber: 1,
  17253. column: 20,
  17254. message: 'Error: Line 1: Octal literals are not allowed in strict mode.'
  17255. },
  17256. 'function hello() { "octal directive\\1"; "octal directive\\2"; "use strict"; }': {
  17257. index: 19,
  17258. lineNumber: 1,
  17259. column: 20,
  17260. message: 'Error: Line 1: Octal literals are not allowed in strict mode.'
  17261. },
  17262. 'function hello() { "use strict"; function inner() { "octal directive\\1"; } }': {
  17263. index: 52,
  17264. lineNumber: 1,
  17265. column: 53,
  17266. message: 'Error: Line 1: Octal literals are not allowed in strict mode.'
  17267. },
  17268. 'function hello() { "use strict"; var implements; }': {
  17269. index: 37,
  17270. lineNumber: 1,
  17271. column: 38,
  17272. message: 'Error: Line 1: Use of future reserved word in strict mode'
  17273. },
  17274. 'function hello() { "use strict"; var interface; }': {
  17275. index: 37,
  17276. lineNumber: 1,
  17277. column: 38,
  17278. message: 'Error: Line 1: Use of future reserved word in strict mode'
  17279. },
  17280. 'function hello() { "use strict"; var package; }': {
  17281. index: 37,
  17282. lineNumber: 1,
  17283. column: 38,
  17284. message: 'Error: Line 1: Use of future reserved word in strict mode'
  17285. },
  17286. 'function hello() { "use strict"; var private; }': {
  17287. index: 37,
  17288. lineNumber: 1,
  17289. column: 38,
  17290. message: 'Error: Line 1: Use of future reserved word in strict mode'
  17291. },
  17292. 'function hello() { "use strict"; var protected; }': {
  17293. index: 37,
  17294. lineNumber: 1,
  17295. column: 38,
  17296. message: 'Error: Line 1: Use of future reserved word in strict mode'
  17297. },
  17298. 'function hello() { "use strict"; var public; }': {
  17299. index: 37,
  17300. lineNumber: 1,
  17301. column: 38,
  17302. message: 'Error: Line 1: Use of future reserved word in strict mode'
  17303. },
  17304. 'function hello() { "use strict"; var static; }': {
  17305. index: 37,
  17306. lineNumber: 1,
  17307. column: 38,
  17308. message: 'Error: Line 1: Use of future reserved word in strict mode'
  17309. },
  17310. 'function hello() { "use strict"; var yield; }': {
  17311. index: 37,
  17312. lineNumber: 1,
  17313. column: 38,
  17314. message: 'Error: Line 1: Use of future reserved word in strict mode'
  17315. },
  17316. 'function hello() { "use strict"; var let; }': {
  17317. index: 37,
  17318. lineNumber: 1,
  17319. column: 38,
  17320. message: 'Error: Line 1: Use of future reserved word in strict mode'
  17321. },
  17322. 'function hello(static) { "use strict"; }': {
  17323. index: 15,
  17324. lineNumber: 1,
  17325. column: 16,
  17326. message: 'Error: Line 1: Use of future reserved word in strict mode'
  17327. },
  17328. 'function static() { "use strict"; }': {
  17329. index: 9,
  17330. lineNumber: 1,
  17331. column: 10,
  17332. message: 'Error: Line 1: Use of future reserved word in strict mode'
  17333. },
  17334. 'function eval(a) { "use strict"; }': {
  17335. index: 9,
  17336. lineNumber: 1,
  17337. column: 10,
  17338. message: 'Error: Line 1: Function name may not be eval or arguments in strict mode'
  17339. },
  17340. 'function arguments(a) { "use strict"; }': {
  17341. index: 9,
  17342. lineNumber: 1,
  17343. column: 10,
  17344. message: 'Error: Line 1: Function name may not be eval or arguments in strict mode'
  17345. },
  17346. 'var yield': {
  17347. index: 4,
  17348. lineNumber: 1,
  17349. column: 5,
  17350. message: 'Error: Line 1: Unexpected token yield'
  17351. },
  17352. 'var let': {
  17353. index: 4,
  17354. lineNumber: 1,
  17355. column: 5,
  17356. message: 'Error: Line 1: Unexpected token let'
  17357. },
  17358. '"use strict"; function static() { }': {
  17359. index: 23,
  17360. lineNumber: 1,
  17361. column: 24,
  17362. message: 'Error: Line 1: Use of future reserved word in strict mode'
  17363. },
  17364. 'function a(t, t) { "use strict"; }': {
  17365. index: 14,
  17366. lineNumber: 1,
  17367. column: 15,
  17368. message: 'Error: Line 1: Strict mode function may not have duplicate parameter names'
  17369. },
  17370. 'function a(eval) { "use strict"; }': {
  17371. index: 11,
  17372. lineNumber: 1,
  17373. column: 12,
  17374. message: 'Error: Line 1: Parameter name eval or arguments is not allowed in strict mode'
  17375. },
  17376. 'function a(package) { "use strict"; }': {
  17377. index: 11,
  17378. lineNumber: 1,
  17379. column: 12,
  17380. message: 'Error: Line 1: Use of future reserved word in strict mode'
  17381. },
  17382. 'function a() { "use strict"; function b(t, t) { }; }': {
  17383. index: 43,
  17384. lineNumber: 1,
  17385. column: 44,
  17386. message: 'Error: Line 1: Strict mode function may not have duplicate parameter names'
  17387. },
  17388. '(function a(t, t) { "use strict"; })': {
  17389. index: 15,
  17390. lineNumber: 1,
  17391. column: 16,
  17392. message: 'Error: Line 1: Strict mode function may not have duplicate parameter names'
  17393. },
  17394. 'function a() { "use strict"; (function b(t, t) { }); }': {
  17395. index: 44,
  17396. lineNumber: 1,
  17397. column: 45,
  17398. message: 'Error: Line 1: Strict mode function may not have duplicate parameter names'
  17399. },
  17400. '(function a(eval) { "use strict"; })': {
  17401. index: 12,
  17402. lineNumber: 1,
  17403. column: 13,
  17404. message: 'Error: Line 1: Parameter name eval or arguments is not allowed in strict mode'
  17405. },
  17406. '(function a(package) { "use strict"; })': {
  17407. index: 12,
  17408. lineNumber: 1,
  17409. column: 13,
  17410. message: 'Error: Line 1: Use of future reserved word in strict mode'
  17411. },
  17412. '__proto__: __proto__: 42;': {
  17413. index: 21,
  17414. lineNumber: 1,
  17415. column: 22,
  17416. message: 'Error: Line 1: Label \'__proto__\' has already been declared'
  17417. },
  17418. '"use strict"; function t(__proto__, __proto__) { }': {
  17419. index: 36,
  17420. lineNumber: 1,
  17421. column: 37,
  17422. message: 'Error: Line 1: Strict mode function may not have duplicate parameter names'
  17423. },
  17424. '"use strict"; x = { __proto__: 42, __proto__: 43 }': {
  17425. index: 48,
  17426. lineNumber: 1,
  17427. column: 49,
  17428. message: 'Error: Line 1: Duplicate data property in object literal not allowed in strict mode'
  17429. },
  17430. '"use strict"; x = { get __proto__() { }, __proto__: 43 }': {
  17431. index: 54,
  17432. lineNumber: 1,
  17433. column: 55,
  17434. message: 'Error: Line 1: Object literal may not have data and accessor property with the same name'
  17435. },
  17436. 'var': {
  17437. index: 3,
  17438. lineNumber: 1,
  17439. column: 4,
  17440. message: 'Error: Line 1: Unexpected end of input'
  17441. },
  17442. 'let': {
  17443. index: 3,
  17444. lineNumber: 1,
  17445. column: 4,
  17446. message: 'Error: Line 1: Unexpected end of input'
  17447. },
  17448. 'const': {
  17449. index: 5,
  17450. lineNumber: 1,
  17451. column: 6,
  17452. message: 'Error: Line 1: Unexpected end of input'
  17453. },
  17454. '{ ; ; ': {
  17455. index: 8,
  17456. lineNumber: 1,
  17457. column: 9,
  17458. message: 'Error: Line 1: Unexpected end of input'
  17459. },
  17460. 'function t() { ; ; ': {
  17461. index: 21,
  17462. lineNumber: 1,
  17463. column: 22,
  17464. message: 'Error: Line 1: Unexpected end of input'
  17465. }
  17466. },
  17467. 'Tokenize': {
  17468. 'tokenize(/42/)': [
  17469. {
  17470. "type": "Identifier",
  17471. "value": "tokenize",
  17472. "range": [
  17473. 0,
  17474. 8
  17475. ],
  17476. "loc": {
  17477. "start": {
  17478. "line": 1,
  17479. "column": 0
  17480. },
  17481. "end": {
  17482. "line": 1,
  17483. "column": 8
  17484. }
  17485. }
  17486. },
  17487. {
  17488. "type": "Punctuator",
  17489. "value": "(",
  17490. "range": [
  17491. 8,
  17492. 9
  17493. ],
  17494. "loc": {
  17495. "start": {
  17496. "line": 1,
  17497. "column": 8
  17498. },
  17499. "end": {
  17500. "line": 1,
  17501. "column": 9
  17502. }
  17503. }
  17504. },
  17505. {
  17506. "type": "Punctuator",
  17507. "value": ")",
  17508. "range": [
  17509. 13,
  17510. 14
  17511. ],
  17512. "loc": {
  17513. "start": {
  17514. "line": 1,
  17515. "column": 13
  17516. },
  17517. "end": {
  17518. "line": 1,
  17519. "column": 14
  17520. }
  17521. }
  17522. },
  17523. {
  17524. "type": "RegularExpression",
  17525. "value": "/42/",
  17526. "range": [
  17527. 9,
  17528. 13
  17529. ],
  17530. "loc": {
  17531. "start": {
  17532. "line": 1,
  17533. "column": 9
  17534. },
  17535. "end": {
  17536. "line": 1,
  17537. "column": 13
  17538. }
  17539. }
  17540. },
  17541. {
  17542. "type": "Punctuator",
  17543. "value": ")",
  17544. "range": [
  17545. 13,
  17546. 14
  17547. ],
  17548. "loc": {
  17549. "start": {
  17550. "line": 1,
  17551. "column": 13
  17552. },
  17553. "end": {
  17554. "line": 1,
  17555. "column": 14
  17556. }
  17557. }
  17558. }
  17559. ],
  17560. 'if (false) { /42/ }': [
  17561. {
  17562. "type": "Keyword",
  17563. "value": "if",
  17564. "range": [
  17565. 0,
  17566. 2
  17567. ],
  17568. "loc": {
  17569. "start": {
  17570. "line": 1,
  17571. "column": 0
  17572. },
  17573. "end": {
  17574. "line": 1,
  17575. "column": 2
  17576. }
  17577. }
  17578. },
  17579. {
  17580. "type": "Punctuator",
  17581. "value": "(",
  17582. "range": [
  17583. 3,
  17584. 4
  17585. ],
  17586. "loc": {
  17587. "start": {
  17588. "line": 1,
  17589. "column": 3
  17590. },
  17591. "end": {
  17592. "line": 1,
  17593. "column": 4
  17594. }
  17595. }
  17596. },
  17597. {
  17598. "type": "Boolean",
  17599. "value": "false",
  17600. "range": [
  17601. 4,
  17602. 9
  17603. ],
  17604. "loc": {
  17605. "start": {
  17606. "line": 1,
  17607. "column": 4
  17608. },
  17609. "end": {
  17610. "line": 1,
  17611. "column": 9
  17612. }
  17613. }
  17614. },
  17615. {
  17616. "type": "Punctuator",
  17617. "value": ")",
  17618. "range": [
  17619. 9,
  17620. 10
  17621. ],
  17622. "loc": {
  17623. "start": {
  17624. "line": 1,
  17625. "column": 9
  17626. },
  17627. "end": {
  17628. "line": 1,
  17629. "column": 10
  17630. }
  17631. }
  17632. },
  17633. {
  17634. "type": "Punctuator",
  17635. "value": "{",
  17636. "range": [
  17637. 11,
  17638. 12
  17639. ],
  17640. "loc": {
  17641. "start": {
  17642. "line": 1,
  17643. "column": 11
  17644. },
  17645. "end": {
  17646. "line": 1,
  17647. "column": 12
  17648. }
  17649. }
  17650. },
  17651. {
  17652. "type": "Punctuator",
  17653. "value": "}",
  17654. "range": [
  17655. 18,
  17656. 19
  17657. ],
  17658. "loc": {
  17659. "start": {
  17660. "line": 1,
  17661. "column": 18
  17662. },
  17663. "end": {
  17664. "line": 1,
  17665. "column": 19
  17666. }
  17667. }
  17668. },
  17669. {
  17670. "type": "RegularExpression",
  17671. "value": "/42/",
  17672. "range": [
  17673. 13,
  17674. 17
  17675. ],
  17676. "loc": {
  17677. "start": {
  17678. "line": 1,
  17679. "column": 13
  17680. },
  17681. "end": {
  17682. "line": 1,
  17683. "column": 17
  17684. }
  17685. }
  17686. },
  17687. {
  17688. "type": "Punctuator",
  17689. "value": "}",
  17690. "range": [
  17691. 18,
  17692. 19
  17693. ],
  17694. "loc": {
  17695. "start": {
  17696. "line": 1,
  17697. "column": 18
  17698. },
  17699. "end": {
  17700. "line": 1,
  17701. "column": 19
  17702. }
  17703. }
  17704. }
  17705. ],
  17706. 'with (false) /42/': [
  17707. {
  17708. "type": "Keyword",
  17709. "value": "with",
  17710. "range": [
  17711. 0,
  17712. 4
  17713. ],
  17714. "loc": {
  17715. "start": {
  17716. "line": 1,
  17717. "column": 0
  17718. },
  17719. "end": {
  17720. "line": 1,
  17721. "column": 4
  17722. }
  17723. }
  17724. },
  17725. {
  17726. "type": "Punctuator",
  17727. "value": "(",
  17728. "range": [
  17729. 5,
  17730. 6
  17731. ],
  17732. "loc": {
  17733. "start": {
  17734. "line": 1,
  17735. "column": 5
  17736. },
  17737. "end": {
  17738. "line": 1,
  17739. "column": 6
  17740. }
  17741. }
  17742. },
  17743. {
  17744. "type": "Boolean",
  17745. "value": "false",
  17746. "range": [
  17747. 6,
  17748. 11
  17749. ],
  17750. "loc": {
  17751. "start": {
  17752. "line": 1,
  17753. "column": 6
  17754. },
  17755. "end": {
  17756. "line": 1,
  17757. "column": 11
  17758. }
  17759. }
  17760. },
  17761. {
  17762. "type": "Punctuator",
  17763. "value": ")",
  17764. "range": [
  17765. 11,
  17766. 12
  17767. ],
  17768. "loc": {
  17769. "start": {
  17770. "line": 1,
  17771. "column": 11
  17772. },
  17773. "end": {
  17774. "line": 1,
  17775. "column": 12
  17776. }
  17777. }
  17778. },
  17779. {
  17780. "type": "RegularExpression",
  17781. "value": "/42/",
  17782. "range": [
  17783. 13,
  17784. 17
  17785. ],
  17786. "loc": {
  17787. "start": {
  17788. "line": 1,
  17789. "column": 13
  17790. },
  17791. "end": {
  17792. "line": 1,
  17793. "column": 17
  17794. }
  17795. }
  17796. }
  17797. ],
  17798. '(false) /42/': [
  17799. {
  17800. "type": "Punctuator",
  17801. "value": "(",
  17802. "range": [
  17803. 0,
  17804. 1
  17805. ],
  17806. "loc": {
  17807. "start": {
  17808. "line": 1,
  17809. "column": 0
  17810. },
  17811. "end": {
  17812. "line": 1,
  17813. "column": 1
  17814. }
  17815. }
  17816. },
  17817. {
  17818. "type": "Boolean",
  17819. "value": "false",
  17820. "range": [
  17821. 1,
  17822. 6
  17823. ],
  17824. "loc": {
  17825. "start": {
  17826. "line": 1,
  17827. "column": 1
  17828. },
  17829. "end": {
  17830. "line": 1,
  17831. "column": 6
  17832. }
  17833. }
  17834. },
  17835. {
  17836. "type": "Punctuator",
  17837. "value": ")",
  17838. "range": [
  17839. 6,
  17840. 7
  17841. ],
  17842. "loc": {
  17843. "start": {
  17844. "line": 1,
  17845. "column": 6
  17846. },
  17847. "end": {
  17848. "line": 1,
  17849. "column": 7
  17850. }
  17851. }
  17852. },
  17853. {
  17854. "type": "Punctuator",
  17855. "value": "/",
  17856. "range": [
  17857. 8,
  17858. 9
  17859. ],
  17860. "loc": {
  17861. "start": {
  17862. "line": 1,
  17863. "column": 8
  17864. },
  17865. "end": {
  17866. "line": 1,
  17867. "column": 9
  17868. }
  17869. }
  17870. },
  17871. {
  17872. "type": "Numeric",
  17873. "value": "42",
  17874. "range": [
  17875. 9,
  17876. 11
  17877. ],
  17878. "loc": {
  17879. "start": {
  17880. "line": 1,
  17881. "column": 9
  17882. },
  17883. "end": {
  17884. "line": 1,
  17885. "column": 11
  17886. }
  17887. }
  17888. },
  17889. {
  17890. "type": "Punctuator",
  17891. "value": "/",
  17892. "range": [
  17893. 11,
  17894. 12
  17895. ],
  17896. "loc": {
  17897. "start": {
  17898. "line": 1,
  17899. "column": 11
  17900. },
  17901. "end": {
  17902. "line": 1,
  17903. "column": 12
  17904. }
  17905. }
  17906. }
  17907. ],
  17908. 'function f(){} /42/': [
  17909. {
  17910. "type": "Keyword",
  17911. "value": "function",
  17912. "range": [
  17913. 0,
  17914. 8
  17915. ],
  17916. "loc": {
  17917. "start": {
  17918. "line": 1,
  17919. "column": 0
  17920. },
  17921. "end": {
  17922. "line": 1,
  17923. "column": 8
  17924. }
  17925. }
  17926. },
  17927. {
  17928. "type": "Identifier",
  17929. "value": "f",
  17930. "range": [
  17931. 9,
  17932. 10
  17933. ],
  17934. "loc": {
  17935. "start": {
  17936. "line": 1,
  17937. "column": 9
  17938. },
  17939. "end": {
  17940. "line": 1,
  17941. "column": 10
  17942. }
  17943. }
  17944. },
  17945. {
  17946. "type": "Punctuator",
  17947. "value": "(",
  17948. "range": [
  17949. 10,
  17950. 11
  17951. ],
  17952. "loc": {
  17953. "start": {
  17954. "line": 1,
  17955. "column": 10
  17956. },
  17957. "end": {
  17958. "line": 1,
  17959. "column": 11
  17960. }
  17961. }
  17962. },
  17963. {
  17964. "type": "Punctuator",
  17965. "value": ")",
  17966. "range": [
  17967. 11,
  17968. 12
  17969. ],
  17970. "loc": {
  17971. "start": {
  17972. "line": 1,
  17973. "column": 11
  17974. },
  17975. "end": {
  17976. "line": 1,
  17977. "column": 12
  17978. }
  17979. }
  17980. },
  17981. {
  17982. "type": "Punctuator",
  17983. "value": "{",
  17984. "range": [
  17985. 12,
  17986. 13
  17987. ],
  17988. "loc": {
  17989. "start": {
  17990. "line": 1,
  17991. "column": 12
  17992. },
  17993. "end": {
  17994. "line": 1,
  17995. "column": 13
  17996. }
  17997. }
  17998. },
  17999. {
  18000. "type": "Punctuator",
  18001. "value": "}",
  18002. "range": [
  18003. 13,
  18004. 14
  18005. ],
  18006. "loc": {
  18007. "start": {
  18008. "line": 1,
  18009. "column": 13
  18010. },
  18011. "end": {
  18012. "line": 1,
  18013. "column": 14
  18014. }
  18015. }
  18016. },
  18017. {
  18018. "type": "RegularExpression",
  18019. "value": "/42/",
  18020. "range": [
  18021. 15,
  18022. 19
  18023. ],
  18024. "loc": {
  18025. "start": {
  18026. "line": 1,
  18027. "column": 15
  18028. },
  18029. "end": {
  18030. "line": 1,
  18031. "column": 19
  18032. }
  18033. }
  18034. }
  18035. ],
  18036. 'function(){} /42': [
  18037. {
  18038. "type": "Keyword",
  18039. "value": "function",
  18040. "range": [
  18041. 0,
  18042. 8
  18043. ],
  18044. "loc": {
  18045. "start": {
  18046. "line": 1,
  18047. "column": 0
  18048. },
  18049. "end": {
  18050. "line": 1,
  18051. "column": 8
  18052. }
  18053. }
  18054. },
  18055. {
  18056. "type": "Punctuator",
  18057. "value": "(",
  18058. "range": [
  18059. 8,
  18060. 9
  18061. ],
  18062. "loc": {
  18063. "start": {
  18064. "line": 1,
  18065. "column": 8
  18066. },
  18067. "end": {
  18068. "line": 1,
  18069. "column": 9
  18070. }
  18071. }
  18072. },
  18073. {
  18074. "type": "Punctuator",
  18075. "value": ")",
  18076. "range": [
  18077. 9,
  18078. 10
  18079. ],
  18080. "loc": {
  18081. "start": {
  18082. "line": 1,
  18083. "column": 9
  18084. },
  18085. "end": {
  18086. "line": 1,
  18087. "column": 10
  18088. }
  18089. }
  18090. },
  18091. {
  18092. "type": "Punctuator",
  18093. "value": "{",
  18094. "range": [
  18095. 10,
  18096. 11
  18097. ],
  18098. "loc": {
  18099. "start": {
  18100. "line": 1,
  18101. "column": 10
  18102. },
  18103. "end": {
  18104. "line": 1,
  18105. "column": 11
  18106. }
  18107. }
  18108. },
  18109. {
  18110. "type": "Punctuator",
  18111. "value": "}",
  18112. "range": [
  18113. 11,
  18114. 12
  18115. ],
  18116. "loc": {
  18117. "start": {
  18118. "line": 1,
  18119. "column": 11
  18120. },
  18121. "end": {
  18122. "line": 1,
  18123. "column": 12
  18124. }
  18125. }
  18126. },
  18127. {
  18128. "type": "Punctuator",
  18129. "value": "/",
  18130. "range": [
  18131. 13,
  18132. 14
  18133. ],
  18134. "loc": {
  18135. "start": {
  18136. "line": 1,
  18137. "column": 13
  18138. },
  18139. "end": {
  18140. "line": 1,
  18141. "column": 14
  18142. }
  18143. }
  18144. },
  18145. {
  18146. "type": "Numeric",
  18147. "value": "42",
  18148. "range": [
  18149. 14,
  18150. 16
  18151. ],
  18152. "loc": {
  18153. "start": {
  18154. "line": 1,
  18155. "column": 14
  18156. },
  18157. "end": {
  18158. "line": 1,
  18159. "column": 16
  18160. }
  18161. }
  18162. }
  18163. ],
  18164. '{} /42': [
  18165. {
  18166. "type": "Punctuator",
  18167. "value": "{",
  18168. "range": [
  18169. 0,
  18170. 1
  18171. ],
  18172. "loc": {
  18173. "start": {
  18174. "line": 1,
  18175. "column": 0
  18176. },
  18177. "end": {
  18178. "line": 1,
  18179. "column": 1
  18180. }
  18181. }
  18182. },
  18183. {
  18184. "type": "Punctuator",
  18185. "value": "}",
  18186. "range": [
  18187. 1,
  18188. 2
  18189. ],
  18190. "loc": {
  18191. "start": {
  18192. "line": 1,
  18193. "column": 1
  18194. },
  18195. "end": {
  18196. "line": 1,
  18197. "column": 2
  18198. }
  18199. }
  18200. },
  18201. {
  18202. "type": "Punctuator",
  18203. "value": "/",
  18204. "range": [
  18205. 3,
  18206. 4
  18207. ],
  18208. "loc": {
  18209. "start": {
  18210. "line": 1,
  18211. "column": 3
  18212. },
  18213. "end": {
  18214. "line": 1,
  18215. "column": 4
  18216. }
  18217. }
  18218. },
  18219. {
  18220. "type": "Numeric",
  18221. "value": "42",
  18222. "range": [
  18223. 4,
  18224. 6
  18225. ],
  18226. "loc": {
  18227. "start": {
  18228. "line": 1,
  18229. "column": 4
  18230. },
  18231. "end": {
  18232. "line": 1,
  18233. "column": 6
  18234. }
  18235. }
  18236. }
  18237. ],
  18238. '[function(){} /42]': [
  18239. {
  18240. "type": "Punctuator",
  18241. "value": "[",
  18242. "range": [
  18243. 0,
  18244. 1
  18245. ],
  18246. "loc": {
  18247. "start": {
  18248. "line": 1,
  18249. "column": 0
  18250. },
  18251. "end": {
  18252. "line": 1,
  18253. "column": 1
  18254. }
  18255. }
  18256. },
  18257. {
  18258. "type": "Keyword",
  18259. "value": "function",
  18260. "range": [
  18261. 1,
  18262. 9
  18263. ],
  18264. "loc": {
  18265. "start": {
  18266. "line": 1,
  18267. "column": 1
  18268. },
  18269. "end": {
  18270. "line": 1,
  18271. "column": 9
  18272. }
  18273. }
  18274. },
  18275. {
  18276. "type": "Punctuator",
  18277. "value": "(",
  18278. "range": [
  18279. 9,
  18280. 10
  18281. ],
  18282. "loc": {
  18283. "start": {
  18284. "line": 1,
  18285. "column": 9
  18286. },
  18287. "end": {
  18288. "line": 1,
  18289. "column": 10
  18290. }
  18291. }
  18292. },
  18293. {
  18294. "type": "Punctuator",
  18295. "value": ")",
  18296. "range": [
  18297. 10,
  18298. 11
  18299. ],
  18300. "loc": {
  18301. "start": {
  18302. "line": 1,
  18303. "column": 10
  18304. },
  18305. "end": {
  18306. "line": 1,
  18307. "column": 11
  18308. }
  18309. }
  18310. },
  18311. {
  18312. "type": "Punctuator",
  18313. "value": "{",
  18314. "range": [
  18315. 11,
  18316. 12
  18317. ],
  18318. "loc": {
  18319. "start": {
  18320. "line": 1,
  18321. "column": 11
  18322. },
  18323. "end": {
  18324. "line": 1,
  18325. "column": 12
  18326. }
  18327. }
  18328. },
  18329. {
  18330. "type": "Punctuator",
  18331. "value": "}",
  18332. "range": [
  18333. 12,
  18334. 13
  18335. ],
  18336. "loc": {
  18337. "start": {
  18338. "line": 1,
  18339. "column": 12
  18340. },
  18341. "end": {
  18342. "line": 1,
  18343. "column": 13
  18344. }
  18345. }
  18346. },
  18347. {
  18348. "type": "Punctuator",
  18349. "value": "/",
  18350. "range": [
  18351. 14,
  18352. 15
  18353. ],
  18354. "loc": {
  18355. "start": {
  18356. "line": 1,
  18357. "column": 14
  18358. },
  18359. "end": {
  18360. "line": 1,
  18361. "column": 15
  18362. }
  18363. }
  18364. },
  18365. {
  18366. "type": "Numeric",
  18367. "value": "42",
  18368. "range": [
  18369. 15,
  18370. 17
  18371. ],
  18372. "loc": {
  18373. "start": {
  18374. "line": 1,
  18375. "column": 15
  18376. },
  18377. "end": {
  18378. "line": 1,
  18379. "column": 17
  18380. }
  18381. }
  18382. },
  18383. {
  18384. "type": "Punctuator",
  18385. "value": "]",
  18386. "range": [
  18387. 17,
  18388. 18
  18389. ],
  18390. "loc": {
  18391. "start": {
  18392. "line": 1,
  18393. "column": 17
  18394. },
  18395. "end": {
  18396. "line": 1,
  18397. "column": 18
  18398. }
  18399. }
  18400. }
  18401. ],
  18402. ';function f(){} /42/': [
  18403. {
  18404. "type": "Punctuator",
  18405. "value": ";",
  18406. "range": [
  18407. 0,
  18408. 1
  18409. ],
  18410. "loc": {
  18411. "start": {
  18412. "line": 1,
  18413. "column": 0
  18414. },
  18415. "end": {
  18416. "line": 1,
  18417. "column": 1
  18418. }
  18419. }
  18420. },
  18421. {
  18422. "type": "Keyword",
  18423. "value": "function",
  18424. "range": [
  18425. 1,
  18426. 9
  18427. ],
  18428. "loc": {
  18429. "start": {
  18430. "line": 1,
  18431. "column": 1
  18432. },
  18433. "end": {
  18434. "line": 1,
  18435. "column": 9
  18436. }
  18437. }
  18438. },
  18439. {
  18440. "type": "Identifier",
  18441. "value": "f",
  18442. "range": [
  18443. 10,
  18444. 11
  18445. ],
  18446. "loc": {
  18447. "start": {
  18448. "line": 1,
  18449. "column": 10
  18450. },
  18451. "end": {
  18452. "line": 1,
  18453. "column": 11
  18454. }
  18455. }
  18456. },
  18457. {
  18458. "type": "Punctuator",
  18459. "value": "(",
  18460. "range": [
  18461. 11,
  18462. 12
  18463. ],
  18464. "loc": {
  18465. "start": {
  18466. "line": 1,
  18467. "column": 11
  18468. },
  18469. "end": {
  18470. "line": 1,
  18471. "column": 12
  18472. }
  18473. }
  18474. },
  18475. {
  18476. "type": "Punctuator",
  18477. "value": ")",
  18478. "range": [
  18479. 12,
  18480. 13
  18481. ],
  18482. "loc": {
  18483. "start": {
  18484. "line": 1,
  18485. "column": 12
  18486. },
  18487. "end": {
  18488. "line": 1,
  18489. "column": 13
  18490. }
  18491. }
  18492. },
  18493. {
  18494. "type": "Punctuator",
  18495. "value": "{",
  18496. "range": [
  18497. 13,
  18498. 14
  18499. ],
  18500. "loc": {
  18501. "start": {
  18502. "line": 1,
  18503. "column": 13
  18504. },
  18505. "end": {
  18506. "line": 1,
  18507. "column": 14
  18508. }
  18509. }
  18510. },
  18511. {
  18512. "type": "Punctuator",
  18513. "value": "}",
  18514. "range": [
  18515. 14,
  18516. 15
  18517. ],
  18518. "loc": {
  18519. "start": {
  18520. "line": 1,
  18521. "column": 14
  18522. },
  18523. "end": {
  18524. "line": 1,
  18525. "column": 15
  18526. }
  18527. }
  18528. },
  18529. {
  18530. "type": "RegularExpression",
  18531. "value": "/42/",
  18532. "range": [
  18533. 16,
  18534. 20
  18535. ],
  18536. "loc": {
  18537. "start": {
  18538. "line": 1,
  18539. "column": 16
  18540. },
  18541. "end": {
  18542. "line": 1,
  18543. "column": 20
  18544. }
  18545. }
  18546. }
  18547. ],
  18548. 'void /42/': [
  18549. {
  18550. "type": "Keyword",
  18551. "value": "void",
  18552. "range": [
  18553. 0,
  18554. 4
  18555. ],
  18556. "loc": {
  18557. "start": {
  18558. "line": 1,
  18559. "column": 0
  18560. },
  18561. "end": {
  18562. "line": 1,
  18563. "column": 4
  18564. }
  18565. }
  18566. },
  18567. {
  18568. "type": "RegularExpression",
  18569. "value": "/42/",
  18570. "range": [
  18571. 5,
  18572. 9
  18573. ],
  18574. "loc": {
  18575. "start": {
  18576. "line": 1,
  18577. "column": 5
  18578. },
  18579. "end": {
  18580. "line": 1,
  18581. "column": 9
  18582. }
  18583. }
  18584. }
  18585. ],
  18586. '/42/': [
  18587. {
  18588. "type": "RegularExpression",
  18589. "value": "/42/",
  18590. "range": [
  18591. 0,
  18592. 4
  18593. ],
  18594. "loc": {
  18595. "start": {
  18596. "line": 1,
  18597. "column": 0
  18598. },
  18599. "end": {
  18600. "line": 1,
  18601. "column": 4
  18602. }
  18603. }
  18604. }
  18605. ],
  18606. 'foo[/42]': [
  18607. {
  18608. "type": "Identifier",
  18609. "value": "foo",
  18610. "range": [
  18611. 0,
  18612. 3
  18613. ],
  18614. "loc": {
  18615. "start": {
  18616. "line": 1,
  18617. "column": 0
  18618. },
  18619. "end": {
  18620. "line": 1,
  18621. "column": 3
  18622. }
  18623. }
  18624. },
  18625. {
  18626. "type": "Punctuator",
  18627. "value": "[",
  18628. "range": [
  18629. 3,
  18630. 4
  18631. ],
  18632. "loc": {
  18633. "start": {
  18634. "line": 1,
  18635. "column": 3
  18636. },
  18637. "end": {
  18638. "line": 1,
  18639. "column": 4
  18640. }
  18641. }
  18642. }
  18643. ],
  18644. '': [],
  18645. '/42': {
  18646. tokenize: true,
  18647. index: 3,
  18648. lineNumber: 1,
  18649. column: 4,
  18650. message: 'Error: Line 1: Invalid regular expression: missing /'
  18651. },
  18652. 'foo[/42': {
  18653. tokenize: true,
  18654. index: 7,
  18655. lineNumber: 1,
  18656. column: 8,
  18657. message: 'Error: Line 1: Invalid regular expression: missing /'
  18658. }
  18659. },
  18660. 'API': {
  18661. 'parse()': {
  18662. call: 'parse',
  18663. args: [],
  18664. result: {
  18665. type: 'Program',
  18666. body: [{
  18667. type: 'ExpressionStatement',
  18668. expression: {
  18669. type: 'Identifier',
  18670. name: 'undefined'
  18671. }
  18672. }]
  18673. }
  18674. },
  18675. 'parse(null)': {
  18676. call: 'parse',
  18677. args: [null],
  18678. result: {
  18679. type: 'Program',
  18680. body: [{
  18681. type: 'ExpressionStatement',
  18682. expression: {
  18683. type: 'Literal',
  18684. value: null,
  18685. raw: 'null'
  18686. }
  18687. }]
  18688. }
  18689. },
  18690. 'parse(42)': {
  18691. call: 'parse',
  18692. args: [42],
  18693. result: {
  18694. type: 'Program',
  18695. body: [{
  18696. type: 'ExpressionStatement',
  18697. expression: {
  18698. type: 'Literal',
  18699. value: 42,
  18700. raw: '42'
  18701. }
  18702. }]
  18703. }
  18704. },
  18705. 'parse(true)': {
  18706. call: 'parse',
  18707. args: [true],
  18708. result: {
  18709. type: 'Program',
  18710. body: [{
  18711. type: 'ExpressionStatement',
  18712. expression: {
  18713. type: 'Literal',
  18714. value: true,
  18715. raw: 'true'
  18716. }
  18717. }]
  18718. }
  18719. },
  18720. 'parse(undefined)': {
  18721. call: 'parse',
  18722. args: [void 0],
  18723. result: {
  18724. type: 'Program',
  18725. body: [{
  18726. type: 'ExpressionStatement',
  18727. expression: {
  18728. type: 'Identifier',
  18729. name: 'undefined'
  18730. }
  18731. }]
  18732. }
  18733. },
  18734. 'parse(new String("test"))': {
  18735. call: 'parse',
  18736. args: [new String('test')],
  18737. result: {
  18738. type: 'Program',
  18739. body: [{
  18740. type: 'ExpressionStatement',
  18741. expression: {
  18742. type: 'Identifier',
  18743. name: 'test'
  18744. }
  18745. }]
  18746. }
  18747. },
  18748. 'parse(new Number(42))': {
  18749. call: 'parse',
  18750. args: [new Number(42)],
  18751. result: {
  18752. type: 'Program',
  18753. body: [{
  18754. type: 'ExpressionStatement',
  18755. expression: {
  18756. type: 'Literal',
  18757. value: 42,
  18758. raw: '42'
  18759. }
  18760. }]
  18761. }
  18762. },
  18763. 'parse(new Boolean(true))': {
  18764. call: 'parse',
  18765. args: [new Boolean(true)],
  18766. result: {
  18767. type: 'Program',
  18768. body: [{
  18769. type: 'ExpressionStatement',
  18770. expression: {
  18771. type: 'Literal',
  18772. value: true,
  18773. raw: 'true'
  18774. }
  18775. }]
  18776. }
  18777. },
  18778. 'Syntax': {
  18779. property: 'Syntax',
  18780. result: {
  18781. ArrayExpression: 'ArrayExpression',
  18782. ArrayPattern: 'ArrayPattern',
  18783. ArrowFunctionExpression: 'ArrowFunctionExpression',
  18784. AssignmentExpression: 'AssignmentExpression',
  18785. BinaryExpression: 'BinaryExpression',
  18786. BlockStatement: 'BlockStatement',
  18787. BreakStatement: 'BreakStatement',
  18788. CallExpression: 'CallExpression',
  18789. CatchClause: 'CatchClause',
  18790. ClassBody: 'ClassBody',
  18791. ClassDeclaration: 'ClassDeclaration',
  18792. ClassExpression: 'ClassExpression',
  18793. ClassHeritage: 'ClassHeritage',
  18794. ComprehensionBlock: 'ComprehensionBlock',
  18795. ComprehensionExpression: 'ComprehensionExpression',
  18796. ConditionalExpression: 'ConditionalExpression',
  18797. ContinueStatement: 'ContinueStatement',
  18798. DebuggerStatement: 'DebuggerStatement',
  18799. DoWhileStatement: 'DoWhileStatement',
  18800. EmptyStatement: 'EmptyStatement',
  18801. ExportDeclaration: 'ExportDeclaration',
  18802. ExportBatchSpecifier: 'ExportBatchSpecifier',
  18803. ExportSpecifier: 'ExportSpecifier',
  18804. ExpressionStatement: 'ExpressionStatement',
  18805. ForInStatement: 'ForInStatement',
  18806. ForOfStatement: 'ForOfStatement',
  18807. ForStatement: 'ForStatement',
  18808. FunctionDeclaration: 'FunctionDeclaration',
  18809. FunctionExpression: 'FunctionExpression',
  18810. Identifier: 'Identifier',
  18811. IfStatement: 'IfStatement',
  18812. ImportDeclaration: 'ImportDeclaration',
  18813. ImportSpecifier: 'ImportSpecifier',
  18814. LabeledStatement: 'LabeledStatement',
  18815. Literal: 'Literal',
  18816. LogicalExpression: 'LogicalExpression',
  18817. MemberExpression: 'MemberExpression',
  18818. MethodDefinition: 'MethodDefinition',
  18819. ModuleDeclaration: 'ModuleDeclaration',
  18820. NewExpression: 'NewExpression',
  18821. ObjectExpression: 'ObjectExpression',
  18822. ObjectPattern: 'ObjectPattern',
  18823. Program: 'Program',
  18824. Property: 'Property',
  18825. ReturnStatement: 'ReturnStatement',
  18826. SequenceExpression: 'SequenceExpression',
  18827. SpreadElement: 'SpreadElement',
  18828. SwitchCase: 'SwitchCase',
  18829. SwitchStatement: 'SwitchStatement',
  18830. TaggedTemplateExpression: 'TaggedTemplateExpression',
  18831. TemplateElement: 'TemplateElement',
  18832. TemplateLiteral: 'TemplateLiteral',
  18833. ThisExpression: 'ThisExpression',
  18834. ThrowStatement: 'ThrowStatement',
  18835. TryStatement: 'TryStatement',
  18836. TypeAnnotatedIdentifier: 'TypeAnnotatedIdentifier',
  18837. TypeAnnotation: 'TypeAnnotation',
  18838. UnaryExpression: 'UnaryExpression',
  18839. UpdateExpression: 'UpdateExpression',
  18840. VariableDeclaration: 'VariableDeclaration',
  18841. VariableDeclarator: 'VariableDeclarator',
  18842. WhileStatement: 'WhileStatement',
  18843. WithStatement: 'WithStatement',
  18844. XJSIdentifier: 'XJSIdentifier',
  18845. XJSEmptyExpression: "XJSEmptyExpression",
  18846. XJSExpressionContainer: "XJSExpressionContainer",
  18847. XJSElement: 'XJSElement',
  18848. XJSClosingElement: 'XJSClosingElement',
  18849. XJSOpeningElement: 'XJSOpeningElement',
  18850. XJSAttribute: "XJSAttribute",
  18851. XJSText: 'XJSText',
  18852. YieldExpression: 'YieldExpression'
  18853. }
  18854. },
  18855. 'tokenize()': {
  18856. call: 'tokenize',
  18857. args: [],
  18858. result: [{
  18859. type: 'Identifier',
  18860. value: 'undefined'
  18861. }]
  18862. },
  18863. 'tokenize(null)': {
  18864. call: 'tokenize',
  18865. args: [null],
  18866. result: [{
  18867. type: 'Null',
  18868. value: 'null'
  18869. }]
  18870. },
  18871. 'tokenize(42)': {
  18872. call: 'tokenize',
  18873. args: [42],
  18874. result: [{
  18875. type: 'Numeric',
  18876. value: '42'
  18877. }]
  18878. },
  18879. 'tokenize(true)': {
  18880. call: 'tokenize',
  18881. args: [true],
  18882. result: [{
  18883. type: 'Boolean',
  18884. value: 'true'
  18885. }]
  18886. },
  18887. 'tokenize(undefined)': {
  18888. call: 'tokenize',
  18889. args: [void 0],
  18890. result: [{
  18891. type: 'Identifier',
  18892. value: 'undefined'
  18893. }]
  18894. },
  18895. 'tokenize(new String("test"))': {
  18896. call: 'tokenize',
  18897. args: [new String('test')],
  18898. result: [{
  18899. type: 'Identifier',
  18900. value: 'test'
  18901. }]
  18902. },
  18903. 'tokenize(new Number(42))': {
  18904. call: 'tokenize',
  18905. args: [new Number(42)],
  18906. result: [{
  18907. type: 'Numeric',
  18908. value: '42'
  18909. }]
  18910. },
  18911. 'tokenize(new Boolean(true))': {
  18912. call: 'tokenize',
  18913. args: [new Boolean(true)],
  18914. result: [{
  18915. type: 'Boolean',
  18916. value: 'true'
  18917. }]
  18918. },
  18919. },
  18920. 'Tolerant parse': {
  18921. 'return': {
  18922. type: 'Program',
  18923. body: [{
  18924. type: 'ReturnStatement',
  18925. 'argument': null,
  18926. range: [0, 6],
  18927. loc: {
  18928. start: { line: 1, column: 0 },
  18929. end: { line: 1, column: 6 }
  18930. }
  18931. }],
  18932. range: [0, 6],
  18933. loc: {
  18934. start: { line: 1, column: 0 },
  18935. end: { line: 1, column: 6 }
  18936. },
  18937. errors: [{
  18938. index: 6,
  18939. lineNumber: 1,
  18940. column: 7,
  18941. message: 'Error: Line 1: Illegal return statement'
  18942. }]
  18943. },
  18944. '(function () { \'use strict\'; with (i); }())': {
  18945. type: 'Program',
  18946. body: [{
  18947. type: 'ExpressionStatement',
  18948. expression: {
  18949. type: 'CallExpression',
  18950. callee: {
  18951. type: 'FunctionExpression',
  18952. id: null,
  18953. params: [],
  18954. defaults: [],
  18955. body: {
  18956. type: 'BlockStatement',
  18957. body: [{
  18958. type: 'ExpressionStatement',
  18959. expression: {
  18960. type: 'Literal',
  18961. value: 'use strict',
  18962. raw: '\'use strict\'',
  18963. range: [15, 27],
  18964. loc: {
  18965. start: { line: 1, column: 15 },
  18966. end: { line: 1, column: 27 }
  18967. }
  18968. },
  18969. range: [15, 28],
  18970. loc: {
  18971. start: { line: 1, column: 15 },
  18972. end: { line: 1, column: 28 }
  18973. }
  18974. }, {
  18975. type: 'WithStatement',
  18976. object: {
  18977. type: 'Identifier',
  18978. name: 'i',
  18979. range: [35, 36],
  18980. loc: {
  18981. start: { line: 1, column: 35 },
  18982. end: { line: 1, column: 36 }
  18983. }
  18984. },
  18985. body: {
  18986. type: 'EmptyStatement',
  18987. range: [37, 38],
  18988. loc: {
  18989. start: { line: 1, column: 37 },
  18990. end: { line: 1, column: 38 }
  18991. }
  18992. },
  18993. range: [29, 38],
  18994. loc: {
  18995. start: { line: 1, column: 29 },
  18996. end: { line: 1, column: 38 }
  18997. }
  18998. }],
  18999. range: [13, 40],
  19000. loc: {
  19001. start: { line: 1, column: 13 },
  19002. end: { line: 1, column: 40 }
  19003. }
  19004. },
  19005. rest: null,
  19006. generator: false,
  19007. expression: false,
  19008. range: [1, 40],
  19009. loc: {
  19010. start: { line: 1, column: 1 },
  19011. end: { line: 1, column: 40 }
  19012. }
  19013. },
  19014. 'arguments': [],
  19015. range: [1, 42],
  19016. loc: {
  19017. start: { line: 1, column: 1 },
  19018. end: { line: 1, column: 42 }
  19019. }
  19020. },
  19021. range: [0, 43],
  19022. loc: {
  19023. start: { line: 1, column: 0 },
  19024. end: { line: 1, column: 43 }
  19025. }
  19026. }],
  19027. range: [0, 43],
  19028. loc: {
  19029. start: { line: 1, column: 0 },
  19030. end: { line: 1, column: 43 }
  19031. },
  19032. errors: [{
  19033. index: 29,
  19034. lineNumber: 1,
  19035. column: 30,
  19036. message: 'Error: Line 1: Strict mode code may not include a with statement'
  19037. }]
  19038. },
  19039. '(function () { \'use strict\'; 021 }())': {
  19040. type: 'Program',
  19041. body: [{
  19042. type: 'ExpressionStatement',
  19043. expression: {
  19044. type: 'CallExpression',
  19045. callee: {
  19046. type: 'FunctionExpression',
  19047. id: null,
  19048. params: [],
  19049. defaults: [],
  19050. body: {
  19051. type: 'BlockStatement',
  19052. body: [{
  19053. type: 'ExpressionStatement',
  19054. expression: {
  19055. type: 'Literal',
  19056. value: 'use strict',
  19057. raw: '\'use strict\'',
  19058. range: [15, 27],
  19059. loc: {
  19060. start: { line: 1, column: 15 },
  19061. end: { line: 1, column: 27 }
  19062. }
  19063. },
  19064. range: [15, 28],
  19065. loc: {
  19066. start: { line: 1, column: 15 },
  19067. end: { line: 1, column: 28 }
  19068. }
  19069. }, {
  19070. type: 'ExpressionStatement',
  19071. expression: {
  19072. type: 'Literal',
  19073. value: 17,
  19074. raw: "021",
  19075. range: [29, 32],
  19076. loc: {
  19077. start: { line: 1, column: 29 },
  19078. end: { line: 1, column: 32 }
  19079. }
  19080. },
  19081. range: [29, 33],
  19082. loc: {
  19083. start: { line: 1, column: 29 },
  19084. end: { line: 1, column: 33 }
  19085. }
  19086. }],
  19087. range: [13, 34],
  19088. loc: {
  19089. start: { line: 1, column: 13 },
  19090. end: { line: 1, column: 34 }
  19091. }
  19092. },
  19093. rest: null,
  19094. generator: false,
  19095. expression: false,
  19096. range: [1, 34],
  19097. loc: {
  19098. start: { line: 1, column: 1 },
  19099. end: { line: 1, column: 34 }
  19100. }
  19101. },
  19102. 'arguments': [],
  19103. range: [1, 36],
  19104. loc: {
  19105. start: { line: 1, column: 1 },
  19106. end: { line: 1, column: 36 }
  19107. }
  19108. },
  19109. range: [0, 37],
  19110. loc: {
  19111. start: { line: 1, column: 0 },
  19112. end: { line: 1, column: 37 }
  19113. }
  19114. }],
  19115. range: [0, 37],
  19116. loc: {
  19117. start: { line: 1, column: 0 },
  19118. end: { line: 1, column: 37 }
  19119. },
  19120. errors: [{
  19121. index: 29,
  19122. lineNumber: 1,
  19123. column: 30,
  19124. message: 'Error: Line 1: Octal literals are not allowed in strict mode.'
  19125. }]
  19126. },
  19127. '"use strict"; delete x': {
  19128. type: 'Program',
  19129. body: [{
  19130. type: 'ExpressionStatement',
  19131. expression: {
  19132. type: 'Literal',
  19133. value: 'use strict',
  19134. raw: '"use strict"',
  19135. range: [0, 12],
  19136. loc: {
  19137. start: { line: 1, column: 0 },
  19138. end: { line: 1, column: 12 }
  19139. }
  19140. },
  19141. range: [0, 13],
  19142. loc: {
  19143. start: { line: 1, column: 0 },
  19144. end: { line: 1, column: 13 }
  19145. }
  19146. }, {
  19147. type: 'ExpressionStatement',
  19148. expression: {
  19149. type: 'UnaryExpression',
  19150. operator: 'delete',
  19151. argument: {
  19152. type: 'Identifier',
  19153. name: 'x',
  19154. range: [21, 22],
  19155. loc: {
  19156. start: { line: 1, column: 21 },
  19157. end: { line: 1, column: 22 }
  19158. }
  19159. },
  19160. range: [14, 22],
  19161. loc: {
  19162. start: { line: 1, column: 14 },
  19163. end: { line: 1, column: 22 }
  19164. }
  19165. },
  19166. range: [14, 22],
  19167. loc: {
  19168. start: { line: 1, column: 14 },
  19169. end: { line: 1, column: 22 }
  19170. }
  19171. }],
  19172. range: [0, 22],
  19173. loc: {
  19174. start: { line: 1, column: 0 },
  19175. end: { line: 1, column: 22 }
  19176. },
  19177. errors: [{
  19178. index: 22,
  19179. lineNumber: 1,
  19180. column: 23,
  19181. message: 'Error: Line 1: Delete of an unqualified identifier in strict mode.'
  19182. }]
  19183. },
  19184. '"use strict"; try {} catch (eval) {}': {
  19185. type: 'Program',
  19186. body: [{
  19187. type: 'ExpressionStatement',
  19188. expression: {
  19189. type: 'Literal',
  19190. value: 'use strict',
  19191. raw: '"use strict"',
  19192. range: [0, 12],
  19193. loc: {
  19194. start: { line: 1, column: 0 },
  19195. end: { line: 1, column: 12 }
  19196. }
  19197. },
  19198. range: [0, 13],
  19199. loc: {
  19200. start: { line: 1, column: 0 },
  19201. end: { line: 1, column: 13 }
  19202. }
  19203. }, {
  19204. type: 'TryStatement',
  19205. block: {
  19206. type: 'BlockStatement',
  19207. body: [],
  19208. range: [18, 20],
  19209. loc: {
  19210. start: { line: 1, column: 18 },
  19211. end: { line: 1, column: 20 }
  19212. }
  19213. },
  19214. guardedHandlers: [],
  19215. handlers: [{
  19216. type: 'CatchClause',
  19217. param: {
  19218. type: 'Identifier',
  19219. name: 'eval',
  19220. range: [28, 32],
  19221. loc: {
  19222. start: { line: 1, column: 28 },
  19223. end: { line: 1, column: 32 }
  19224. }
  19225. },
  19226. body: {
  19227. type: 'BlockStatement',
  19228. body: [],
  19229. range: [34, 36],
  19230. loc: {
  19231. start: { line: 1, column: 34 },
  19232. end: { line: 1, column: 36 }
  19233. }
  19234. },
  19235. range: [21, 36],
  19236. loc: {
  19237. start: { line: 1, column: 21 },
  19238. end: { line: 1, column: 36 }
  19239. }
  19240. }],
  19241. finalizer: null,
  19242. range: [14, 36],
  19243. loc: {
  19244. start: { line: 1, column: 14 },
  19245. end: { line: 1, column: 36 }
  19246. }
  19247. }],
  19248. range: [0, 36],
  19249. loc: {
  19250. start: { line: 1, column: 0 },
  19251. end: { line: 1, column: 36 }
  19252. },
  19253. errors: [{
  19254. index: 32,
  19255. lineNumber: 1,
  19256. column: 33,
  19257. message: 'Error: Line 1: Catch variable may not be eval or arguments in strict mode'
  19258. }]
  19259. },
  19260. '"use strict"; try {} catch (arguments) {}': {
  19261. type: 'Program',
  19262. body: [{
  19263. type: 'ExpressionStatement',
  19264. expression: {
  19265. type: 'Literal',
  19266. value: 'use strict',
  19267. raw: '"use strict"',
  19268. range: [0, 12],
  19269. loc: {
  19270. start: { line: 1, column: 0 },
  19271. end: { line: 1, column: 12 }
  19272. }
  19273. },
  19274. range: [0, 13],
  19275. loc: {
  19276. start: { line: 1, column: 0 },
  19277. end: { line: 1, column: 13 }
  19278. }
  19279. }, {
  19280. type: 'TryStatement',
  19281. block: {
  19282. type: 'BlockStatement',
  19283. body: [],
  19284. range: [18, 20],
  19285. loc: {
  19286. start: { line: 1, column: 18 },
  19287. end: { line: 1, column: 20 }
  19288. }
  19289. },
  19290. guardedHandlers: [],
  19291. handlers: [{
  19292. type: 'CatchClause',
  19293. param: {
  19294. type: 'Identifier',
  19295. name: 'arguments',
  19296. range: [28, 37],
  19297. loc: {
  19298. start: { line: 1, column: 28 },
  19299. end: { line: 1, column: 37 }
  19300. }
  19301. },
  19302. body: {
  19303. type: 'BlockStatement',
  19304. body: [],
  19305. range: [39, 41],
  19306. loc: {
  19307. start: { line: 1, column: 39 },
  19308. end: { line: 1, column: 41 }
  19309. }
  19310. },
  19311. range: [21, 41],
  19312. loc: {
  19313. start: { line: 1, column: 21 },
  19314. end: { line: 1, column: 41 }
  19315. }
  19316. }],
  19317. finalizer: null,
  19318. range: [14, 41],
  19319. loc: {
  19320. start: { line: 1, column: 14 },
  19321. end: { line: 1, column: 41 }
  19322. }
  19323. }],
  19324. range: [0, 41],
  19325. loc: {
  19326. start: { line: 1, column: 0 },
  19327. end: { line: 1, column: 41 }
  19328. },
  19329. errors: [{
  19330. index: 37,
  19331. lineNumber: 1,
  19332. column: 38,
  19333. message: 'Error: Line 1: Catch variable may not be eval or arguments in strict mode'
  19334. }]
  19335. },
  19336. '"use strict"; var eval;': {
  19337. type: 'Program',
  19338. body: [{
  19339. type: 'ExpressionStatement',
  19340. expression: {
  19341. type: 'Literal',
  19342. value: 'use strict',
  19343. raw: '"use strict"',
  19344. range: [0, 12],
  19345. loc: {
  19346. start: { line: 1, column: 0 },
  19347. end: { line: 1, column: 12 }
  19348. }
  19349. },
  19350. range: [0, 13],
  19351. loc: {
  19352. start: { line: 1, column: 0 },
  19353. end: { line: 1, column: 13 }
  19354. }
  19355. }, {
  19356. type: 'VariableDeclaration',
  19357. declarations: [{
  19358. type: 'VariableDeclarator',
  19359. id: {
  19360. type: 'Identifier',
  19361. name: 'eval',
  19362. range: [18, 22],
  19363. loc: {
  19364. start: { line: 1, column: 18 },
  19365. end: { line: 1, column: 22 }
  19366. }
  19367. },
  19368. init: null,
  19369. range: [18, 22],
  19370. loc: {
  19371. start: { line: 1, column: 18 },
  19372. end: { line: 1, column: 22 }
  19373. }
  19374. }],
  19375. kind: 'var',
  19376. range: [14, 23],
  19377. loc: {
  19378. start: { line: 1, column: 14 },
  19379. end: { line: 1, column: 23 }
  19380. }
  19381. }],
  19382. range: [0, 23],
  19383. loc: {
  19384. start: { line: 1, column: 0 },
  19385. end: { line: 1, column: 23 }
  19386. },
  19387. errors: [{
  19388. index: 22,
  19389. lineNumber: 1,
  19390. column: 23,
  19391. message: 'Error: Line 1: Variable name may not be eval or arguments in strict mode'
  19392. }]
  19393. },
  19394. '"use strict"; var arguments;': {
  19395. type: 'Program',
  19396. body: [{
  19397. type: 'ExpressionStatement',
  19398. expression: {
  19399. type: 'Literal',
  19400. value: 'use strict',
  19401. raw: '"use strict"',
  19402. range: [0, 12],
  19403. loc: {
  19404. start: { line: 1, column: 0 },
  19405. end: { line: 1, column: 12 }
  19406. }
  19407. },
  19408. range: [0, 13],
  19409. loc: {
  19410. start: { line: 1, column: 0 },
  19411. end: { line: 1, column: 13 }
  19412. }
  19413. }, {
  19414. type: 'VariableDeclaration',
  19415. declarations: [{
  19416. type: 'VariableDeclarator',
  19417. id: {
  19418. type: 'Identifier',
  19419. name: 'arguments',
  19420. range: [18, 27],
  19421. loc: {
  19422. start: { line: 1, column: 18 },
  19423. end: { line: 1, column: 27 }
  19424. }
  19425. },
  19426. init: null,
  19427. range: [18, 27],
  19428. loc: {
  19429. start: { line: 1, column: 18 },
  19430. end: { line: 1, column: 27 }
  19431. }
  19432. }],
  19433. kind: 'var',
  19434. range: [14, 28],
  19435. loc: {
  19436. start: { line: 1, column: 14 },
  19437. end: { line: 1, column: 28 }
  19438. }
  19439. }],
  19440. range: [0, 28],
  19441. loc: {
  19442. start: { line: 1, column: 0 },
  19443. end: { line: 1, column: 28 }
  19444. },
  19445. errors: [{
  19446. index: 27,
  19447. lineNumber: 1,
  19448. column: 28,
  19449. message: 'Error: Line 1: Variable name may not be eval or arguments in strict mode'
  19450. }]
  19451. },
  19452. '"use strict"; eval = 0;': {
  19453. type: 'Program',
  19454. body: [{
  19455. type: 'ExpressionStatement',
  19456. expression: {
  19457. type: 'Literal',
  19458. value: 'use strict',
  19459. raw: '"use strict"',
  19460. range: [0, 12],
  19461. loc: {
  19462. start: { line: 1, column: 0 },
  19463. end: { line: 1, column: 12 }
  19464. }
  19465. },
  19466. range: [0, 13],
  19467. loc: {
  19468. start: { line: 1, column: 0 },
  19469. end: { line: 1, column: 13 }
  19470. }
  19471. }, {
  19472. type: 'ExpressionStatement',
  19473. expression: {
  19474. type: 'AssignmentExpression',
  19475. operator: '=',
  19476. left: {
  19477. type: 'Identifier',
  19478. name: 'eval',
  19479. range: [14, 18],
  19480. loc: {
  19481. start: { line: 1, column: 14 },
  19482. end: { line: 1, column: 18 }
  19483. }
  19484. },
  19485. right: {
  19486. type: 'Literal',
  19487. value: 0,
  19488. raw: '0',
  19489. range: [21, 22],
  19490. loc: {
  19491. start: { line: 1, column: 21 },
  19492. end: { line: 1, column: 22 }
  19493. }
  19494. },
  19495. range: [14, 22],
  19496. loc: {
  19497. start: { line: 1, column: 14 },
  19498. end: { line: 1, column: 22 }
  19499. }
  19500. },
  19501. range: [14, 23],
  19502. loc: {
  19503. start: { line: 1, column: 14 },
  19504. end: { line: 1, column: 23 }
  19505. }
  19506. }],
  19507. range: [0, 23],
  19508. loc: {
  19509. start: { line: 1, column: 0 },
  19510. end: { line: 1, column: 23 }
  19511. },
  19512. errors: [{
  19513. index: 14,
  19514. lineNumber: 1,
  19515. column: 15,
  19516. message: 'Error: Line 1: Assignment to eval or arguments is not allowed in strict mode'
  19517. }]
  19518. },
  19519. '"use strict"; eval++;': {
  19520. type: 'Program',
  19521. body: [{
  19522. type: 'ExpressionStatement',
  19523. expression: {
  19524. type: 'Literal',
  19525. value: 'use strict',
  19526. raw: '"use strict"',
  19527. range: [0, 12],
  19528. loc: {
  19529. start: { line: 1, column: 0 },
  19530. end: { line: 1, column: 12 }
  19531. }
  19532. },
  19533. range: [0, 13],
  19534. loc: {
  19535. start: { line: 1, column: 0 },
  19536. end: { line: 1, column: 13 }
  19537. }
  19538. }, {
  19539. type: 'ExpressionStatement',
  19540. expression: {
  19541. type: 'UpdateExpression',
  19542. operator: '++',
  19543. argument: {
  19544. type: 'Identifier',
  19545. name: 'eval',
  19546. range: [14, 18],
  19547. loc: {
  19548. start: { line: 1, column: 14 },
  19549. end: { line: 1, column: 18 }
  19550. }
  19551. },
  19552. prefix: false,
  19553. range: [14, 20],
  19554. loc: {
  19555. start: { line: 1, column: 14 },
  19556. end: { line: 1, column: 20 }
  19557. }
  19558. },
  19559. range: [14, 21],
  19560. loc: {
  19561. start: { line: 1, column: 14 },
  19562. end: { line: 1, column: 21 }
  19563. }
  19564. }],
  19565. range: [0, 21],
  19566. loc: {
  19567. start: { line: 1, column: 0 },
  19568. end: { line: 1, column: 21 }
  19569. },
  19570. errors: [{
  19571. index: 18,
  19572. lineNumber: 1,
  19573. column: 19,
  19574. message: 'Error: Line 1: Postfix increment/decrement may not have eval or arguments operand in strict mode'
  19575. }]
  19576. },
  19577. '"use strict"; --eval;': {
  19578. type: 'Program',
  19579. body: [{
  19580. type: 'ExpressionStatement',
  19581. expression: {
  19582. type: 'Literal',
  19583. value: 'use strict',
  19584. raw: '"use strict"',
  19585. range: [0, 12],
  19586. loc: {
  19587. start: { line: 1, column: 0 },
  19588. end: { line: 1, column: 12 }
  19589. }
  19590. },
  19591. range: [0, 13],
  19592. loc: {
  19593. start: { line: 1, column: 0 },
  19594. end: { line: 1, column: 13 }
  19595. }
  19596. }, {
  19597. type: 'ExpressionStatement',
  19598. expression: {
  19599. type: 'UpdateExpression',
  19600. operator: '--',
  19601. argument: {
  19602. type: 'Identifier',
  19603. name: 'eval',
  19604. range: [16, 20],
  19605. loc: {
  19606. start: { line: 1, column: 16 },
  19607. end: { line: 1, column: 20 }
  19608. }
  19609. },
  19610. prefix: true,
  19611. range: [14, 20],
  19612. loc: {
  19613. start: { line: 1, column: 14 },
  19614. end: { line: 1, column: 20 }
  19615. }
  19616. },
  19617. range: [14, 21],
  19618. loc: {
  19619. start: { line: 1, column: 14 },
  19620. end: { line: 1, column: 21 }
  19621. }
  19622. }],
  19623. range: [0, 21],
  19624. loc: {
  19625. start: { line: 1, column: 0 },
  19626. end: { line: 1, column: 21 }
  19627. },
  19628. errors: [{
  19629. index: 20,
  19630. lineNumber: 1,
  19631. column: 21,
  19632. message: 'Error: Line 1: Prefix increment/decrement may not have eval or arguments operand in strict mode'
  19633. }]
  19634. },
  19635. '"use strict"; arguments = 0;': {
  19636. type: 'Program',
  19637. body: [{
  19638. type: 'ExpressionStatement',
  19639. expression: {
  19640. type: 'Literal',
  19641. value: 'use strict',
  19642. raw: '"use strict"',
  19643. range: [0, 12],
  19644. loc: {
  19645. start: { line: 1, column: 0 },
  19646. end: { line: 1, column: 12 }
  19647. }
  19648. },
  19649. range: [0, 13],
  19650. loc: {
  19651. start: { line: 1, column: 0 },
  19652. end: { line: 1, column: 13 }
  19653. }
  19654. }, {
  19655. type: 'ExpressionStatement',
  19656. expression: {
  19657. type: 'AssignmentExpression',
  19658. operator: '=',
  19659. left: {
  19660. type: 'Identifier',
  19661. name: 'arguments',
  19662. range: [14, 23],
  19663. loc: {
  19664. start: { line: 1, column: 14 },
  19665. end: { line: 1, column: 23 }
  19666. }
  19667. },
  19668. right: {
  19669. type: 'Literal',
  19670. value: 0,
  19671. raw: '0',
  19672. range: [26, 27],
  19673. loc: {
  19674. start: { line: 1, column: 26 },
  19675. end: { line: 1, column: 27 }
  19676. }
  19677. },
  19678. range: [14, 27],
  19679. loc: {
  19680. start: { line: 1, column: 14 },
  19681. end: { line: 1, column: 27 }
  19682. }
  19683. },
  19684. range: [14, 28],
  19685. loc: {
  19686. start: { line: 1, column: 14 },
  19687. end: { line: 1, column: 28 }
  19688. }
  19689. }],
  19690. range: [0, 28],
  19691. loc: {
  19692. start: { line: 1, column: 0 },
  19693. end: { line: 1, column: 28 }
  19694. },
  19695. errors: [{
  19696. index: 14,
  19697. lineNumber: 1,
  19698. column: 15,
  19699. message: 'Error: Line 1: Assignment to eval or arguments is not allowed in strict mode'
  19700. }]
  19701. },
  19702. '"use strict"; arguments--;': {
  19703. type: 'Program',
  19704. body: [{
  19705. type: 'ExpressionStatement',
  19706. expression: {
  19707. type: 'Literal',
  19708. value: 'use strict',
  19709. raw: '"use strict"',
  19710. range: [0, 12],
  19711. loc: {
  19712. start: { line: 1, column: 0 },
  19713. end: { line: 1, column: 12 }
  19714. }
  19715. },
  19716. range: [0, 13],
  19717. loc: {
  19718. start: { line: 1, column: 0 },
  19719. end: { line: 1, column: 13 }
  19720. }
  19721. }, {
  19722. type: 'ExpressionStatement',
  19723. expression: {
  19724. type: 'UpdateExpression',
  19725. operator: '--',
  19726. argument: {
  19727. type: 'Identifier',
  19728. name: 'arguments',
  19729. range: [14, 23],
  19730. loc: {
  19731. start: { line: 1, column: 14 },
  19732. end: { line: 1, column: 23 }
  19733. }
  19734. },
  19735. prefix: false,
  19736. range: [14, 25],
  19737. loc: {
  19738. start: { line: 1, column: 14 },
  19739. end: { line: 1, column: 25 }
  19740. }
  19741. },
  19742. range: [14, 26],
  19743. loc: {
  19744. start: { line: 1, column: 14 },
  19745. end: { line: 1, column: 26 }
  19746. }
  19747. }],
  19748. range: [0, 26],
  19749. loc: {
  19750. start: { line: 1, column: 0 },
  19751. end: { line: 1, column: 26 }
  19752. },
  19753. errors: [{
  19754. index: 23,
  19755. lineNumber: 1,
  19756. column: 24,
  19757. message: 'Error: Line 1: Postfix increment/decrement may not have eval or arguments operand in strict mode'
  19758. }]
  19759. },
  19760. '"use strict"; ++arguments;': {
  19761. type: 'Program',
  19762. body: [{
  19763. type: 'ExpressionStatement',
  19764. expression: {
  19765. type: 'Literal',
  19766. value: 'use strict',
  19767. raw: '"use strict"',
  19768. range: [0, 12],
  19769. loc: {
  19770. start: { line: 1, column: 0 },
  19771. end: { line: 1, column: 12 }
  19772. }
  19773. },
  19774. range: [0, 13],
  19775. loc: {
  19776. start: { line: 1, column: 0 },
  19777. end: { line: 1, column: 13 }
  19778. }
  19779. }, {
  19780. type: 'ExpressionStatement',
  19781. expression: {
  19782. type: 'UpdateExpression',
  19783. operator: '++',
  19784. argument: {
  19785. type: 'Identifier',
  19786. name: 'arguments',
  19787. range: [16, 25],
  19788. loc: {
  19789. start: { line: 1, column: 16 },
  19790. end: { line: 1, column: 25 }
  19791. }
  19792. },
  19793. prefix: true,
  19794. range: [14, 25],
  19795. loc: {
  19796. start: { line: 1, column: 14 },
  19797. end: { line: 1, column: 25 }
  19798. }
  19799. },
  19800. range: [14, 26],
  19801. loc: {
  19802. start: { line: 1, column: 14 },
  19803. end: { line: 1, column: 26 }
  19804. }
  19805. }],
  19806. range: [0, 26],
  19807. loc: {
  19808. start: { line: 1, column: 0 },
  19809. end: { line: 1, column: 26 }
  19810. },
  19811. errors: [{
  19812. index: 25,
  19813. lineNumber: 1,
  19814. column: 26,
  19815. message: 'Error: Line 1: Prefix increment/decrement may not have eval or arguments operand in strict mode'
  19816. }]
  19817. },
  19818. '"use strict";x={y:1,y:1}': {
  19819. type: 'Program',
  19820. body: [{
  19821. type: 'ExpressionStatement',
  19822. expression: {
  19823. type: 'Literal',
  19824. value: 'use strict',
  19825. raw: '"use strict"',
  19826. range: [0, 12],
  19827. loc: {
  19828. start: { line: 1, column: 0 },
  19829. end: { line: 1, column: 12 }
  19830. }
  19831. },
  19832. range: [0, 13],
  19833. loc: {
  19834. start: { line: 1, column: 0 },
  19835. end: { line: 1, column: 13 }
  19836. }
  19837. }, {
  19838. type: 'ExpressionStatement',
  19839. expression: {
  19840. type: 'AssignmentExpression',
  19841. operator: '=',
  19842. left: {
  19843. type: 'Identifier',
  19844. name: 'x',
  19845. range: [13, 14],
  19846. loc: {
  19847. start: { line: 1, column: 13 },
  19848. end: { line: 1, column: 14 }
  19849. }
  19850. },
  19851. right: {
  19852. type: 'ObjectExpression',
  19853. properties: [{
  19854. type: 'Property',
  19855. key: {
  19856. type: 'Identifier',
  19857. name: 'y',
  19858. range: [16, 17],
  19859. loc: {
  19860. start: { line: 1, column: 16 },
  19861. end: { line: 1, column: 17 }
  19862. }
  19863. },
  19864. value: {
  19865. type: 'Literal',
  19866. value: 1,
  19867. raw: '1',
  19868. range: [18, 19],
  19869. loc: {
  19870. start: { line: 1, column: 18 },
  19871. end: { line: 1, column: 19 }
  19872. }
  19873. },
  19874. kind: 'init',
  19875. method: false,
  19876. shorthand: false,
  19877. range: [16, 19],
  19878. loc: {
  19879. start: { line: 1, column: 16 },
  19880. end: { line: 1, column: 19 }
  19881. }
  19882. }, {
  19883. type: 'Property',
  19884. key: {
  19885. type: 'Identifier',
  19886. name: 'y',
  19887. range: [20, 21],
  19888. loc: {
  19889. start: { line: 1, column: 20 },
  19890. end: { line: 1, column: 21 }
  19891. }
  19892. },
  19893. value: {
  19894. type: 'Literal',
  19895. value: 1,
  19896. raw: '1',
  19897. range: [22, 23],
  19898. loc: {
  19899. start: { line: 1, column: 22 },
  19900. end: { line: 1, column: 23 }
  19901. }
  19902. },
  19903. kind: 'init',
  19904. method: false,
  19905. shorthand: false,
  19906. range: [20, 23],
  19907. loc: {
  19908. start: { line: 1, column: 20 },
  19909. end: { line: 1, column: 23 }
  19910. }
  19911. }],
  19912. range: [15, 24],
  19913. loc: {
  19914. start: { line: 1, column: 15 },
  19915. end: { line: 1, column: 24 }
  19916. }
  19917. },
  19918. range: [13, 24],
  19919. loc: {
  19920. start: { line: 1, column: 13 },
  19921. end: { line: 1, column: 24 }
  19922. }
  19923. },
  19924. range: [13, 24],
  19925. loc: {
  19926. start: { line: 1, column: 13 },
  19927. end: { line: 1, column: 24 }
  19928. }
  19929. }],
  19930. range: [0, 24],
  19931. loc: {
  19932. start: { line: 1, column: 0 },
  19933. end: { line: 1, column: 24 }
  19934. },
  19935. errors: [{
  19936. index: 23,
  19937. lineNumber: 1,
  19938. column: 24,
  19939. message: 'Error: Line 1: Duplicate data property in object literal not allowed in strict mode'
  19940. }]
  19941. },
  19942. '"use strict"; function eval() {};': {
  19943. type: 'Program',
  19944. body: [{
  19945. type: 'ExpressionStatement',
  19946. expression: {
  19947. type: 'Literal',
  19948. value: 'use strict',
  19949. raw: '"use strict"',
  19950. range: [0, 12],
  19951. loc: {
  19952. start: { line: 1, column: 0 },
  19953. end: { line: 1, column: 12 }
  19954. }
  19955. },
  19956. range: [0, 13],
  19957. loc: {
  19958. start: { line: 1, column: 0 },
  19959. end: { line: 1, column: 13 }
  19960. }
  19961. }, {
  19962. type: 'FunctionDeclaration',
  19963. id: {
  19964. type: 'Identifier',
  19965. name: 'eval',
  19966. range: [23, 27],
  19967. loc: {
  19968. start: { line: 1, column: 23 },
  19969. end: { line: 1, column: 27 }
  19970. }
  19971. },
  19972. params: [],
  19973. defaults: [],
  19974. body: {
  19975. type: 'BlockStatement',
  19976. body: [],
  19977. range: [30, 32],
  19978. loc: {
  19979. start: { line: 1, column: 30 },
  19980. end: { line: 1, column: 32 }
  19981. }
  19982. },
  19983. rest: null,
  19984. generator: false,
  19985. expression: false,
  19986. range: [14, 32],
  19987. loc: {
  19988. start: { line: 1, column: 14 },
  19989. end: { line: 1, column: 32 }
  19990. }
  19991. }, {
  19992. type: 'EmptyStatement',
  19993. range: [32, 33],
  19994. loc: {
  19995. start: { line: 1, column: 32 },
  19996. end: { line: 1, column: 33 }
  19997. }
  19998. }],
  19999. range: [0, 33],
  20000. loc: {
  20001. start: { line: 1, column: 0 },
  20002. end: { line: 1, column: 33 }
  20003. },
  20004. errors: [{
  20005. index: 23,
  20006. lineNumber: 1,
  20007. column: 24,
  20008. message: 'Error: Line 1: Function name may not be eval or arguments in strict mode'
  20009. }]
  20010. },
  20011. '"use strict"; function arguments() {};': {
  20012. type: 'Program',
  20013. body: [{
  20014. type: 'ExpressionStatement',
  20015. expression: {
  20016. type: 'Literal',
  20017. value: 'use strict',
  20018. raw: '"use strict"',
  20019. range: [0, 12],
  20020. loc: {
  20021. start: { line: 1, column: 0 },
  20022. end: { line: 1, column: 12 }
  20023. }
  20024. },
  20025. range: [0, 13],
  20026. loc: {
  20027. start: { line: 1, column: 0 },
  20028. end: { line: 1, column: 13 }
  20029. }
  20030. }, {
  20031. type: 'FunctionDeclaration',
  20032. id: {
  20033. type: 'Identifier',
  20034. name: 'arguments',
  20035. range: [23, 32],
  20036. loc: {
  20037. start: { line: 1, column: 23 },
  20038. end: { line: 1, column: 32 }
  20039. }
  20040. },
  20041. params: [],
  20042. defaults: [],
  20043. body: {
  20044. type: 'BlockStatement',
  20045. body: [],
  20046. range: [35, 37],
  20047. loc: {
  20048. start: { line: 1, column: 35 },
  20049. end: { line: 1, column: 37 }
  20050. }
  20051. },
  20052. rest: null,
  20053. generator: false,
  20054. expression: false,
  20055. range: [14, 37],
  20056. loc: {
  20057. start: { line: 1, column: 14 },
  20058. end: { line: 1, column: 37 }
  20059. }
  20060. }, {
  20061. type: 'EmptyStatement',
  20062. range: [37, 38],
  20063. loc: {
  20064. start: { line: 1, column: 37 },
  20065. end: { line: 1, column: 38 }
  20066. }
  20067. }],
  20068. range: [0, 38],
  20069. loc: {
  20070. start: { line: 1, column: 0 },
  20071. end: { line: 1, column: 38 }
  20072. },
  20073. errors: [{
  20074. index: 23,
  20075. lineNumber: 1,
  20076. column: 24,
  20077. message: 'Error: Line 1: Function name may not be eval or arguments in strict mode'
  20078. }]
  20079. },
  20080. '"use strict"; function interface() {};': {
  20081. type: 'Program',
  20082. body: [{
  20083. type: 'ExpressionStatement',
  20084. expression: {
  20085. type: 'Literal',
  20086. value: 'use strict',
  20087. raw: '"use strict"',
  20088. range: [0, 12],
  20089. loc: {
  20090. start: { line: 1, column: 0 },
  20091. end: { line: 1, column: 12 }
  20092. }
  20093. },
  20094. range: [0, 13],
  20095. loc: {
  20096. start: { line: 1, column: 0 },
  20097. end: { line: 1, column: 13 }
  20098. }
  20099. }, {
  20100. type: 'FunctionDeclaration',
  20101. id: {
  20102. type: 'Identifier',
  20103. name: 'interface',
  20104. range: [23, 32],
  20105. loc: {
  20106. start: { line: 1, column: 23 },
  20107. end: { line: 1, column: 32 }
  20108. }
  20109. },
  20110. params: [],
  20111. defaults: [],
  20112. body: {
  20113. type: 'BlockStatement',
  20114. body: [],
  20115. range: [35, 37],
  20116. loc: {
  20117. start: { line: 1, column: 35 },
  20118. end: { line: 1, column: 37 }
  20119. }
  20120. },
  20121. rest: null,
  20122. generator: false,
  20123. expression: false,
  20124. range: [14, 37],
  20125. loc: {
  20126. start: { line: 1, column: 14 },
  20127. end: { line: 1, column: 37 }
  20128. }
  20129. }, {
  20130. type: 'EmptyStatement',
  20131. range: [37, 38],
  20132. loc: {
  20133. start: { line: 1, column: 37 },
  20134. end: { line: 1, column: 38 }
  20135. }
  20136. }],
  20137. range: [0, 38],
  20138. loc: {
  20139. start: { line: 1, column: 0 },
  20140. end: { line: 1, column: 38 }
  20141. },
  20142. errors: [{
  20143. index: 23,
  20144. lineNumber: 1,
  20145. column: 24,
  20146. message: 'Error: Line 1: Use of future reserved word in strict mode'
  20147. }]
  20148. },
  20149. '"use strict"; (function eval() {});': {
  20150. type: 'Program',
  20151. body: [{
  20152. type: 'ExpressionStatement',
  20153. expression: {
  20154. type: 'Literal',
  20155. value: 'use strict',
  20156. raw: '"use strict"',
  20157. range: [0, 12],
  20158. loc: {
  20159. start: { line: 1, column: 0 },
  20160. end: { line: 1, column: 12 }
  20161. }
  20162. },
  20163. range: [0, 13],
  20164. loc: {
  20165. start: { line: 1, column: 0 },
  20166. end: { line: 1, column: 13 }
  20167. }
  20168. }, {
  20169. type: 'ExpressionStatement',
  20170. expression: {
  20171. type: 'FunctionExpression',
  20172. id: {
  20173. type: 'Identifier',
  20174. name: 'eval',
  20175. range: [24, 28],
  20176. loc: {
  20177. start: { line: 1, column: 24 },
  20178. end: { line: 1, column: 28 }
  20179. }
  20180. },
  20181. params: [],
  20182. defaults: [],
  20183. body: {
  20184. type: 'BlockStatement',
  20185. body: [],
  20186. range: [31, 33],
  20187. loc: {
  20188. start: { line: 1, column: 31 },
  20189. end: { line: 1, column: 33 }
  20190. }
  20191. },
  20192. rest: null,
  20193. generator: false,
  20194. expression: false,
  20195. range: [15, 33],
  20196. loc: {
  20197. start: { line: 1, column: 15 },
  20198. end: { line: 1, column: 33 }
  20199. }
  20200. },
  20201. range: [14, 35],
  20202. loc: {
  20203. start: { line: 1, column: 14 },
  20204. end: { line: 1, column: 35 }
  20205. }
  20206. }],
  20207. range: [0, 35],
  20208. loc: {
  20209. start: { line: 1, column: 0 },
  20210. end: { line: 1, column: 35 }
  20211. },
  20212. errors: [{
  20213. index: 24,
  20214. lineNumber: 1,
  20215. column: 25,
  20216. message: 'Error: Line 1: Function name may not be eval or arguments in strict mode'
  20217. }]
  20218. },
  20219. '"use strict"; (function arguments() {});': {
  20220. type: 'Program',
  20221. body: [{
  20222. type: 'ExpressionStatement',
  20223. expression: {
  20224. type: 'Literal',
  20225. value: 'use strict',
  20226. raw: '"use strict"',
  20227. range: [0, 12],
  20228. loc: {
  20229. start: { line: 1, column: 0 },
  20230. end: { line: 1, column: 12 }
  20231. }
  20232. },
  20233. range: [0, 13],
  20234. loc: {
  20235. start: { line: 1, column: 0 },
  20236. end: { line: 1, column: 13 }
  20237. }
  20238. }, {
  20239. type: 'ExpressionStatement',
  20240. expression: {
  20241. type: 'FunctionExpression',
  20242. id: {
  20243. type: 'Identifier',
  20244. name: 'arguments',
  20245. range: [24, 33],
  20246. loc: {
  20247. start: { line: 1, column: 24 },
  20248. end: { line: 1, column: 33 }
  20249. }
  20250. },
  20251. params: [],
  20252. defaults: [],
  20253. body: {
  20254. type: 'BlockStatement',
  20255. body: [],
  20256. range: [36, 38],
  20257. loc: {
  20258. start: { line: 1, column: 36 },
  20259. end: { line: 1, column: 38 }
  20260. }
  20261. },
  20262. rest: null,
  20263. generator: false,
  20264. expression: false,
  20265. range: [15, 38],
  20266. loc: {
  20267. start: { line: 1, column: 15 },
  20268. end: { line: 1, column: 38 }
  20269. }
  20270. },
  20271. range: [14, 40],
  20272. loc: {
  20273. start: { line: 1, column: 14 },
  20274. end: { line: 1, column: 40 }
  20275. }
  20276. }],
  20277. range: [0, 40],
  20278. loc: {
  20279. start: { line: 1, column: 0 },
  20280. end: { line: 1, column: 40 }
  20281. },
  20282. errors: [{
  20283. index: 24,
  20284. lineNumber: 1,
  20285. column: 25,
  20286. message: 'Error: Line 1: Function name may not be eval or arguments in strict mode'
  20287. }]
  20288. },
  20289. '"use strict"; (function interface() {});': {
  20290. type: 'Program',
  20291. body: [{
  20292. type: 'ExpressionStatement',
  20293. expression: {
  20294. type: 'Literal',
  20295. value: 'use strict',
  20296. raw: '"use strict"',
  20297. range: [0, 12],
  20298. loc: {
  20299. start: { line: 1, column: 0 },
  20300. end: { line: 1, column: 12 }
  20301. }
  20302. },
  20303. range: [0, 13],
  20304. loc: {
  20305. start: { line: 1, column: 0 },
  20306. end: { line: 1, column: 13 }
  20307. }
  20308. }, {
  20309. type: 'ExpressionStatement',
  20310. expression: {
  20311. type: 'FunctionExpression',
  20312. id: {
  20313. type: 'Identifier',
  20314. name: 'interface',
  20315. range: [24, 33],
  20316. loc: {
  20317. start: { line: 1, column: 24 },
  20318. end: { line: 1, column: 33 }
  20319. }
  20320. },
  20321. params: [],
  20322. defaults: [],
  20323. body: {
  20324. type: 'BlockStatement',
  20325. body: [],
  20326. range: [36, 38],
  20327. loc: {
  20328. start: { line: 1, column: 36 },
  20329. end: { line: 1, column: 38 }
  20330. }
  20331. },
  20332. rest: null,
  20333. generator: false,
  20334. expression: false,
  20335. range: [15, 38],
  20336. loc: {
  20337. start: { line: 1, column: 15 },
  20338. end: { line: 1, column: 38 }
  20339. }
  20340. },
  20341. range: [14, 40],
  20342. loc: {
  20343. start: { line: 1, column: 14 },
  20344. end: { line: 1, column: 40 }
  20345. }
  20346. }],
  20347. range: [0, 40],
  20348. loc: {
  20349. start: { line: 1, column: 0 },
  20350. end: { line: 1, column: 40 }
  20351. },
  20352. errors: [{
  20353. index: 24,
  20354. lineNumber: 1,
  20355. column: 25,
  20356. message: 'Error: Line 1: Use of future reserved word in strict mode'
  20357. }]
  20358. },
  20359. '"use strict"; function f(eval) {};': {
  20360. type: 'Program',
  20361. body: [{
  20362. type: 'ExpressionStatement',
  20363. expression: {
  20364. type: 'Literal',
  20365. value: 'use strict',
  20366. raw: '"use strict"',
  20367. range: [0, 12],
  20368. loc: {
  20369. start: { line: 1, column: 0 },
  20370. end: { line: 1, column: 12 }
  20371. }
  20372. },
  20373. range: [0, 13],
  20374. loc: {
  20375. start: { line: 1, column: 0 },
  20376. end: { line: 1, column: 13 }
  20377. }
  20378. }, {
  20379. type: 'FunctionDeclaration',
  20380. id: {
  20381. type: 'Identifier',
  20382. name: 'f',
  20383. range: [23, 24],
  20384. loc: {
  20385. start: { line: 1, column: 23 },
  20386. end: { line: 1, column: 24 }
  20387. }
  20388. },
  20389. params: [{
  20390. type: 'Identifier',
  20391. name: 'eval',
  20392. range: [25, 29],
  20393. loc: {
  20394. start: { line: 1, column: 25 },
  20395. end: { line: 1, column: 29 }
  20396. }
  20397. }],
  20398. defaults: [],
  20399. body: {
  20400. type: 'BlockStatement',
  20401. body: [],
  20402. range: [31, 33],
  20403. loc: {
  20404. start: { line: 1, column: 31 },
  20405. end: { line: 1, column: 33 }
  20406. }
  20407. },
  20408. rest: null,
  20409. generator: false,
  20410. expression: false,
  20411. range: [14, 33],
  20412. loc: {
  20413. start: { line: 1, column: 14 },
  20414. end: { line: 1, column: 33 }
  20415. }
  20416. }, {
  20417. type: 'EmptyStatement',
  20418. range: [33, 34],
  20419. loc: {
  20420. start: { line: 1, column: 33 },
  20421. end: { line: 1, column: 34 }
  20422. }
  20423. }],
  20424. range: [0, 34],
  20425. loc: {
  20426. start: { line: 1, column: 0 },
  20427. end: { line: 1, column: 34 }
  20428. },
  20429. errors: [{
  20430. index: 25,
  20431. lineNumber: 1,
  20432. column: 26,
  20433. message: 'Error: Line 1: Parameter name eval or arguments is not allowed in strict mode'
  20434. }]
  20435. },
  20436. '"use strict"; function f(arguments) {};': {
  20437. type: 'Program',
  20438. body: [{
  20439. type: 'ExpressionStatement',
  20440. expression: {
  20441. type: 'Literal',
  20442. value: 'use strict',
  20443. raw: '"use strict"',
  20444. range: [0, 12],
  20445. loc: {
  20446. start: { line: 1, column: 0 },
  20447. end: { line: 1, column: 12 }
  20448. }
  20449. },
  20450. range: [0, 13],
  20451. loc: {
  20452. start: { line: 1, column: 0 },
  20453. end: { line: 1, column: 13 }
  20454. }
  20455. }, {
  20456. type: 'FunctionDeclaration',
  20457. id: {
  20458. type: 'Identifier',
  20459. name: 'f',
  20460. range: [23, 24],
  20461. loc: {
  20462. start: { line: 1, column: 23 },
  20463. end: { line: 1, column: 24 }
  20464. }
  20465. },
  20466. params: [{
  20467. type: 'Identifier',
  20468. name: 'arguments',
  20469. range: [25, 34],
  20470. loc: {
  20471. start: { line: 1, column: 25 },
  20472. end: { line: 1, column: 34 }
  20473. }
  20474. }],
  20475. defaults: [],
  20476. body: {
  20477. type: 'BlockStatement',
  20478. body: [],
  20479. range: [36, 38],
  20480. loc: {
  20481. start: { line: 1, column: 36 },
  20482. end: { line: 1, column: 38 }
  20483. }
  20484. },
  20485. rest: null,
  20486. generator: false,
  20487. expression: false,
  20488. range: [14, 38],
  20489. loc: {
  20490. start: { line: 1, column: 14 },
  20491. end: { line: 1, column: 38 }
  20492. }
  20493. }, {
  20494. type: 'EmptyStatement',
  20495. range: [38, 39],
  20496. loc: {
  20497. start: { line: 1, column: 38 },
  20498. end: { line: 1, column: 39 }
  20499. }
  20500. }],
  20501. range: [0, 39],
  20502. loc: {
  20503. start: { line: 1, column: 0 },
  20504. end: { line: 1, column: 39 }
  20505. },
  20506. errors: [{
  20507. index: 25,
  20508. lineNumber: 1,
  20509. column: 26,
  20510. message: 'Error: Line 1: Parameter name eval or arguments is not allowed in strict mode'
  20511. }]
  20512. },
  20513. '"use strict"; function f(foo, foo) {};': {
  20514. type: 'Program',
  20515. body: [{
  20516. type: 'ExpressionStatement',
  20517. expression: {
  20518. type: 'Literal',
  20519. value: 'use strict',
  20520. raw: '"use strict"',
  20521. range: [0, 12],
  20522. loc: {
  20523. start: { line: 1, column: 0 },
  20524. end: { line: 1, column: 12 }
  20525. }
  20526. },
  20527. range: [0, 13],
  20528. loc: {
  20529. start: { line: 1, column: 0 },
  20530. end: { line: 1, column: 13 }
  20531. }
  20532. }, {
  20533. type: 'FunctionDeclaration',
  20534. id: {
  20535. type: 'Identifier',
  20536. name: 'f',
  20537. range: [23, 24],
  20538. loc: {
  20539. start: { line: 1, column: 23 },
  20540. end: { line: 1, column: 24 }
  20541. }
  20542. },
  20543. params: [{
  20544. type: 'Identifier',
  20545. name: 'foo',
  20546. range: [25, 28],
  20547. loc: {
  20548. start: { line: 1, column: 25 },
  20549. end: { line: 1, column: 28 }
  20550. }
  20551. }, {
  20552. type: 'Identifier',
  20553. name: 'foo',
  20554. range: [31, 34],
  20555. loc: {
  20556. start: { line: 1, column: 31 },
  20557. end: { line: 1, column: 34 }
  20558. }
  20559. }],
  20560. defaults: [],
  20561. body: {
  20562. type: 'BlockStatement',
  20563. body: [],
  20564. range: [36, 38],
  20565. loc: {
  20566. start: { line: 1, column: 36 },
  20567. end: { line: 1, column: 38 }
  20568. }
  20569. },
  20570. rest: null,
  20571. generator: false,
  20572. expression: false,
  20573. range: [14, 38],
  20574. loc: {
  20575. start: { line: 1, column: 14 },
  20576. end: { line: 1, column: 38 }
  20577. }
  20578. }, {
  20579. type: 'EmptyStatement',
  20580. range: [38, 39],
  20581. loc: {
  20582. start: { line: 1, column: 38 },
  20583. end: { line: 1, column: 39 }
  20584. }
  20585. }],
  20586. range: [0, 39],
  20587. loc: {
  20588. start: { line: 1, column: 0 },
  20589. end: { line: 1, column: 39 }
  20590. },
  20591. errors: [{
  20592. index: 31,
  20593. lineNumber: 1,
  20594. column: 32,
  20595. message: 'Error: Line 1: Strict mode function may not have duplicate parameter names'
  20596. }]
  20597. },
  20598. '"use strict"; (function f(eval) {});': {
  20599. type: 'Program',
  20600. body: [{
  20601. type: 'ExpressionStatement',
  20602. expression: {
  20603. type: 'Literal',
  20604. value: 'use strict',
  20605. raw: '"use strict"',
  20606. range: [0, 12],
  20607. loc: {
  20608. start: { line: 1, column: 0 },
  20609. end: { line: 1, column: 12 }
  20610. }
  20611. },
  20612. range: [0, 13],
  20613. loc: {
  20614. start: { line: 1, column: 0 },
  20615. end: { line: 1, column: 13 }
  20616. }
  20617. }, {
  20618. type: 'ExpressionStatement',
  20619. expression: {
  20620. type: 'FunctionExpression',
  20621. id: {
  20622. type: 'Identifier',
  20623. name: 'f',
  20624. range: [24, 25],
  20625. loc: {
  20626. start: { line: 1, column: 24 },
  20627. end: { line: 1, column: 25 }
  20628. }
  20629. },
  20630. params: [{
  20631. type: 'Identifier',
  20632. name: 'eval',
  20633. range: [26, 30],
  20634. loc: {
  20635. start: { line: 1, column: 26 },
  20636. end: { line: 1, column: 30 }
  20637. }
  20638. }],
  20639. defaults: [],
  20640. body: {
  20641. type: 'BlockStatement',
  20642. body: [],
  20643. range: [32, 34],
  20644. loc: {
  20645. start: { line: 1, column: 32 },
  20646. end: { line: 1, column: 34 }
  20647. }
  20648. },
  20649. rest: null,
  20650. generator: false,
  20651. expression: false,
  20652. range: [15, 34],
  20653. loc: {
  20654. start: { line: 1, column: 15 },
  20655. end: { line: 1, column: 34 }
  20656. }
  20657. },
  20658. range: [14, 36],
  20659. loc: {
  20660. start: { line: 1, column: 14 },
  20661. end: { line: 1, column: 36 }
  20662. }
  20663. }],
  20664. range: [0, 36],
  20665. loc: {
  20666. start: { line: 1, column: 0 },
  20667. end: { line: 1, column: 36 }
  20668. },
  20669. errors: [{
  20670. index: 26,
  20671. lineNumber: 1,
  20672. column: 27,
  20673. message: 'Error: Line 1: Parameter name eval or arguments is not allowed in strict mode'
  20674. }]
  20675. },
  20676. '"use strict"; (function f(arguments) {});': {
  20677. type: 'Program',
  20678. body: [{
  20679. type: 'ExpressionStatement',
  20680. expression: {
  20681. type: 'Literal',
  20682. value: 'use strict',
  20683. raw: '"use strict"',
  20684. range: [0, 12],
  20685. loc: {
  20686. start: { line: 1, column: 0 },
  20687. end: { line: 1, column: 12 }
  20688. }
  20689. },
  20690. range: [0, 13],
  20691. loc: {
  20692. start: { line: 1, column: 0 },
  20693. end: { line: 1, column: 13 }
  20694. }
  20695. }, {
  20696. type: 'ExpressionStatement',
  20697. expression: {
  20698. type: 'FunctionExpression',
  20699. id: {
  20700. type: 'Identifier',
  20701. name: 'f',
  20702. range: [24, 25],
  20703. loc: {
  20704. start: { line: 1, column: 24 },
  20705. end: { line: 1, column: 25 }
  20706. }
  20707. },
  20708. params: [{
  20709. type: 'Identifier',
  20710. name: 'arguments',
  20711. range: [26, 35],
  20712. loc: {
  20713. start: { line: 1, column: 26 },
  20714. end: { line: 1, column: 35 }
  20715. }
  20716. }],
  20717. defaults: [],
  20718. body: {
  20719. type: 'BlockStatement',
  20720. body: [],
  20721. range: [37, 39],
  20722. loc: {
  20723. start: { line: 1, column: 37 },
  20724. end: { line: 1, column: 39 }
  20725. }
  20726. },
  20727. rest: null,
  20728. generator: false,
  20729. expression: false,
  20730. range: [15, 39],
  20731. loc: {
  20732. start: { line: 1, column: 15 },
  20733. end: { line: 1, column: 39 }
  20734. }
  20735. },
  20736. range: [14, 41],
  20737. loc: {
  20738. start: { line: 1, column: 14 },
  20739. end: { line: 1, column: 41 }
  20740. }
  20741. }],
  20742. range: [0, 41],
  20743. loc: {
  20744. start: { line: 1, column: 0 },
  20745. end: { line: 1, column: 41 }
  20746. },
  20747. errors: [{
  20748. index: 26,
  20749. lineNumber: 1,
  20750. column: 27,
  20751. message: 'Error: Line 1: Parameter name eval or arguments is not allowed in strict mode'
  20752. }]
  20753. },
  20754. '"use strict"; (function f(foo, foo) {});': {
  20755. type: 'Program',
  20756. body: [{
  20757. type: 'ExpressionStatement',
  20758. expression: {
  20759. type: 'Literal',
  20760. value: 'use strict',
  20761. raw: '"use strict"',
  20762. range: [0, 12],
  20763. loc: {
  20764. start: { line: 1, column: 0 },
  20765. end: { line: 1, column: 12 }
  20766. }
  20767. },
  20768. range: [0, 13],
  20769. loc: {
  20770. start: { line: 1, column: 0 },
  20771. end: { line: 1, column: 13 }
  20772. }
  20773. }, {
  20774. type: 'ExpressionStatement',
  20775. expression: {
  20776. type: 'FunctionExpression',
  20777. id: {
  20778. type: 'Identifier',
  20779. name: 'f',
  20780. range: [24, 25],
  20781. loc: {
  20782. start: { line: 1, column: 24 },
  20783. end: { line: 1, column: 25 }
  20784. }
  20785. },
  20786. params: [{
  20787. type: 'Identifier',
  20788. name: 'foo',
  20789. range: [26, 29],
  20790. loc: {
  20791. start: { line: 1, column: 26 },
  20792. end: { line: 1, column: 29 }
  20793. }
  20794. }, {
  20795. type: 'Identifier',
  20796. name: 'foo',
  20797. range: [32, 35],
  20798. loc: {
  20799. start: { line: 1, column: 32 },
  20800. end: { line: 1, column: 35 }
  20801. }
  20802. }],
  20803. defaults: [],
  20804. body: {
  20805. type: 'BlockStatement',
  20806. body: [],
  20807. range: [37, 39],
  20808. loc: {
  20809. start: { line: 1, column: 37 },
  20810. end: { line: 1, column: 39 }
  20811. }
  20812. },
  20813. rest: null,
  20814. generator: false,
  20815. expression: false,
  20816. range: [15, 39],
  20817. loc: {
  20818. start: { line: 1, column: 15 },
  20819. end: { line: 1, column: 39 }
  20820. }
  20821. },
  20822. range: [14, 41],
  20823. loc: {
  20824. start: { line: 1, column: 14 },
  20825. end: { line: 1, column: 41 }
  20826. }
  20827. }],
  20828. range: [0, 41],
  20829. loc: {
  20830. start: { line: 1, column: 0 },
  20831. end: { line: 1, column: 41 }
  20832. },
  20833. errors: [{
  20834. index: 32,
  20835. lineNumber: 1,
  20836. column: 33,
  20837. message: 'Error: Line 1: Strict mode function may not have duplicate parameter names'
  20838. }]
  20839. },
  20840. '"use strict"; x = { set f(eval) {} }' : {
  20841. type: 'Program',
  20842. body: [{
  20843. type: 'ExpressionStatement',
  20844. expression: {
  20845. type: 'Literal',
  20846. value: 'use strict',
  20847. raw: '"use strict"',
  20848. range: [0, 12],
  20849. loc: {
  20850. start: { line: 1, column: 0 },
  20851. end: { line: 1, column: 12 }
  20852. }
  20853. },
  20854. range: [0, 13],
  20855. loc: {
  20856. start: { line: 1, column: 0 },
  20857. end: { line: 1, column: 13 }
  20858. }
  20859. }, {
  20860. type: 'ExpressionStatement',
  20861. expression: {
  20862. type: 'AssignmentExpression',
  20863. operator: '=',
  20864. left: {
  20865. type: 'Identifier',
  20866. name: 'x',
  20867. range: [14, 15],
  20868. loc: {
  20869. start: { line: 1, column: 14 },
  20870. end: { line: 1, column: 15 }
  20871. }
  20872. },
  20873. right: {
  20874. type: 'ObjectExpression',
  20875. properties: [{
  20876. type: 'Property',
  20877. key: {
  20878. type: 'Identifier',
  20879. name: 'f',
  20880. range: [24, 25],
  20881. loc: {
  20882. start: { line: 1, column: 24 },
  20883. end: { line: 1, column: 25 }
  20884. }
  20885. },
  20886. value : {
  20887. type: 'FunctionExpression',
  20888. id: null,
  20889. params: [{
  20890. type: 'Identifier',
  20891. name: 'eval',
  20892. range: [26, 30],
  20893. loc: {
  20894. start: { line: 1, column: 26 },
  20895. end: { line: 1, column: 30 }
  20896. }
  20897. }],
  20898. defaults: [],
  20899. body: {
  20900. type: 'BlockStatement',
  20901. body: [],
  20902. range: [32, 34],
  20903. loc: {
  20904. start: { line: 1, column: 32 },
  20905. end: { line: 1, column: 34 }
  20906. }
  20907. },
  20908. rest: null,
  20909. generator: false,
  20910. expression: false,
  20911. range: [32, 34],
  20912. loc: {
  20913. start: { line: 1, column: 32 },
  20914. end: { line: 1, column: 34 }
  20915. }
  20916. },
  20917. kind: 'set',
  20918. method: false,
  20919. shorthand: false,
  20920. range: [20, 34],
  20921. loc: {
  20922. start: { line: 1, column: 20 },
  20923. end: { line: 1, column: 34 }
  20924. }
  20925. }],
  20926. range: [18, 36],
  20927. loc: {
  20928. start: { line: 1, column: 18 },
  20929. end: { line: 1, column: 36 }
  20930. }
  20931. },
  20932. range: [14, 36],
  20933. loc: {
  20934. start: { line: 1, column: 14 },
  20935. end: { line: 1, column: 36 }
  20936. }
  20937. },
  20938. range: [14, 36],
  20939. loc: {
  20940. start: { line: 1, column: 14 },
  20941. end: { line: 1, column: 36 }
  20942. }
  20943. }],
  20944. range: [0, 36],
  20945. loc: {
  20946. start: { line: 1, column: 0 },
  20947. end: { line: 1, column: 36 }
  20948. },
  20949. errors: [{
  20950. index: 26,
  20951. lineNumber: 1,
  20952. column: 27,
  20953. message: 'Error: Line 1: Parameter name eval or arguments is not allowed in strict mode'
  20954. }]
  20955. },
  20956. 'function hello() { "octal directive\\1"; "use strict"; }': {
  20957. type: 'Program',
  20958. body: [{
  20959. type: 'FunctionDeclaration',
  20960. id: {
  20961. type: 'Identifier',
  20962. name: 'hello',
  20963. range: [9, 14],
  20964. loc: {
  20965. start: { line: 1, column: 9 },
  20966. end: { line: 1, column: 14 }
  20967. }
  20968. },
  20969. params: [],
  20970. defaults: [],
  20971. body: {
  20972. type: 'BlockStatement',
  20973. body: [{
  20974. type: 'ExpressionStatement',
  20975. expression: {
  20976. type: 'Literal',
  20977. value: 'octal directive\u0001',
  20978. raw: '"octal directive\\1"',
  20979. range: [19, 38],
  20980. loc: {
  20981. start: { line: 1, column: 19 },
  20982. end: { line: 1, column: 38 }
  20983. }
  20984. },
  20985. range: [19, 39],
  20986. loc: {
  20987. start: { line: 1, column: 19 },
  20988. end: { line: 1, column: 39 }
  20989. }
  20990. }, {
  20991. type: 'ExpressionStatement',
  20992. expression: {
  20993. type: 'Literal',
  20994. value: 'use strict',
  20995. raw: '"use strict"',
  20996. range: [40, 52],
  20997. loc: {
  20998. start: { line: 1, column: 40 },
  20999. end: { line: 1, column: 52 }
  21000. }
  21001. },
  21002. range: [40, 53],
  21003. loc: {
  21004. start: { line: 1, column: 40 },
  21005. end: { line: 1, column: 53 }
  21006. }
  21007. }],
  21008. range: [17, 55],
  21009. loc: {
  21010. start: { line: 1, column: 17 },
  21011. end: { line: 1, column: 55 }
  21012. }
  21013. },
  21014. rest: null,
  21015. generator: false,
  21016. expression: false,
  21017. range: [0, 55],
  21018. loc: {
  21019. start: { line: 1, column: 0 },
  21020. end: { line: 1, column: 55 }
  21021. }
  21022. }],
  21023. range: [0, 55],
  21024. loc: {
  21025. start: { line: 1, column: 0 },
  21026. end: { line: 1, column: 55 }
  21027. },
  21028. errors: [{
  21029. index: 19,
  21030. lineNumber: 1,
  21031. column: 20,
  21032. message: 'Error: Line 1: Octal literals are not allowed in strict mode.'
  21033. }]
  21034. },
  21035. '"\\1"; \'use strict\';': {
  21036. type: 'Program',
  21037. body: [{
  21038. type: 'ExpressionStatement',
  21039. expression: {
  21040. type: 'Literal',
  21041. value: '\u0001',
  21042. raw: '"\\1"',
  21043. range: [0, 4],
  21044. loc: {
  21045. start: { line: 1, column: 0 },
  21046. end: { line: 1, column: 4 }
  21047. }
  21048. },
  21049. range: [0, 5],
  21050. loc: {
  21051. start: { line: 1, column: 0 },
  21052. end: { line: 1, column: 5 }
  21053. }
  21054. }, {
  21055. type: 'ExpressionStatement',
  21056. expression: {
  21057. type: 'Literal',
  21058. value: 'use strict',
  21059. raw: '\'use strict\'',
  21060. range: [6, 18],
  21061. loc: {
  21062. start: { line: 1, column: 6 },
  21063. end: { line: 1, column: 18 }
  21064. }
  21065. },
  21066. range: [6, 19],
  21067. loc: {
  21068. start: { line: 1, column: 6 },
  21069. end: { line: 1, column: 19 }
  21070. }
  21071. }],
  21072. range: [0, 19],
  21073. loc: {
  21074. start: { line: 1, column: 0 },
  21075. end: { line: 1, column: 19 }
  21076. },
  21077. errors: [{
  21078. index: 0,
  21079. lineNumber: 1,
  21080. column: 1,
  21081. message: 'Error: Line 1: Octal literals are not allowed in strict mode.'
  21082. }]
  21083. },
  21084. '"use strict"; var x = { 014: 3}': {
  21085. type: 'Program',
  21086. body: [{
  21087. type: 'ExpressionStatement',
  21088. expression: {
  21089. type: 'Literal',
  21090. value: 'use strict',
  21091. raw: '"use strict"',
  21092. range: [0, 12],
  21093. loc: {
  21094. start: { line: 1, column: 0 },
  21095. end: { line: 1, column: 12 }
  21096. }
  21097. },
  21098. range: [0, 13],
  21099. loc: {
  21100. start: { line: 1, column: 0 },
  21101. end: { line: 1, column: 13 }
  21102. }
  21103. }, {
  21104. type: 'VariableDeclaration',
  21105. declarations: [{
  21106. type: 'VariableDeclarator',
  21107. id: {
  21108. type: 'Identifier',
  21109. name: 'x',
  21110. range: [18, 19],
  21111. loc: {
  21112. start: { line: 1, column: 18 },
  21113. end: { line: 1, column: 19 }
  21114. }
  21115. },
  21116. init: {
  21117. type: 'ObjectExpression',
  21118. properties: [{
  21119. type: 'Property',
  21120. key: {
  21121. type: 'Literal',
  21122. value: 12,
  21123. raw: '014',
  21124. range: [24, 27],
  21125. loc: {
  21126. start: { line: 1, column: 24 },
  21127. end: { line: 1, column: 27 }
  21128. }
  21129. },
  21130. value: {
  21131. type: 'Literal',
  21132. value: 3,
  21133. raw: '3',
  21134. range: [29, 30],
  21135. loc: {
  21136. start: { line: 1, column: 29 },
  21137. end: { line: 1, column: 30 }
  21138. }
  21139. },
  21140. kind: 'init',
  21141. method: false,
  21142. shorthand: false,
  21143. range: [24, 30],
  21144. loc: {
  21145. start: { line: 1, column: 24 },
  21146. end: { line: 1, column: 30 }
  21147. }
  21148. }],
  21149. range: [22, 31],
  21150. loc: {
  21151. start: { line: 1, column: 22 },
  21152. end: { line: 1, column: 31 }
  21153. }
  21154. },
  21155. range: [18, 31],
  21156. loc: {
  21157. start: { line: 1, column: 18 },
  21158. end: { line: 1, column: 31 }
  21159. }
  21160. }],
  21161. kind: 'var',
  21162. range: [14, 31],
  21163. loc: {
  21164. start: { line: 1, column: 14 },
  21165. end: { line: 1, column: 31 }
  21166. }
  21167. }],
  21168. range: [0, 31],
  21169. loc: {
  21170. start: { line: 1, column: 0 },
  21171. end: { line: 1, column: 31 }
  21172. },
  21173. errors: [{
  21174. index: 24,
  21175. lineNumber: 1,
  21176. column: 25,
  21177. message: 'Error: Line 1: Octal literals are not allowed in strict mode.'
  21178. }]
  21179. },
  21180. '"use strict"; var x = { get i() {}, get i() {} }': {
  21181. type: 'Program',
  21182. body: [{
  21183. type: 'ExpressionStatement',
  21184. expression: {
  21185. type: 'Literal',
  21186. value: 'use strict',
  21187. raw: '"use strict"',
  21188. range: [0, 12],
  21189. loc: {
  21190. start: { line: 1, column: 0 },
  21191. end: { line: 1, column: 12 }
  21192. }
  21193. },
  21194. range: [0, 13],
  21195. loc: {
  21196. start: { line: 1, column: 0 },
  21197. end: { line: 1, column: 13 }
  21198. }
  21199. }, {
  21200. type: 'VariableDeclaration',
  21201. declarations: [{
  21202. type: 'VariableDeclarator',
  21203. id: {
  21204. type: 'Identifier',
  21205. name: 'x',
  21206. range: [18, 19],
  21207. loc: {
  21208. start: { line: 1, column: 18 },
  21209. end: { line: 1, column: 19 }
  21210. }
  21211. },
  21212. init: {
  21213. type: 'ObjectExpression',
  21214. properties: [{
  21215. type: 'Property',
  21216. key: {
  21217. type: 'Identifier',
  21218. name: 'i',
  21219. range: [28, 29],
  21220. loc: {
  21221. start: { line: 1, column: 28 },
  21222. end: { line: 1, column: 29 }
  21223. }
  21224. },
  21225. value: {
  21226. type: 'FunctionExpression',
  21227. id: null,
  21228. params: [],
  21229. defaults: [],
  21230. body: {
  21231. type: 'BlockStatement',
  21232. body: [],
  21233. range: [32, 34],
  21234. loc: {
  21235. start: { line: 1, column: 32 },
  21236. end: { line: 1, column: 34 }
  21237. }
  21238. },
  21239. rest: null,
  21240. generator: false,
  21241. expression: false,
  21242. range: [32, 34],
  21243. loc: {
  21244. start: { line: 1, column: 32 },
  21245. end: { line: 1, column: 34 }
  21246. }
  21247. },
  21248. kind: 'get',
  21249. method: false,
  21250. shorthand: false,
  21251. range: [24, 34],
  21252. loc: {
  21253. start: { line: 1, column: 24 },
  21254. end: { line: 1, column: 34 }
  21255. }
  21256. }, {
  21257. type: 'Property',
  21258. key: {
  21259. type: 'Identifier',
  21260. name: 'i',
  21261. range: [40, 41],
  21262. loc: {
  21263. start: { line: 1, column: 40 },
  21264. end: { line: 1, column: 41 }
  21265. }
  21266. },
  21267. value: {
  21268. type: 'FunctionExpression',
  21269. id: null,
  21270. params: [],
  21271. defaults: [],
  21272. body: {
  21273. type: 'BlockStatement',
  21274. body: [],
  21275. range: [44, 46],
  21276. loc: {
  21277. start: { line: 1, column: 44 },
  21278. end: { line: 1, column: 46 }
  21279. }
  21280. },
  21281. rest: null,
  21282. generator: false,
  21283. expression: false,
  21284. range: [44, 46],
  21285. loc: {
  21286. start: { line: 1, column: 44 },
  21287. end: { line: 1, column: 46 }
  21288. }
  21289. },
  21290. kind: 'get',
  21291. method: false,
  21292. shorthand: false,
  21293. range: [36, 46],
  21294. loc: {
  21295. start: { line: 1, column: 36 },
  21296. end: { line: 1, column: 46 }
  21297. }
  21298. }],
  21299. range: [22, 48],
  21300. loc: {
  21301. start: { line: 1, column: 22 },
  21302. end: { line: 1, column: 48 }
  21303. }
  21304. },
  21305. range: [18, 48],
  21306. loc: {
  21307. start: { line: 1, column: 18 },
  21308. end: { line: 1, column: 48 }
  21309. }
  21310. }],
  21311. kind: 'var',
  21312. range: [14, 48],
  21313. loc: {
  21314. start: { line: 1, column: 14 },
  21315. end: { line: 1, column: 48 }
  21316. }
  21317. }],
  21318. range: [0, 48],
  21319. loc: {
  21320. start: { line: 1, column: 0 },
  21321. end: { line: 1, column: 48 }
  21322. },
  21323. errors: [{
  21324. index: 46,
  21325. lineNumber: 1,
  21326. column: 47,
  21327. message: 'Error: Line 1: Object literal may not have multiple get/set accessors with the same name'
  21328. }]
  21329. },
  21330. '"use strict"; var x = { i: 42, get i() {} }': {
  21331. type: 'Program',
  21332. body: [{
  21333. type: 'ExpressionStatement',
  21334. expression: {
  21335. type: 'Literal',
  21336. value: 'use strict',
  21337. raw: '"use strict"',
  21338. range: [0, 12],
  21339. loc: {
  21340. start: { line: 1, column: 0 },
  21341. end: { line: 1, column: 12 }
  21342. }
  21343. },
  21344. range: [0, 13],
  21345. loc: {
  21346. start: { line: 1, column: 0 },
  21347. end: { line: 1, column: 13 }
  21348. }
  21349. }, {
  21350. type: 'VariableDeclaration',
  21351. declarations: [{
  21352. type: 'VariableDeclarator',
  21353. id: {
  21354. type: 'Identifier',
  21355. name: 'x',
  21356. range: [18, 19],
  21357. loc: {
  21358. start: { line: 1, column: 18 },
  21359. end: { line: 1, column: 19 }
  21360. }
  21361. },
  21362. init: {
  21363. type: 'ObjectExpression',
  21364. properties: [{
  21365. type: 'Property',
  21366. key: {
  21367. type: 'Identifier',
  21368. name: 'i',
  21369. range: [24, 25],
  21370. loc: {
  21371. start: { line: 1, column: 24 },
  21372. end: { line: 1, column: 25 }
  21373. }
  21374. },
  21375. value: {
  21376. type: 'Literal',
  21377. value: 42,
  21378. raw: '42',
  21379. range: [27, 29],
  21380. loc: {
  21381. start: { line: 1, column: 27 },
  21382. end: { line: 1, column: 29 }
  21383. }
  21384. },
  21385. kind: 'init',
  21386. method: false,
  21387. shorthand: false,
  21388. range: [24, 29],
  21389. loc: {
  21390. start: { line: 1, column: 24 },
  21391. end: { line: 1, column: 29 }
  21392. }
  21393. }, {
  21394. type: 'Property',
  21395. key: {
  21396. type: 'Identifier',
  21397. name: 'i',
  21398. range: [35, 36],
  21399. loc: {
  21400. start: { line: 1, column: 35 },
  21401. end: { line: 1, column: 36 }
  21402. }
  21403. },
  21404. value: {
  21405. type: 'FunctionExpression',
  21406. id: null,
  21407. params: [],
  21408. defaults: [],
  21409. body: {
  21410. type: 'BlockStatement',
  21411. body: [],
  21412. range: [39, 41],
  21413. loc: {
  21414. start: { line: 1, column: 39 },
  21415. end: { line: 1, column: 41 }
  21416. }
  21417. },
  21418. rest: null,
  21419. generator: false,
  21420. expression: false,
  21421. range: [39, 41],
  21422. loc: {
  21423. start: { line: 1, column: 39 },
  21424. end: { line: 1, column: 41 }
  21425. }
  21426. },
  21427. kind: 'get',
  21428. method: false,
  21429. shorthand: false,
  21430. range: [31, 41],
  21431. loc: {
  21432. start: { line: 1, column: 31 },
  21433. end: { line: 1, column: 41 }
  21434. }
  21435. }],
  21436. range: [22, 43],
  21437. loc: {
  21438. start: { line: 1, column: 22 },
  21439. end: { line: 1, column: 43 }
  21440. }
  21441. },
  21442. range: [18, 43],
  21443. loc: {
  21444. start: { line: 1, column: 18 },
  21445. end: { line: 1, column: 43 }
  21446. }
  21447. }],
  21448. kind: 'var',
  21449. range: [14, 43],
  21450. loc: {
  21451. start: { line: 1, column: 14 },
  21452. end: { line: 1, column: 43 }
  21453. }
  21454. }],
  21455. range: [0, 43],
  21456. loc: {
  21457. start: { line: 1, column: 0 },
  21458. end: { line: 1, column: 43 }
  21459. },
  21460. errors: [{
  21461. index: 41,
  21462. lineNumber: 1,
  21463. column: 42,
  21464. message: 'Error: Line 1: Object literal may not have data and accessor property with the same name'
  21465. }]
  21466. },
  21467. '"use strict"; var x = { set i(x) {}, i: 42 }': {
  21468. type: 'Program',
  21469. body: [{
  21470. type: 'ExpressionStatement',
  21471. expression: {
  21472. type: 'Literal',
  21473. value: 'use strict',
  21474. raw: '"use strict"',
  21475. range: [0, 12],
  21476. loc: {
  21477. start: { line: 1, column: 0 },
  21478. end: { line: 1, column: 12 }
  21479. }
  21480. },
  21481. range: [0, 13],
  21482. loc: {
  21483. start: { line: 1, column: 0 },
  21484. end: { line: 1, column: 13 }
  21485. }
  21486. }, {
  21487. type: 'VariableDeclaration',
  21488. declarations: [{
  21489. type: 'VariableDeclarator',
  21490. id: {
  21491. type: 'Identifier',
  21492. name: 'x',
  21493. range: [18, 19],
  21494. loc: {
  21495. start: { line: 1, column: 18 },
  21496. end: { line: 1, column: 19 }
  21497. }
  21498. },
  21499. init: {
  21500. type: 'ObjectExpression',
  21501. properties: [{
  21502. type: 'Property',
  21503. key: {
  21504. type: 'Identifier',
  21505. name: 'i',
  21506. range: [28, 29],
  21507. loc: {
  21508. start: { line: 1, column: 28 },
  21509. end: { line: 1, column: 29 }
  21510. }
  21511. },
  21512. value: {
  21513. type: 'FunctionExpression',
  21514. id: null,
  21515. params: [{
  21516. type: 'Identifier',
  21517. name: 'x',
  21518. range: [30, 31],
  21519. loc: {
  21520. start: { line: 1, column: 30 },
  21521. end: { line: 1, column: 31 }
  21522. }
  21523. }],
  21524. defaults: [],
  21525. body: {
  21526. type: 'BlockStatement',
  21527. body: [],
  21528. range: [33, 35],
  21529. loc: {
  21530. start: { line: 1, column: 33 },
  21531. end: { line: 1, column: 35 }
  21532. }
  21533. },
  21534. rest: null,
  21535. generator: false,
  21536. expression: false,
  21537. range: [33, 35],
  21538. loc: {
  21539. start: { line: 1, column: 33 },
  21540. end: { line: 1, column: 35 }
  21541. }
  21542. },
  21543. kind: 'set',
  21544. method: false,
  21545. shorthand: false,
  21546. range: [24, 35],
  21547. loc: {
  21548. start: { line: 1, column: 24 },
  21549. end: { line: 1, column: 35 }
  21550. }
  21551. }, {
  21552. type: 'Property',
  21553. key: {
  21554. type: 'Identifier',
  21555. name: 'i',
  21556. range: [37, 38],
  21557. loc: {
  21558. start: { line: 1, column: 37 },
  21559. end: { line: 1, column: 38 }
  21560. }
  21561. },
  21562. value: {
  21563. type: 'Literal',
  21564. value: 42,
  21565. raw: '42',
  21566. range: [40, 42],
  21567. loc: {
  21568. start: { line: 1, column: 40 },
  21569. end: { line: 1, column: 42 }
  21570. }
  21571. },
  21572. kind: 'init',
  21573. method: false,
  21574. shorthand: false,
  21575. range: [37, 42],
  21576. loc: {
  21577. start: { line: 1, column: 37 },
  21578. end: { line: 1, column: 42 }
  21579. }
  21580. }],
  21581. range: [22, 44],
  21582. loc: {
  21583. start: { line: 1, column: 22 },
  21584. end: { line: 1, column: 44 }
  21585. }
  21586. },
  21587. range: [18, 44],
  21588. loc: {
  21589. start: { line: 1, column: 18 },
  21590. end: { line: 1, column: 44 }
  21591. }
  21592. }],
  21593. kind: 'var',
  21594. range: [14, 44],
  21595. loc: {
  21596. start: { line: 1, column: 14 },
  21597. end: { line: 1, column: 44 }
  21598. }
  21599. }],
  21600. range: [0, 44],
  21601. loc: {
  21602. start: { line: 1, column: 0 },
  21603. end: { line: 1, column: 44 }
  21604. },
  21605. errors: [{
  21606. index: 42,
  21607. lineNumber: 1,
  21608. column: 43,
  21609. message: 'Error: Line 1: Object literal may not have data and accessor property with the same name'
  21610. }]
  21611. }
  21612. },
  21613. };