Package | Description |
---|---|
org.apache.flex.compiler.css |
This package contains interfaces and classes representing various CSS concepts.
|
org.apache.flex.compiler.internal.caches | |
org.apache.flex.compiler.internal.css |
This package is the internal extension of the external
org.apache.flex.compiler.css package. |
org.apache.flex.compiler.internal.css.codegen | |
org.apache.flex.compiler.internal.css.semantics | |
org.apache.flex.compiler.internal.units |
This package is the internal counterpart of the external
org.apache.flex.compiler.units package. |
org.apache.flex.compiler.tree.mxml |
Modifier and Type | Method and Description |
---|---|
ICSSDocument |
ICSSManager.getCSS(String cssFilename)
Get a CSS model from the CSS cache.
|
ICSSDocument |
ICSSManager.getDefaultCSS(File swcFile)
Get the model for "defaults.css" in the given SWC file.
|
Modifier and Type | Method and Description |
---|---|
Collection<ICSSDocument> |
ICSSManager.getCSSFromStyleModules() |
Collection<ICSSDocument> |
ICSSManager.getCSSFromSWCDefaultStyle() |
Collection<ICSSDocument> |
ICSSManager.getCSSFromThemes(Collection<ICompilerProblem> problems) |
Modifier and Type | Method and Description |
---|---|
Collection<ICompilationUnit> |
ICSSManager.getDependentCompilationUnitsFromCSS(CSSCompilationSession session,
ICSSDocument cssDocument,
Collection<IDefinition> definitions,
Collection<ICompilerProblem> problems)
Find all the compilation units that the given
definitions depend
on in the given cssDocument . |
Modifier and Type | Field and Description |
---|---|
static ICSSDocument |
CSSDocumentCache.EMPTY_CSS_DOCUMENT
Since
ConcurrentCacheStoreBase does not allow null values, when a
SWC library does not have a "defaults.css" file, this dummy value is
used. |
Modifier and Type | Method and Description |
---|---|
protected ICSSDocument |
CSSDocumentCache.createEntryValue(CacheStoreKeyBase key) |
ICSSDocument |
CSSDocumentCache.getDefaultsCSS(ISWC swc,
Integer compatibilityVersion)
Get the "default" CSS model in a SWC library.
|
Modifier and Type | Class and Description |
---|---|
class |
CSSDocument
Implementation of a CSS model.
|
Modifier and Type | Method and Description |
---|---|
ICSSDocument |
CSSManager.getCSS(String cssFilename) |
ICSSDocument |
CSSManager.getDefaultCSS(File swcFile) |
Modifier and Type | Method and Description |
---|---|
Collection<ICSSDocument> |
CSSManager.getCSSFromStyleModules() |
Collection<ICSSDocument> |
CSSManager.getCSSFromSWCDefaultStyle() |
Collection<ICSSDocument> |
CSSManager.getCSSFromThemes(Collection<ICompilerProblem> problems) |
Modifier and Type | Method and Description |
---|---|
Collection<ICompilationUnit> |
CSSManager.getDependentCompilationUnitsFromCSS(CSSCompilationSession session,
ICSSDocument cssDocument,
Collection<IDefinition> definitions,
Collection<ICompilerProblem> problems) |
Modifier and Type | Field and Description |
---|---|
List<ICSSDocument> |
CSSCompilationSession.cssDocuments
A list of CSS models to be included in the code generation.
|
Modifier and Type | Method and Description |
---|---|
protected ICSSDocument |
CSSCompilationSession.synthesisNormalizedCSS()
Synthesize a normalized CSS model from the
ICSSRule 's activated
from CSSCompilationSession.singleSelectorRules . |
Modifier and Type | Method and Description |
---|---|
static void |
CSSModuleGenerator.generateStyleDataClass(IABCVisitor abcEmitter,
FlexProject project,
ICSSDocument cssDocument,
CSSCompilationSession cssCompilationSession,
Name stylesDataClassName)
Generating CSS module style data class.
|
Constructor and Description |
---|
CSSReducer(IFlexProject project,
ICSSDocument cssDocument,
IABCVisitor abcVisitor,
CSSCompilationSession session,
boolean isDefaultFactory,
int styleTagIndex)
Create a CSS reducer.
|
Modifier and Type | Method and Description |
---|---|
Set<ICSSDocument> |
ActivatedStyleSheets.all() |
List<ICSSDocument> |
ActivatedStyleSheets.sort() |
Modifier and Type | Method and Description |
---|---|
void |
ActivatedStyleSheets.addDefaultCSS(ICSSDocument css)
Activate a default CSS model.
|
void |
ActivatedStyleSheets.addLibraryCSS(ICSSDocument css,
String path)
Activate a library CSS model.
|
void |
ActivatedStyleSheets.addThemeCSS(ICSSDocument css)
Activate a theme CSS model.
|
static com.google.common.collect.ImmutableSet<ICSSSelector> |
CSSSemanticAnalyzer.getAllSelectors(ICSSDocument document)
Collect all the selectors in the CSS document including the subjects and
the combination selectors.
|
static com.google.common.collect.ImmutableSet<ICSSRule> |
CSSSemanticAnalyzer.getMatchedRules(CSSCompilationSession session,
IFlexProject flexProject,
ICSSDocument cssDocument,
com.google.common.collect.ImmutableSet<String> qnames,
Collection<ICompilerProblem> problems)
Get a set of
ICSSRule 's that match any of the class definitions
passed in. |
static com.google.common.collect.ImmutableMap<ICSSSelector,String> |
CSSSemanticAnalyzer.resolveSelectors(IXMLNameResolver xmlNameResolver,
ICSSDocument css,
Collection<ICompilerProblem> problems,
boolean isCompatibilityVersion3)
Resolve type selectors to class definitions within a file scope context
If a namespace short name is mapped to a undefined namespace URI, just
ignore.
|
Modifier and Type | Method and Description |
---|---|
protected void |
CompilationUnitBase.updateStyleCompilationUnitDependencies(CSSCompilationSession cssCompilationSession,
IXMLNameResolver xmlNameResolver,
Iterable<ICSSDocument> cssDocuments,
Collection<ICompilerProblem> problems)
Semantic analyze a collection of CSS model objects, and return a
CSSCompilationSession that contains the resolved symbols. |
Modifier and Type | Method and Description |
---|---|
ICSSDocument |
IMXMLStyleNode.getCSSDocument(Collection<ICompilerProblem> problems)
Get the CSS model from the
<fx:Style> tag. |
Copyright © 2016 The Apache Software Foundation. All rights reserved.