Bump for 3.6-28
[LibreOffice.git] / autodoc / source / parser_i / idl / semnode.cxx
blobf2e38a291e87dd078a0f51a4bdd456a07840ddd4
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/semnode.hxx>
33 // NOT FULLY DEFINED SERVICES
34 #include <ary/ary.hxx>
35 #include <ary/idl/i_gate.hxx>
36 #include <ary/idl/i_module.hxx>
37 #include <ary/doc/d_oldidldocu.hxx>
38 #include <s2_luidl/parsenv2.hxx>
41 namespace csi
43 namespace uidl
48 SemanticNode::SemanticNode()
49 : pParentPE(0),
50 pAryGate(0),
51 pTokenResult(0)
55 void
56 SemanticNode::EstablishContacts( UnoIDL_PE * io_pParentPE,
57 ary::idl::Gate & io_rGate,
58 TokenProcessing_Result & o_rResult )
60 pParentPE = io_pParentPE;
61 pAryGate = &io_rGate;
62 pTokenResult = &o_rResult;
65 SemanticNode::~SemanticNode()
69 void
70 SemanticNode::SetTokenResult( E_TokenDone i_eDone,
71 E_EnvStackAction i_eWhat2DoWithEnvStack,
72 UnoIDL_PE * i_pParseEnv2Push )
74 csv_assert(pTokenResult != 0);
76 pTokenResult->eDone = i_eDone;
77 pTokenResult->eStackAction = i_eWhat2DoWithEnvStack;
78 pTokenResult->pEnv2Push = i_pParseEnv2Push;
82 } // namespace uidl
83 } // namespace csi
85 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */