Package org.sonar.iac.docker.tree.api
Interface EncapsulatedVariable
-
- All Superinterfaces:
DockerTree,Expression,HasSymbol,HasTextRange,Tree,Variable
- All Known Implementing Classes:
EncapsulatedVariableImpl
public interface EncapsulatedVariable extends Variable
Represent a variable in the explicit form with the curly braces which allow to specify modifiers. This interface define methods to retrieve both the modifier separator and the modifier itself, as it support modifier for docker variable but also more generally for shell variables. Examples :${var}${var:-modifier}
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.sonar.iac.docker.tree.api.DockerTree
DockerTree.Kind
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Argumentmodifier()StringmodifierSeparator()-
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.Variable
identifier
-
-