Class VarSpec

    • Constructor Detail

      • VarSpec

        public VarSpec​(String value,
                       Modifier modifier)
        Create a new VarSpec.
        Parameters:
        modifier -
        value -
      • VarSpec

        public VarSpec​(String value,
                       Modifier modifier,
                       Integer position)
        Create a new VarSpec.
        Parameters:
        modifier -
        value -
        position -
    • Method Detail

      • getModifier

        public Modifier getModifier()
        Get the modifier.
        Returns:
        the modifier.
      • getRegExMatchString

        public String getRegExMatchString()
        Returns a regex pattern that matches the variable.
        Returns:
      • getValue

        public String getValue()
        Get the value.
        Returns:
        the value.
      • getPosition

        public Integer getPosition()
        Get the position.
        Returns:
        the position.
      • getVariableName

        public String getVariableName()
        Returns the variable name
        Returns: