Bump for 3.6-28
[LibreOffice.git] / autodoc / source / parser_i / idl / pestate.cxx
blob2799e2029783e5935787f407de1ffb3cc98bb7df
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*************************************************************************
4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
6 * Copyright 2000, 2010 Oracle and/or its affiliates.
8 * OpenOffice.org - a multi-platform office productivity suite
10 * This file is part of OpenOffice.org.
12 * OpenOffice.org is free software: you can redistribute it and/or modify
13 * it under the terms of the GNU Lesser General Public License version 3
14 * only, as published by the Free Software Foundation.
16 * OpenOffice.org is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU Lesser General Public License version 3 for more details
20 * (a copy is included in the LICENSE file that accompanied this code).
22 * You should have received a copy of the GNU Lesser General Public License
23 * version 3 along with OpenOffice.org. If not, see
24 * <http://www.openoffice.org/license.html>
25 * for a copy of the LGPLv3 License.
27 ************************************************************************/
29 #include <precomp.h>
30 #include <s2_luidl/pestate.hxx>
33 // NOT FULLY DEFINED SERVICES
34 #include <ary/doc/d_oldidldocu.hxx>
35 #include <s2_luidl/parsenv2.hxx>
40 namespace csi
42 namespace uidl
45 void
46 ParseEnvState::Process_Identifier( const TokIdentifier & )
48 Process_Default();
51 void
52 ParseEnvState::Process_NameSeparator()
54 Process_Default();
57 void
58 ParseEnvState::Process_Punctuation( const TokPunctuation & )
60 Process_Default();
63 void
64 ParseEnvState::Process_BuiltInType( const TokBuiltInType & )
66 Process_Default();
69 void
70 ParseEnvState::Process_TypeModifier( const TokTypeModifier & )
72 Process_Default();
75 void
76 ParseEnvState::Process_MetaType( const TokMetaType & )
78 Process_Default();
81 void
82 ParseEnvState::Process_Stereotype( const TokStereotype & )
84 Process_Default();
87 void
88 ParseEnvState::Process_ParameterHandling( const TokParameterHandling & )
90 Process_Default();
93 void
94 ParseEnvState::Process_Raises()
96 Process_Default();
99 void
100 ParseEnvState::Process_Needs()
102 Process_Default();
105 void
106 ParseEnvState::Process_Observes()
108 Process_Default();
111 void
112 ParseEnvState::Process_Assignment( const TokAssignment & )
114 Process_Default();
117 void
118 ParseEnvState::Process_EOL()
120 MyPE().SetResult(done,stay);
124 void
125 ParseEnvState::On_SubPE_Left()
129 void
130 ParseEnvState::Process_Default()
132 if (bDefaultIsError)
133 MyPE().SetResult(not_done, pop_failure);
134 else // ignore:
135 MyPE().SetResult(done, stay);
139 } // namespace uidl
140 } // namespace csi
142 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */