1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 #ifndef LUIDL_PE_SINGL_HXX
21 #define LUIDL_PE_SINGL_HXX
27 #include <s2_luidl/parsenv2.hxx>
28 #include <s2_luidl/pestate.hxx>
37 class SglIfcSingleton
;
50 class PE_Singleton
: public UnoIDL_PE
,
55 virtual ~PE_Singleton();
57 virtual void EstablishContacts(
58 UnoIDL_PE
* io_pParentPE
,
59 ary::Repository
& io_rRepository
,
60 TokenProcessing_Result
&
62 virtual void ProcessToken(
63 const Token
& i_rToken
);
65 virtual void Process_MetaType(
66 const TokMetaType
& i_rToken
);
67 virtual void Process_Identifier(
70 virtual void Process_Punctuation(
71 const TokPunctuation
&
73 virtual void Process_Default();
90 virtual void InitData();
91 virtual void TransferData();
92 virtual void ReceiveData();
93 virtual UnoIDL_PE
& MyPE();
96 // static F_TOK aDispatcher[e_STATES_MAX][tt_MAX];
100 bool bIsPreDeclaration
;
101 ary::idl::Singleton
*
103 ary::idl::SglIfcSingleton
*
106 Dyn
<PE_Type
> pPE_Type
;
107 ary::idl::Type_id nCurParsed_Type
;
118 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */