Enum Class EmbeddedSass.Syntax

java.lang.Object
java.lang.Enum<EmbeddedSass.Syntax>
sass.embedded_protocol.EmbeddedSass.Syntax
All Implemented Interfaces:
Internal.EnumLite, ProtocolMessageEnum, Serializable, Comparable<EmbeddedSass.Syntax>, Constable
Enclosing class:
EmbeddedSass

public static enum EmbeddedSass.Syntax extends Enum<EmbeddedSass.Syntax> implements ProtocolMessageEnum
 Possible syntaxes for a Sass stylesheet.
 
Protobuf enum sass.embedded_protocol.Syntax
  • Enum Constant Details

    • 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;
    • UNRECOGNIZED

      public static final EmbeddedSass.Syntax UNRECOGNIZED
  • Field Details

    • SCSS_VALUE

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

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

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

    • values

      public static EmbeddedSass.Syntax[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static EmbeddedSass.Syntax valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface Internal.EnumLite
      Specified by:
      getNumber in interface ProtocolMessageEnum
    • valueOf

      @Deprecated public static EmbeddedSass.Syntax valueOf(int value)
      Deprecated.
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class 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.
    • internalGetValueMap

      public static Internal.EnumLiteMap<EmbeddedSass.Syntax> internalGetValueMap()
    • getValueDescriptor

      public final Descriptors.EnumValueDescriptor getValueDescriptor()
      Specified by:
      getValueDescriptor in interface ProtocolMessageEnum
    • getDescriptorForType

      public final Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface ProtocolMessageEnum
    • getDescriptor

      public static final Descriptors.EnumDescriptor getDescriptor()
    • valueOf

      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null