net.jangaroo.jooc
Class Jooc
java.lang.Object
net.jangaroo.jooc.Jooc
public class Jooc
- extends Object
The Jangaroo AS3-to-JS Compiler's main class.
- Author:
- Andreas Gawecki, Frank Wienberg
| 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
AS_SUFFIX_NO_DOT
public static final String AS_SUFFIX_NO_DOT
- See Also:
- Constant Field Values
AS_SUFFIX
public static final String AS_SUFFIX
- 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()
Jooc
public Jooc(CompileLog log)
getAnyDeclaration
public IdeDeclaration getAnyDeclaration()
getVoidDeclaration
public IdeDeclaration getVoidDeclaration()
run
public int run(JoocConfiguration config)
getVersion
public String getVersion()
getRuntimeVersion
public String getRuntimeVersion()
getResultCodeDescription
public static String getResultCodeDescription(int resultCode)
error
public static net.jangaroo.jooc.Jooc.CompilerError error(String msg)
error
public static net.jangaroo.jooc.Jooc.CompilerError error(net.jangaroo.jooc.AstNode node,
String msg)
error
public static net.jangaroo.jooc.Jooc.CompilerError error(String msg,
Throwable t)
warning
public static void warning(JooSymbol symbol,
String msg)
warning
public static void warning(String msg)
importSource
protected CompilationUnit importSource(InputSource source)
processSource
protected void processSource(File file)
throws IOException
- Throws:
IOException
resolveImport
public IdeDeclaration resolveImport(ImportDirective importDirective)
getPackageIdes
public List<String> getPackageIdes(String packageName)
getConfig
public JoocConfiguration getConfig()
parse
protected CompilationUnit parse(InputSource in)
printVersion
protected void printVersion()
run
public int run(String[] argv)
main
public static void main(String[] argv)
Copyright © 2002-2011 CoreMedia AG. All Rights Reserved.