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.data |
Various data and constants, usually generated.
|
com.salesforce.omakase.plugin |
Interfaces for plugging new features into the parsing process (rework, validation, etc...).
|
com.salesforce.omakase.plugin.misc |
Other misc plugins.
|
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 |
---|---|
SyntaxCollection<Rule,Declaration> |
Rule.declarations()
Gets the collection of declarations for this
Rule . |
Constructor and Description |
---|
FontDescriptor(Declaration source)
Creates a new
FontDescriptor instance using the given Declaration s PropertyName and PropertyValue , as well as comments. |
Modifier and Type | Method and Description |
---|---|
Declaration |
Declaration.copy() |
Declaration |
Term.declaration()
Shortcut method to get the parent
Declaration containing this term. |
Declaration |
PropertyValue.declaration()
Gets the parent
Declaration that owns this property. |
Declaration |
AbstractTerm.declaration() |
Declaration |
Declaration.propertyName(Property property)
Sets a new property name.
|
Declaration |
Declaration.propertyName(PropertyName propertyName)
Sets a new property name.
|
Declaration |
Declaration.propertyName(String propertyName)
Sets a new property name.
|
Declaration |
Declaration.propertyValue(PropertyValue propertyValue)
Sets a new property value.
|
Declaration |
Declaration.propertyValue(Term singleTerm)
Sets a new property value.
|
protected Declaration |
Declaration.self() |
Modifier and Type | Method and Description |
---|---|
void |
PropertyValue.declaration(Declaration parent)
Sets the parent
Declaration . |
Modifier and Type | Method and Description |
---|---|
boolean |
Keyword.isOnlyValueIn(Declaration declaration)
Gets whether this keyword is the only value of the given
Declaration . |
Modifier and Type | Method and Description |
---|---|
void |
BasePlugin.declaration(Declaration declaration)
Override this method and add the
Rework , Observe or Validate annotation in order to receive events
for Syntax units of type Declaration . |
Modifier and Type | Method and Description |
---|---|
void |
DirectionFlipPlugin.flipDeclaration(Declaration declaration)
Flips property names and/or property values.
|
Modifier and Type | Method and Description |
---|---|
void |
Prefixer.declaration(Declaration declaration)
Subscription method - do not invoke directly.
|
Modifier and Type | Method and Description |
---|---|
static void |
DeclarationPlugin.delegateRefinement(Declaration declaration,
Grammar grammar,
Broadcaster broadcaster)
A convenience method to delegate refinement of a
Declaration to this class. |
void |
DeclarationPlugin.refine(Declaration declaration,
Grammar grammar,
Broadcaster broadcaster)
Refines the given
Declaration . |
void |
UnquotedIEFilterPlugin.refine(Declaration declaration,
Grammar grammar,
Broadcaster broadcaster)
Refines unquoted IE proprietary filters.
|
Modifier and Type | Field and Description |
---|---|
static Equivalents.EquivalentWalker<Declaration,FunctionValue> |
Equivalents.FUNCTION_VALUES
Finds declarations with prefixed-equivalent function values.
|
static Equivalents.EquivalentWalker<Declaration,Declaration> |
Equivalents.PROPERTIES
Finds declarations with prefixed-equivalent property names.
|
static Equivalents.EquivalentWalker<Declaration,Declaration> |
Equivalents.PROPERTIES
Finds declarations with prefixed-equivalent property names.
|
Modifier and Type | Method and Description |
---|---|
static Iterable<Declaration> |
Declarations.within(StatementIterable parent)
|
static Iterable<Declaration> |
Declarations.within(StatementIterable parent,
boolean recurse)
|
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.