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 void
accept(VisitorCheck visitor)
Iterator<Tree>
childrenIterator()
Creates iterator for children of this node.Tree.Kind
getKind()
void
setSymbol(SymbolImpl symbol)
SymbolImpl
symbol()
String
text()
SyntaxToken
token()
IdentifierTree
variableExpression()
-
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: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)
-
token
public SyntaxToken token()
- Specified by:
token
in interfaceIdentifierTree
- Specified by:
token
in interfaceVariableIdentifierTree
-
text
public String text()
- Specified by:
text
in interfaceIdentifierTree
- Specified by:
text
in interfaceVariableIdentifierTree
-
variableExpression
public IdentifierTree variableExpression()
- Specified by:
variableExpression
in interfaceVariableIdentifierTree
- Specified by:
variableExpression
in interfaceVariableTree
-
setSymbol
public void setSymbol(SymbolImpl symbol)
-
symbol
public SymbolImpl symbol()
-
-