net.jangaroo.jooc
Class Jooc
java.lang.Object
net.jangaroo.jooc.JangarooParser
net.jangaroo.jooc.Jooc
- All Implemented Interfaces:
- Jooc
public class Jooc
- extends JangarooParser
- implements Jooc
The Jangaroo AS3-to-JS Compiler's main class.
- Author:
- Andreas Gawecki, Frank Wienberg
| Methods inherited from class net.jangaroo.jooc.JangarooParser |
declareValues, doParse, error, error, error, error, error, findSource, getCompilationsUnit, getInputSourceFileName, getLog, getPackageIdes, importSource, parse, resolveImport, setConfig, setLog, setUp, tearDown, warning, warning, warning |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface net.jangaroo.jooc.api.Jooc |
setLog |
CLASS_LOADER_NAME
public static final String CLASS_LOADER_NAME
- See Also:
- Constant Field Values
CLASS_LOADER_PACKAGE_NAME
public static final String CLASS_LOADER_PACKAGE_NAME
- See Also:
- Constant Field Values
CLASS_LOADER_FULLY_QUALIFIED_NAME
public static final String CLASS_LOADER_FULLY_QUALIFIED_NAME
- See Also:
- Constant Field Values
PUBLIC_API_EXCLUSION_ANNOTATION_NAME
public static final String PUBLIC_API_EXCLUSION_ANNOTATION_NAME
- See Also:
- Constant Field Values
PUBLIC_API_INCLUSION_ANNOTATION_NAME
public static final String PUBLIC_API_INCLUSION_ANNOTATION_NAME
- See Also:
- Constant Field Values
NATIVE_ANNOTATION_NAME
public static final String NATIVE_ANNOTATION_NAME
- See Also:
- Constant Field Values
Jooc
public Jooc()
Jooc
public Jooc(JoocConfiguration config)
Jooc
public Jooc(JoocConfiguration config,
CompileLog log)
getConfig
public JoocConfiguration getConfig()
- Overrides:
getConfig in class JangarooParser
setConfig
public void setConfig(JoocConfiguration config)
- Specified by:
setConfig in interface Jooc
run
public CompilationResult run()
- Specified by:
run in interface Jooc
writeOutput
public File writeOutput(File sourceFile,
CompilationUnit compilationUnit,
CompilationUnitSinkFactory writerFactory,
boolean verbose)
throws CompilerError
- Throws:
CompilerError
getResultCodeDescription
public static String getResultCodeDescription(int resultCode)
processSource
protected void processSource(File file)
throws IOException
- Throws:
IOException
run
public static int run(String[] argv,
CompileLog log)
main
public static void main(String[] argv)
Copyright © 2002-2013 CoreMedia AG. All Rights Reserved.