Class NameIdentifierTreeImpl
- java.lang.Object
-
- org.sonar.php.tree.impl.PHPTree
-
- org.sonar.php.tree.impl.expression.NameIdentifierTreeImpl
-
- All Implemented Interfaces:
ExpressionTree,IdentifierTree,NameIdentifierTree,Tree
public class NameIdentifierTreeImpl extends PHPTree implements NameIdentifierTree
-
-
Constructor Summary
Constructors Constructor Description NameIdentifierTreeImpl(InternalSyntaxToken nameToken)
-
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.Tree.KindgetKind()Stringtext()SyntaxTokentoken()-
Methods inherited from class org.sonar.php.tree.impl.PHPTree
getFirstToken, getLastToken, getLine, getParent, is, isLeaf, setParent, toString
-
-
-
-
Constructor Detail
-
NameIdentifierTreeImpl
public NameIdentifierTreeImpl(InternalSyntaxToken nameToken)
-
-
Method Detail
-
token
public SyntaxToken token()
- Specified by:
tokenin interfaceIdentifierTree- Specified by:
tokenin interfaceNameIdentifierTree
-
text
public String text()
- Specified by:
textin interfaceIdentifierTree- Specified by:
textin interfaceNameIdentifierTree
-
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)
-
-