Package org.sonar.iac.docker.tree.impl
Class DockerTreeImpl
- java.lang.Object
-
- org.sonar.iac.docker.tree.impl.DockerTreeImpl
-
- All Implemented Interfaces:
HasTextRange,Tree,DockerTree
- Direct Known Subclasses:
AliasTreeImpl,DockerImageTreeImpl,ExecFormLiteralTreeImpl,ExecFormTreeImpl,FileTreeImpl,HereDocumentTreeImpl,ImageTreeImpl,InstructionTreeImpl,KeyValuePairTreeImpl,ParamTreeImpl,PortTreeImpl,ShellFormTreeImpl,SyntaxTokenImpl
public abstract class DockerTreeImpl extends Object implements DockerTree
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.sonar.iac.docker.tree.api.DockerTree
DockerTree.Kind
-
-
Field Summary
Fields Modifier and Type Field Description protected DockerTreeparentprotected org.sonar.api.batch.fs.TextRangetextRange
-
Constructor Summary
Constructors Constructor Description DockerTreeImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanis(DockerTree.Kind... kind)DockerTreeparent()voidsetParent(DockerTree parent)org.sonar.api.batch.fs.TextRangetextRange()-
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
getKind
-
-
-
-
Field Detail
-
textRange
protected org.sonar.api.batch.fs.TextRange textRange
-
parent
protected DockerTree parent
-
-
Method Detail
-
is
public final boolean is(DockerTree.Kind... kind)
- Specified by:
isin interfaceDockerTree
-
textRange
public org.sonar.api.batch.fs.TextRange textRange()
- Specified by:
textRangein interfaceHasTextRange
-
parent
public DockerTree parent()
- Specified by:
parentin interfaceDockerTree
-
setParent
public void setParent(DockerTree parent)
- Specified by:
setParentin interfaceDockerTree
-
-