Module implementing a node visitor for checking the import of typing.Union.
None |
AnnotationsUnionVisitor | Class implementing a node visitor for checking the import of typing.Union. |
None |
Class implementing a node visitor for checking the import of typing.Union.
AttributeName |
FullName |
ModuleName |
None |
AnnotationsUnionVisitor | Constructor |
getIssues | Public method to get the collected Union nodes. |
visit_Attribute | Public method to handle an ast.Attribute node. |
visit_Import | Public method to handle an ast.Import node. |
visit_ImportFrom | Public method to handle an ast.ImportFrom node. |
visit_Subscript | Public method to handle an ast.Subscript node. |
None |
Constructor
Public method to get the collected Union nodes.
Public method to handle an ast.Attribute node.
Public method to handle an ast.Import node.
Public method to handle an ast.ImportFrom node.
Public method to handle an ast.Subscript node.