Enum EmbeddedSass.Syntax

    • Enum Constant Detail

      • SCSS

        public static final EmbeddedSass.Syntax SCSS
         The CSS-superset `.scss` syntax.
         
        SCSS = 0;
      • INDENTED

        public static final EmbeddedSass.Syntax INDENTED
         The indented `.sass` syntax.
         
        INDENTED = 1;
      • CSS

        public static final EmbeddedSass.Syntax CSS
         Plain CSS syntax that doesn't support any special Sass features.
         
        CSS = 2;
    • Field Detail

      • SCSS_VALUE

        public static final int SCSS_VALUE
         The CSS-superset `.scss` syntax.
         
        SCSS = 0;
        See Also:
        Constant Field Values
      • INDENTED_VALUE

        public static final int INDENTED_VALUE
         The indented `.sass` syntax.
         
        INDENTED = 1;
        See Also:
        Constant Field Values
      • CSS_VALUE

        public static final int CSS_VALUE
         Plain CSS syntax that doesn't support any special Sass features.
         
        CSS = 2;
        See Also:
        Constant Field Values
    • Method Detail

      • values

        public static EmbeddedSass.Syntax[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (EmbeddedSass.Syntax c : EmbeddedSass.Syntax.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static EmbeddedSass.Syntax valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • valueOf

        @Deprecated
        public static EmbeddedSass.Syntax valueOf​(int value)
        Deprecated.
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        value - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • forNumber

        public static EmbeddedSass.Syntax forNumber​(int value)
        Parameters:
        value - The numeric wire value of the corresponding enum entry.
        Returns:
        The enum associated with the given numeric wire value.
      • valueOf

        public static EmbeddedSass.Syntax valueOf​(Descriptors.EnumValueDescriptor desc)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        desc - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null