Package org.sonar.php.tree.impl
Class VariableIdentifierTreeImpl
- java.lang.Object
-
- org.sonar.php.tree.impl.PHPTree
-
- org.sonar.php.tree.impl.VariableIdentifierTreeImpl
-
- All Implemented Interfaces:
ExpressionTree,IdentifierTree,VariableIdentifierTree,VariableTree,Tree
public class VariableIdentifierTreeImpl extends PHPTree implements VariableIdentifierTree
-
-
Constructor Summary
Constructors Constructor Description VariableIdentifierTreeImpl(SyntaxToken token)
-
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()voidsetSymbol(SymbolImpl symbol)SymbolImplsymbol()Stringtext()SyntaxTokentoken()IdentifierTreevariableExpression()-
Methods inherited from class org.sonar.php.tree.impl.PHPTree
getFirstToken, getLastToken, getLine, getParent, is, isLeaf, setParent, toString
-
-
-
-
Constructor Detail
-
VariableIdentifierTreeImpl
public VariableIdentifierTreeImpl(SyntaxToken token)
-
-
Method Detail
-
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)
-
token
public SyntaxToken token()
- Specified by:
tokenin interfaceIdentifierTree- Specified by:
tokenin interfaceVariableIdentifierTree
-
text
public String text()
- Specified by:
textin interfaceIdentifierTree- Specified by:
textin interfaceVariableIdentifierTree
-
variableExpression
public IdentifierTree variableExpression()
- Specified by:
variableExpressionin interfaceVariableIdentifierTree- Specified by:
variableExpressionin interfaceVariableTree
-
setSymbol
public void setSymbol(SymbolImpl symbol)
-
symbol
public SymbolImpl symbol()
-
-