aknlayoutcompiler/inc/FormulaParser.h
changeset 0 f58d6ec98e88
child 1 b700e12870ca
equal deleted inserted replaced
-1:000000000000 0:f58d6ec98e88
       
     1 /*
       
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef FORMULA_PARSER_H
       
    19 #define FORMULA_PARSER_H
       
    20 
       
    21 #include <string>
       
    22 #include <vector>
       
    23 #include "coreParser.h"
       
    24 using namespace std;
       
    25 
       
    26 enum TFormulaParserIds
       
    27 	{
       
    28 	cell_name_ParserId=1,
       
    29 	parent_ParserId,
       
    30 	parent_cell_ParserId,
       
    31 	table_cell_ParserId,
       
    32 	comp_cell_ParserId,
       
    33 	abs_cell_ParserId,
       
    34 	units_ParserId,
       
    35 	constant_ParserId,
       
    36 	attribute_ParserId,
       
    37 	mystery_ParserId,
       
    38 	func_ParserId,
       
    39 	group_ParserId,
       
    40 	term_ParserId,
       
    41 	expression_ParserId,
       
    42 	comp_group_ParserId,
       
    43 	comp_ParserId,
       
    44 	conditional_ParserId,
       
    45 	};
       
    46 
       
    47 ParseResult ParseFormula(const string& aFormula);
       
    48 
       
    49 #endif