Package tv.porst.swfretools.parser.structures

Examples of tv.porst.swfretools.parser.structures.AS3Code


    while (parser.getBytePosition() < end) {
      instructions.add(decodeInstruction(parser, fieldName));
    }

    return new AS3Code(new AS3InstructionList(instructions));
  }
View Full Code Here


        errors.add(String.format("Can not find method header for method %d because method header ID is out of bounds", methodIndex));
      }
      else {
        final MethodInfo methodInfo = data.getMethodInfos().get(methodIndex);

        final AS3Code code = methodBody.getCode();

        final ResolvedMethod resolvedMethod = resolveMethod(methodInfo, code, constantStrings, multiNames, namespaces, errors);
        methodMapping.put(methodInfo, resolvedMethod);
      }
    }
View Full Code Here

    final String[] methodName = resolveMethodName(traitsInfo, constantStringList, multinameList, namespaceList, errors);

    final MethodInfo method = methodList.get(methodIndex);
    final ResolvedMethod resolvedMethod = methodMapping.get(method);
    final AS3Code code = resolvedMethod.getCode();

    return new ResolvedMethod(resolvedMethod.getReturnType(), methodName, resolvedMethod.getArguments(), code);
  }
View Full Code Here

    }

    sb.append(")");

    // Print the code.
    final AS3Code methodCode = resolvedMethod.getCode();

    if (methodCode == null) {
      sb.append(";\n");
      return false;
    }
View Full Code Here

TOP

Related Classes of tv.porst.swfretools.parser.structures.AS3Code

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.