Package org.sonar.python.api.tree
Interface ImportFrom
-
- All Superinterfaces:
ImportStatement,Statement,Tree
- All Known Implementing Classes:
ImportFromImpl
public interface ImportFrom extends ImportStatement
Import From statementfromKeyword()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()-
Methods inherited from interface org.sonar.python.api.tree.Tree
accept, ancestors, astNode, children, descendants, descendants, firstToken, getKind, is, lastToken, parent
-
-
-
-
Method Detail
-
fromKeyword
Token fromKeyword()
-
module
@CheckForNull DottedName module()
-
importKeyword
Token importKeyword()
-
importedNames
List<AliasedName> importedNames()
-
isWildcardImport
boolean isWildcardImport()
-
wildcard
@CheckForNull Token wildcard()
-
-