Interface ImportFrom
- All Superinterfaces:
ImportStatement,Statement,Tree
- All Known Implementing Classes:
ImportFromImpl
Import From statement
See https://docs.python.org/3/reference/simple_stmts.html#grammar-token-import-stmtfromKeyword()dottedPrefixForModule()module()importKeyword()importedNames()
-
Method Details
-
fromKeyword
Token fromKeyword() -
module
-
importKeyword
Token importKeyword() -
dottedPrefixForModule
prefix '.' tokens used in relative importfrom ..a.b import fn # ^^
-
importedNames
List<AliasedName> importedNames() -
isWildcardImport
boolean isWildcardImport() -
wildcard
-
hasUnresolvedWildcardImport
boolean hasUnresolvedWildcardImport()
-