net.jangaroo.jooc.backend
Class ApiModelGenerator

java.lang.Object
  extended by net.jangaroo.jooc.backend.ApiModelGenerator

public class ApiModelGenerator
extends Object

Generates a model of the given compilation unit AST. Feeding this model to an ActionScriptCodeGeneratingModelVisitor generates reduced ActionScript source code. The reduced code is used as reference during compilation and can be run through the asdoc tool.


Constructor Summary
ApiModelGenerator(boolean excludeClassByDefault)
           
 
Method Summary
 CompilationUnitModel generateModel(CompilationUnit compilationUnit)
           
 boolean isExcludeClassByDefault()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApiModelGenerator

public ApiModelGenerator(boolean excludeClassByDefault)
Method Detail

isExcludeClassByDefault

public boolean isExcludeClassByDefault()

generateModel

public CompilationUnitModel generateModel(CompilationUnit compilationUnit)
                                   throws IOException
Throws:
IOException


Copyright © 2002–2014 CoreMedia AG. All rights reserved.