Class ConditionalExpressionTreeImpl
java.lang.Object
org.sonar.php.tree.impl.PHPTree
org.sonar.php.tree.impl.expression.ConditionalExpressionTreeImpl
- All Implemented Interfaces:
ConditionalExpressionTree,ExpressionTree,Tree
-
Nested Class Summary
-
Constructor Summary
ConstructorsConstructorDescriptionConditionalExpressionTreeImpl(InternalSyntaxToken queryToken, ExpressionTree trueExpression, InternalSyntaxToken colonToken, ExpressionTree falseExpression) -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(VisitorCheck visitor) Creates iterator for children of this node.complete(ExpressionTree condition) getKind()Methods inherited from class org.sonar.php.tree.impl.PHPTree
getFirstToken, getLastToken, getLine, getParent, is, isLeaf, setParent, toString
-
Constructor Details
-
ConditionalExpressionTreeImpl
public ConditionalExpressionTreeImpl(InternalSyntaxToken queryToken, @Nullable ExpressionTree trueExpression, InternalSyntaxToken colonToken, ExpressionTree falseExpression)
-
-
Method Details
-
complete
-
condition
- Specified by:
conditionin interfaceConditionalExpressionTree
-
queryToken
- Specified by:
queryTokenin interfaceConditionalExpressionTree
-
trueExpression
- Specified by:
trueExpressionin interfaceConditionalExpressionTree
-
colonToken
- Specified by:
colonTokenin interfaceConditionalExpressionTree
-
falseExpression
- Specified by:
falseExpressionin interfaceConditionalExpressionTree
-
getKind
-
childrenIterator
Description copied from class:PHPTreeCreates iterator for children of this node. Note that iterator may containnullelements.- Specified by:
childrenIteratorin classPHPTree
-
accept
-