Package org.sonar.python.tree
Class AliasedNameImpl
- java.lang.Object
-
- org.sonar.python.tree.PyTree
-
- org.sonar.python.tree.AliasedNameImpl
-
- All Implemented Interfaces:
AliasedName,Tree
public class AliasedNameImpl extends PyTree implements AliasedName
-
-
Constructor Summary
Constructors Constructor Description AliasedNameImpl(com.sonar.sslr.api.AstNode astNode, Token asKeyword, DottedName dottedName, Name alias)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(TreeVisitor visitor)Namealias()TokenasKeyword()List<Tree>children()DottedNamedottedName()Tree.KindgetKind()-
Methods inherited from class org.sonar.python.tree.PyTree
astNode, firstToken, is, lastToken, parent, setParent
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.sonar.python.api.tree.Tree
ancestors, astNode, descendants, descendants, firstToken, is, lastToken, parent
-
-
-
-
Constructor Detail
-
AliasedNameImpl
public AliasedNameImpl(com.sonar.sslr.api.AstNode astNode, @Nullable Token asKeyword, DottedName dottedName, @Nullable Name alias)
-
-
Method Detail
-
asKeyword
@CheckForNull public Token asKeyword()
- Specified by:
asKeywordin interfaceAliasedName
-
alias
@CheckForNull public Name alias()
- Specified by:
aliasin interfaceAliasedName
-
dottedName
public DottedName dottedName()
- Specified by:
dottedNamein interfaceAliasedName
-
accept
public void accept(TreeVisitor visitor)
-
-