public final class ConditionalsRefiner extends Object implements Plugin
AtRule
objects that are ConditionalAtRuleBlock
s.ConditionalAtRuleBlock
,
Conditionals
Constructor and Description |
---|
ConditionalsRefiner(ConditionalsConfig config)
Creates a new
ConditionalsRefiner . |
Modifier and Type | Method and Description |
---|---|
void |
refine(AtRule atRule,
Grammar grammar,
Broadcaster broadcaster)
The refiner method.
|
public ConditionalsRefiner(ConditionalsConfig config)
ConditionalsRefiner
.config
- The ConditionalsConfig
instance, to be passed all new ConditionalAtRuleBlock
instances.public void refine(AtRule atRule, Grammar grammar, Broadcaster broadcaster)
atRule
- The atRule to refine.grammar
- The grammar.broadcaster
- The broadcaster.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.