Skip to content

Commit 599c597

Browse files
committed
Update out data
Signed-off-by: William Desportes <[email protected]>
1 parent 0ebfa9c commit 599c597

File tree

5 files changed

+1792
-45
lines changed

5 files changed

+1792
-45
lines changed

tests/data/parser/parseCreateFunction.out

Lines changed: 194 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -550,14 +550,206 @@
550550
}
551551
],
552552
"count": 60,
553-
"idx": 0
553+
"idx": 60
554554
},
555555
"delimiter": "$$",
556556
"delimiterLen": 2,
557557
"strict": false,
558558
"errors": []
559559
},
560-
"parser": null,
560+
"parser": {
561+
"@type": "PhpMyAdmin\\SqlParser\\Parser",
562+
"list": {
563+
"@type": "@1"
564+
},
565+
"statements": [
566+
{
567+
"@type": "PhpMyAdmin\\SqlParser\\Statements\\CreateStatement",
568+
"name": {
569+
"@type": "PhpMyAdmin\\SqlParser\\Components\\Expression",
570+
"database": null,
571+
"table": "F_TEST",
572+
"column": null,
573+
"expr": "F_TEST",
574+
"alias": null,
575+
"function": null,
576+
"subquery": null
577+
},
578+
"entityOptions": {
579+
"@type": "PhpMyAdmin\\SqlParser\\Components\\OptionsArray",
580+
"options": []
581+
},
582+
"fields": null,
583+
"with": null,
584+
"select": null,
585+
"like": null,
586+
"partitionBy": null,
587+
"partitionsNum": null,
588+
"subpartitionBy": null,
589+
"subpartitionsNum": null,
590+
"partitions": null,
591+
"table": null,
592+
"return": {
593+
"@type": "PhpMyAdmin\\SqlParser\\Components\\DataType",
594+
"name": "VARCHAR",
595+
"parameters": [],
596+
"options": {
597+
"@type": "PhpMyAdmin\\SqlParser\\Components\\OptionsArray",
598+
"options": []
599+
}
600+
},
601+
"parameters": [
602+
{
603+
"@type": "PhpMyAdmin\\SqlParser\\Components\\ParameterDefinition",
604+
"name": "uid",
605+
"inOut": null,
606+
"type": {
607+
"@type": "PhpMyAdmin\\SqlParser\\Components\\DataType",
608+
"name": "INT",
609+
"parameters": [],
610+
"options": {
611+
"@type": "PhpMyAdmin\\SqlParser\\Components\\OptionsArray",
612+
"options": []
613+
}
614+
}
615+
}
616+
],
617+
"body": [
618+
{
619+
"@type": "@21"
620+
},
621+
{
622+
"@type": "@22"
623+
},
624+
{
625+
"@type": "@23"
626+
},
627+
{
628+
"@type": "@24"
629+
},
630+
{
631+
"@type": "@25"
632+
},
633+
{
634+
"@type": "@26"
635+
},
636+
{
637+
"@type": "@27"
638+
},
639+
{
640+
"@type": "@28"
641+
},
642+
{
643+
"@type": "@29"
644+
},
645+
{
646+
"@type": "@30"
647+
},
648+
{
649+
"@type": "@31"
650+
},
651+
{
652+
"@type": "@32"
653+
},
654+
{
655+
"@type": "@33"
656+
},
657+
{
658+
"@type": "@34"
659+
},
660+
{
661+
"@type": "@35"
662+
},
663+
{
664+
"@type": "@36"
665+
},
666+
{
667+
"@type": "@37"
668+
},
669+
{
670+
"@type": "@38"
671+
},
672+
{
673+
"@type": "@39"
674+
},
675+
{
676+
"@type": "@40"
677+
},
678+
{
679+
"@type": "@41"
680+
},
681+
{
682+
"@type": "@42"
683+
},
684+
{
685+
"@type": "@43"
686+
},
687+
{
688+
"@type": "@44"
689+
},
690+
{
691+
"@type": "@45"
692+
},
693+
{
694+
"@type": "@46"
695+
},
696+
{
697+
"@type": "@47"
698+
},
699+
{
700+
"@type": "@48"
701+
},
702+
{
703+
"@type": "@49"
704+
},
705+
{
706+
"@type": "@50"
707+
},
708+
{
709+
"@type": "@51"
710+
},
711+
{
712+
"@type": "@52"
713+
},
714+
{
715+
"@type": "@53"
716+
},
717+
{
718+
"@type": "@54"
719+
},
720+
{
721+
"@type": "@55"
722+
},
723+
{
724+
"@type": "@56"
725+
},
726+
{
727+
"@type": "@57"
728+
},
729+
{
730+
"@type": "@58"
731+
},
732+
{
733+
"@type": "@59"
734+
},
735+
{
736+
"@type": "@60"
737+
}
738+
],
739+
"options": {
740+
"@type": "PhpMyAdmin\\SqlParser\\Components\\OptionsArray",
741+
"options": {
742+
"6": "FUNCTION"
743+
}
744+
},
745+
"first": 4,
746+
"last": 59
747+
}
748+
],
749+
"brackets": 0,
750+
"strict": false,
751+
"errors": []
752+
},
561753
"errors": {
562754
"lexer": [],
563755
"parser": []

0 commit comments

Comments
 (0)