| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285 |
- "use strict";
- var _index = require("./index");
- var _index2 = _interopRequireDefault(_index);
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
- (0, _index2.default)("AnyTypeAnnotation", {
- aliases: ["Flow", "FlowBaseAnnotation"],
- fields: {}
- });
- (0, _index2.default)("ArrayTypeAnnotation", {
- visitor: ["elementType"],
- aliases: ["Flow"],
- fields: {}
- });
- (0, _index2.default)("BooleanTypeAnnotation", {
- aliases: ["Flow", "FlowBaseAnnotation"],
- fields: {}
- });
- (0, _index2.default)("BooleanLiteralTypeAnnotation", {
- aliases: ["Flow"],
- fields: {}
- });
- (0, _index2.default)("NullLiteralTypeAnnotation", {
- aliases: ["Flow", "FlowBaseAnnotation"],
- fields: {}
- });
- (0, _index2.default)("ClassImplements", {
- visitor: ["id", "typeParameters"],
- aliases: ["Flow"],
- fields: {}
- });
- (0, _index2.default)("ClassProperty", {
- visitor: ["key", "value", "typeAnnotation", "decorators"],
- builder: ["key", "value", "typeAnnotation", "decorators", "computed"],
- aliases: ["Property"],
- fields: {
- computed: {
- validate: (0, _index.assertValueType)("boolean"),
- default: false
- }
- }
- });
- (0, _index2.default)("DeclareClass", {
- visitor: ["id", "typeParameters", "extends", "body"],
- aliases: ["Flow", "FlowDeclaration", "Statement", "Declaration"],
- fields: {}
- });
- (0, _index2.default)("DeclareFunction", {
- visitor: ["id"],
- aliases: ["Flow", "FlowDeclaration", "Statement", "Declaration"],
- fields: {}
- });
- (0, _index2.default)("DeclareInterface", {
- visitor: ["id", "typeParameters", "extends", "body"],
- aliases: ["Flow", "FlowDeclaration", "Statement", "Declaration"],
- fields: {}
- });
- (0, _index2.default)("DeclareModule", {
- visitor: ["id", "body"],
- aliases: ["Flow", "FlowDeclaration", "Statement", "Declaration"],
- fields: {}
- });
- (0, _index2.default)("DeclareModuleExports", {
- visitor: ["typeAnnotation"],
- aliases: ["Flow", "FlowDeclaration", "Statement", "Declaration"],
- fields: {}
- });
- (0, _index2.default)("DeclareTypeAlias", {
- visitor: ["id", "typeParameters", "right"],
- aliases: ["Flow", "FlowDeclaration", "Statement", "Declaration"],
- fields: {}
- });
- (0, _index2.default)("DeclareOpaqueType", {
- visitor: ["id", "typeParameters", "supertype"],
- aliases: ["Flow", "FlowDeclaration", "Statement", "Declaration"],
- fields: {}
- });
- (0, _index2.default)("DeclareVariable", {
- visitor: ["id"],
- aliases: ["Flow", "FlowDeclaration", "Statement", "Declaration"],
- fields: {}
- });
- (0, _index2.default)("DeclareExportDeclaration", {
- visitor: ["declaration", "specifiers", "source"],
- aliases: ["Flow", "FlowDeclaration", "Statement", "Declaration"],
- fields: {}
- });
- (0, _index2.default)("ExistentialTypeParam", {
- aliases: ["Flow"]
- });
- (0, _index2.default)("FunctionTypeAnnotation", {
- visitor: ["typeParameters", "params", "rest", "returnType"],
- aliases: ["Flow"],
- fields: {}
- });
- (0, _index2.default)("FunctionTypeParam", {
- visitor: ["name", "typeAnnotation"],
- aliases: ["Flow"],
- fields: {}
- });
- (0, _index2.default)("GenericTypeAnnotation", {
- visitor: ["id", "typeParameters"],
- aliases: ["Flow"],
- fields: {}
- });
- (0, _index2.default)("InterfaceExtends", {
- visitor: ["id", "typeParameters"],
- aliases: ["Flow"],
- fields: {}
- });
- (0, _index2.default)("InterfaceDeclaration", {
- visitor: ["id", "typeParameters", "extends", "body"],
- aliases: ["Flow", "FlowDeclaration", "Statement", "Declaration"],
- fields: {}
- });
- (0, _index2.default)("IntersectionTypeAnnotation", {
- visitor: ["types"],
- aliases: ["Flow"],
- fields: {}
- });
- (0, _index2.default)("MixedTypeAnnotation", {
- aliases: ["Flow", "FlowBaseAnnotation"]
- });
- (0, _index2.default)("EmptyTypeAnnotation", {
- aliases: ["Flow", "FlowBaseAnnotation"]
- });
- (0, _index2.default)("NullableTypeAnnotation", {
- visitor: ["typeAnnotation"],
- aliases: ["Flow"],
- fields: {}
- });
- (0, _index2.default)("NumericLiteralTypeAnnotation", {
- aliases: ["Flow"],
- fields: {}
- });
- (0, _index2.default)("NumberTypeAnnotation", {
- aliases: ["Flow", "FlowBaseAnnotation"],
- fields: {}
- });
- (0, _index2.default)("StringLiteralTypeAnnotation", {
- aliases: ["Flow"],
- fields: {}
- });
- (0, _index2.default)("StringTypeAnnotation", {
- aliases: ["Flow", "FlowBaseAnnotation"],
- fields: {}
- });
- (0, _index2.default)("ThisTypeAnnotation", {
- aliases: ["Flow", "FlowBaseAnnotation"],
- fields: {}
- });
- (0, _index2.default)("TupleTypeAnnotation", {
- visitor: ["types"],
- aliases: ["Flow"],
- fields: {}
- });
- (0, _index2.default)("TypeofTypeAnnotation", {
- visitor: ["argument"],
- aliases: ["Flow"],
- fields: {}
- });
- (0, _index2.default)("TypeAlias", {
- visitor: ["id", "typeParameters", "right"],
- aliases: ["Flow", "FlowDeclaration", "Statement", "Declaration"],
- fields: {}
- });
- (0, _index2.default)("OpaqueType", {
- visitor: ["id", "typeParameters", "impltype", "supertype"],
- aliases: ["Flow", "FlowDeclaration", "Statement", "Declaration"],
- fields: {}
- });
- (0, _index2.default)("TypeAnnotation", {
- visitor: ["typeAnnotation"],
- aliases: ["Flow"],
- fields: {}
- });
- (0, _index2.default)("TypeCastExpression", {
- visitor: ["expression", "typeAnnotation"],
- aliases: ["Flow", "ExpressionWrapper", "Expression"],
- fields: {}
- });
- (0, _index2.default)("TypeParameter", {
- visitor: ["bound"],
- aliases: ["Flow"],
- fields: {}
- });
- (0, _index2.default)("TypeParameterDeclaration", {
- visitor: ["params"],
- aliases: ["Flow"],
- fields: {}
- });
- (0, _index2.default)("TypeParameterInstantiation", {
- visitor: ["params"],
- aliases: ["Flow"],
- fields: {}
- });
- (0, _index2.default)("ObjectTypeAnnotation", {
- visitor: ["properties", "indexers", "callProperties"],
- aliases: ["Flow"],
- fields: {}
- });
- (0, _index2.default)("ObjectTypeCallProperty", {
- visitor: ["value"],
- aliases: ["Flow", "UserWhitespacable"],
- fields: {}
- });
- (0, _index2.default)("ObjectTypeIndexer", {
- visitor: ["id", "key", "value"],
- aliases: ["Flow", "UserWhitespacable"],
- fields: {}
- });
- (0, _index2.default)("ObjectTypeProperty", {
- visitor: ["key", "value"],
- aliases: ["Flow", "UserWhitespacable"],
- fields: {}
- });
- (0, _index2.default)("ObjectTypeSpreadProperty", {
- visitor: ["argument"],
- aliases: ["Flow", "UserWhitespacable"],
- fields: {}
- });
- (0, _index2.default)("QualifiedTypeIdentifier", {
- visitor: ["id", "qualification"],
- aliases: ["Flow"],
- fields: {}
- });
- (0, _index2.default)("UnionTypeAnnotation", {
- visitor: ["types"],
- aliases: ["Flow"],
- fields: {}
- });
- (0, _index2.default)("VoidTypeAnnotation", {
- aliases: ["Flow", "FlowBaseAnnotation"],
- fields: {}
- });
|