add flow type visitor keys - none currently as we don't need to traverse over any of them - closes #513
This commit is contained in:
parent
750ec7783f
commit
20e97f2d9b
@ -15,7 +15,6 @@
|
|||||||
"ClassBody": ["body"],
|
"ClassBody": ["body"],
|
||||||
"ClassDeclaration": ["id", "body", "superClass"],
|
"ClassDeclaration": ["id", "body", "superClass"],
|
||||||
"ClassExpression": ["id", "body", "superClass"],
|
"ClassExpression": ["id", "body", "superClass"],
|
||||||
"ClassProperty": ["key"],
|
|
||||||
"ComprehensionBlock": ["left", "right", "body"],
|
"ComprehensionBlock": ["left", "right", "body"],
|
||||||
"ComprehensionExpression": ["filter", "blocks", "body"],
|
"ComprehensionExpression": ["filter", "blocks", "body"],
|
||||||
"ConditionalExpression": ["test", "consequent", "alternate"],
|
"ConditionalExpression": ["test", "consequent", "alternate"],
|
||||||
@ -68,6 +67,40 @@
|
|||||||
"VirtualPropertyExpression": ["object", "property"],
|
"VirtualPropertyExpression": ["object", "property"],
|
||||||
"WhileStatement": ["test", "body"],
|
"WhileStatement": ["test", "body"],
|
||||||
"WithStatement": ["object", "body"],
|
"WithStatement": ["object", "body"],
|
||||||
|
"YieldExpression": ["argument"],
|
||||||
|
|
||||||
|
"AnyTypeAnnotation": [],
|
||||||
|
"ArrayTypeAnnotation": [],
|
||||||
|
"BooleanTypeAnnotation": [],
|
||||||
|
"ClassProperty": ["key"],
|
||||||
|
"DeclareClass": [],
|
||||||
|
"DeclareFunction": [],
|
||||||
|
"DeclareModule": [],
|
||||||
|
"DeclareVariable": [],
|
||||||
|
"FunctionTypeAnnotation": [],
|
||||||
|
"FunctionTypeParam": [],
|
||||||
|
"GenericTypeAnnotation": [],
|
||||||
|
"InterfaceExtends": [],
|
||||||
|
"InterfaceDeclaration": [],
|
||||||
|
"IntersectionTypeAnnotation": [],
|
||||||
|
"NullableTypeAnnotation": [],
|
||||||
|
"NumberTypeAnnotation": [],
|
||||||
|
"StringLiteralTypeAnnotation": [],
|
||||||
|
"StringTypeAnnotation": [],
|
||||||
|
"TupleTypeAnnotation": [],
|
||||||
|
"TypeofTypeAnnotation": [],
|
||||||
|
"TypeAlias": [],
|
||||||
|
"TypeAnnotation": [],
|
||||||
|
"TypeParameterDeclaration": [],
|
||||||
|
"TypeParameterInstantiation": [],
|
||||||
|
"ObjectTypeAnnotation": [],
|
||||||
|
"ObjectTypeCallProperty": [],
|
||||||
|
"ObjectTypeIndexer": [],
|
||||||
|
"ObjectTypeProperty": [],
|
||||||
|
"QualifiedTypeIdentifier": [],
|
||||||
|
"UnionTypeAnnotation": [],
|
||||||
|
"VoidTypeAnnotation": [],
|
||||||
|
|
||||||
"XJSAttribute": ["name", "value"],
|
"XJSAttribute": ["name", "value"],
|
||||||
"XJSClosingElement": ["name"],
|
"XJSClosingElement": ["name"],
|
||||||
"XJSElement": ["openingElement", "closingElement", "children"],
|
"XJSElement": ["openingElement", "closingElement", "children"],
|
||||||
@ -77,6 +110,5 @@
|
|||||||
"XJSMemberExpression": ["object", "property"],
|
"XJSMemberExpression": ["object", "property"],
|
||||||
"XJSNamespacedName": ["namespace", "name"],
|
"XJSNamespacedName": ["namespace", "name"],
|
||||||
"XJSOpeningElement": ["name", "attributes"],
|
"XJSOpeningElement": ["name", "attributes"],
|
||||||
"XJSSpreadAttribute": ["argument"],
|
"XJSSpreadAttribute": ["argument"]
|
||||||
"YieldExpression": ["argument"]
|
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user