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}
    • Method Detail

      • modifierSeparator

        @Nullable
        String modifierSeparator()
      • modifier

        @Nullable
        Argument modifier()