Package org.sonar.iac.docker.tree.impl
Class SyntaxTokenImpl
- java.lang.Object
-
- org.sonar.iac.docker.tree.impl.AbstractDockerTreeImpl
-
- org.sonar.iac.docker.tree.impl.SyntaxTokenImpl
-
- All Implemented Interfaces:
HasComments,HasTextRange,IacToken,TextTree,Tree,DockerTree,SyntaxToken
public class SyntaxTokenImpl extends AbstractDockerTreeImpl implements SyntaxToken
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.sonar.iac.docker.tree.api.DockerTree
DockerTree.Kind
-
-
Field Summary
-
Fields inherited from class org.sonar.iac.docker.tree.impl.AbstractDockerTreeImpl
parent, 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()DockerTree.KindgetKind()TextRangetextRange()Stringvalue()-
Methods inherited from class org.sonar.iac.docker.tree.impl.AbstractDockerTreeImpl
is, parent, setParent
-
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.docker.tree.api.DockerTree
is, parent, setParent
-
-
-
-
Method Detail
-
textRange
public TextRange textRange()
- Specified by:
textRangein interfaceHasTextRange- Overrides:
textRangein classAbstractDockerTreeImpl
-
getKind
public DockerTree.Kind getKind()
- Specified by:
getKindin interfaceDockerTree
-
comments
public List<Comment> comments()
- Specified by:
commentsin interfaceHasComments
-
-