public enum CombinatorType extends Enum<CombinatorType> implements TokenEnum
Enum Constant and Description |
---|
ADJACENT_SIBLING
adjacent sibling combinator
|
CHILD
child combinator
|
DESCENDANT
descendant combinator
|
GENERAL_SIBLING
general sibling combinator
|
Modifier and Type | Method and Description |
---|---|
Token |
token()
Gets the token represented by the enum constant.
|
static CombinatorType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CombinatorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CombinatorType DESCENDANT
public static final CombinatorType CHILD
public static final CombinatorType ADJACENT_SIBLING
public static final CombinatorType GENERAL_SIBLING
public static CombinatorType[] values()
for (CombinatorType c : CombinatorType.values()) System.out.println(c);
public static CombinatorType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright (c) 2019, Salesforce.com, Inc. All rights reserved. Licensed under the BSD 3-Clause license. For full license text, see the LICENSE file in the repository.