Package | Description |
---|---|
com.salesforce.omakase.ast.atrule |
Contains at-rule AST members.
|
com.salesforce.omakase.ast.declaration |
Contains declaration AST members.
|
com.salesforce.omakase.plugin |
Interfaces for plugging new features into the parsing process (rework, validation, etc...).
|
com.salesforce.omakase.plugin.conditionals |
Plugins related to the custom syntax for conditionals.
|
com.salesforce.omakase.plugin.prefixer |
Plugins related to automatic vendor prefixing.
|
com.salesforce.omakase.plugin.syntax |
Plugins related to standard syntax refinement parsing.
|
com.salesforce.omakase.util |
Utilities and helpers.
|
Modifier and Type | Method and Description |
---|---|
AtRule |
AtRule.block(AtRuleBlock block)
Sets the
AtRuleBlock . |
AtRule |
AtRule.copy() |
AtRule |
AtRule.expression(AtRuleExpression expression)
Sets the
AtRuleExpression . |
AtRule |
AtRule.markAsMetadataRule()
Used to indicate this at-rule is for metadata purposes only and should not be written out in the output CSS.
|
AtRule |
AtRule.name(String name)
Sets the at-rule name.
|
AtRule |
AtRuleMember.parent()
Gets the parent
AtRule that owns this property, or absent if not set. |
AtRule |
AbstractAtRuleMember.parent() |
protected AtRule |
AtRule.self() |
AtRule |
AtRule.shouldWriteName(boolean shouldWriteName)
Specifies whether the name should be written out.
|
Modifier and Type | Method and Description |
---|---|
AtRuleMember |
AtRuleMember.parent(AtRule atRule)
Sets the parent
AtRule . |
AbstractAtRuleMember |
AbstractAtRuleMember.parent(AtRule atRule) |
Modifier and Type | Method and Description |
---|---|
Optional<AtRule> |
Declaration.parentAtRule()
Similar to
AbstractGroupable.parent() , except this will return the parent's containing AtRule . |
Modifier and Type | Method and Description |
---|---|
void |
BasePlugin.atRule(AtRule rule)
|
Modifier and Type | Method and Description |
---|---|
void |
ConditionalsRefiner.refine(AtRule atRule,
Grammar grammar,
Broadcaster broadcaster)
The refiner method.
|
Modifier and Type | Method and Description |
---|---|
void |
Prefixer.atRule(AtRule atRule)
Subscription method - do not invoke directly.
|
void |
PrefixCleaner.atRule(AtRule atRule)
Subscription method - do not call directly.
|
Modifier and Type | Method and Description |
---|---|
static void |
MediaPlugin.delegateRefinement(AtRule atRule,
Grammar grammar,
Broadcaster broadcaster)
A convenience method to delegate refinement of an
AtRule to this class. |
void |
MediaPlugin.refine(AtRule rule,
Grammar grammar,
Broadcaster broadcaster)
Refines
MediaQuery s. |
void |
KeyframesPlugin.refine(AtRule atRule,
Grammar grammar,
Broadcaster broadcaster)
Refines the keyframes at-rule.
|
void |
FontFacePlugin.refine(AtRule atRule,
Grammar grammar,
Broadcaster broadcaster)
Refines the font-face at-rule.
|
void |
SupportsPlugin.refine(AtRule atRule,
Grammar grammar,
Broadcaster broadcaster)
Refines the supports at-rule.
|
Modifier and Type | Field and Description |
---|---|
static Equivalents.EquivalentWalker<AtRule,AtRule> |
Equivalents.AT_RULES
Finds at-rules with prefixed-equivalent names.
|
static Equivalents.EquivalentWalker<AtRule,AtRule> |
Equivalents.AT_RULES
Finds at-rules with prefixed-equivalent names.
|
Modifier and Type | Method and Description |
---|---|
AtRule |
Equivalents.AtRuleBase.next(AtRule peer) |
AtRule |
Equivalents.AtRuleBase.previous(AtRule peer) |
Modifier and Type | Method and Description |
---|---|
AtRule |
Equivalents.AtRuleBase.next(AtRule peer) |
AtRule |
Equivalents.AtRuleBase.previous(AtRule 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.