--- parser3/src/include/pa_opcode.h 2001/11/05 11:46:24 1.8 +++ parser3/src/include/pa_opcode.h 2002/02/08 08:30:13 1.14 @@ -1,17 +1,16 @@ /** @file Parser: compiled code related decls. - Copyright (c) 2001 ArtLebedev Group (http://www.artlebedev.com) + Copyright (c) 2001, 2002 ArtLebedev Group (http://www.artlebedev.com) - Author: Alexander Petrosyan (http://paf.design.ru) + Author: Alexandr Petrosian (http://paf.design.ru) - $Id: pa_opcode.h,v 1.8 2001/11/05 11:46:24 paf Exp $ + $Id: pa_opcode.h,v 1.14 2002/02/08 08:30:13 paf Exp $ */ #ifndef CODE_H #define CODE_H -#include "pa_config_includes.h" #include "pa_string.h" #include "pa_array.h" @@ -23,6 +22,7 @@ enum OPCODE { //@{ /// @name literals OP_VALUE, OP_CURLY_CODE__STORE_PARAM, OP_EXPR_CODE__STORE_PARAM, + OP_NESTED_CODE, //@} //@{ @@ -31,7 +31,7 @@ enum OPCODE { OP_GET_CLASS, OP_CONSTRUCT_VALUE, OP_CONSTRUCT_EXPR, OP_CURLY_CODE__CONSTRUCT, OP_WRITE_VALUE, OP_WRITE_EXPR_RESULT, OP_STRING__WRITE, - OP_GET_ELEMENT, OP_GET_ELEMENT__WRITE, + OP_GET_ELEMENT_OR_OPERATOR, OP_GET_ELEMENT, OP_GET_ELEMENT__WRITE, OP_CREATE_EWPOOL, OP_REDUCE_EWPOOL, OP_CREATE_SWPOOL, OP_REDUCE_SWPOOL, OP_GET_METHOD_FRAME, @@ -65,6 +65,7 @@ enum OPCODE { - OP_VALUE followed by Value* - OP_CURLY_CODE__STORE_PARAM followed by Array* - OP_EXPR_CODE__STORE_PARAM followed by Array* + - OP_NESTED_CODE followed by Array* */ union Operation { void *cast; ///< casting helper