1 /*************************************************************************
2  *
3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4  *
5  * Copyright 2000, 2010 Oracle and/or its affiliates.
6  *
7  * OpenOffice.org - a multi-platform office productivity suite
8  *
9  * This file is part of OpenOffice.org.
10  *
11  * OpenOffice.org is free software: you can redistribute it and/or modify
12  * it under the terms of the GNU Lesser General Public License version 3
13  * only, as published by the Free Software Foundation.
14  *
15  * OpenOffice.org is distributed in the hope that it will be useful,
16  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18  * GNU Lesser General Public License version 3 for more details
19  * (a copy is included in the LICENSE file that accompanied this code).
20  *
21  * You should have received a copy of the GNU Lesser General Public License
22  * version 3 along with OpenOffice.org.  If not, see
23  * <http://www.openoffice.org/license.html>
24  * for a copy of the LGPLv3 License.
25  *
26  ************************************************************************/
27 
28 #ifndef ADC_LUIDL_TOKINTPR_HXX
29 #define ADC_LUIDL_TOKINTPR_HXX
30 
31 
32 
33 // USED SERVICES
34 	// BASE CLASSES
35 	// COMPONENTS
36 	// PARAMETERS
37 
38 namespace csi
39 {
40 namespace uidl
41 {
42 
43 
44 class TokIdentifier;
45 class TokPunctuation;
46 class TokBuiltInType;
47 class TokTypeModifier;
48 class TokMetaType;
49 class TokStereotype;
50 class TokParameterHandling;
51 class TokAssignment;
52 class Tok_Documentation;
53 
54 
55 class TokenInterpreter
56 {
57   public:
58 	virtual				~TokenInterpreter() {}
59 
60 	virtual void		Process_Identifier(
61 							const TokIdentifier &
62 												i_rToken ) = 0;
63 	virtual void		Process_NameSeparator() = 0;      // ::
64 	virtual void		Process_Punctuation(
65 							const TokPunctuation &
66 												i_rToken ) = 0;
67 	virtual void		Process_BuiltInType(
68 							const TokBuiltInType &
69 												i_rToken ) = 0;
70 	virtual void		Process_TypeModifier(
71 							const TokTypeModifier &
72 												i_rToken ) = 0;
73 	virtual void		Process_MetaType(
74 							const TokMetaType &	i_rToken ) = 0;
75 	virtual void		Process_Stereotype(
76 							const TokStereotype &
77 												i_rToken ) = 0;
78 	virtual void		Process_ParameterHandling(
79 							const TokParameterHandling &
80 												i_rToken ) = 0;
81 	virtual void		Process_Raises() = 0;
82 	virtual void		Process_Needs() = 0;
83 	virtual void		Process_Observes() = 0;
84 	virtual void		Process_Assignment(
85 							const TokAssignment &
86 												i_rToken ) = 0;
87 	virtual void		Process_EOL() = 0;
88 };
89 
90 
91 
92 // IMPLEMENTATION
93 
94 
95 }   // namespace uidl
96 }   // namespace csi
97 
98 #endif
99