Class ForTupleTreeImpl
- java.lang.Object
-
- org.sonar.iac.terraform.tree.impl.TerraformTreeImpl
-
- org.sonar.iac.terraform.tree.impl.AbstractForTree
-
- org.sonar.iac.terraform.tree.impl.ForTupleTreeImpl
-
- All Implemented Interfaces:
HasTextRange,Tree,ExpressionTree,ForTree,ForTupleTree,TerraformTree
public class ForTupleTreeImpl extends AbstractForTree implements ForTupleTree
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.sonar.iac.terraform.tree.impl.AbstractForTree
AbstractForTree.ForIntro
-
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.AbstractForTree
intro
-
Fields inherited from class org.sonar.iac.terraform.tree.impl.TerraformTreeImpl
textRange
-
-
Constructor Summary
Constructors Constructor Description ForTupleTreeImpl(SyntaxToken openBracket, AbstractForTree.ForIntro intro, ExpressionTree expression, TreeFactory.Pair<SyntaxToken,ExpressionTree> condition, SyntaxToken closeBracket)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Tree>children()Optional<ExpressionTree>condition()ExpressionTreeexpression()TerraformTree.KindgetKind()-
Methods inherited from class org.sonar.iac.terraform.tree.impl.AbstractForTree
loopExpression, loopVariables
-
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.terraform.api.tree.ForTree
loopExpression, loopVariables
-
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
-
ForTupleTreeImpl
public ForTupleTreeImpl(SyntaxToken openBracket, AbstractForTree.ForIntro intro, ExpressionTree expression, @Nullable TreeFactory.Pair<SyntaxToken,ExpressionTree> condition, SyntaxToken closeBracket)
-
-
Method Detail
-
expression
public ExpressionTree expression()
- Specified by:
expressionin interfaceForTupleTree
-
condition
public Optional<ExpressionTree> condition()
- Specified by:
conditionin interfaceForTupleTree
-
getKind
public TerraformTree.Kind getKind()
- Specified by:
getKindin interfaceTerraformTree
-
-