public class JSGoogConfiguration extends JSConfiguration
JSGoogConfiguration class holds all compiler arguments needed for
compiling ActionScript to JavaScript the 'goog' way.
Specific flags are implemented here for the configuration to be loaded by the
configure() method of MXMLJSC.
This class inherits all compiler arguments from the MXMLC compiler.
| Modifier and Type | Field and Description |
|---|---|
protected String |
closureLib |
protected List<String> |
jsCompilerOptions |
protected List<String> |
jsOutputOptimizations |
protected List<String> |
sdkJSLib |
AIR_HOME_TOKEN, AS3, date, DEFAULT_OUTPUT_DIRECTORY_TOKEN, ES, includeFilesNamePath, langs, MXML_CURRENT_VERSION, MXML_EARLIEST_MAJOR_VERSION, MXML_LATEST_MAJOR_VERSION, MXML_LATEST_MINOR_VERSION, MXML_VERSION_2_0, MXML_VERSION_2_0_1, MXML_VERSION_3_0, MXML_VERSION_4_0, MXML_VERSION_4_5, MXML_VERSION_4_6, MXML_VERSION_4_7, PLAYERGLOBAL_HOME_TOKEN, STRICT, SWC_AIRGLOBAL, TARGET_PLAYER_MAJOR_VERSION_MIN, TARGET_PLAYER_MINOR_VERSION_MIN| Constructor and Description |
|---|
JSGoogConfiguration() |
getJSOutputType, getSourceMap, setJSOutputType, setSourceMapaddThemeCssFiles, assertThatAllPathsAreDirectories, csetCompilerWarnDuplicateVariableDef, debug, expandTokens, expandTokens, getAdjustOpDebugLine, getAliases, getAllowSourcePathOverlap, getApplicationDomain, getBindingEventHandlerClass, getBindingEventHandlerEvent, getBindingEventHandlerInterface, getBindingValueChangeEvent, getBindingValueChangeEventKind, getCompilerAccessible, getCompilerActionscriptFileEncoding, getCompilerAllowSubclassOverrides, getCompilerCompatibilityVersion, getCompilerCompatibilityVersionString, getCompilerContextRoot, getCompilerDefaultsCssUrl, getCompilerDefine, getCompilerDoc, getCompilerExternalLibraryPath, getCompilerGenerateAbstractSyntaxTree, getCompilerGeneratedDirectory, getCompilerIncludeLibraries, getCompilerIsolateStyles, getCompilerKeepAs3Metadata, getCompilerLibraryPath, getCompilerLocales, getCompilerMinimumSupportedVersion, getCompilerMinimumSupportedVersionString, getCompilerMxmlCompatibilityVersion, getCompilerMxmlCompatibilityVersionString, getCompilerMxmlImplicitImports, getCompilerMxmlMajorCompatibilityVersion, getCompilerMxmlMinimumSupportedVersion, getCompilerMxmlMinimumSupportedVersionString, getCompilerMxmlMinorCompatibilityVersion, getCompilerMxmlRevisionCompatibilityVersion, getCompilerNamespacesManifestMappings, getCompilerOptimize, getCompilerPreloader, getCompilerResourceBundlePathForLocale, getCompilerServices, getCompilerSourcePath, getCompilerSourcePathInfo, getCompilerThemeCssFiles, getCompilerThemeFiles, getCompilingForAIR, getComponentFactoryClass, getComponentFactoryInterface, getConfigurationProblems, getCreateTargetWithErrors, getDebugPassword, getDefaultBackgroundColor, getDefaultFrameRate, getDefaultHeight, getDefaultsCSSFiles, getDefaultWidth, getDependencyGraphOutput, getDumpConfig, getEnableRuntimeDesignLayers, getEnableSwcVersionFiltering, getErrorProblems, getExterns, getFileSpecs, getForceRsls, getFrameList, getIgnoreProblems, getIncludeClasses, getIncludeFiles, getIncludeInheritanceDependenciesOnly, getIncludeLookupOnly, getIncludeNamespaces, getIncludeResourceBundles, getIncludes, getIncludeSources, getIncludeStyleSheets, getLinkReport, getLoadConfig, getLocaleDependentSources, getMainDefinition, getMobile, getOutput, getOutputPath, getOutputSwcAsDirectory, getPreloader, getProxyBaseClass, getRawMetadata, getRemoveDeadCode, getRemoveUnusedRsls, getReportInvalidStylesAsWarnings, getResourceBundleList, getRslExcludedLibraries, getRslPathInfo, getRuntimeSharedLibraries, getScriptRecursionLimit, getScriptTimeLimit, getShowInvalidCSSPropertyWarnings, getSizeReport, getStatesClass, getStatesEventOverrideClass, getStatesInstanceOverrideClass, getStatesPropertyOverrideClass, getStatesStyleOverrideClass, getStaticLinkRsl, getSwfVersion, getTargetFile, getTargetFileDirectory, getTargetPlayerMajorVersion, getTargetPlayerMinorVersion, getTargetPlayerRevision, getToolsLocale, getUseDirectBlit, getUseFlashBuilderProjectFiles, getUseGpu, getUseNetwork, getVerifyDigests, getWarningProblems, getWarnings, getWarnOnFlexOnlyOptionUsage, isCompilerMxmlMinimumSupportedVersionConfigured, isDebuggingEnabled, isDumpAst, isEnableTelemetry, isExcludeNativeJSLibraries, isFlex, isHeadlessServer, isInliningEnabled, isStrictXML, isVerbose, keepAllTypeSelectors, metadataExport, omitTraceStatements, optimize, reportMissingRequiredSkinPartsAsWarnings, resolvePathStrict, scriptLimitsSet, setApplicationDomain, setAS3, setBenchmark, setCompilerAccessible, setCompilerActionscriptFileEncoding, setCompilerAdjustOpdebugline, setCompilerAllowSourcePathOverlap, setCompilerAllowSubclassOverrides, setCompilerBindingEventHandlerClass, setCompilerBindingEventHandlerEvent, setCompilerBindingEventHandlerInterface, setCompilerBindingValueChangeEvent, setCompilerBindingValueChangeEventKind, setCompilerComponentFactoryClass, setCompilerComponentFactoryInterface, setCompilerConservative, setCompilerContextRoot, setCompilerDebug, setCompilerDefaultsCssUrl, setCompilerDefine, setCompilerDoc, setCompilerEnableRuntimeDesignLayers, setCompilerEnableSwcVersionFiltering, setCompilerExternalLibraryPath, setCompilerFontsAdvancedAntiAliasing, setCompilerFontsLanguagesLanguageRange, setCompilerFontsLocalFontPaths, setCompilerFontsLocalFontsSnapshot, setCompilerFontsManagers, setCompilerFontsMaxCachedFonts, setCompilerFontsMaxGlyphsPerFace, setCompilerGenerateAbstractSyntaxTree, setCompilerGeneratedDirectory, setCompilerHeadlessServer, setCompilerIncludeLibraries, setCompilerIncremental, setCompilerIsolateStyles, setCompilerKeepAllTypeSelectors, setCompilerKeepAs3Metadata, setCompilerKeepGeneratedActionscript, setCompilerKeepGeneratedSignatures, setCompilerLibraryPath, setCompilerLocale, setCompilerMetadataExport, setCompilerMinimumSupportedVersion, setCompilerMxmlCompatibilityVersion, setCompilerMxmlImplicitImports, setCompilerMxmlMinimumSupportedVersion, setCompilerMxmlMinimumSupportedVersion, setCompilerMxmlQualifiedTypeSelectors, setCompilerNamespacesNamespace, setCompilerOmitTraceStatements, setCompilerOptimize, setCompilerPreloader, setCompilerProxyBaseClass, setCompilerReportInvalidStylesAsWarnings, setCompilerReportMissingRequiredSkinPartsAsWarnings, setCompilerServices, setCompilerShowActionscriptWarnings, setCompilerShowBindingWarnings, setCompilerShowDependencyWarnings, setCompilerShowDeprecationWarnings, setCompilerShowMultipleDefinitionWarnings, setCompilerShowShadowedDeviceFontWarnings, setCompilerShowUnusedTypeSelectorWarnings, setCompilerSourcePath, setCompilerStatesClass, setCompilerStatesEventOverrideClass, setCompilerStatesInstanceOverrideClass, setCompilerStatesPropertyOverrideClass, setCompilerStatesStyleOverrideClass, setCompilerStrict, setCompilerSuppressWarningsInIncremental, setCompilerTheme, setCompilerUseResourceBundleMetadata, setCompilerVerboseStacktraces, setCompilerWarnArrayTostringChanges, setCompilerWarnAssignmentWithinConditional, setCompilerWarnBadArrayCast, setCompilerWarnBadBoolAssignment, setCompilerWarnBadDateCast, setCompilerWarnBadEs3TypeMethod, setCompilerWarnBadEs3TypeProp, setCompilerWarnBadNanComparison, setCompilerWarnBadNullAssignment, setCompilerWarnBadNullComparison, setCompilerWarnBadUndefinedComparison, setCompilerWarnBooleanConstructorWithNoArgs, setCompilerWarnChangesInResolve, setCompilerWarnClassIsSealed, setCompilerWarnConstNotInitialized, setCompilerWarnConstructorReturnsValue, setCompilerWarnDeprecatedEventHandlerError, setCompilerWarnDeprecatedFunctionError, setCompilerWarnDeprecatedPropertyError, setCompilerWarnDuplicateArgumentNames, setCompilerWarnForVarInChanges, setCompilerWarnImportHidesClass, setCompilerWarnInstanceOfChanges, setCompilerWarnInternalError, setCompilerWarnLevelNotSupported, setCompilerWarnMissingNamespaceDecl, setCompilerWarnNegativeUintLiteral, setCompilerWarnNoConstructor, setCompilerWarnNoExplicitSuperCallInConstructor, setCompilerWarnNoTypeDecl, setCompilerWarnNumberFromStringChanges, setCompilerWarnScopingChangeInThis, setCompilerWarnSlowTextFieldAddition, setCompilerWarnUnlikelyFunctionValue, setCompilerWarnXmlClassHasChanged, setCompress, setComputeDigest, setCreateTargetWithErrors, setDebug, setDebugPassword, setDefaultBackgroundColor, setDefaultFrameRate, setDefaultScriptLimits, setDefaultsCSSFiles, setDefaultSize, setDependencyGraphOutput, setDumpAst, setDumpConfig, setEnableInlining, setEnableTelemetry, setEnableTelemetry, setErrorProblems, setES, setExcludeNativeJSLibraries, setExtension, setExterns, setFileSpecs, setFlex, setForceRsls, setFramesFrame, setFramework, setHelp, setIgnoreProblems, setIncludeClasses, setIncludeFiles, setIncludeInheritanceDependenciesOnly, setIncludeLookupOnly, setIncludeNamespaces, setIncludeResourceBundles, setIncludes, setIncludeSources, setIncludeStyleSheets, setLegacyMessageFormat, setLicensesLicense, setLinkReport, setLoadConfig, setLoadExterns, setMainDefinition, setMetadataContributor, setMetadataCreator, setMetadataDate, setMetadataDescription, setMetadataLanguage, setMetadataLocalizedDescription, setMetadataLocalizedTitle, setMetadataPublisher, setMetadataTitle, setMobile, setOutput, setOutputSwcAsDirectory, setOverrideStaticLinkRsl, setPathResolver, setRawMetadata, setRemoveDeadCode, setRemoveUnusedRsls, setReportMissingCompilerLibraries, setResourceBundleList, setRuntimeSharedLibraries, setRuntimeSharedLibraryPath, setShowInvalidCssPropertyWarnings, setSizeReport, setStaticLinkRuntimeSharedLibraries, setStrictXML, setStrictXML, setSwfVersion, setTargetFile, setTargetPlayer, setToolsLocale, setUseDirectBlit, setUseFlashBuilderProjectFiles, setUseGpu, setUseNetwork, setVerbose, setVerifyDigests, setVersion, setWarningProblems, setWarnings, setWarnOnFlexOnlyOptionUsage, showBindingWarnings, showDependencyWarnings, showDeprecationWarnings, showMultipleDefinitionWarnings, showUnusedTypeSelectorWarnings, strict, suppressWarningsInIncremental, useCompression, useConservativeAlgorithm, useLegacyMessageFormat, validate, validateNoCompcOnlyOptions, warn_array_tostring_changes, warn_assignment_within_conditional, warn_bad_array_cast, warn_bad_bool_assignment, warn_bad_date_cast, warn_bad_es3_type_method, warn_bad_es3_type_prop, warn_bad_nan_comparison, warn_bad_null_assignment, warn_bad_null_comparison, warn_bad_undefined_comparison, warn_boolean_constructor_with_no_args, warn_changes_in_resolve, warn_class_is_sealed, warn_const_not_initialized, warn_constructor_returns_value, warn_deprecated_event_handler_error, warn_deprecated_function_error, warn_deprecated_property_error, warn_duplicate_argument_names, warn_duplicate_variable_def, warn_for_var_in_changes, warn_import_hides_class, warn_instance_of_changes, warn_internal_error, warn_level_not_supported, warn_missing_namespace_decl, warn_negative_uint_literal, warn_no_constructor, warn_no_explicit_super_call_in_constructor, warn_no_type_decl, warn_number_from_string_changes, warn_scoping_change_in_this, warn_slow_text_field_addition, warn_unlikely_function_value, warn_xml_class_has_changed, warningsprotected String closureLib
public boolean isClosureLibSet()
public String getClosureLib()
public void setClosureLib(ConfigurationValue cv, String value) throws ConfigurationException
ConfigurationExceptionpublic String getBindingValueChangeEventType()
getBindingValueChangeEventType in class Configurationpublic void setCompilerBindingValueChangeEventType(ConfigurationValue cv, String b)
ConfigurationsetCompilerBindingValueChangeEventType in class Configurationpublic Boolean getCompilerMxmlChildrenAsData()
getCompilerMxmlChildrenAsData in class Configurationpublic void setCompilerMxmlChildrenAsData(ConfigurationValue cv, Boolean asData) throws ConfigurationException
setCompilerMxmlChildrenAsData in class ConfigurationConfigurationExceptionpublic String getMarmotinni()
public void setMarmotinni(ConfigurationValue cv, String value) throws ConfigurationException
ConfigurationExceptionpublic void setSDKJSLib(ConfigurationValue cv, List<String> value) throws ConfigurationException
ConfigurationExceptionpublic void setExternalJSLib(ConfigurationValue cv, List<String> value) throws ConfigurationException
ConfigurationExceptionpublic boolean getStrictPublish()
public void setStrictPublish(ConfigurationValue cv, boolean value) throws ConfigurationException
ConfigurationExceptionpublic boolean getKeepASDoc()
public void setKeepASDoc(ConfigurationValue cv, boolean value) throws ConfigurationException
ConfigurationExceptionpublic boolean getRemoveCirculars()
public void setRemoveCirculars(ConfigurationValue cv, boolean value) throws ConfigurationException
ConfigurationExceptionpublic boolean getSkipTranspile()
public void setSkipTranspile(ConfigurationValue cv, boolean value) throws ConfigurationException
ConfigurationExceptionprotected String getAbsolutePathFromPathRelativeToMXMLC(String relativePath) throws IOException
IOExceptionpublic void setJSCompilerOptions(ConfigurationValue cv, List<String> value) throws ConfigurationException
ConfigurationExceptionpublic void setJSOutputOptimizations(ConfigurationValue cv, List<String> value) throws ConfigurationException
ConfigurationExceptionCopyright © 2016 The Apache Software Foundation. All rights reserved.