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.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.writer |
Classes for outputting processed CSS in compressed or uncompressed modes.
|
Modifier and Type | Method and Description |
---|---|
void |
Rule.write(StyleWriter writer,
StyleAppendable appendable) |
void |
Stylesheet.write(StyleWriter writer,
StyleAppendable appendable) |
void |
RawSyntax.write(StyleWriter writer,
StyleAppendable appendable) |
void |
RawFunction.write(StyleWriter writer,
StyleAppendable appendable) |
void |
Comment.write(StyleWriter writer,
StyleAppendable appendable) |
Modifier and Type | Method and Description |
---|---|
void |
GenericAtRuleExpression.write(StyleWriter writer,
StyleAppendable appendable) |
void |
MediaQueryList.write(StyleWriter writer,
StyleAppendable appendable) |
void |
FontFaceBlock.write(StyleWriter writer,
StyleAppendable appendable) |
void |
AtRule.write(StyleWriter writer,
StyleAppendable appendable) |
void |
MediaRestriction.write(StyleWriter writer,
StyleAppendable appendable) |
void |
MediaQuery.write(StyleWriter writer,
StyleAppendable appendable) |
void |
GenericAtRuleBlock.write(StyleWriter writer,
StyleAppendable appendable) |
void |
FontDescriptor.write(StyleWriter writer,
StyleAppendable appendable) |
void |
MediaQueryExpression.write(StyleWriter writer,
StyleAppendable appendable) |
void |
MetadataExpression.write(StyleWriter writer,
StyleAppendable appendable) |
Modifier and Type | Method and Description |
---|---|
void |
LinearGradientFunctionValue.write(StyleWriter writer,
StyleAppendable appendable) |
void |
GenericFunctionValue.write(StyleWriter writer,
StyleAppendable appendable) |
void |
KeywordValue.write(StyleWriter writer,
StyleAppendable appendable) |
void |
UrlFunctionValue.write(StyleWriter writer,
StyleAppendable appendable) |
void |
Declaration.write(StyleWriter writer,
StyleAppendable appendable) |
void |
HexColorValue.write(StyleWriter writer,
StyleAppendable appendable) |
void |
NumericalValue.write(StyleWriter writer,
StyleAppendable appendable) |
void |
UnicodeRangeValue.write(StyleWriter writer,
StyleAppendable appendable) |
void |
PropertyValue.write(StyleWriter writer,
StyleAppendable appendable) |
void |
PropertyName.write(StyleWriter writer,
StyleAppendable appendable) |
void |
Operator.write(StyleWriter writer,
StyleAppendable appendable) |
void |
OperatorType.write(StyleWriter writer,
StyleAppendable appendable) |
void |
StringValue.write(StyleWriter writer,
StyleAppendable appendable) |
Modifier and Type | Method and Description |
---|---|
void |
UnquotedIEFilter.write(StyleWriter writer,
StyleAppendable appendable) |
void |
Conditional.write(StyleWriter writer,
StyleAppendable appendable) |
void |
ConditionalAtRuleBlock.write(StyleWriter writer,
StyleAppendable appendable) |
Modifier and Type | Method and Description |
---|---|
void |
Combinator.write(StyleWriter writer,
StyleAppendable appendable) |
void |
TypeSelector.write(StyleWriter writer,
StyleAppendable appendable) |
void |
AttributeSelector.write(StyleWriter writer,
StyleAppendable appendable) |
void |
PseudoClassSelector.write(StyleWriter writer,
StyleAppendable appendable) |
void |
AttributeMatchType.write(StyleWriter writer,
StyleAppendable appendable) |
void |
PseudoElementSelector.write(StyleWriter writer,
StyleAppendable appendable) |
void |
IdSelector.write(StyleWriter writer,
StyleAppendable appendable) |
void |
KeyframeSelector.write(StyleWriter writer,
StyleAppendable appendable) |
void |
ClassSelector.write(StyleWriter writer,
StyleAppendable appendable) |
void |
Selector.write(StyleWriter writer,
StyleAppendable appendable) |
void |
UniversalSelector.write(StyleWriter writer,
StyleAppendable appendable) |
Modifier and Type | Method and Description |
---|---|
<T extends Writable> |
StyleWriter.addCustomWriter(Class<T> writable,
CustomWriter<T> writer)
Overrides the writing of a unit with the given
CustomWriter instance. |
static StyleWriter |
StyleWriter.compressed()
Creates a new
StyleWriter with WriterMode.COMPRESSED mode. |
StyleWriter |
StyleWriter.decrementDepth()
Decrements the stack depth.
|
StyleWriter |
StyleWriter.incrementDepth()
Increments the stack depth.
|
static StyleWriter |
StyleWriter.inline()
Creates a new
StyleWriter with WriterMode.INLINE mode. |
StyleWriter |
StyleWriter.mode(WriterMode mode)
Sets the
WriterMode . |
static StyleWriter |
StyleWriter.verbose()
Creates a new
StyleWriter with WriterMode.VERBOSE mode. |
StyleWriter |
StyleWriter.writeAllComments(boolean writeComments)
Sets whether all comments will be written out.
|
StyleWriter |
StyleWriter.writeAnnotatedComments(boolean writeAnnotatedComments)
Sets whether comments with annotations should be written out, even if
shouldWriteAllComments() is false. |
StyleWriter |
StyleWriter.writeBangComments(boolean writeBangComments)
Returns whether comments starting with '!' should be written out, even if
shouldWriteAllComments() is false. |
Modifier and Type | Method and Description |
---|---|
void |
Writable.write(StyleWriter writer,
StyleAppendable appendable)
Outputs this
Writable 's string representation. |
boolean |
CustomWriter.write(T unit,
StyleWriter writer,
StyleAppendable appendable)
Writes the given unit to the given
StyleAppendable . |
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.