]>
git.proxmox.com Git - pve-eslint.git/blob - eslint/tests/fixtures/parsers/comma-dangle/return-type-1.js
3 // The AST of the following code:
5 // function foo(a): {b: boolean,} {}
8 module
.exports
.parse
= () => ({
25 type
: "FunctionDeclaration",
57 _babelType
: "Identifier"
82 _babelType
: "Identifier"
86 type
: "TypeAnnotation",
100 type
: "ObjectTypeAnnotation",
116 type
: "ObjectTypeProperty",
130 type
: "BooleanTypeAnnotation",
147 _babelType
: "BooleanTypeAnnotation"
154 _babelType
: "ObjectTypeProperty"
162 _babelType
: "ObjectTypeAnnotation"
168 _babelType
: "TypeAnnotation"
171 type
: "BlockStatement",
189 _babelType
: "BlockStatement"
195 _babelType
: "FunctionDeclaration"
484 rightAssociative
: false,
518 parent
: "[Circular ~]",
552 type
: "FunctionDeclaration",
584 _babelType
: "Identifier"
609 _babelType
: "Identifier"
613 type
: "TypeAnnotation",
627 type
: "ObjectTypeAnnotation",
643 type
: "ObjectTypeProperty",
657 type
: "BooleanTypeAnnotation",
674 _babelType
: "BooleanTypeAnnotation"
681 _babelType
: "ObjectTypeProperty"
689 _babelType
: "ObjectTypeAnnotation"
695 _babelType
: "TypeAnnotation"
698 type
: "BlockStatement",
716 _babelType
: "BlockStatement"
722 _babelType
: "FunctionDeclaration"
730 type
: "FunctionDeclaration",
762 _babelType
: "Identifier"
787 _babelType
: "Identifier"
791 type
: "TypeAnnotation",
805 type
: "ObjectTypeAnnotation",
821 type
: "ObjectTypeProperty",
835 type
: "BooleanTypeAnnotation",
852 _babelType
: "BooleanTypeAnnotation"
859 _babelType
: "ObjectTypeProperty"
867 _babelType
: "ObjectTypeAnnotation"
873 _babelType
: "TypeAnnotation"
876 type
: "BlockStatement",
894 _babelType
: "BlockStatement"
900 _babelType
: "FunctionDeclaration"
903 type
: "FunctionDeclaration",