Class PrefixExpressionTreeImpl
java.lang.Object
org.sonar.php.tree.impl.PHPTree
org.sonar.php.tree.impl.expression.PrefixExpressionTreeImpl
- All Implemented Interfaces:
ExpressionTree
,UnaryExpressionTree
,Tree
-
Nested Class Summary
-
Constructor Summary
ConstructorsConstructorDescriptionPrefixExpressionTreeImpl
(Tree.Kind kind, InternalSyntaxToken operator, ExpressionTree expression) -
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(VisitorCheck visitor) Creates iterator for children of this node.getKind()
operator()
Methods inherited from class org.sonar.php.tree.impl.PHPTree
getFirstToken, getLastToken, getLine, getParent, is, isLeaf, setParent, toString
-
Constructor Details
-
PrefixExpressionTreeImpl
public PrefixExpressionTreeImpl(Tree.Kind kind, InternalSyntaxToken operator, ExpressionTree expression)
-
-
Method Details
-
operator
- Specified by:
operator
in interfaceUnaryExpressionTree
-
expression
- Specified by:
expression
in interfaceUnaryExpressionTree
-
getKind
-
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
-