Skip to content

Commit 625cdb8

Browse files
committed
JS: Update test output
1 parent 4f05eab commit 625cdb8

File tree

3 files changed

+284
-278
lines changed

3 files changed

+284
-278
lines changed

javascript/extractor/tests/comments/output/trap/jsdoc.js.trap

Lines changed: 101 additions & 95 deletions
Original file line numberDiff line numberDiff line change
@@ -394,8 +394,8 @@ hasLocation(#20110,#20111)
394394
jsdoc_tag_names(#20110,"klass")
395395
#20112=*
396396
jsdoc_type_exprs(#20112,5,#20110,0,"Object")
397-
#20113=@"loc,{#10000},1,8,1,7"
398-
locations_default(#20113,#10000,1,8,1,7)
397+
#20113=@"loc,{#10000},6,13,6,18"
398+
locations_default(#20113,#10000,6,13,6,18)
399399
hasLocation(#20112,#20113)
400400
#20114=*
401401
jsdoc(#20114,"",#20006)
@@ -416,18 +416,18 @@ hasLocation(#20118,#20119)
416416
jsdoc_tag_names(#20118,"x")
417417
#20120=*
418418
jsdoc_type_exprs(#20120,11,#20118,0,"(int|bool)")
419-
#20121=@"loc,{#10000},1,3,1,11"
420-
locations_default(#20121,#10000,1,3,1,11)
419+
#20121=@"loc,{#10000},8,13,8,22"
420+
locations_default(#20121,#10000,8,13,8,22)
421421
hasLocation(#20120,#20121)
422422
#20122=*
423423
jsdoc_type_exprs(#20122,5,#20120,0,"int")
424-
#20123=@"loc,{#10000},1,6,1,6"
425-
locations_default(#20123,#10000,1,6,1,6)
424+
#20123=@"loc,{#10000},8,14,8,16"
425+
locations_default(#20123,#10000,8,14,8,16)
426426
hasLocation(#20122,#20123)
427427
#20124=*
428428
jsdoc_type_exprs(#20124,5,#20120,1,"bool")
429-
#20125=@"loc,{#10000},1,11,1,11"
430-
locations_default(#20125,#10000,1,11,1,11)
429+
#20125=@"loc,{#10000},8,18,8,21"
430+
locations_default(#20125,#10000,8,18,8,21)
431431
hasLocation(#20124,#20125)
432432
#20126=*
433433
jsdoc_tags(#20126,"param",#20117,1,"@param")
@@ -437,23 +437,23 @@ hasLocation(#20126,#20127)
437437
jsdoc_tag_names(#20126,"ys")
438438
#20128=*
439439
jsdoc_type_exprs(#20128,6,#20126,0,"Array.<String, Number>")
440-
#20129=@"loc,{#10000},1,7,1,23"
441-
locations_default(#20129,#10000,1,7,1,23)
440+
#20129=@"loc,{#10000},9,13,9,34"
441+
locations_default(#20129,#10000,9,13,9,34)
442442
hasLocation(#20128,#20129)
443443
#20130=*
444444
jsdoc_type_exprs(#20130,5,#20128,-1,"Array")
445-
#20131=@"loc,{#10000},1,7,1,8"
446-
locations_default(#20131,#10000,1,7,1,8)
445+
#20131=@"loc,{#10000},9,13,9,17"
446+
locations_default(#20131,#10000,9,13,9,17)
447447
hasLocation(#20130,#20131)
448448
#20132=*
449449
jsdoc_type_exprs(#20132,5,#20128,0,"String")
450-
#20133=@"loc,{#10000},1,15,1,15"
451-
locations_default(#20133,#10000,1,15,1,15)
450+
#20133=@"loc,{#10000},9,20,9,25"
451+
locations_default(#20133,#10000,9,20,9,25)
452452
hasLocation(#20132,#20133)
453453
#20134=*
454454
jsdoc_type_exprs(#20134,5,#20128,1,"Number")
455-
#20135=@"loc,{#10000},1,23,1,23"
456-
locations_default(#20135,#10000,1,23,1,23)
455+
#20135=@"loc,{#10000},9,28,9,33"
456+
locations_default(#20135,#10000,9,28,9,33)
457457
hasLocation(#20134,#20135)
458458
#20136=*
459459
jsdoc_tags(#20136,"param",#20117,2,"@param")
@@ -463,16 +463,16 @@ hasLocation(#20136,#20137)
463463
jsdoc_tag_names(#20136,"zs")
464464
#20138=*
465465
jsdoc_type_exprs(#20138,6,#20136,0,"Array.<String>")
466-
#20139=@"loc,{#10000},1,8,1,9"
467-
locations_default(#20139,#10000,1,8,1,9)
466+
#20139=@"loc,{#10000},10,13,10,20"
467+
locations_default(#20139,#10000,10,13,10,20)
468468
hasLocation(#20138,#20139)
469469
#20140=*
470470
jsdoc_type_exprs(#20140,5,#20138,-1,"Array")
471471
hasLocation(#20140,#20139)
472472
#20141=*
473473
jsdoc_type_exprs(#20141,5,#20138,0,"String")
474-
#20142=@"loc,{#10000},1,8,1,8"
475-
locations_default(#20142,#10000,1,8,1,8)
474+
#20142=@"loc,{#10000},10,13,10,18"
475+
locations_default(#20142,#10000,10,13,10,18)
476476
hasLocation(#20141,#20142)
477477
#20143=*
478478
jsdoc_tags(#20143,"param",#20117,3,"@param")
@@ -482,44 +482,44 @@ hasLocation(#20143,#20144)
482482
jsdoc_tag_names(#20143,"f")
483483
#20145=*
484484
jsdoc_type_exprs(#20145,12,#20143,0,"function (new: goog.ui.Menu, ?string=, number=): void")
485-
#20146=@"loc,{#10000},1,10,1,52"
486-
locations_default(#20146,#10000,1,10,1,52)
485+
#20146=@"loc,{#10000},11,13,11,63"
486+
locations_default(#20146,#10000,11,13,11,63)
487487
hasLocation(#20145,#20146)
488488
#20147=*
489489
jsdoc_type_exprs(#20147,13,#20145,0,"?string=")
490-
#20148=@"loc,{#10000},1,30,1,37"
491-
locations_default(#20148,#10000,1,30,1,37)
490+
#20148=@"loc,{#10000},11,40,11,47"
491+
locations_default(#20148,#10000,11,40,11,47)
492492
hasLocation(#20147,#20148)
493493
#20149=*
494494
jsdoc_type_exprs(#20149,7,#20147,0,"?string")
495-
#20150=@"loc,{#10000},1,30,1,36"
496-
locations_default(#20150,#10000,1,30,1,36)
495+
#20150=@"loc,{#10000},11,40,11,46"
496+
locations_default(#20150,#10000,11,40,11,46)
497497
hasLocation(#20149,#20150)
498498
#20151=*
499499
jsdoc_type_exprs(#20151,5,#20149,0,"string")
500-
#20152=@"loc,{#10000},1,36,1,36"
501-
locations_default(#20152,#10000,1,36,1,36)
500+
#20152=@"loc,{#10000},11,41,11,46"
501+
locations_default(#20152,#10000,11,41,11,46)
502502
hasLocation(#20151,#20152)
503503
jsdoc_prefix_qualifier(#20149)
504504
#20153=*
505505
jsdoc_type_exprs(#20153,13,#20145,1,"number=")
506-
#20154=@"loc,{#10000},1,45,1,46"
507-
locations_default(#20154,#10000,1,45,1,46)
506+
#20154=@"loc,{#10000},11,50,11,56"
507+
locations_default(#20154,#10000,11,50,11,56)
508508
hasLocation(#20153,#20154)
509509
#20155=*
510510
jsdoc_type_exprs(#20155,5,#20153,0,"number")
511-
#20156=@"loc,{#10000},1,45,1,45"
512-
locations_default(#20156,#10000,1,45,1,45)
511+
#20156=@"loc,{#10000},11,50,11,55"
512+
locations_default(#20156,#10000,11,50,11,55)
513513
hasLocation(#20155,#20156)
514514
#20157=*
515515
jsdoc_type_exprs(#20157,4,#20145,-1,"void")
516-
#20158=@"loc,{#10000},1,53,1,52"
517-
locations_default(#20158,#10000,1,53,1,52)
516+
#20158=@"loc,{#10000},11,60,11,63"
517+
locations_default(#20158,#10000,11,60,11,63)
518518
hasLocation(#20157,#20158)
519519
#20159=*
520520
jsdoc_type_exprs(#20159,5,#20145,-2,"goog.ui.Menu")
521-
#20160=@"loc,{#10000},1,27,1,27"
522-
locations_default(#20160,#10000,1,27,1,27)
521+
#20160=@"loc,{#10000},11,26,11,37"
522+
locations_default(#20160,#10000,11,26,11,37)
523523
hasLocation(#20159,#20160)
524524
jsdoc_has_new_parameter(#20145)
525525
#20161=*
@@ -530,13 +530,13 @@ hasLocation(#20161,#20162)
530530
jsdoc_tag_names(#20161,"var_args")
531531
#20163=*
532532
jsdoc_type_exprs(#20163,14,#20161,0,"...number")
533-
#20164=@"loc,{#10000},1,5,1,10"
534-
locations_default(#20164,#10000,1,5,1,10)
533+
#20164=@"loc,{#10000},12,13,12,21"
534+
locations_default(#20164,#10000,12,13,12,21)
535535
hasLocation(#20163,#20164)
536536
#20165=*
537537
jsdoc_type_exprs(#20165,5,#20163,0,"number")
538-
#20166=@"loc,{#10000},1,11,1,10"
539-
locations_default(#20166,#10000,1,11,1,10)
538+
#20166=@"loc,{#10000},12,16,12,21"
539+
locations_default(#20166,#10000,12,16,12,21)
540540
hasLocation(#20165,#20166)
541541
#20167=*
542542
jsdoc(#20167,"",#20010)
@@ -589,72 +589,78 @@ jsdoc_tag_descriptions(#20182,"[description]
589589
jsdoc_tag_names(#20182,"w")
590590
#20184=*
591591
jsdoc_type_exprs(#20184,10,#20182,0,"[type]")
592-
#20185=@"loc,{#10000},1,7,1,7"
593-
locations_default(#20185,#10000,1,7,1,7)
592+
#20185=@"loc,{#10000},30,13,30,18"
593+
locations_default(#20185,#10000,30,13,30,18)
594594
hasLocation(#20184,#20185)
595595
#20186=*
596596
jsdoc_type_exprs(#20186,5,#20184,0,"type")
597-
hasLocation(#20186,#20185)
598-
#20187=*
599-
jsdoc_tags(#20187,"param",#20181,1,"@param")
600-
#20188=@"loc,{#10000},31,4,31,9"
601-
locations_default(#20188,#10000,31,4,31,9)
602-
hasLocation(#20187,#20188)
603-
jsdoc_tag_descriptions(#20187,"[description]
604-
")
605-
#20189=*
606-
jsdoc_tags(#20189,"return",#20181,2,"@return")
607-
#20190=@"loc,{#10000},32,4,32,10"
608-
locations_default(#20190,#10000,32,4,32,10)
609-
hasLocation(#20189,#20190)
610-
jsdoc_tag_descriptions(#20189,"[description]")
611-
#20191=*
612-
jsdoc_type_exprs(#20191,10,#20189,0,"[type]")
613-
hasLocation(#20191,#20185)
597+
#20187=@"loc,{#10000},30,14,30,17"
598+
locations_default(#20187,#10000,30,14,30,17)
599+
hasLocation(#20186,#20187)
600+
#20188=*
601+
jsdoc_tags(#20188,"param",#20181,1,"@param")
602+
#20189=@"loc,{#10000},31,4,31,9"
603+
locations_default(#20189,#10000,31,4,31,9)
604+
hasLocation(#20188,#20189)
605+
jsdoc_tag_descriptions(#20188,"[description]
606+
")
607+
#20190=*
608+
jsdoc_tags(#20190,"return",#20181,2,"@return")
609+
#20191=@"loc,{#10000},32,4,32,10"
610+
locations_default(#20191,#10000,32,4,32,10)
611+
hasLocation(#20190,#20191)
612+
jsdoc_tag_descriptions(#20190,"[description]")
614613
#20192=*
615-
jsdoc_type_exprs(#20192,5,#20191,0,"type")
616-
hasLocation(#20192,#20185)
617-
#20193=*
618-
jsdoc(#20193,"",#20018)
619-
hasLocation(#20193,#20019)
614+
jsdoc_type_exprs(#20192,10,#20190,0,"[type]")
615+
#20193=@"loc,{#10000},32,13,32,18"
616+
locations_default(#20193,#10000,32,13,32,18)
617+
hasLocation(#20192,#20193)
620618
#20194=*
621-
jsdoc_tags(#20194,"exports",#20193,0,"@exports")
622-
#20195=@"loc,{#10000},36,3,36,10"
623-
locations_default(#20195,#10000,36,3,36,10)
619+
jsdoc_type_exprs(#20194,5,#20192,0,"type")
620+
#20195=@"loc,{#10000},32,14,32,17"
621+
locations_default(#20195,#10000,32,14,32,17)
624622
hasLocation(#20194,#20195)
625-
jsdoc_tag_descriptions(#20194,"R
626-
")
627623
#20196=*
628-
jsdoc(#20196,"",#20020)
629-
hasLocation(#20196,#20021)
624+
jsdoc(#20196,"",#20018)
625+
hasLocation(#20196,#20019)
630626
#20197=*
631-
jsdoc_tags(#20197,"typedef",#20196,0,"@typedef")
632-
#20198=@"loc,{#10000},41,4,41,11"
633-
locations_default(#20198,#10000,41,4,41,11)
627+
jsdoc_tags(#20197,"exports",#20196,0,"@exports")
628+
#20198=@"loc,{#10000},36,3,36,10"
629+
locations_default(#20198,#10000,36,3,36,10)
634630
hasLocation(#20197,#20198)
631+
jsdoc_tag_descriptions(#20197,"R
632+
")
635633
#20199=*
636-
jsdoc_type_exprs(#20199,9,#20197,0,"{0: number}")
637-
#20200=@"loc,{#10000},1,3,1,12"
638-
locations_default(#20200,#10000,1,3,1,12)
639-
hasLocation(#20199,#20200)
640-
jsdoc_record_field_name(#20199,0,"0")
641-
#20201=*
642-
jsdoc_type_exprs(#20201,5,#20199,0,"number")
643-
#20202=@"loc,{#10000},1,12,1,12"
644-
locations_default(#20202,#10000,1,12,1,12)
645-
hasLocation(#20201,#20202)
646-
toplevels(#20001,0)
647-
#20203=@"loc,{#10000},1,1,43,0"
648-
locations_default(#20203,#10000,1,1,43,0)
649-
hasLocation(#20001,#20203)
634+
jsdoc(#20199,"",#20020)
635+
hasLocation(#20199,#20021)
636+
#20200=*
637+
jsdoc_tags(#20200,"typedef",#20199,0,"@typedef")
638+
#20201=@"loc,{#10000},41,4,41,11"
639+
locations_default(#20201,#10000,41,4,41,11)
640+
hasLocation(#20200,#20201)
641+
#20202=*
642+
jsdoc_type_exprs(#20202,9,#20200,0,"{0: number}")
643+
#20203=@"loc,{#10000},41,14,41,24"
644+
locations_default(#20203,#10000,41,14,41,24)
645+
hasLocation(#20202,#20203)
646+
jsdoc_record_field_name(#20202,0,"0")
650647
#20204=*
651-
entry_cfg_node(#20204,#20001)
652-
#20205=@"loc,{#10000},1,1,1,0"
653-
locations_default(#20205,#10000,1,1,1,0)
648+
jsdoc_type_exprs(#20204,5,#20202,0,"number")
649+
#20205=@"loc,{#10000},41,18,41,23"
650+
locations_default(#20205,#10000,41,18,41,23)
654651
hasLocation(#20204,#20205)
655-
#20206=*
656-
exit_cfg_node(#20206,#20001)
657-
hasLocation(#20206,#20105)
658-
successor(#20204,#20206)
652+
toplevels(#20001,0)
653+
#20206=@"loc,{#10000},1,1,43,0"
654+
locations_default(#20206,#10000,1,1,43,0)
655+
hasLocation(#20001,#20206)
656+
#20207=*
657+
entry_cfg_node(#20207,#20001)
658+
#20208=@"loc,{#10000},1,1,1,0"
659+
locations_default(#20208,#10000,1,1,1,0)
660+
hasLocation(#20207,#20208)
661+
#20209=*
662+
exit_cfg_node(#20209,#20001)
663+
hasLocation(#20209,#20105)
664+
successor(#20207,#20209)
659665
numlines(#10000,42,0,37)
660666
filetype(#10000,"javascript")

javascript/extractor/tests/externs/output/trap/Point.js.trap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -470,8 +470,8 @@ locations_default(#20177,#10000,12,5,12,12)
470470
hasLocation(#20176,#20177)
471471
#20178=*
472472
jsdoc_type_exprs(#20178,5,#20176,0,"String")
473-
#20179=@"loc,{#10000},1,8,1,7"
474-
locations_default(#20179,#10000,1,8,1,7)
473+
#20179=@"loc,{#10000},12,15,12,20"
474+
locations_default(#20179,#10000,12,15,12,20)
475475
hasLocation(#20178,#20179)
476476
toplevels(#20001,0)
477477
#20180=@"loc,{#10000},1,1,17,13"

0 commit comments

Comments
 (0)