equal
deleted
inserted
replaced
|
1 // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // |
|
15 |
|
16 #ifndef ALIASPROCESSOR_H |
|
17 #define ALIASPROCESSOR_H |
|
18 |
|
19 #include "messagedefparser\keywordprocessorbase.h" |
|
20 #include "messagedefparser\identifierbase.h" |
|
21 |
|
22 namespace Parser |
|
23 { |
|
24 #if 1 |
|
25 class CAliasProcessor : public CKeywordProcessor<Parser::EStateAlias, Parser::CIdentifierBase> |
|
26 { |
|
27 public: |
|
28 explicit CAliasProcessor(CDefinitionParser& aStateMachine) |
|
29 : CKeywordProcessor<Parser::EStateAlias, Parser::CIdentifierBase>(aStateMachine), iInternalState(0) |
|
30 { |
|
31 } |
|
32 |
|
33 public: |
|
34 //virtual void EnterState(); |
|
35 virtual void ProcessState(); |
|
36 virtual ~CAliasProcessor(); |
|
37 |
|
38 private: |
|
39 int iInternalState; |
|
40 Parser::TResult iResult; |
|
41 int iAliasTargetType; |
|
42 char* iName; |
|
43 |
|
44 enum |
|
45 { |
|
46 EStateExpectAliasTargetType = CKeywordProcessorBase::EStateInitialState, |
|
47 EStateExpectAliasName, |
|
48 EStateExpectEquals, |
|
49 EStateExpectAliasTarget |
|
50 }; |
|
51 }; |
|
52 #endif |
|
53 } // namespace Parser |
|
54 |
|
55 #endif |
|
56 // ALIASPROCESSOR_H |
|
57 |