Package org.sonar.python.api.tree
Interface PyImportFromTree
-
- All Superinterfaces:
PyImportStatementTree,PyStatementTree,Tree
- All Known Implementing Classes:
PyImportFromTreeImpl
public interface PyImportFromTree extends PyImportStatementTree
Import From statementfromKeyword()dottedPrefixForModule()module()importKeyword()importedNames()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<com.sonar.sslr.api.Token>dottedPrefixForModule()com.sonar.sslr.api.TokenfromKeyword()List<PyAliasedNameTree>importedNames()com.sonar.sslr.api.TokenimportKeyword()booleanisWildcardImport()PyDottedNameTreemodule()com.sonar.sslr.api.Tokenwildcard()
-
-
-
Method Detail
-
fromKeyword
com.sonar.sslr.api.Token fromKeyword()
-
module
@CheckForNull PyDottedNameTree module()
-
importKeyword
com.sonar.sslr.api.Token importKeyword()
-
dottedPrefixForModule
@CheckForNull List<com.sonar.sslr.api.Token> dottedPrefixForModule()
-
importedNames
List<PyAliasedNameTree> importedNames()
-
isWildcardImport
boolean isWildcardImport()
-
wildcard
@CheckForNull com.sonar.sslr.api.Token wildcard()
-
-