Class ConditionTreeImpl
- java.lang.Object
-
- org.sonar.iac.terraform.tree.impl.TerraformTreeImpl
-
- org.sonar.iac.terraform.tree.impl.ConditionTreeImpl
-
- All Implemented Interfaces:
HasTextRange,Tree,ConditionTree,ExpressionTree,TerraformTree
public class ConditionTreeImpl extends TerraformTreeImpl implements ConditionTree
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.sonar.iac.terraform.api.tree.TerraformTree
TerraformTree.Kind
-
-
Field Summary
-
Fields inherited from class org.sonar.iac.terraform.tree.impl.TerraformTreeImpl
textRange
-
-
Constructor Summary
Constructors Constructor Description ConditionTreeImpl(ExpressionTree conditionExpression, SyntaxToken queryToken, ExpressionTree trueExpression, SyntaxToken colonToken, ExpressionTree falseExpression)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Tree>children()ExpressionTreeconditionExpression()ExpressionTreefalseExpression()TerraformTree.KindgetKind()ExpressionTreetrueExpression()-
Methods inherited from class org.sonar.iac.terraform.tree.impl.TerraformTreeImpl
is, textRange
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.sonar.iac.common.api.tree.HasTextRange
textRange
-
Methods inherited from interface org.sonar.iac.terraform.api.tree.TerraformTree
is
-
-
-
-
Constructor Detail
-
ConditionTreeImpl
public ConditionTreeImpl(ExpressionTree conditionExpression, SyntaxToken queryToken, ExpressionTree trueExpression, SyntaxToken colonToken, ExpressionTree falseExpression)
-
-
Method Detail
-
conditionExpression
public ExpressionTree conditionExpression()
- Specified by:
conditionExpressionin interfaceConditionTree
-
trueExpression
public ExpressionTree trueExpression()
- Specified by:
trueExpressionin interfaceConditionTree
-
falseExpression
public ExpressionTree falseExpression()
- Specified by:
falseExpressionin interfaceConditionTree
-
getKind
public TerraformTree.Kind getKind()
- Specified by:
getKindin interfaceTerraformTree
-
-