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:
Sebastian McKenzie 2015-01-16 22:46:09 +11:00
parent 750ec7783f
commit 20e97f2d9b

View File

@ -15,7 +15,6 @@
"ClassBody": ["body"],
"ClassDeclaration": ["id", "body", "superClass"],
"ClassExpression": ["id", "body", "superClass"],
"ClassProperty": ["key"],
"ComprehensionBlock": ["left", "right", "body"],
"ComprehensionExpression": ["filter", "blocks", "body"],
"ConditionalExpression": ["test", "consequent", "alternate"],
@ -68,6 +67,40 @@
"VirtualPropertyExpression": ["object", "property"],
"WhileStatement": ["test", "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"],
"XJSClosingElement": ["name"],
"XJSElement": ["openingElement", "closingElement", "children"],
@ -77,6 +110,5 @@
"XJSMemberExpression": ["object", "property"],
"XJSNamespacedName": ["namespace", "name"],
"XJSOpeningElement": ["name", "attributes"],
"XJSSpreadAttribute": ["argument"],
"YieldExpression": ["argument"]
"XJSSpreadAttribute": ["argument"]
}