*/
private CompilationUnit compileInterface(Source newSource, Source origSource, DocumentInfo info,
LineNumberMap map, SymbolTable symbolTable)
{
// set the current logger to the one with line number mapping support
Logger original = ThreadLocalToolkit.getLogger();
if (mxmlConfiguration.getGenerateAbstractSyntaxTree())
{
Logger adapter = new AbstractSyntaxTreeLogAdapter(original);
ThreadLocalToolkit.setLogger(adapter);
}
else
{
MxmlLogAdapter adapter = new MxmlLogAdapter(original, map);
adapter.addLineNumberMaps(origSource.getSourceFragmentLineMaps());
ThreadLocalToolkit.setLogger(adapter);
}
CompilationUnit interfaceUnit = asc.parse1(newSource, symbolTable);