Class TraitAliasTreeImpl
- java.lang.Object
-
- org.sonar.php.tree.impl.PHPTree
-
- org.sonar.php.tree.impl.declaration.TraitAliasTreeImpl
-
- All Implemented Interfaces:
TraitAdaptationStatementTree
,TraitAliasTree
,Tree
public class TraitAliasTreeImpl extends PHPTree implements TraitAliasTree
-
-
Constructor Summary
Constructors Constructor Description TraitAliasTreeImpl(TraitMethodReferenceTree methodReference, InternalSyntaxToken asToken, SyntaxToken modifier, NameIdentifierTree alias, InternalSyntaxToken eos)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(VisitorCheck visitor)
NameIdentifierTree
alias()
SyntaxToken
asToken()
Iterator<Tree>
childrenIterator()
Creates iterator for children of this node.SyntaxToken
eosToken()
Tree.Kind
getKind()
TraitMethodReferenceTree
methodReference()
SyntaxToken
modifierToken()
-
Methods inherited from class org.sonar.php.tree.impl.PHPTree
getFirstToken, getLastToken, getLine, getParent, is, isLeaf, setParent, toString
-
-
-
-
Constructor Detail
-
TraitAliasTreeImpl
public TraitAliasTreeImpl(TraitMethodReferenceTree methodReference, InternalSyntaxToken asToken, @Nullable SyntaxToken modifier, @Nullable NameIdentifierTree alias, InternalSyntaxToken eos)
-
-
Method Detail
-
methodReference
public TraitMethodReferenceTree methodReference()
- Specified by:
methodReference
in interfaceTraitAliasTree
-
asToken
public SyntaxToken asToken()
- Specified by:
asToken
in interfaceTraitAliasTree
-
modifierToken
@Nullable public SyntaxToken modifierToken()
Description copied from interface:TraitAliasTree
- Specified by:
modifierToken
in interfaceTraitAliasTree
-
alias
@Nullable public NameIdentifierTree alias()
- Specified by:
alias
in interfaceTraitAliasTree
-
eosToken
public SyntaxToken eosToken()
- Specified by:
eosToken
in interfaceTraitAdaptationStatementTree
-
childrenIterator
public Iterator<Tree> childrenIterator()
Description copied from class:PHPTree
Creates iterator for children of this node. Note that iterator may containnull
elements.- Specified by:
childrenIterator
in classPHPTree
-
accept
public void accept(VisitorCheck visitor)
-
-