Class TraitMethodReferenceTreeImpl
- java.lang.Object
-
- org.sonar.php.tree.impl.PHPTree
-
- org.sonar.php.tree.impl.declaration.TraitMethodReferenceTreeImpl
-
- All Implemented Interfaces:
TraitMethodReferenceTree,Tree
public class TraitMethodReferenceTreeImpl extends PHPTree implements TraitMethodReferenceTree
-
-
Constructor Summary
Constructors Constructor Description TraitMethodReferenceTreeImpl(NamespaceNameTree trait, SyntaxToken doubleColonToken, NameIdentifierTree method)TraitMethodReferenceTreeImpl(NameIdentifierTree method)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(VisitorCheck visitor)Iterator<Tree>childrenIterator()Creates iterator for children of this node.SyntaxTokendoubleColonToken()Tree.KindgetKind()NameIdentifierTreemethod()NamespaceNameTreetrait()-
Methods inherited from class org.sonar.php.tree.impl.PHPTree
getFirstToken, getLastToken, getLine, getParent, is, isLeaf, setParent, toString
-
-
-
-
Constructor Detail
-
TraitMethodReferenceTreeImpl
public TraitMethodReferenceTreeImpl(NameIdentifierTree method)
-
TraitMethodReferenceTreeImpl
public TraitMethodReferenceTreeImpl(NamespaceNameTree trait, SyntaxToken doubleColonToken, NameIdentifierTree method)
-
-
Method Detail
-
trait
@Nullable public NamespaceNameTree trait()
- Specified by:
traitin interfaceTraitMethodReferenceTree
-
doubleColonToken
@Nullable public SyntaxToken doubleColonToken()
- Specified by:
doubleColonTokenin interfaceTraitMethodReferenceTree
-
method
public NameIdentifierTree method()
- Specified by:
methodin interfaceTraitMethodReferenceTree
-
childrenIterator
public Iterator<Tree> childrenIterator()
Description copied from class:PHPTreeCreates iterator for children of this node. Note that iterator may containnullelements.- Specified by:
childrenIteratorin classPHPTree
-
accept
public void accept(VisitorCheck visitor)
-
-