Annotation of parser3/src/include/code.h, revision 1.2

1.1       paf         1: /*
1.2     ! paf         2:   $Id: code.h,v 1.1 2001/02/20 18:45:51 paf Exp $
1.1       paf         3: */
                      4: 
                      5: #ifndef CODE_H
                      6: #define CODE_H
                      7: 
1.2     ! paf         8: #include "pa_string.h"
        !             9: #include "pa_array.h"
        !            10: 
1.1       paf        11: enum OPCODE {
                     12:        OP_STRING,
                     13:        OP_CODE_ARRAY,
                     14:        OP_WITH_ROOT,   OP_WITH_SELF,   OP_WITH_READ,   OP_WITH_WRITE,
                     15:        OP_CONSTRUCT,
                     16:        OP_EXPRESSION_EVAL,     OP_MODIFY_EVAL,
                     17:        OP_WRITE,
                     18:        OP_GET_ELEMENT, OP_GET_ELEMENT__WRITE,
                     19:        OP_CREATE_EWPOOL,       OP_REDUCE_EWPOOL,
                     20:        OP_CREATE_RWPOOL,       OP_REDUCE_RWPOOL,
                     21:        OP_GET_METHOD_FRAME,
                     22:        OP_CREATE_JUNCTION,
                     23:        OP_STORE_PARAM,
                     24:        OP_CALL
1.2     ! paf        25: };
        !            26: 
        !            27: union Operation {
        !            28:        void *cast; // casting helper 
        !            29: 
        !            30:        OPCODE code;
        !            31:        String *string;
        !            32:        Array *array;
1.1       paf        33: };
                     34: 
                     35: #endif

E-mail: