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.writer |
Classes for outputting processed CSS in compressed or uncompressed modes.
|
Modifier and Type | Method and Description |
---|---|
Comment |
CssAnnotation.toComment(boolean useCached)
Creates a new
Comment instance using this annotation as the content. |
Modifier and Type | Method and Description |
---|---|
com.google.common.collect.ImmutableList<Comment> |
Syntax.comments()
Gets all comments associated with this
Syntax unit. |
com.google.common.collect.ImmutableList<Comment> |
AbstractSyntax.comments() |
com.google.common.collect.ImmutableList<Comment> |
Syntax.orphanedComments()
Gets all orphaned comments (comments that appear after or at the end of the unit).
|
com.google.common.collect.ImmutableList<Comment> |
AbstractSyntax.orphanedComments() |
Modifier and Type | Method and Description |
---|---|
Syntax |
Syntax.comment(Comment comment)
Adds the given
Comment to this unit. |
Syntax |
AbstractSyntax.comment(Comment comment) |
Modifier and Type | Method and Description |
---|---|
void |
StyleWriter.appendComments(Iterable<Comment> comments,
StyleAppendable appendable)
Utility method for assisting with writing comments.
|
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.