Class ScalarTreeImpl
- java.lang.Object
-
- org.sonar.iac.cloudformation.tree.impl.CloudformationTreeImpl
-
- org.sonar.iac.cloudformation.tree.impl.ScalarTreeImpl
-
- All Implemented Interfaces:
CloudformationTree,ScalarTree,HasComments,HasTextRange,TextTree,Tree
public class ScalarTreeImpl extends CloudformationTreeImpl implements ScalarTree
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.sonar.iac.cloudformation.api.tree.ScalarTree
ScalarTree.Style
-
-
Field Summary
-
Fields inherited from class org.sonar.iac.cloudformation.tree.impl.CloudformationTreeImpl
comments, textRange
-
-
Constructor Summary
Constructors Constructor Description ScalarTreeImpl(String value, ScalarTree.Style style, String tag, org.sonar.api.batch.fs.TextRange textRange, List<Comment> comments)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Tree>children()ScalarTree.Stylestyle()Stringtag()Stringvalue()-
Methods inherited from class org.sonar.iac.cloudformation.tree.impl.CloudformationTreeImpl
comments, 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.HasComments
comments
-
Methods inherited from interface org.sonar.iac.common.api.tree.HasTextRange
textRange
-
-
-
-
Constructor Detail
-
ScalarTreeImpl
public ScalarTreeImpl(String value, ScalarTree.Style style, String tag, org.sonar.api.batch.fs.TextRange textRange, List<Comment> comments)
-
-
Method Detail
-
style
public ScalarTree.Style style()
- Specified by:
stylein interfaceScalarTree
-
tag
public String tag()
- Specified by:
tagin interfaceCloudformationTree
-
-