Package | Description |
---|---|
com.salesforce.omakase.ast |
Contains general AST (Abstract Syntax Tree) units, such as Rule and top-level AST interfaces, such as Syntax, Commentable and
Refinable.
|
com.salesforce.omakase.ast.atrule |
Contains at-rule AST members.
|
com.salesforce.omakase.ast.collection |
Contains interfaces and classes for collections of Syntax units.
|
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.ast.selector |
Contains selector AST members.
|
com.salesforce.omakase.util |
Utilities and helpers.
|
Modifier and Type | Interface and Description |
---|---|
interface |
Statement
|
Modifier and Type | Class and Description |
---|---|
class |
Rule
Represents a CSS Rule.
|
Modifier and Type | Class and Description |
---|---|
class |
AtRule
Represents one of the CSS at-rules, such as
@media , @charset , @keyframes , etc... |
class |
FontDescriptor
Represents one of the
FontFaceBlock font-descriptors (src, font-weight, font-style, etc...). |
class |
MediaQuery
Represents a media query.
|
class |
MediaQueryExpression
Represents a media query expression.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractGroupable<P,T extends Groupable<P,T>>
Base class for
Groupable s. |
interface |
Groupable<P,T extends Groupable<P,T>>
Represents an item that appears in a group or chain of other related units, for usage with
SyntaxCollection . |
class |
LinkedSyntaxCollection<P,T extends Groupable<P,T>>
Standard (default) implementation of the
SyntaxCollection . |
interface |
SyntaxCollection<P,T extends Groupable<P,T>>
A collection of related
Syntax units. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractGroupable<P,T extends Groupable<P,T>>
Base class for
Groupable s. |
Modifier and Type | Method and Description |
---|---|
Groupable<P,T> |
Groupable.append(T unit)
Appends the given unit after this one.
|
Groupable<P,T> |
AbstractGroupable.append(T unit) |
Groupable<P,T> |
Groupable.group(SyntaxCollection<P,T> group)
Sets the group.
|
Groupable<P,T> |
AbstractGroupable.group(SyntaxCollection<P,T> group) |
Groupable<P,T> |
Groupable.prepend(T unit)
Prepends the given unit before this one.
|
Groupable<P,T> |
AbstractGroupable.prepend(T unit) |
Groupable<P,T> |
Groupable.replaceWith(T unit)
Replaces this unit with the given one.
|
Groupable<P,T> |
AbstractGroupable.replaceWith(T unit) |
Groupable<P,T> |
Groupable.unlink()
Severs the connection between this unit and its collection.
|
Groupable<P,T> |
AbstractGroupable.unlink() |
Modifier and Type | Interface and Description |
---|---|
interface |
FunctionValue
General interface for function term values, such as
GenericFunctionValue . |
interface |
PropertyValueMember
A member of a
PropertyValue . |
interface |
Term
A
PropertyValueMember within a PropertyValue representing a single segment of the Declaration value. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractTerm
Base class for
Term s. |
class |
Declaration
Represents a CSS declaration.
|
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 |
Operator
|
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 | Class and Description |
---|---|
class |
UnquotedIEFilter
MS filter junk.
|
Modifier and Type | Interface and Description |
---|---|
interface |
SelectorPart
|
interface |
SimpleSelector
A simple selector, as defined by the Selectors Level 3 spec: "A simple selector is either a type selector, universal selector,
attribute selector, class selector, ID selector, or pseudo-class."
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractSelectorPart
Base class for
SelectorPart s. |
class |
AttributeSelector
Represents a CSS attribute selector.
|
class |
ClassSelector
Represents a CSS class selector.
|
class |
Combinator
Represents a CSS combinator.
|
class |
IdSelector
Represents a CSS id selector.
|
class |
KeyframeSelector
Represents a single keyframe selector part.
|
class |
PseudoClassSelector
Represents a CSS pseudo class selector.
|
class |
PseudoElementSelector
Represents a CSS pseudo element selector.
|
class |
Selector
Represents a CSS selector.
|
class |
TypeSelector
Represents a CSS type selector (also known as an element type selector).
|
class |
UniversalSelector
Represents the CSS universal selector, i.e., "*".
|
Modifier and Type | Class and Description |
---|---|
static class |
Equivalents.Base<G extends Groupable<?,G>,N extends Named>
base for walkers that group any Groupable together
|
Modifier and Type | Method and Description |
---|---|
static <T extends Groupable<?,T>> |
Actions.moveAfter()
Gets a
ActionWithSubject that will move a collection of instances after a given subject. |
static <T extends Groupable<?,T>> |
Actions.moveBefore()
Gets a
ActionWithSubject that will move a collection of instances before a given subject. |
Modifier and Type | Method and Description |
---|---|
static Action<Groupable<?,?>> |
Actions.destroy()
|
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.