Line data Source code
1 : /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 : /*
3 : * This file is part of the LibreOffice project.
4 : *
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/.
8 : *
9 : * This file incorporates work covered by the following license notice:
10 : *
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 .
18 : */
19 :
20 : #ifndef ADC_SEMNODE_HXX
21 : #define ADC_SEMNODE_HXX
22 :
23 : // USED SERVICES
24 : // BASE CLASSES
25 : #include <s2_luidl/tokproct.hxx>
26 : // COMPONENTS
27 : // PARAMETERS
28 : #include <ary/qualiname.hxx>
29 :
30 :
31 : namespace ary
32 : {
33 : namespace idl
34 : {
35 : class Gate;
36 : } // namespace idl
37 : } // namespace ary
38 :
39 :
40 : namespace csi
41 : {
42 : namespace uidl
43 : {
44 :
45 :
46 : /** is an implementation class for UnoIDL_PE s
47 : */
48 : class SemanticNode : private TokenProcessing_Types
49 : {
50 : public:
51 : SemanticNode();
52 : void EstablishContacts(
53 : UnoIDL_PE * io_pParentPE,
54 : ary::idl::Gate & io_rRepository,
55 : TokenProcessing_Result &
56 : o_rResult );
57 : ~SemanticNode();
58 :
59 : void SetTokenResult(
60 : E_TokenDone i_eDone,
61 : E_EnvStackAction i_eWhat2DoWithEnvStack,
62 : UnoIDL_PE * i_pParseEnv2Push = 0 );
63 192376 : UnoIDL_PE * Parent() const { return pParentPE; }
64 82326 : ary::idl::Gate & AryGate() const { return *pAryGate; }
65 : TokenProcessing_Result &
66 9 : TokenResult() const { return *pTokenResult; }
67 :
68 : private:
69 : // DATA
70 : UnoIDL_PE * pParentPE;
71 : ary::idl::Gate * pAryGate;
72 : TokenProcessing_Result *
73 : pTokenResult;
74 : };
75 :
76 :
77 : } // namespace uidl
78 : } // namespace csi
79 :
80 : #endif
81 :
82 : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|