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 |
---|---|
StyleAppendable |
StyleAppendable.append(char c)
Appends the specified character.
|
StyleAppendable |
StyleAppendable.append(CharSequence sequence)
Appends the specified
CharSequence or String. |
StyleAppendable |
StyleAppendable.append(double d)
Appends the specified double.
|
StyleAppendable |
StyleAppendable.append(int i)
Appends the specified integer.
|
StyleAppendable |
StyleAppendable.append(long l)
Appends the specified long.
|
StyleAppendable |
StyleAppendable.indent()
Increases the indentation level.
|
StyleAppendable |
StyleAppendable.indentIf(boolean condition)
Increases the indentation level only if the given condition is true.
|
StyleAppendable |
StyleAppendable.newline()
Appends a newline character.
|
StyleAppendable |
StyleAppendable.newlineIf(boolean condition)
Appends a newline character only if the given condition is true.
|
StyleAppendable |
StyleAppendable.space()
Appends a single space character.
|
StyleAppendable |
StyleAppendable.spaceIf(boolean condition)
Appends a single space character only if the given condition is true.
|
StyleAppendable |
StyleAppendable.unindent()
Decreases the indentation level.
|
StyleAppendable |
StyleAppendable.unindentIf(boolean condition)
Decreases the indentation level only if the given condition is true.
|
Modifier and Type | Method and Description |
---|---|
void |
StyleWriter.appendComments(Iterable<Comment> comments,
StyleAppendable appendable)
Utility method for assisting with writing comments.
|
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 . |
<T extends Writable> |
StyleWriter.writeInner(T writable,
StyleAppendable appendable)
Writes the given syntax unit to the given
StyleAppendable , taking into account any CustomWriter overrides
specified on this StyleWriter . |
<T extends Writable> |
StyleWriter.writeInner(T writable,
StyleAppendable appendable,
boolean useOverrides)
Writes the given syntax 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.