Package | Description |
---|---|
com.salesforce.omakase.ast.atrule |
Contains at-rule AST members.
|
com.salesforce.omakase.ast.declaration |
Contains declaration AST members.
|
com.salesforce.omakase.data |
Various data and constants, usually generated.
|
com.salesforce.omakase.util |
Utilities and helpers.
|
Modifier and Type | Method and Description |
---|---|
boolean |
FontDescriptor.isProperty(Property property)
Gets whether this
FontDescriptor has the given Property name. |
Modifier and Type | Method and Description |
---|---|
Optional<Property> |
PropertyName.asProperty()
Gets the exact matching
Property instance, if one exists (it may not exist if this is an unknown property or a
prefixed property). |
Optional<Property> |
PropertyName.asPropertyIgnorePrefix()
Gets matching
Property instance, if one exists (it may not exist if this is an unknown property.) This ignores the
prefix. |
Modifier and Type | Method and Description |
---|---|
boolean |
Declaration.isProperty(Property property)
Gets whether this
Declaration has the given Property name. |
boolean |
Declaration.isPropertyIgnorePrefix(Property property)
Same as
Declaration.isProperty(Property) , except this ignores the prefix. |
boolean |
PropertyName.matches(Property property)
|
boolean |
PropertyName.matchesIgnorePrefix(Property property)
Same as
PropertyName.matches(Property) , except this ignores the prefix. |
static PropertyName |
PropertyName.of(Property property)
Creates a new
PropertyName instance from the given Property . |
Declaration |
Declaration.propertyName(Property property)
Sets a new property name.
|
Constructor and Description |
---|
Declaration(Property propertyName,
PropertyValue propertyValue)
|
Declaration(Property propertyName,
Term singleValue)
|
Modifier and Type | Method and Description |
---|---|
static Property |
Property.lookup(String name)
Gets the property associated with the given name.
|
static Property |
Property.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Property[] |
Property.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
PrefixTablesUtil.isPrefixableProperty(Property property)
Gets whether prefix info exists for the given
Property . |
static Double |
PrefixTablesUtil.lastVersionPropertyIsPrefixed(Property property,
Browser browser)
Gets the last version of the given browser that requires a prefix for the given property.
|
Modifier and Type | Method and Description |
---|---|
static EnumSet<Property> |
Properties.expand(String pattern)
Expands a string with wildcards ('*') to all known properties.
|
Modifier and Type | Method and Description |
---|---|
Set<Prefix> |
SupportMatrix.prefixesForProperty(Property property)
Gets all prefixes required for the given
Property according to the supported browser versions. |
boolean |
SupportMatrix.requiresPrefixForProperty(Prefix prefix,
Property property)
|
Copyright (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.