public class RoyaleJSProject extends org.apache.royale.compiler.internal.projects.RoyaleProject
| Modifier and Type | Field and Description |
|---|---|
List<String> |
compiledResourceBundleClasses |
List<String> |
compiledResourceBundleNames |
JSGoogConfiguration |
config |
Configurator |
configurator |
ICompilationUnit |
mainCU |
TreeSet<String> |
mixinClassNames |
boolean |
needCSS |
boolean |
needLanguage |
boolean |
needXML |
HashMap<String,String> |
remoteClassAliasMap |
ArrayList<String> |
sourceExterns |
Set<ISWC> |
swcExterns |
Collection<String> |
unitTestExterns |
apiReportFile, stateClassTypedependencyGraph, problems, targets| Constructor and Description |
|---|
RoyaleJSProject(org.apache.royale.compiler.internal.workspaces.Workspace workspace,
IBackend backend)
Constructor
|
addToAPIReport, addToAPIReport, clean, computeLibraryDependencies, computeLibraryDependencyOrder, createLibraryDependencyGraph, createSWCTarget, createSWFTarget, doubleCheckAmbiguousDefinition, generateAPIReport, getActionScriptFileEncoding, getActualPackageName, getAllowAbstractClasses, getAllowImportAliases, getAllowPrivateConstructors, getAllowPrivateNameConflicts, getBindingClass, getBindingClassName, getBindingManagerClass, getBindingManagerClassName, getBindingMap, 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, getStrictIdentifierNames, getStyleOverrideClass, getStyleOverrideClassName, getSwfDebugfileAlias, getSWFTarget, getTagNamesForClass, getTargetSettings, getThemeFiles, getThemeNames, getTransientDeferredInstanceInterface, getUIComponentDescriptorClass, getUIComponentDescriptorClassName, getVisualElementContainerInterface, getWebServiceOperationQName, getWebServiceQName, getXMLUtilClass, getXMLUtilClassName, getXMLWatcherClass, getXMLWatcherClassName, invalidateManifestManager, isCompatibleOverrideParameterType, isCompatibleOverrideReturnType, isManifestComponentLookupOnly, isRoyale, isValidTypeConversion, resolveEffect, resolveEvent, resolveProperty, resolveSpecifier, resolveStyle, resolveXMLNameToDefinition, resolveXMLNameToQualifiedName, setActionScriptFileEncoding, setAllowAbstractClasses, setAllowImportAliases, setAllowPrivateConstructors, setAllowPrivateNameConflicts, setBindingClass, setBindingManagerClass, setClassFactoryClass, setComponentTagType, setContainerInterface, setCSSStyleDeclarationClass, setDeferredInstanceFromClassClass, setDeferredInstanceFromFunctionClass, setDeferredInstanceInterface, setDeferredInstantiationUIComponentInterface, setDefineDirectives, setDesignLayerClass, setEventOverrideClass, setExcludeNativeJSLibraries, setExtensionLibraries, setFactoryInterface, setFlexModuleInterface, setFunctionReturnWatcherClass, setHTTPServiceClass, setImplicitImportsForMXML, setIncludeSources, setInstanceOverrideClass, setLocaleDependentResources, setLocales, setModelClass, setMXMLObjectInterface, setNamedColors, setNamespaceMappings, setObjectProxyClass, setPropertyOverrideClass, setPropertyWatcherClass, setProxyBaseClass, setRemoteObjectClass, setRemoteObjectMethodClass, setRepeaterClass, setResourceBundleClass, setResourceManagerClass, setResourceModuleBaseClass, setRoyale, setRuntimeSharedLibraryPath, setServicesXMLPath, setStateClass, setStateClientInterface, setStaticPropertyWatcherClass, setStrictIdentifierNames, setStrictXML, setStyleOverrideClass, setSwfDebugfileAlias, setThemeFiles, setTransientDeferredInstanceInterface, setUIComponentDescriptorClass, setVisualElementContainerInterface, setWebServiceClass, setWebServiceOperationClass, setXMLUtilClass, setXMLWatcherClass, useStrictXMLaddIncludeSourceFile, 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, setSourcePathaddCompilationUnit, addCompilationUnits, addCompilationUnitsAndUpdateDefinitions, addConfigVariable, addConfigVariables, 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, updatePublicAndInternalDefinitionsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddIncludeSourceFile, addIncludeSourceFile, addProjectDependeny, attachExternalLibrarySourcePath, attachInternalLibrarySourcePath, createInvisibleCompilationUnit, createInvisibleCompilationUnit, getAttachedSourceDirectory, getCompatibilityVersion, getCompatibilityVersionString, getDependingProjects, getLibraries, getSourceFileFromSourcePath, getSourcePath, invalidateLibraries, invalidateLibrary, isSupportedSourceFileType, removeIncludeSourceFile, removeProjectDependeny, setDependencies, setIncludeSources, setLibraries, setSourcePathdelete, getBuiltinType, getCompilationUnits, getCompilationUnits, getDirectDependencies, getDirectReverseDependencies, getIncludingCompilationUnits, getProblems, getReachableCompilationUnitsInSWFOrder, getScope, getUndefinedValue, getWorkspace, isAssetEmbeddingSupported, isInliningEnabled, resolveQNameToCompilationUnit, resolveQNameToDefinition, setProblems, setUseParallelCodeGenerationsetCompatibilityVersion, setSourcePathpublic JSGoogConfiguration config
public Configurator configurator
public ICompilationUnit mainCU
public boolean needLanguage
public boolean needCSS
public boolean needXML
public Collection<String> unitTestExterns
public RoyaleJSProject(org.apache.royale.compiler.internal.workspaces.Workspace workspace, IBackend backend)
workspace - The Workspace containing this project.public void addDependency(ICompilationUnit from, ICompilationUnit to, DependencyTypeSet dt, String qname)
addDependency in class org.apache.royale.compiler.internal.projects.CompilerProjectpublic void addDependency(ICompilationUnit from, ICompilationUnit to, DependencyType dt, String qname)
addDependency in class org.apache.royale.compiler.internal.projects.CompilerProjectpublic boolean isExterns(String qname)
public boolean isGoogProvided(String qname)
public boolean isExternalLinkage(ICompilationUnit cu)
public ArrayList<String> getInterfaces(ICompilationUnit from)
public ArrayList<String> getRequires(ICompilationUnit from)
public ArrayList<JSModuleRequireDescription> getExternalRequires(ICompilationUnit from)
public org.apache.royale.compiler.internal.css.codegen.CSSCompilationSession getCSSCompilationSession()
getCSSCompilationSession in class org.apache.royale.compiler.internal.projects.RoyaleProjectpublic void addToASTCache(IASNode ast)
addToASTCache in class org.apache.royale.compiler.internal.projects.CompilerProjectpublic void setTargetSettings(ITargetSettings value)
setTargetSettings in class org.apache.royale.compiler.internal.projects.RoyaleProjectpublic String getGeneratedIDBase()
getGeneratedIDBase in class org.apache.royale.compiler.internal.projects.RoyaleProjectpublic ITargetAttributes computeTargetAttributes()
public IBackend getBackend()
protected void overrideDefines(Map<String,String> defines)
overrideDefines in class org.apache.royale.compiler.internal.projects.RoyaleProjectpublic List<String> getCompilerExternalLibraryPath(Configuration config)
getCompilerExternalLibraryPath in interface IRoyaleProjectgetCompilerExternalLibraryPath in class org.apache.royale.compiler.internal.projects.RoyaleProjectpublic List<String> getCompilerLibraryPath(Configuration config)
getCompilerLibraryPath in interface IRoyaleProjectgetCompilerLibraryPath in class org.apache.royale.compiler.internal.projects.RoyaleProjectpublic List<MXMLNamespaceMapping> getCompilerNamespacesManifestMappings(Configuration config)
getCompilerNamespacesManifestMappings in interface IRoyaleProjectgetCompilerNamespacesManifestMappings in class org.apache.royale.compiler.internal.projects.RoyaleProjectpublic boolean isPlatformRule(org.apache.royale.compiler.css.ICSSRule rule)
isPlatformRule in interface IRoyaleProjectisPlatformRule in class org.apache.royale.compiler.internal.projects.RoyaleProjectpublic void addExportedName(String name)
public boolean isModule(String mainClass)
public boolean isParameterCountMismatchAllowed(IFunctionDefinition func, int formalCount, int actualCount)
isParameterCountMismatchAllowed in interface ICompilerProjectisParameterCountMismatchAllowed in class org.apache.royale.compiler.internal.projects.RoyaleProjectpublic Map<String,String> getCompilerDefine(Configuration config)
getCompilerDefine in interface IRoyaleProjectgetCompilerDefine in class org.apache.royale.compiler.internal.projects.RoyaleProjectpublic File getLinkReport(Configuration config)
getLinkReport in interface IRoyaleProjectgetLinkReport in class org.apache.royale.compiler.internal.projects.RoyaleProjectpublic boolean isStaticTypedTarget()
isStaticTypedTarget in interface IRoyaleProjectisStaticTypedTarget in class org.apache.royale.compiler.internal.projects.RoyaleProjectCopyright © 2020 The Apache Software Foundation. All rights reserved.