Interface ImportFrom
-
- All Superinterfaces:
ImportStatement,Statement,Tree
- All Known Implementing Classes:
ImportFromImpl
public interface ImportFrom extends ImportStatement
Import From statement
See https://docs.python.org/3/reference/simple_stmts.html#grammar-token-import-stmtfromKeyword()dottedPrefixForModule()module()importKeyword()importedNames()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<Token>dottedPrefixForModule()TokenfromKeyword()List<AliasedName>importedNames()TokenimportKeyword()booleanisWildcardImport()DottedNamemodule()Tokenwildcard()
-
-
-
Method Detail
-
fromKeyword
Token fromKeyword()
-
module
@CheckForNull DottedName module()
-
importKeyword
Token importKeyword()
-
importedNames
List<AliasedName> importedNames()
-
isWildcardImport
boolean isWildcardImport()
-
wildcard
@CheckForNull Token wildcard()
-
-