assert swfVersion != null : "header should have been parsed already, but wasn't";
contextStatics.setAbcVersion(ContextStatics.getTargetAVM(swfVersion));
contextStatics.use_namespaces.addAll(ContextStatics.getRequiredUseNamespaces(swfVersion));
Context context = new Context(contextStatics);
context.setHandler(new CompilerHandler());
AbcParser abcParser = new AbcParser(context, tag.abc);
context.setEmitter(new ActionBlockEmitter(context, tag.name, new StringPrintWriter(),
new StringPrintWriter(), false, false, false, false));
ProgramNode programNode = abcParser.parseAbc();