Enum CssAtRuleNode.Type
- java.lang.Object
-
- java.lang.Enum<CssAtRuleNode.Type>
-
- com.google.common.css.compiler.ast.CssAtRuleNode.Type
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<CssAtRuleNode.Type>
- Enclosing class:
- CssAtRuleNode
public static enum CssAtRuleNode.Type extends java.lang.Enum<CssAtRuleNode.Type>
The Types of at-rules we (should/could) know about.
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetCanonicalName()booleanhasBlock()booleanisConditional()java.lang.StringtoString()For debugging only.static CssAtRuleNode.TypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static CssAtRuleNode.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CHARSET
public static final CssAtRuleNode.Type CHARSET
-
IMPORT
public static final CssAtRuleNode.Type IMPORT
-
NAMESPACE
public static final CssAtRuleNode.Type NAMESPACE
-
MEDIA
public static final CssAtRuleNode.Type MEDIA
-
PAGE
public static final CssAtRuleNode.Type PAGE
-
FONT_FACE
public static final CssAtRuleNode.Type FONT_FACE
-
TOP_LEFT_CORNER
public static final CssAtRuleNode.Type TOP_LEFT_CORNER
-
TOP_LEFT
public static final CssAtRuleNode.Type TOP_LEFT
-
TOP_CENTER
public static final CssAtRuleNode.Type TOP_CENTER
-
TOP_RIGHT
public static final CssAtRuleNode.Type TOP_RIGHT
-
TOP_RIGHT_CORNER
public static final CssAtRuleNode.Type TOP_RIGHT_CORNER
-
LEFT_TOP
public static final CssAtRuleNode.Type LEFT_TOP
-
LEFT_MIDDLE
public static final CssAtRuleNode.Type LEFT_MIDDLE
-
LEFT_BOTTOM
public static final CssAtRuleNode.Type LEFT_BOTTOM
-
RIGHT_TOP
public static final CssAtRuleNode.Type RIGHT_TOP
-
RIGHT_MIDDLE
public static final CssAtRuleNode.Type RIGHT_MIDDLE
-
RIGHT_BOTTOM
public static final CssAtRuleNode.Type RIGHT_BOTTOM
-
BOTTOM_LEFT_CORNER
public static final CssAtRuleNode.Type BOTTOM_LEFT_CORNER
-
BOTTOM_LEFT
public static final CssAtRuleNode.Type BOTTOM_LEFT
-
BOTTOM_CENTER
public static final CssAtRuleNode.Type BOTTOM_CENTER
-
BOTTOM_RIGHT
public static final CssAtRuleNode.Type BOTTOM_RIGHT
-
BOTTOM_RIGHT_CORNER
public static final CssAtRuleNode.Type BOTTOM_RIGHT_CORNER
-
VARIABLES
public static final CssAtRuleNode.Type VARIABLES
-
DEF
public static final CssAtRuleNode.Type DEF
-
IF
public static final CssAtRuleNode.Type IF
-
ELSEIF
public static final CssAtRuleNode.Type ELSEIF
-
ELSE
public static final CssAtRuleNode.Type ELSE
-
FOR
public static final CssAtRuleNode.Type FOR
-
ABSTRACT_COMPONENT
public static final CssAtRuleNode.Type ABSTRACT_COMPONENT
-
COMPONENT
public static final CssAtRuleNode.Type COMPONENT
-
DEFMIXIN
public static final CssAtRuleNode.Type DEFMIXIN
-
MIXIN
public static final CssAtRuleNode.Type MIXIN
-
PROVIDE
public static final CssAtRuleNode.Type PROVIDE
-
REQUIRE
public static final CssAtRuleNode.Type REQUIRE
-
UNKNOWN
public static final CssAtRuleNode.Type UNKNOWN
-
UNKNOWN_BLOCK
public static final CssAtRuleNode.Type UNKNOWN_BLOCK
-
-
Method Detail
-
values
public static CssAtRuleNode.Type[] 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 (CssAtRuleNode.Type c : CssAtRuleNode.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CssAtRuleNode.Type valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getCanonicalName
public java.lang.String getCanonicalName()
-
hasBlock
public boolean hasBlock()
-
isConditional
public boolean isConditional()
-
toString
public java.lang.String toString()
For debugging only.- Overrides:
toStringin classjava.lang.Enum<CssAtRuleNode.Type>
-
-