net.jangaroo.jooc
Class Jooc
java.lang.Object
net.jangaroo.jooc.JangarooParser
net.jangaroo.jooc.Jooc
public class Jooc
- extends JangarooParser
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, findSource, getCompilationsUnit, getInputSourceFileName, getPackageIdes, importSource, parse, resolveImport, setUp, tearDown, warning, warning |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RESULT_CODE_OK
public static final int RESULT_CODE_OK
- See Also:
- Constant Field Values
RESULT_CODE_COMPILATION_FAILED
public static final int RESULT_CODE_COMPILATION_FAILED
- See Also:
- Constant Field Values
RESULT_CODE_INTERNAL_COMPILER_ERROR
public static final int RESULT_CODE_INTERNAL_COMPILER_ERROR
- See Also:
- Constant Field Values
RESULT_CODE_UNRECOGNIZED_OPTION
public static final int RESULT_CODE_UNRECOGNIZED_OPTION
- See Also:
- Constant Field Values
RESULT_CODE_MISSING_OPTION_ARGUMENT
public static final int RESULT_CODE_MISSING_OPTION_ARGUMENT
- See Also:
- Constant Field Values
RESULT_CODE_ILLEGAL_OPTION_VALUE
public static final int RESULT_CODE_ILLEGAL_OPTION_VALUE
- See Also:
- Constant Field Values
INPUT_FILE_SUFFIX
public static final String INPUT_FILE_SUFFIX
- See Also:
- Constant Field Values
OUTPUT_FILE_SUFFIX
public static final String OUTPUT_FILE_SUFFIX
- See Also:
- Constant Field Values
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
Jooc
public Jooc(JoocConfiguration config)
Jooc
public Jooc(JoocConfiguration config,
CompileLog log)
getConfig
public JoocConfiguration getConfig()
- Overrides:
getConfig in class JangarooParser
run
public int run()
writeOutput
public void writeOutput(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
printVersion
protected static void printVersion()
run
public static int run(String[] argv,
CompileLog log)
main
public static void main(String[] argv)
Copyright © 2002-2011 CoreMedia AG. All Rights Reserved.