public class FlexJSProject extends FlexProject
Modifier and Type | Field and Description |
---|---|
JSGoogConfiguration |
config |
ICompilationUnit |
mainCU |
TreeSet<String> |
mixinClassNames |
boolean |
needCSS |
boolean |
needLanguage |
boolean |
needXML |
Collection<String> |
unitTestExterns |
dependencyGraph, problems, targets
Constructor and Description |
---|
FlexJSProject(Workspace workspace)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
addDependency(ICompilationUnit from,
ICompilationUnit to,
DependencyType dt,
String qname)
Adds a dependency from one
ICompilationUnit to another
ICompilationUnit . |
void |
addToASTCache(IASNode ast)
Add AST to cache.
|
CSSCompilationSession |
getCSSCompilationSession() |
ArrayList<String> |
getExternalRequires(ICompilationUnit from) |
String |
getGeneratedIDBase()
The base for compiler-generated id's on instance tags that need an id but
don't have one specified in MXML.
|
ArrayList<String> |
getInterfaces(ICompilationUnit from) |
ArrayList<String> |
getRequires(ICompilationUnit from) |
void |
setTargetSettings(ITargetSettings value)
target settings
|
clean, computeLibraryDependencies, computeLibraryDependencyOrder, createLibraryDependencyGraph, createSWCTarget, createSWFTarget, doubleCheckAmbiguousDefinition, getActionScriptFileEncoding, getActualPackageName, getBindingClass, getBindingClassName, getBindingManagerClass, getBindingManagerClassName, getClassFactoryClass, getColorAsInt, getComponentTagType, getContainerInterface, getCSSManager, getCSSStyleDeclarationClass, getCSSStyleDeclarationClassName, getDeferredInstanceFromClassClass, getDeferredInstanceFromFunctionClass, getDeferredInstanceFromFunctionName, getDeferredInstanceInterface, getDeferredInstantiationUIComponentInterface, getDesignLayerQName, getEventOverrideClass, getEventOverrideClassName, getExtensionLibraries, getFactoryInterface, getFlexModuleInterface, getFunctionReturnWatcherClass, getFunctionReturnWatcherClassName, getHTTPServiceQName, getImplicitImportNodesForMXML, getImplicitImportsForMXML, getInstanceOverrideClass, getInstanceOverrideClassName, getLocales, getModelClass, getModelClassName, getMXMLObjectInterface, getNamedColor, getNamespaceMappings, getObjectProxyClass, getPropertyOverrideClass, getPropertyOverrideClassName, getPropertyWatcherClass, getPropertyWatcherClassName, getProxyBaseClass, getQualifiedClassNamesForManifestNamespaces, getRemoteObjectMethodQName, getRemoteObjectQName, getRepeaterQName, getResourceBundleClass, getResourceLocale, getResourceManagerClass, getResourceManagerClassName, getResourceModuleBaseClass, getRuntimeSharedLibraryPath, getServciesContextRoot, getServicesXMLPath, getStateClass, getStateClientInterface, getStaticPropertyWatcherClass, getStaticPropertyWatcherClassName, getStyleOverrideClass, getStyleOverrideClassName, getSWFTarget, getTagNamesForClass, getTargetSettings, getThemeFiles, getThemeNames, getTransientDeferredInstanceInterface, getUIComponentDescriptorClass, getUIComponentDescriptorClassName, getVisualElementContainerInterface, getWebServiceOperationQName, getWebServiceQName, getXMLUtilClass, getXMLUtilClassName, getXMLWatcherClass, getXMLWatcherClassName, invalidateManifestManager, isCompatibleOverrideReturnType, isFlex, isManifestComponentLookupOnly, isValidTypeConversion, resolveEffect, resolveEvent, resolveProperty, resolveSpecifier, resolveStyle, resolveXMLNameToDefinition, resolveXMLNameToQualifiedName, setActionScriptFileEncoding, setBindingClass, setBindingManagerClass, setClassFactoryClass, setComponentTagType, setContainerInterface, setCSSStyleDeclarationClass, setDeferredInstanceFromClassClass, setDeferredInstanceFromFunctionClass, setDeferredInstanceInterface, setDeferredInstantiationUIComponentInterface, setDefineDirectives, setDesignLayerClass, setEventOverrideClass, setExcludeNativeJSLibraries, setExtensionLibraries, setFactoryInterface, setFlex, setFlexModuleInterface, setFunctionReturnWatcherClass, setHTTPServiceClass, setImplicitImportsForMXML, setIncludeSources, setInstanceOverrideClass, setLocaleDependentResources, setLocales, setModelClass, setMXMLObjectInterface, setNamedColors, setNamespaceMappings, setObjectProxyClass, setPropertyOverrideClass, setPropertyWatcherClass, setProxyBaseClass, setRemoteObjectClass, setRemoteObjectMethodClass, setRepeaterClass, setResourceBundleClass, setResourceManagerClass, setResourceModuleBaseClass, setRuntimeSharedLibraryPath, setServicesXMLPath, setStateClass, setStateClientInterface, setStaticPropertyWatcherClass, setStrictXML, setStyleOverrideClass, setThemeFiles, setTransientDeferredInstanceInterface, setUIComponentDescriptorClass, setVisualElementContainerInterface, setWebServiceClass, setWebServiceOperationClass, setXMLUtilClass, setXMLWatcherClass, useStrictXML
addIncludeSourceFile, addIncludeSourceFile, addProjectDependeny, addSourcePathFile, attachExternalLibrarySourcePath, attachInternalLibrarySourcePath, collectionCompilationUnitsForRootSourceFile, collectProblems, createInvisibleCompilationUnit, createInvisibleCompilationUnit, getASDocBundleDelegate, getAttachedSourceDirectory, getCompatibilityVersion, getCompatibilityVersionString, getDependingProjects, getLibraries, getSourceCompilationUnitFactory, getSourceFileFromLibraryPath, getSourceFileFromSourcePath, getSourcePath, handleAddedFile, hasCompilationUnitForRootSourceFile, invalidateLibraries, invalidateLibrary, isAssetEmbeddingSupported, isFileOnSourcePath, isSupportedSourceFileType, removeIncludeSourceFile, removeProjectDependeny, removeSourceFile, setCompatibilityVersion, setDependencies, setIncludeSources, setLibraries, setSourcePath
addCompilationUnit, addCompilationUnits, addCompilationUnitsAndUpdateDefinitions, addConfigVariable, addConfigVariables, addDependency, addDependency, addEmbedCompilationUnit, addGlobalUsedNamespacesToNamespaceSet, addUnfoundDefinitionDependency, addUnfoundReferencedSourceFileDependency, clearScopeCacheForCompilationUnit, collectConfigProblems, delete, getBuiltinType, getCacheForScope, getCompilationUnit, getCompilationUnits, getCompilationUnits, getDependencies, getDependenciesOnDefinition, getDependenciesOnUnfoundDefinition, getDependenciesOnUnfoundReferencedSourceFile, getDependencyGraph, getDirectDependencies, getDirectReverseDependencies, getFatalProblems, getIncludingCompilationUnits, getProblems, getProjectConfigVariables, getReachableCompilationUnitsInSWFOrder, getScope, getUndefinedValue, getUseParallelCodeGeneration, getWorkspace, initProjectScope, isInliningEnabled, removeAnyUnfoundDependencies, removeCompilationUnit, removeCompilationUnits, removeDependencies, resetScopeCacheForCompilationUnit, resolveQNameToCompilationUnit, resolveQNameToDefinition, setEnableInlining, setProblems, setUseParallelCodeGeneration, unitTestingEntryPointForRemovingCompilationUnit, updatePublicAndInternalDefinitions
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addIncludeSourceFile, addIncludeSourceFile, addProjectDependeny, attachExternalLibrarySourcePath, attachInternalLibrarySourcePath, createInvisibleCompilationUnit, createInvisibleCompilationUnit, getAttachedSourceDirectory, getCompatibilityVersion, getCompatibilityVersionString, getDependingProjects, getLibraries, getSourceFileFromSourcePath, getSourcePath, invalidateLibraries, invalidateLibrary, isSupportedSourceFileType, removeIncludeSourceFile, removeProjectDependeny, setDependencies, setIncludeSources, setLibraries, setSourcePath
delete, getBuiltinType, getCompilationUnits, getCompilationUnits, getDirectDependencies, getDirectReverseDependencies, getIncludingCompilationUnits, getProblems, getReachableCompilationUnitsInSWFOrder, getScope, getUndefinedValue, getWorkspace, isAssetEmbeddingSupported, isInliningEnabled, resolveQNameToCompilationUnit, resolveQNameToDefinition, setProblems, setUseParallelCodeGeneration
setCompatibilityVersion, setSourcePath
public JSGoogConfiguration config
public ICompilationUnit mainCU
public boolean needLanguage
public boolean needCSS
public boolean needXML
public Collection<String> unitTestExterns
public FlexJSProject(Workspace workspace)
workspace
- The Workspace
containing this project.public void addDependency(ICompilationUnit from, ICompilationUnit to, DependencyType dt, String qname)
CompilerProject
ICompilationUnit
to another
ICompilationUnit
.addDependency
in class CompilerProject
from
- ICompilationUnit
that depends on "to".to
- ICompilationUnit
that is depended on by "from".dt
- The type of dependency to add.qname
- The qname of the target dependency addedpublic ArrayList<String> getInterfaces(ICompilationUnit from)
public ArrayList<String> getRequires(ICompilationUnit from)
public ArrayList<String> getExternalRequires(ICompilationUnit from)
public CSSCompilationSession getCSSCompilationSession()
getCSSCompilationSession
in class FlexProject
public void addToASTCache(IASNode ast)
CompilerProject
addToASTCache
in class CompilerProject
ast
- The AST.public void setTargetSettings(ITargetSettings value)
FlexProject
setTargetSettings
in class FlexProject
public String getGeneratedIDBase()
FlexProject
getGeneratedIDBase
in class FlexProject
Copyright © 2016 The Apache Software Foundation. All rights reserved.