Search in sources :

Example 1 with AstNode

use of net.jangaroo.jooc.ast.AstNode in project jangaroo-tools by CoreMedia.

the class ConfigClassBuilder method visitCompilationUnit.

@Override
public void visitCompilationUnit(CompilationUnit compilationUnit) throws IOException {
    configClass = new ConfigClass();
    compilationUnit.getPackageDeclaration().visit(this);
    for (AstNode node : compilationUnit.getDirectives()) {
        node.visit(new ClassAnnotationsVisitor());
    }
    compilationUnit.getPrimaryDeclaration().visit(this);
}
Also used : ConfigClass(net.jangaroo.exml.model.ConfigClass) AstNode(net.jangaroo.jooc.ast.AstNode)

Aggregations

ConfigClass (net.jangaroo.exml.model.ConfigClass)1 AstNode (net.jangaroo.jooc.ast.AstNode)1