Package org.sonar.python.tree
Class PyAliasedNameTreeImpl
- java.lang.Object
-
- org.sonar.python.tree.PyTree
-
- org.sonar.python.tree.PyAliasedNameTreeImpl
-
- All Implemented Interfaces:
PyAliasedNameTree,Tree
public class PyAliasedNameTreeImpl extends PyTree implements PyAliasedNameTree
-
-
Constructor Summary
Constructors Constructor Description PyAliasedNameTreeImpl(com.sonar.sslr.api.AstNode astNode, com.sonar.sslr.api.Token asKeyword, PyDottedNameTree dottedName, PyNameTree alias)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(PyTreeVisitor visitor)PyNameTreealias()com.sonar.sslr.api.TokenasKeyword()List<Tree>children()PyDottedNameTreedottedName()Tree.KindgetKind()-
Methods inherited from class org.sonar.python.tree.PyTree
astNode, firstToken, is, lastToken, parent, setParent
-
-
-
-
Constructor Detail
-
PyAliasedNameTreeImpl
public PyAliasedNameTreeImpl(com.sonar.sslr.api.AstNode astNode, @Nullable com.sonar.sslr.api.Token asKeyword, PyDottedNameTree dottedName, @Nullable PyNameTree alias)
-
-
Method Detail
-
asKeyword
@CheckForNull public com.sonar.sslr.api.Token asKeyword()
- Specified by:
asKeywordin interfacePyAliasedNameTree
-
alias
@CheckForNull public PyNameTree alias()
- Specified by:
aliasin interfacePyAliasedNameTree
-
dottedName
public PyDottedNameTree dottedName()
- Specified by:
dottedNamein interfacePyAliasedNameTree
-
accept
public void accept(PyTreeVisitor visitor)
-
-