String fileName = className.replace('.', File.separatorChar) + DOT_AS;
VirtualFile emptyFile = new TextFile(EMPTY_STRING, fileName, null, MimeMappings.AS,
compilationUnit.getSource().getLastModified());
Source result = new Source(emptyFile, EMPTY_STRING, shortName, null, false, false, false);
Context cx = AbstractSyntaxTreeUtil.generateContext(symbolTable.perCompileData, result,
symbolTable.emitter, defines);
NodeFactory nodeFactory = cx.getNodeFactory();
HashSet<String> configNamespaces = new HashSet<String>();
StatementListNode configVars = AbstractSyntaxTreeUtil.parseConfigVars(cx, configNamespaces);
ProgramNode program = AbstractSyntaxTreeUtil.generateProgram(cx, configVars, EMPTY_STRING);
StatementListNode programStatementList = program.statements;