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 void
accept(VisitorCheck visitor)
Iterator<Tree>
childrenIterator()
Creates iterator for children of this node.SyntaxToken
doubleColonToken()
Tree.Kind
getKind()
NameIdentifierTree
method()
NamespaceNameTree
trait()
-
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:
trait
in interfaceTraitMethodReferenceTree
-
doubleColonToken
@Nullable public SyntaxToken doubleColonToken()
- Specified by:
doubleColonToken
in interfaceTraitMethodReferenceTree
-
method
public NameIdentifierTree method()
- Specified by:
method
in interfaceTraitMethodReferenceTree
-
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)
-
-