public class Jooc extends JangarooParser implements Jooc
JOO_API_IN_SWC_DIRECTORY_PREFIX, logAS_SUFFIX, AS_SUFFIX_NO_DOT, INPUT_FILE_SUFFIX, MXML_SUFFIX, MXML_SUFFIX_NO_DOT, OUTPUT_FILE_SUFFIX, PROPERTIES_SUFFIX, PROPERTIES_SUFFIX_NO_DOT, SCSS_SUFFIX, SCSS_SUFFIX_NO_DOT| Constructor and Description |
|---|
Jooc() |
Jooc(JoocConfiguration config) |
Jooc(JoocConfiguration config,
CompileLog log) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
copySassFiles() |
JoocConfiguration |
getConfig() |
String |
getOutputSuffix() |
static String |
getOutputSuffix(boolean isMigrateToTypeScript) |
static String |
getResultCodeDescription(int resultCode) |
static void |
main(String[] argv) |
protected void |
processSource(File file) |
CompilationResult |
run() |
static int |
run(String[] argv,
CompileLog log) |
void |
setConfig(JoocConfiguration config) |
File |
writeOutput(File sourceFile,
CompilationUnit compilationUnit,
CompilationUnitSinkFactory writerFactory,
boolean verbose) |
createPropertiesClassReader, declareValues, doParse, error, error, error, error, error, error, error, fileToSymbol, findSource, getAnyType, getCompilableSuffixes, getCompilationUnit, getCompilationUnits, getInputSource, getInputSourceFileName, getLog, getMxmlComponentRegistry, getPackageIdes, getVoidType, implementsInterface, implementsInterface, importSource, isClass, resolveCompilationUnit, resolveImport, setCompilableSuffixes, setConfig, setLog, setUp, tearDown, warning, warning, warningpublic static final String PUBLIC_API_EXCLUSION_ANNOTATION_NAME
public static final String PUBLIC_API_INCLUSION_ANNOTATION_NAME
public static final String DEPRECATED_ANNOTATION_NAME
public static final String NATIVE_ANNOTATION_NAME
public static final String NATIVE_ANNOTATION_REQUIRE_PROPERTY
public static final String RENAME_ANNOTATION_NAME
public static final String MIXIN_ANNOTATION_NAME
public static final String MIXIN_HOOK_ANNOTATION_NAME
public static final String MIXIN_HOOK_ANNOTATION_EXTENDED_ATTRIBUTE_NAME
public static final String MIXIN_HOOK_ANNOTATION_DEFAULT_ATTRIBUTE_NAME
public static final Set<String> MIXIN_HOOK_ANNOTATION_ATTRIBUTE_NAMES
public static final String BINDABLE_ANNOTATION_NAME
public static final String EXT_CONFIG_ANNOTATION_NAME
public static final String EXT_PRIVATE_ANNOTATION_NAME
public static final String EMBED_ANNOTATION_NAME
public static final String EMBED_ANNOTATION_SOURCE_PROPERTY
public static final String RESOURCE_BUNDLE_ANNOTATION_NAME
public static final String ARRAY_ELEMENT_TYPE_ANNOTATION_NAME
public static final String EVENT_ANNOTATION_NAME
public static final String EVENT_ANNOTATION_NAME_ATTRIBUTE_NAME
public static final String EVENT_ANNOTATION_TYPE_ATTRIBUTE_NAME
public static final String LAZY_ANNOTATION_NAME
public static final String PARAMETER_ANNOTATION_NAME
public static final String PARAMETER_ANNOTATION_REQUIRED_PROPERTY
public static final String PARAMETER_ANNOTATION_COERCE_TO_PROPERTY
public static final String COERCE_TO_VALUE_PROPERTIES_CLASS
public static final String COERCE_TO_VALUE_KEYOF_PREFIX
public static final String RETURN_ANNOTATION_NAME
public static final String TS_SUFFIX
public static final String D_TS_SUFFIX
public Jooc()
public Jooc(JoocConfiguration config)
public Jooc(JoocConfiguration config, CompileLog log)
public static String getOutputSuffix(boolean isMigrateToTypeScript)
public JoocConfiguration getConfig()
getConfig in class JangarooParserpublic void setConfig(JoocConfiguration config)
public String getOutputSuffix()
public CompilationResult run()
public File writeOutput(File sourceFile, CompilationUnit compilationUnit, CompilationUnitSinkFactory writerFactory, boolean verbose) throws CompilerError
CompilerErrorpublic static String getResultCodeDescription(int resultCode)
protected void processSource(File file) throws IOException
IOExceptionprotected void copySassFiles()
throws IOException
IOExceptionpublic static int run(String[] argv, CompileLog log)
public static void main(String[] argv)
Copyright © 2002–2021 CoreMedia AG. All rights reserved.