public void finishScript()
{
IScriptVisitor sv = visitor.visitScript();
sv.visit();
ITraitsVisitor scriptTraits = sv.visitTraits();
scriptTraits.visit();
scriptTraits.visitClassTrait(ABCConstants.TRAIT_Class, className, 0, cinfo);
scriptTraits.visitEnd();
MethodInfo scriptInitMethodInfo = new MethodInfo();
IMethodVisitor scriptInitMethodVisitor = visitor.visitMethod(scriptInitMethodInfo);
scriptInitMethodVisitor.visit();