Class SyntaxTokenImpl
- java.lang.Object
-
- org.sonar.iac.terraform.tree.impl.TerraformTreeImpl
-
- org.sonar.iac.terraform.tree.impl.SyntaxTokenImpl
-
- All Implemented Interfaces:
HasComments,HasTextRange,IacToken,TextTree,Tree,SyntaxToken,TerraformTree
public class SyntaxTokenImpl extends TerraformTreeImpl implements SyntaxToken
-
-
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 SyntaxTokenImpl(String value, TextRange textRange, List<Comment> comments)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Tree>children()List<Comment>comments()TerraformTree.KindgetKind()Stringvalue()-
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
-
-
-
-
Method Detail
-
comments
public List<Comment> comments()
- Specified by:
commentsin interfaceHasComments
-
getKind
public TerraformTree.Kind getKind()
- Specified by:
getKindin interfaceTerraformTree
-
-