Package org.sonar.iac.docker.tree.impl
Class CommandInstructionTreeImpl
- java.lang.Object
-
- org.sonar.iac.docker.tree.impl.DockerTreeImpl
-
- org.sonar.iac.docker.tree.impl.InstructionTreeImpl
-
- org.sonar.iac.docker.tree.impl.CommandInstructionTreeImpl
-
- All Implemented Interfaces:
HasTextRange,Tree,CommandInstructionTree,DockerTree,InstructionTree
- Direct Known Subclasses:
CmdTreeImpl,EntrypointTreeImpl,RunTreeImpl
public abstract class CommandInstructionTreeImpl extends InstructionTreeImpl implements CommandInstructionTree
-
-
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 LiteralListTreearguments-
Fields inherited from class org.sonar.iac.docker.tree.impl.InstructionTreeImpl
keyword
-
Fields inherited from class org.sonar.iac.docker.tree.impl.DockerTreeImpl
parent, textRange
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedCommandInstructionTreeImpl(SyntaxToken keyword, LiteralListTree arguments)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LiteralListTreearguments()This method always returns arguments passed to the instruction irrespective of the form (shell or exec).List<Tree>children()-
Methods inherited from class org.sonar.iac.docker.tree.impl.InstructionTreeImpl
keyword
-
Methods inherited from class org.sonar.iac.docker.tree.impl.DockerTreeImpl
is, parent, setParent, 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.docker.tree.api.DockerTree
getKind, is, parent, setParent
-
Methods inherited from interface org.sonar.iac.common.api.tree.HasTextRange
textRange
-
Methods inherited from interface org.sonar.iac.docker.tree.api.InstructionTree
keyword
-
-
-
-
Field Detail
-
arguments
protected final LiteralListTree arguments
-
-
Constructor Detail
-
CommandInstructionTreeImpl
protected CommandInstructionTreeImpl(SyntaxToken keyword, @Nullable LiteralListTree arguments)
-
-
Method Detail
-
arguments
public LiteralListTree arguments()
Description copied from interface:CommandInstructionTreeThis method always returns arguments passed to the instruction irrespective of the form (shell or exec). In most instructions it can be null- Specified by:
argumentsin interfaceCommandInstructionTree
-
-