1*78bc99aaSAndrew Rist /**************************************************************
2cdf0e10cSrcweir  *
3*78bc99aaSAndrew Rist  * Licensed to the Apache Software Foundation (ASF) under one
4*78bc99aaSAndrew Rist  * or more contributor license agreements.  See the NOTICE file
5*78bc99aaSAndrew Rist  * distributed with this work for additional information
6*78bc99aaSAndrew Rist  * regarding copyright ownership.  The ASF licenses this file
7*78bc99aaSAndrew Rist  * to you under the Apache License, Version 2.0 (the
8*78bc99aaSAndrew Rist  * "License"); you may not use this file except in compliance
9*78bc99aaSAndrew Rist  * with the License.  You may obtain a copy of the License at
10*78bc99aaSAndrew Rist  *
11*78bc99aaSAndrew Rist  *   http://www.apache.org/licenses/LICENSE-2.0
12*78bc99aaSAndrew Rist  *
13*78bc99aaSAndrew Rist  * Unless required by applicable law or agreed to in writing,
14*78bc99aaSAndrew Rist  * software distributed under the License is distributed on an
15*78bc99aaSAndrew Rist  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*78bc99aaSAndrew Rist  * KIND, either express or implied.  See the License for the
17*78bc99aaSAndrew Rist  * specific language governing permissions and limitations
18*78bc99aaSAndrew Rist  * under the License.
19*78bc99aaSAndrew Rist  *
20*78bc99aaSAndrew Rist  *************************************************************/
21cdf0e10cSrcweir 
22cdf0e10cSrcweir #include <precomp.h>
23cdf0e10cSrcweir #include <s2_luidl/pestate.hxx>
24cdf0e10cSrcweir 
25cdf0e10cSrcweir 
26cdf0e10cSrcweir // NOT FULLY DEFINED SERVICES
27cdf0e10cSrcweir #include <ary/doc/d_oldidldocu.hxx>
28cdf0e10cSrcweir #include <s2_luidl/parsenv2.hxx>
29cdf0e10cSrcweir 
30cdf0e10cSrcweir 
31cdf0e10cSrcweir 
32cdf0e10cSrcweir 
33cdf0e10cSrcweir namespace csi
34cdf0e10cSrcweir {
35cdf0e10cSrcweir namespace uidl
36cdf0e10cSrcweir {
37cdf0e10cSrcweir 
38cdf0e10cSrcweir void
Process_Identifier(const TokIdentifier &)39cdf0e10cSrcweir ParseEnvState::Process_Identifier( const TokIdentifier & )
40cdf0e10cSrcweir {
41cdf0e10cSrcweir 	Process_Default();
42cdf0e10cSrcweir }
43cdf0e10cSrcweir 
44cdf0e10cSrcweir void
Process_NameSeparator()45cdf0e10cSrcweir ParseEnvState::Process_NameSeparator()
46cdf0e10cSrcweir {
47cdf0e10cSrcweir 	Process_Default();
48cdf0e10cSrcweir }
49cdf0e10cSrcweir 
50cdf0e10cSrcweir void
Process_Punctuation(const TokPunctuation &)51cdf0e10cSrcweir ParseEnvState::Process_Punctuation( const TokPunctuation & )
52cdf0e10cSrcweir {
53cdf0e10cSrcweir 	Process_Default();
54cdf0e10cSrcweir }
55cdf0e10cSrcweir 
56cdf0e10cSrcweir void
Process_BuiltInType(const TokBuiltInType &)57cdf0e10cSrcweir ParseEnvState::Process_BuiltInType( const TokBuiltInType & )
58cdf0e10cSrcweir {
59cdf0e10cSrcweir 	Process_Default();
60cdf0e10cSrcweir }
61cdf0e10cSrcweir 
62cdf0e10cSrcweir void
Process_TypeModifier(const TokTypeModifier &)63cdf0e10cSrcweir ParseEnvState::Process_TypeModifier( const TokTypeModifier & )
64cdf0e10cSrcweir {
65cdf0e10cSrcweir 	Process_Default();
66cdf0e10cSrcweir }
67cdf0e10cSrcweir 
68cdf0e10cSrcweir void
Process_MetaType(const TokMetaType &)69cdf0e10cSrcweir ParseEnvState::Process_MetaType( const TokMetaType &	)
70cdf0e10cSrcweir {
71cdf0e10cSrcweir 	Process_Default();
72cdf0e10cSrcweir }
73cdf0e10cSrcweir 
74cdf0e10cSrcweir void
Process_Stereotype(const TokStereotype &)75cdf0e10cSrcweir ParseEnvState::Process_Stereotype( const TokStereotype & )
76cdf0e10cSrcweir {
77cdf0e10cSrcweir 	Process_Default();
78cdf0e10cSrcweir }
79cdf0e10cSrcweir 
80cdf0e10cSrcweir void
Process_ParameterHandling(const TokParameterHandling &)81cdf0e10cSrcweir ParseEnvState::Process_ParameterHandling( const TokParameterHandling & )
82cdf0e10cSrcweir {
83cdf0e10cSrcweir 	Process_Default();
84cdf0e10cSrcweir }
85cdf0e10cSrcweir 
86cdf0e10cSrcweir void
Process_Raises()87cdf0e10cSrcweir ParseEnvState::Process_Raises()
88cdf0e10cSrcweir {
89cdf0e10cSrcweir 	Process_Default();
90cdf0e10cSrcweir }
91cdf0e10cSrcweir 
92cdf0e10cSrcweir void
Process_Needs()93cdf0e10cSrcweir ParseEnvState::Process_Needs()
94cdf0e10cSrcweir {
95cdf0e10cSrcweir 	Process_Default();
96cdf0e10cSrcweir }
97cdf0e10cSrcweir 
98cdf0e10cSrcweir void
Process_Observes()99cdf0e10cSrcweir ParseEnvState::Process_Observes()
100cdf0e10cSrcweir {
101cdf0e10cSrcweir 	Process_Default();
102cdf0e10cSrcweir }
103cdf0e10cSrcweir 
104cdf0e10cSrcweir void
Process_Assignment(const TokAssignment &)105cdf0e10cSrcweir ParseEnvState::Process_Assignment( const TokAssignment & )
106cdf0e10cSrcweir {
107cdf0e10cSrcweir 	Process_Default();
108cdf0e10cSrcweir }
109cdf0e10cSrcweir 
110cdf0e10cSrcweir void
Process_EOL()111cdf0e10cSrcweir ParseEnvState::Process_EOL()
112cdf0e10cSrcweir {
113cdf0e10cSrcweir 	MyPE().SetResult(done,stay);
114cdf0e10cSrcweir }
115cdf0e10cSrcweir 
116cdf0e10cSrcweir 
117cdf0e10cSrcweir void
On_SubPE_Left()118cdf0e10cSrcweir ParseEnvState::On_SubPE_Left()
119cdf0e10cSrcweir {
120cdf0e10cSrcweir }
121cdf0e10cSrcweir 
122cdf0e10cSrcweir void
Process_Default()123cdf0e10cSrcweir ParseEnvState::Process_Default()
124cdf0e10cSrcweir {
125cdf0e10cSrcweir 	if (bDefaultIsError)
126cdf0e10cSrcweir 		MyPE().SetResult(not_done, pop_failure);
127cdf0e10cSrcweir 	else	// ignore:
128cdf0e10cSrcweir 		MyPE().SetResult(done, stay);
129cdf0e10cSrcweir }
130cdf0e10cSrcweir 
131cdf0e10cSrcweir 
132cdf0e10cSrcweir }   // namespace uidl
133cdf0e10cSrcweir }   // namespace csi
134cdf0e10cSrcweir 
135