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.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 |
---|---|
Rule |
Rule.copy() |
protected Rule |
Rule.self() |
Modifier and Type | Method and Description |
---|---|
SyntaxCollection<Rule,Declaration> |
Rule.declarations()
Gets the collection of declarations for this
Rule . |
List<Rule> |
Stylesheet.rules()
Returns just the
Rule s within this Stylesheet (does not include at-rules or rules within at-rules). |
SyntaxCollection<Rule,Selector> |
Rule.selectors()
Gets the collection of selectors for this
Rule . |
Modifier and Type | Method and Description |
---|---|
void |
BasePlugin.rule(Rule rule)
|
Modifier and Type | Field and Description |
---|---|
static Equivalents.EquivalentWalker<Rule,PseudoClassSelector> |
Equivalents.PSEUDO_CLASSES
Finds rules with prefixed-equivalent pseudo class selectors.
|
static Equivalents.EquivalentWalker<Rule,PseudoElementSelector> |
Equivalents.PSEUDO_ELEMENTS
Finds rules with prefixed-equivalent pseudo element selectors.
|
Modifier and Type | Method and Description |
---|---|
Rule |
Equivalents.RuleBase.next(Rule peer) |
Rule |
Equivalents.RuleBase.previous(Rule peer) |
Modifier and Type | Method and Description |
---|---|
Rule |
Equivalents.RuleBase.next(Rule peer) |
Rule |
Equivalents.RuleBase.previous(Rule peer) |
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.