Package | Description |
---|---|
com.salesforce.omakase.ast.atrule |
Contains at-rule AST members.
|
com.salesforce.omakase.ast.declaration |
Contains declaration AST members.
|
com.salesforce.omakase.ast.extended |
Contains customized, extended syntax objects that are not part of the standard CSS spec.
|
com.salesforce.omakase.plugin |
Interfaces for plugging new features into the parsing process (rework, validation, etc...).
|
com.salesforce.omakase.util |
Utilities and helpers.
|
Modifier and Type | Method and Description |
---|---|
FontDescriptor |
FontDescriptor.propertyValue(Term singleTerm)
Sets a new property value.
|
Modifier and Type | Interface and Description |
---|---|
interface |
FunctionValue
General interface for function term values, such as
GenericFunctionValue . |
Modifier and Type | Class and Description |
---|---|
class |
AbstractTerm
Base class for
Term s. |
class |
GenericFunctionValue
A generic function value with non-validated arguments.
|
class |
HexColorValue
A hex color value (e.g., "fffeee").
|
class |
KeywordValue
A keyword value (e.g., inline-block).
|
class |
LinearGradientFunctionValue
Represents a linear-gradient (or repeating-linear-gradient) function.
|
class |
NumericalValue
A numerical value (e.g., 1 or 1px or 3.5em).
|
class |
StringValue
A string value, e.g., "Times New Roman".
|
class |
UnicodeRangeValue
A unicode-range value (e.g., from within a @font-face rule).
|
class |
UrlFunctionValue
Represents a url function value.
|
Modifier and Type | Method and Description |
---|---|
Term |
Term.copy() |
protected Term |
AbstractTerm.self() |
Modifier and Type | Method and Description |
---|---|
com.google.common.collect.ImmutableList<Term> |
PropertyValue.terms()
Gets the list of
Term s currently in this PropertyValue (as opposed to PropertyValue.members() which returns both
terms and operators). |
Modifier and Type | Method and Description |
---|---|
static PropertyValue |
PropertyValue.of(OperatorType separator,
Term term,
Term... terms)
Creates a new
PropertyValue with multiple terms separated by the given OperatorType . |
static PropertyValue |
PropertyValue.of(OperatorType separator,
Term term,
Term... terms)
Creates a new
PropertyValue with multiple terms separated by the given OperatorType . |
static PropertyValue |
PropertyValue.of(Term term)
Creates a new
PropertyValue with the given Term as the only member. |
static PropertyValue |
PropertyValue.of(Term term,
PropertyValueMember... members)
Creates a new
PropertyValue with one or more terms and operators. |
static PropertyValue |
PropertyValue.of(Term term,
Term... terms)
Creates a new
PropertyValue with multiple terms. |
static PropertyValue |
PropertyValue.of(Term term,
Term... terms)
Creates a new
PropertyValue with multiple terms. |
Declaration |
Declaration.propertyValue(Term singleTerm)
Sets a new property value.
|
Constructor and Description |
---|
Declaration(PropertyName propertyName,
Term singleValue)
|
Declaration(Property propertyName,
Term singleValue)
|
Modifier and Type | Class and Description |
---|---|
class |
UnquotedIEFilter
MS filter junk.
|
Modifier and Type | Method and Description |
---|---|
void |
BasePlugin.term(Term term)
|
Modifier and Type | Method and Description |
---|---|
static <T extends Term> |
Values.as(Class<T> klass,
PropertyValue value)
Helper method to convert or extract the more narrowly-typed
Term instance. |
static <T extends Term> |
Values.filter(Class<T> klass,
PropertyValue value)
Filters the terms in the given
PropertyValue to only the ones of the given class type. |
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.