Package macromedia.asc.util

Examples of macromedia.asc.util.ObjectList


*/
public class Optimizer
{
    public static void main(String[] args)
    {
        ObjectList<String> file_names = new ObjectList();
        String output_file = "merged.abc";
        for( int i = 0; i < args.length; ++i )
        {
            if( args[i].equals("-o") )
            {
                output_file = args[++i];
            }
            else
            {
                file_names.add(args[i]);
            }
        }

        BytecodeBuffer[] byte_codes = new BytecodeBuffer[file_names.size()];
        for(int i = 0; i < file_names.size(); ++i )
        {
            try
            {
                BytecodeBuffer buf = new BytecodeBuffer(file_names.at(i));
                byte_codes[i] = buf;
            }
            catch( IOException ioe )
            {

View Full Code Here


      }
      else
      {
        if (genClassDef.interfaces != null)
        {
          ObjectList interfaces = genClassDef.interfaces.items;
          for (int i = 0; i < interfaces.size(); i++)
          {
            origClassDef.interfaces.items.add(genClassDef.interfaces.items.get(i));
          }
        }
      }
View Full Code Here

          if (as3Configuration.doc() && unit.getSource().isDebuggable())
          {
            StringBuilder out = new StringBuilder();
            out.append("<asdoc>").append("\n");

            ObjectList comments = printer.doccomments;
            int numComments = comments.size();
            for(int x = 0; x < numComments; x++)
            {
              ((DocCommentNode) comments.get(x)).emit(cx,out);
            }
            out.append("\n").append("</asdoc>").append("\n");
          }

          cx.popScope();
View Full Code Here

        cx.pushScope(node.frame);

        MetaDataEvaluator printer = new MetaDataEvaluator();
        node.evaluate(cx, printer);

        ObjectList comments = printer.doccomments;

        AbcClass abcClass = typeTable.getClass(unit.topLevelDefinitions.first().toString());
        tab.addComments(unit.topLevelDefinitions.first(), comments, inheritance, flag, cx, abcClass);

        cx.popScope();       
View Full Code Here

      }
      else
      {
        if (genClassDef.interfaces != null)
        {
          ObjectList interfaces = genClassDef.interfaces.items;
          for (int i = 0; i < interfaces.size(); i++)
          {
            origClassDef.interfaces.items.add(genClassDef.interfaces.items.get(i));
          }
        }
      }
View Full Code Here

TOP

Related Classes of macromedia.asc.util.ObjectList

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.