1 /**************************************************************
2  *
3  * Licensed to the Apache Software Foundation (ASF) under one
4  * or more contributor license agreements.  See the NOTICE file
5  * distributed with this work for additional information
6  * regarding copyright ownership.  The ASF licenses this file
7  * to you under the Apache License, Version 2.0 (the
8  * "License"); you may not use this file except in compliance
9  * with the License.  You may obtain a copy of the License at
10  *
11  *   http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing,
14  * software distributed under the License is distributed on an
15  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16  * KIND, either express or implied.  See the License for the
17  * specific language governing permissions and limitations
18  * under the License.
19  *
20  *************************************************************/
21 
22 
23 
24 #ifndef ADC_LUIDL_TOKINTPR_HXX
25 #define ADC_LUIDL_TOKINTPR_HXX
26 
27 
28 
29 // USED SERVICES
30 	// BASE CLASSES
31 	// COMPONENTS
32 	// PARAMETERS
33 
34 namespace csi
35 {
36 namespace uidl
37 {
38 
39 
40 class TokIdentifier;
41 class TokPunctuation;
42 class TokBuiltInType;
43 class TokTypeModifier;
44 class TokMetaType;
45 class TokStereotype;
46 class TokParameterHandling;
47 class TokAssignment;
48 class Tok_Documentation;
49 
50 
51 class TokenInterpreter
52 {
53   public:
~TokenInterpreter()54 	virtual				~TokenInterpreter() {}
55 
56 	virtual void		Process_Identifier(
57 							const TokIdentifier &
58 												i_rToken ) = 0;
59 	virtual void		Process_NameSeparator() = 0;      // ::
60 	virtual void		Process_Punctuation(
61 							const TokPunctuation &
62 												i_rToken ) = 0;
63 	virtual void		Process_BuiltInType(
64 							const TokBuiltInType &
65 												i_rToken ) = 0;
66 	virtual void		Process_TypeModifier(
67 							const TokTypeModifier &
68 												i_rToken ) = 0;
69 	virtual void		Process_MetaType(
70 							const TokMetaType &	i_rToken ) = 0;
71 	virtual void		Process_Stereotype(
72 							const TokStereotype &
73 												i_rToken ) = 0;
74 	virtual void		Process_ParameterHandling(
75 							const TokParameterHandling &
76 												i_rToken ) = 0;
77 	virtual void		Process_Raises() = 0;
78 	virtual void		Process_Needs() = 0;
79 	virtual void		Process_Observes() = 0;
80 	virtual void		Process_Assignment(
81 							const TokAssignment &
82 												i_rToken ) = 0;
83 	virtual void		Process_EOL() = 0;
84 };
85 
86 
87 
88 // IMPLEMENTATION
89 
90 
91 }   // namespace uidl
92 }   // namespace csi
93 
94 #endif
95