--- parser3/src/include/Attic/code.h 2001/03/19 15:29:37 1.24 +++ parser3/src/include/Attic/code.h 2001/05/07 13:29:59 1.28 @@ -1,9 +1,11 @@ /** @file - Parser + Parser: compiled code related decls. + Copyright (c) 2001 ArtLebedev Group (http://www.artlebedev.com) + Author: Alexander Petrosyan (http://design.ru/paf) - $Id: code.h,v 1.24 2001/03/19 15:29:37 paf Exp $ + $Id: code.h,v 1.28 2001/05/07 13:29:59 paf Exp $ */ #ifndef CODE_H @@ -17,13 +19,12 @@ class Array; /// Compiled operation code enum OPCODE { - //@{ - /// literal + //@{ @name literals OP_VALUE, OP_CURLY_CODE__STORE_PARAM, OP_EXPR_CODE__STORE_PARAM, //@} //@{ - /// action + /// @name actions OP_WITH_SELF, OP_WITH_ROOT, OP_WITH_READ, OP_WITH_WRITE, OP_GET_CLASS, OP_CONSTRUCT_VALUE, OP_CONSTRUCT_EXPR, @@ -38,12 +39,12 @@ enum OPCODE { //@} //@{ - /// expression op: unary - OP_NEG, OP_INV, OP_NOT, OP_DEF, OP_IN, OP_FEXISTS, + /// @name expression ops: unary + OP_NEG, OP_INV, OP_NOT, OP_DEF, OP_IN, OP_FEXISTS, OP_DEXISTS, //@} //@{ - /// expression op: binary + /// @name expression ops: binary OP_SUB, OP_ADD, OP_MUL, OP_DIV, OP_MOD, OP_BIN_AND, OP_BIN_OR, OP_BIN_XOR, OP_LOG_AND, OP_LOG_OR, OP_LOG_XOR, @@ -53,7 +54,7 @@ enum OPCODE { //@} }; -/** @brief +/** Parser source code got compiled into intermediate form of Operation-s, which is executed afterwards.