Package org.sonar.iac.common.yaml.tree
Class ScalarTreeImpl
- java.lang.Object
-
- org.sonar.iac.common.yaml.tree.YamlTreeImpl
-
- org.sonar.iac.common.yaml.tree.ScalarTreeImpl
-
- All Implemented Interfaces:
HasComments,HasTextRange,TextTree,Tree,ScalarTree,YamlTree
public class ScalarTreeImpl extends YamlTreeImpl implements ScalarTree
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.sonar.iac.common.yaml.tree.ScalarTree
ScalarTree.Style
-
-
Constructor Summary
Constructors Constructor Description ScalarTreeImpl(String value, ScalarTree.Style style, YamlTreeMetadata metadata)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Tree>children()ScalarTree.Stylestyle()Stringvalue()-
Methods inherited from class org.sonar.iac.common.yaml.tree.YamlTreeImpl
comments, metadata, 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, YamlTreeMetadata metadata)
-
-
Method Detail
-
style
public ScalarTree.Style style()
- Specified by:
stylein interfaceScalarTree
-
-