Package org.sonar.iac.docker.tree.impl
Class AbstractDockerTreeImpl
- java.lang.Object
-
- org.sonar.iac.docker.tree.impl.AbstractDockerTreeImpl
-
- All Implemented Interfaces:
HasTextRange,Tree,DockerTree
- Direct Known Subclasses:
AliasImpl,ArgumentImpl,BodyImpl,DockerImageImpl,EncapsulatedVariableImpl,ExecFormImpl,ExpandableStringCharactersImpl,ExpandableStringLiteralImpl,FileImpl,FlagImpl,HereDocumentImpl,InstructionImpl,KeyValuePairImpl,LiteralImpl,RegularVariableImpl,ShellFormImpl,SyntaxTokenImpl
public abstract class AbstractDockerTreeImpl 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 TextRangetextRange
-
Constructor Summary
Constructors Constructor Description AbstractDockerTreeImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanis(DockerTree.Kind... kind)DockerTreeparent()voidsetParent(DockerTree parent)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 TextRange textRange
-
parent
protected DockerTree parent
-
-
Method Detail
-
is
public final boolean is(DockerTree.Kind... kind)
- Specified by:
isin interfaceDockerTree
-
textRange
public TextRange textRange()
- Specified by:
textRangein interfaceHasTextRange
-
parent
public DockerTree parent()
- Specified by:
parentin interfaceDockerTree
-
setParent
public void setParent(DockerTree parent)
- Specified by:
setParentin interfaceDockerTree
-
-