uk.co.badgersinfoil.jactionscript.javaswf
Class SWFActionsVisitor

java.lang.Object
  |
  +--uk.co.badgersinfoil.jactionscript.javaswf.SWFActionsVisitor
All Implemented Interfaces:
Visitor

public class SWFActionsVisitor
extends java.lang.Object
implements Visitor


Constructor Summary
SWFActionsVisitor(SWFActions actions)
           
 
Method Summary
 void visitADD(Action op)
           
 void visitAND(Action op)
           
 void visitASCII_TO_CHAR_MB(Action op)
           
 void visitASCII_TO_CHAR(Action op)
           
 void visitBIT_AND(Action op)
           
 void visitBIT_OR(Action op)
           
 void visitBIT_XOR(Action op)
           
 void visitCALL_FUNCTION(Action op)
           
 void visitCALL_METHOD(Action op)
           
 void visitCALL(Action op)
           
 void visitCHAR_MB_TO_ASCII(Action op)
           
 void visitCHAR_TO_ASCII(Action op)
           
 void visitCLONE_SPRITE(Action op)
           
 void visitCONCAT(Action op)
           
 void visitCONVERT_TO_NUMBER(Action op)
           
 void visitCONVERT_TO_STRING(Action op)
           
 void visitDECREMENT(Action op)
           
 void visitDEFINE_LOCAL_VALUE(Action op)
           
 void visitDEFINE_LOCAL(Action op)
           
 void visitDELETE_PROPERTY(Action op)
           
 void visitDELETE_THREAD_VARS(Action op)
           
 void visitDIVIDE(Action op)
           
 void visitDUPLICATE(Action op)
           
 void visitEND_DRAG(Action op)
           
 void visitEnd(ActionList list)
          Called after the last Action in a list is visited
 void visitENUMERATE_OBJECT(Action op)
           
 void visitENUMERATE(Action op)
           
 void visitEQUALS(Action op)
           
 void visitGET_MEMBER(Action op)
           
 void visitGET_PROPERTY(Action op)
           
 void visitGET_TARGET_PATH(Action op)
           
 void visitGET_TIME(Action op)
           
 void visitGET_URL(GetURLAction op)
           
 void visitGET_URL2(GetURL2Action op)
           
 void visitGET_VARIABLE(Action op)
           
 void visitGOTO_FRAME(GotoFrameAction op)
           
 void visitGOTO_FRAME2(GotoFrame2Action op)
           
 void visitGOTO_LABEL(GotoLabelAction op)
           
 void visitGREATER_THAN(Action op)
           
 void visitHandle(ActionHandle handle)
          the handle of a Action is always visited before the Action itself.
 void visitIF_JUMP(IfJumpAction op)
           
 void visitINCREMENT(Action op)
           
 void visitINIT_ARRAY(Action op)
           
 void visitINIT_OBJECT(Action op)
           
 void visitINSTANCE_OF(Action op)
           
 void visitJUMP(JumpAction op)
           
 void visitLESS_THAN(Action op)
           
 void visitLOOKUP_TABLE(LookupTableAction op)
           
 void visitLOOKUP(LookupAction op)
           
 void visitMODULO(Action op)
           
 void visitMULTIPLY(Action op)
           
 void visitNEW_METHOD(Action op)
           
 void visitNEW_OBJECT(Action op)
           
 void visitNEXT_FRAME(Action op)
           
 void visitNOT(Action op)
           
 void visitOR(Action op)
           
 void visitPLAY(Action op)
           
 void visitPOP(Action op)
           
 void visitPREV_FRAME(Action op)
           
 void visitPUSH(PushAction op)
           
 void visitRANDOM_NUMBER(Action op)
           
 void visitREMOVE_SPRITE(Action op)
           
 void visitRETURN_VALUE(Action op)
           
 void visitSET_MEMBER(Action op)
           
 void visitSET_PROPERTY(Action op)
           
 void visitSET_TARGET_2(Action op)
           
 void visitSET_TARGET(SetTargetAction op)
           
 void visitSET_VARIABLE(Action op)
           
 void visitSHIFT_LEFT(Action op)
           
 void visitSHIFT_RIGHT_UNSIGNED(Action op)
           
 void visitSHIFT_RIGHT(Action op)
           
 void visitSTART_DRAG(Action op)
           
 void visitSTART_FUNCTION(StartFunctionAction op)
           
 void visitSTART_WITH(Action op)
           
 void visitSTOP_SOUNDS(Action op)
           
 void visitSTOP(Action op)
           
 void visitSTORE_IN_REGISTER(StoreInRegisterAction op)
           
 void visitSTRICT_EQUALS(Action op)
           
 void visitSTRING_EQUALS(Action op)
           
 void visitSTRING_GREATER_THAN(Action op)
           
 void visitSTRING_LENGTH_MB(Action op)
           
 void visitSTRING_LENGTH(Action op)
           
 void visitSTRING_LESS_THAN(Action op)
           
 void visitSUBSTRING_MB(Action op)
           
 void visitSUBSTRING(Action op)
           
 void visitSUBTRACT(Action op)
           
 void visitSWAP(Action op)
           
 void visitTO_INTEGER(Action op)
           
 void visitTOGGLE_QUALITY(Action op)
           
 void visitTRACE(Action op)
           
 void visitTYPE_OF(Action op)
           
 void visitTYPED_ADD(Action op)
           
 void visitTYPED_EQUALS(Action op)
           
 void visitTYPED_LESS_THAN(Action op)
           
 void visitUNKNOWN(UnknownAction op)
           
 void visitWAIT_FOR_FRAME_2(WaitForFrame2Action op)
           
 void visitWAIT_FOR_FRAME(WaitForFrameAction op)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SWFActionsVisitor

public SWFActionsVisitor(SWFActions actions)
Method Detail

visitHandle

public void visitHandle(ActionHandle handle)
                 throws JASVisitorException
Description copied from interface: Visitor
the handle of a Action is always visited before the Action itself. (The implementation of visitHandle() doesn't have to visit the Action referenced by the handle, this is done elsewhere.)

Specified by:
visitHandle in interface Visitor
JASVisitorException

visitEnd

public void visitEnd(ActionList list)
              throws JASVisitorException
Description copied from interface: Visitor
Called after the last Action in a list is visited

Specified by:
visitEnd in interface Visitor
JASVisitorException

visitADD

public void visitADD(Action op)
              throws JASVisitorException
Specified by:
visitADD in interface Visitor
JASVisitorException

visitAND

public void visitAND(Action op)
              throws JASVisitorException
Specified by:
visitAND in interface Visitor
JASVisitorException

visitASCII_TO_CHAR

public void visitASCII_TO_CHAR(Action op)
                        throws JASVisitorException
Specified by:
visitASCII_TO_CHAR in interface Visitor
JASVisitorException

visitASCII_TO_CHAR_MB

public void visitASCII_TO_CHAR_MB(Action op)
                           throws JASVisitorException
Specified by:
visitASCII_TO_CHAR_MB in interface Visitor
JASVisitorException

visitBIT_AND

public void visitBIT_AND(Action op)
                  throws JASVisitorException
Specified by:
visitBIT_AND in interface Visitor
JASVisitorException

visitBIT_OR

public void visitBIT_OR(Action op)
                 throws JASVisitorException
Specified by:
visitBIT_OR in interface Visitor
JASVisitorException

visitBIT_XOR

public void visitBIT_XOR(Action op)
                  throws JASVisitorException
Specified by:
visitBIT_XOR in interface Visitor
JASVisitorException

visitCALL

public void visitCALL(Action op)
               throws JASVisitorException
Specified by:
visitCALL in interface Visitor
JASVisitorException

visitCALL_FUNCTION

public void visitCALL_FUNCTION(Action op)
                        throws JASVisitorException
Specified by:
visitCALL_FUNCTION in interface Visitor
JASVisitorException

visitCALL_METHOD

public void visitCALL_METHOD(Action op)
                      throws JASVisitorException
Specified by:
visitCALL_METHOD in interface Visitor
JASVisitorException

visitCHAR_MB_TO_ASCII

public void visitCHAR_MB_TO_ASCII(Action op)
                           throws JASVisitorException
Specified by:
visitCHAR_MB_TO_ASCII in interface Visitor
JASVisitorException

visitCHAR_TO_ASCII

public void visitCHAR_TO_ASCII(Action op)
                        throws JASVisitorException
Specified by:
visitCHAR_TO_ASCII in interface Visitor
JASVisitorException

visitCLONE_SPRITE

public void visitCLONE_SPRITE(Action op)
                       throws JASVisitorException
Specified by:
visitCLONE_SPRITE in interface Visitor
JASVisitorException

visitCONCAT

public void visitCONCAT(Action op)
                 throws JASVisitorException
Specified by:
visitCONCAT in interface Visitor
JASVisitorException

visitCONVERT_TO_NUMBER

public void visitCONVERT_TO_NUMBER(Action op)
                            throws JASVisitorException
Specified by:
visitCONVERT_TO_NUMBER in interface Visitor
JASVisitorException

visitCONVERT_TO_STRING

public void visitCONVERT_TO_STRING(Action op)
                            throws JASVisitorException
Specified by:
visitCONVERT_TO_STRING in interface Visitor
JASVisitorException

visitDECREMENT

public void visitDECREMENT(Action op)
                    throws JASVisitorException
Specified by:
visitDECREMENT in interface Visitor
JASVisitorException

visitDEFINE_LOCAL

public void visitDEFINE_LOCAL(Action op)
                       throws JASVisitorException
Specified by:
visitDEFINE_LOCAL in interface Visitor
JASVisitorException

visitDEFINE_LOCAL_VALUE

public void visitDEFINE_LOCAL_VALUE(Action op)
                             throws JASVisitorException
Specified by:
visitDEFINE_LOCAL_VALUE in interface Visitor
JASVisitorException

visitDELETE_PROPERTY

public void visitDELETE_PROPERTY(Action op)
                          throws JASVisitorException
Specified by:
visitDELETE_PROPERTY in interface Visitor
JASVisitorException

visitDELETE_THREAD_VARS

public void visitDELETE_THREAD_VARS(Action op)
                             throws JASVisitorException
Specified by:
visitDELETE_THREAD_VARS in interface Visitor
JASVisitorException

visitDIVIDE

public void visitDIVIDE(Action op)
                 throws JASVisitorException
Specified by:
visitDIVIDE in interface Visitor
JASVisitorException

visitDUPLICATE

public void visitDUPLICATE(Action op)
                    throws JASVisitorException
Specified by:
visitDUPLICATE in interface Visitor
JASVisitorException

visitEND_DRAG

public void visitEND_DRAG(Action op)
                   throws JASVisitorException
Specified by:
visitEND_DRAG in interface Visitor
JASVisitorException

visitENUMERATE

public void visitENUMERATE(Action op)
                    throws JASVisitorException
Specified by:
visitENUMERATE in interface Visitor
JASVisitorException

visitENUMERATE_OBJECT

public void visitENUMERATE_OBJECT(Action op)
                           throws JASVisitorException
Specified by:
visitENUMERATE_OBJECT in interface Visitor
JASVisitorException

visitEQUALS

public void visitEQUALS(Action op)
                 throws JASVisitorException
Specified by:
visitEQUALS in interface Visitor
JASVisitorException

visitGET_MEMBER

public void visitGET_MEMBER(Action op)
                     throws JASVisitorException
Specified by:
visitGET_MEMBER in interface Visitor
JASVisitorException

visitGET_PROPERTY

public void visitGET_PROPERTY(Action op)
                       throws JASVisitorException
Specified by:
visitGET_PROPERTY in interface Visitor
JASVisitorException

visitGET_TARGET_PATH

public void visitGET_TARGET_PATH(Action op)
                          throws JASVisitorException
Specified by:
visitGET_TARGET_PATH in interface Visitor
JASVisitorException

visitGET_TIME

public void visitGET_TIME(Action op)
                   throws JASVisitorException
Specified by:
visitGET_TIME in interface Visitor
JASVisitorException

visitGET_URL2

public void visitGET_URL2(GetURL2Action op)
                   throws JASVisitorException
Specified by:
visitGET_URL2 in interface Visitor
JASVisitorException

visitGET_URL

public void visitGET_URL(GetURLAction op)
                  throws JASVisitorException
Specified by:
visitGET_URL in interface Visitor
JASVisitorException

visitGET_VARIABLE

public void visitGET_VARIABLE(Action op)
                       throws JASVisitorException
Specified by:
visitGET_VARIABLE in interface Visitor
JASVisitorException

visitGOTO_FRAME2

public void visitGOTO_FRAME2(GotoFrame2Action op)
                      throws JASVisitorException
Specified by:
visitGOTO_FRAME2 in interface Visitor
JASVisitorException

visitGOTO_FRAME

public void visitGOTO_FRAME(GotoFrameAction op)
                     throws JASVisitorException
Specified by:
visitGOTO_FRAME in interface Visitor
JASVisitorException

visitGOTO_LABEL

public void visitGOTO_LABEL(GotoLabelAction op)
                     throws JASVisitorException
Specified by:
visitGOTO_LABEL in interface Visitor
JASVisitorException

visitGREATER_THAN

public void visitGREATER_THAN(Action op)
                       throws JASVisitorException
Specified by:
visitGREATER_THAN in interface Visitor
JASVisitorException

visitIF_JUMP

public void visitIF_JUMP(IfJumpAction op)
                  throws JASVisitorException
Specified by:
visitIF_JUMP in interface Visitor
JASVisitorException

visitINCREMENT

public void visitINCREMENT(Action op)
                    throws JASVisitorException
Specified by:
visitINCREMENT in interface Visitor
JASVisitorException

visitINIT_ARRAY

public void visitINIT_ARRAY(Action op)
                     throws JASVisitorException
Specified by:
visitINIT_ARRAY in interface Visitor
JASVisitorException

visitINIT_OBJECT

public void visitINIT_OBJECT(Action op)
                      throws JASVisitorException
Specified by:
visitINIT_OBJECT in interface Visitor
JASVisitorException

visitINSTANCE_OF

public void visitINSTANCE_OF(Action op)
                      throws JASVisitorException
Specified by:
visitINSTANCE_OF in interface Visitor
JASVisitorException

visitJUMP

public void visitJUMP(JumpAction op)
               throws JASVisitorException
Specified by:
visitJUMP in interface Visitor
JASVisitorException

visitLESS_THAN

public void visitLESS_THAN(Action op)
                    throws JASVisitorException
Specified by:
visitLESS_THAN in interface Visitor
JASVisitorException

visitLOOKUP

public void visitLOOKUP(LookupAction op)
                 throws JASVisitorException
Specified by:
visitLOOKUP in interface Visitor
JASVisitorException

visitLOOKUP_TABLE

public void visitLOOKUP_TABLE(LookupTableAction op)
                       throws JASVisitorException
Specified by:
visitLOOKUP_TABLE in interface Visitor
JASVisitorException

visitMODULO

public void visitMODULO(Action op)
                 throws JASVisitorException
Specified by:
visitMODULO in interface Visitor
JASVisitorException

visitMULTIPLY

public void visitMULTIPLY(Action op)
                   throws JASVisitorException
Specified by:
visitMULTIPLY in interface Visitor
JASVisitorException

visitNEW_METHOD

public void visitNEW_METHOD(Action op)
                     throws JASVisitorException
Specified by:
visitNEW_METHOD in interface Visitor
JASVisitorException

visitNEW_OBJECT

public void visitNEW_OBJECT(Action op)
                     throws JASVisitorException
Specified by:
visitNEW_OBJECT in interface Visitor
JASVisitorException

visitNEXT_FRAME

public void visitNEXT_FRAME(Action op)
                     throws JASVisitorException
Specified by:
visitNEXT_FRAME in interface Visitor
JASVisitorException

visitNOT

public void visitNOT(Action op)
              throws JASVisitorException
Specified by:
visitNOT in interface Visitor
JASVisitorException

visitOR

public void visitOR(Action op)
             throws JASVisitorException
Specified by:
visitOR in interface Visitor
JASVisitorException

visitPLAY

public void visitPLAY(Action op)
               throws JASVisitorException
Specified by:
visitPLAY in interface Visitor
JASVisitorException

visitPOP

public void visitPOP(Action op)
              throws JASVisitorException
Specified by:
visitPOP in interface Visitor
JASVisitorException

visitPREV_FRAME

public void visitPREV_FRAME(Action op)
                     throws JASVisitorException
Specified by:
visitPREV_FRAME in interface Visitor
JASVisitorException

visitPUSH

public void visitPUSH(PushAction op)
               throws JASVisitorException
Specified by:
visitPUSH in interface Visitor
JASVisitorException

visitRANDOM_NUMBER

public void visitRANDOM_NUMBER(Action op)
                        throws JASVisitorException
Specified by:
visitRANDOM_NUMBER in interface Visitor
JASVisitorException

visitREMOVE_SPRITE

public void visitREMOVE_SPRITE(Action op)
                        throws JASVisitorException
Specified by:
visitREMOVE_SPRITE in interface Visitor
JASVisitorException

visitRETURN_VALUE

public void visitRETURN_VALUE(Action op)
                       throws JASVisitorException
Specified by:
visitRETURN_VALUE in interface Visitor
JASVisitorException

visitSET_MEMBER

public void visitSET_MEMBER(Action op)
                     throws JASVisitorException
Specified by:
visitSET_MEMBER in interface Visitor
JASVisitorException

visitSET_PROPERTY

public void visitSET_PROPERTY(Action op)
                       throws JASVisitorException
Specified by:
visitSET_PROPERTY in interface Visitor
JASVisitorException

visitSET_TARGET_2

public void visitSET_TARGET_2(Action op)
                       throws JASVisitorException
Specified by:
visitSET_TARGET_2 in interface Visitor
JASVisitorException

visitSET_TARGET

public void visitSET_TARGET(SetTargetAction op)
                     throws JASVisitorException
Specified by:
visitSET_TARGET in interface Visitor
JASVisitorException

visitSET_VARIABLE

public void visitSET_VARIABLE(Action op)
                       throws JASVisitorException
Specified by:
visitSET_VARIABLE in interface Visitor
JASVisitorException

visitSHIFT_LEFT

public void visitSHIFT_LEFT(Action op)
                     throws JASVisitorException
Specified by:
visitSHIFT_LEFT in interface Visitor
JASVisitorException

visitSHIFT_RIGHT

public void visitSHIFT_RIGHT(Action op)
                      throws JASVisitorException
Specified by:
visitSHIFT_RIGHT in interface Visitor
JASVisitorException

visitSHIFT_RIGHT_UNSIGNED

public void visitSHIFT_RIGHT_UNSIGNED(Action op)
                               throws JASVisitorException
Specified by:
visitSHIFT_RIGHT_UNSIGNED in interface Visitor
JASVisitorException

visitSTART_DRAG

public void visitSTART_DRAG(Action op)
                     throws JASVisitorException
Specified by:
visitSTART_DRAG in interface Visitor
JASVisitorException

visitSTART_FUNCTION

public void visitSTART_FUNCTION(StartFunctionAction op)
                         throws JASVisitorException
Specified by:
visitSTART_FUNCTION in interface Visitor
JASVisitorException

visitSTART_WITH

public void visitSTART_WITH(Action op)
                     throws JASVisitorException
Specified by:
visitSTART_WITH in interface Visitor
JASVisitorException

visitSTOP

public void visitSTOP(Action op)
               throws JASVisitorException
Specified by:
visitSTOP in interface Visitor
JASVisitorException

visitSTOP_SOUNDS

public void visitSTOP_SOUNDS(Action op)
                      throws JASVisitorException
Specified by:
visitSTOP_SOUNDS in interface Visitor
JASVisitorException

visitSTORE_IN_REGISTER

public void visitSTORE_IN_REGISTER(StoreInRegisterAction op)
                            throws JASVisitorException
Specified by:
visitSTORE_IN_REGISTER in interface Visitor
JASVisitorException

visitSTRICT_EQUALS

public void visitSTRICT_EQUALS(Action op)
                        throws JASVisitorException
Specified by:
visitSTRICT_EQUALS in interface Visitor
JASVisitorException

visitSTRING_EQUALS

public void visitSTRING_EQUALS(Action op)
                        throws JASVisitorException
Specified by:
visitSTRING_EQUALS in interface Visitor
JASVisitorException

visitSTRING_GREATER_THAN

public void visitSTRING_GREATER_THAN(Action op)
                              throws JASVisitorException
Specified by:
visitSTRING_GREATER_THAN in interface Visitor
JASVisitorException

visitSTRING_LENGTH

public void visitSTRING_LENGTH(Action op)
                        throws JASVisitorException
Specified by:
visitSTRING_LENGTH in interface Visitor
JASVisitorException

visitSTRING_LENGTH_MB

public void visitSTRING_LENGTH_MB(Action op)
                           throws JASVisitorException
Specified by:
visitSTRING_LENGTH_MB in interface Visitor
JASVisitorException

visitSTRING_LESS_THAN

public void visitSTRING_LESS_THAN(Action op)
                           throws JASVisitorException
Specified by:
visitSTRING_LESS_THAN in interface Visitor
JASVisitorException

visitSUBSTRING

public void visitSUBSTRING(Action op)
                    throws JASVisitorException
Specified by:
visitSUBSTRING in interface Visitor
JASVisitorException

visitSUBSTRING_MB

public void visitSUBSTRING_MB(Action op)
                       throws JASVisitorException
Specified by:
visitSUBSTRING_MB in interface Visitor
JASVisitorException

visitSUBTRACT

public void visitSUBTRACT(Action op)
                   throws JASVisitorException
Specified by:
visitSUBTRACT in interface Visitor
JASVisitorException

visitSWAP

public void visitSWAP(Action op)
               throws JASVisitorException
Specified by:
visitSWAP in interface Visitor
JASVisitorException

visitTOGGLE_QUALITY

public void visitTOGGLE_QUALITY(Action op)
                         throws JASVisitorException
Specified by:
visitTOGGLE_QUALITY in interface Visitor
JASVisitorException

visitTO_INTEGER

public void visitTO_INTEGER(Action op)
                     throws JASVisitorException
Specified by:
visitTO_INTEGER in interface Visitor
JASVisitorException

visitTRACE

public void visitTRACE(Action op)
                throws JASVisitorException
Specified by:
visitTRACE in interface Visitor
JASVisitorException

visitTYPED_ADD

public void visitTYPED_ADD(Action op)
                    throws JASVisitorException
Specified by:
visitTYPED_ADD in interface Visitor
JASVisitorException

visitTYPED_EQUALS

public void visitTYPED_EQUALS(Action op)
                       throws JASVisitorException
Specified by:
visitTYPED_EQUALS in interface Visitor
JASVisitorException

visitTYPED_LESS_THAN

public void visitTYPED_LESS_THAN(Action op)
                          throws JASVisitorException
Specified by:
visitTYPED_LESS_THAN in interface Visitor
JASVisitorException

visitTYPE_OF

public void visitTYPE_OF(Action op)
                  throws JASVisitorException
Specified by:
visitTYPE_OF in interface Visitor
JASVisitorException

visitUNKNOWN

public void visitUNKNOWN(UnknownAction op)
                  throws JASVisitorException
Specified by:
visitUNKNOWN in interface Visitor
JASVisitorException

visitWAIT_FOR_FRAME

public void visitWAIT_FOR_FRAME(WaitForFrameAction op)
                         throws JASVisitorException
Specified by:
visitWAIT_FOR_FRAME in interface Visitor
JASVisitorException

visitWAIT_FOR_FRAME_2

public void visitWAIT_FOR_FRAME_2(WaitForFrame2Action op)
                           throws JASVisitorException
Specified by:
visitWAIT_FOR_FRAME_2 in interface Visitor
JASVisitorException