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
-
-
Field Summary
-
Fields inherited from class org.sonar.python.tree.PyTree
firstToken, lastToken
-
-
Constructor Summary
Constructors Constructor Description AliasedNameImpl(DottedName dottedName)AliasedNameImpl(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>computeChildren()DottedNamedottedName()Tree.KindgetKind()-
Methods inherited from class org.sonar.python.tree.PyTree
children, firstToken, is, lastToken, parent, setParent
-
-
-
-
Constructor Detail
-
AliasedNameImpl
public AliasedNameImpl(Token asKeyword, DottedName dottedName, Name alias)
-
AliasedNameImpl
public AliasedNameImpl(DottedName dottedName)
-
-
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)
-
-