Class AbstractForTree
- java.lang.Object
-
- org.sonar.iac.terraform.tree.impl.TerraformTreeImpl
-
- org.sonar.iac.terraform.tree.impl.AbstractForTree
-
- All Implemented Interfaces:
HasTextRange,Tree,ExpressionTree,ForTree,TerraformTree
- Direct Known Subclasses:
ForObjectTreeImpl,ForTupleTreeImpl
public abstract class AbstractForTree extends TerraformTreeImpl implements ForTree
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAbstractForTree.ForIntroHelper class to wrap the intro common to both for loop styles-
Nested classes/interfaces inherited from interface org.sonar.iac.terraform.api.tree.TerraformTree
TerraformTree.Kind
-
-
Field Summary
Fields Modifier and Type Field Description protected AbstractForTree.ForIntrointro-
Fields inherited from class org.sonar.iac.terraform.tree.impl.TerraformTreeImpl
textRange
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractForTree(AbstractForTree.ForIntro intro)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExpressionTreeloopExpression()SeparatedTrees<VariableExprTree>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.common.api.tree.HasTextRange
textRange
-
Methods inherited from interface org.sonar.iac.terraform.api.tree.TerraformTree
getKind, is
-
-
-
-
Field Detail
-
intro
protected final AbstractForTree.ForIntro intro
-
-
Constructor Detail
-
AbstractForTree
protected AbstractForTree(AbstractForTree.ForIntro intro)
-
-
Method Detail
-
loopVariables
public SeparatedTrees<VariableExprTree> loopVariables()
- Specified by:
loopVariablesin interfaceForTree
-
loopExpression
public ExpressionTree loopExpression()
- Specified by:
loopExpressionin interfaceForTree
-
-