LCOV - code coverage report
Current view: top level - libreoffice/autodoc/source/parser_i/idl - semnode.cxx (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 16 16 100.0 %
Date: 2012-12-27 Functions: 6 6 100.0 %
Legend: Lines: hit not hit

          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             : #include <precomp.h>
      21             : #include <s2_luidl/semnode.hxx>
      22             : 
      23             : 
      24             : // NOT FULLY DEFINED SERVICES
      25             : #include <ary/ary.hxx>
      26             : #include <ary/idl/i_gate.hxx>
      27             : #include <ary/idl/i_module.hxx>
      28             : #include <ary/doc/d_oldidldocu.hxx>
      29             : #include <s2_luidl/parsenv2.hxx>
      30             : 
      31             : 
      32             : namespace csi
      33             : {
      34             : namespace uidl
      35             : {
      36             : 
      37             : 
      38             : 
      39         120 : SemanticNode::SemanticNode()
      40             :     :   pParentPE(0),
      41             :         pAryGate(0),
      42         120 :         pTokenResult(0)
      43             : {
      44         120 : }
      45             : 
      46             : void
      47         120 : SemanticNode::EstablishContacts( UnoIDL_PE *                io_pParentPE,
      48             :                                  ary::idl::Gate &           io_rGate,
      49             :                                  TokenProcessing_Result &   o_rResult )
      50             : {
      51         120 :     pParentPE       =  io_pParentPE;
      52         120 :     pAryGate        = &io_rGate;
      53         120 :     pTokenResult    = &o_rResult;
      54         120 : }
      55             : 
      56         120 : SemanticNode::~SemanticNode()
      57             : {
      58         120 : }
      59             : 
      60             : void
      61      526996 : SemanticNode::SetTokenResult( E_TokenDone       i_eDone,
      62             :                               E_EnvStackAction  i_eWhat2DoWithEnvStack,
      63             :                               UnoIDL_PE *       i_pParseEnv2Push )
      64             : {
      65             :     csv_assert(pTokenResult != 0);
      66             : 
      67      526996 :     pTokenResult->eDone         = i_eDone;
      68      526996 :     pTokenResult->eStackAction  = i_eWhat2DoWithEnvStack;
      69      526996 :     pTokenResult->pEnv2Push     = i_pParseEnv2Push;
      70      526996 : }
      71             : 
      72             : 
      73             : }   // namespace uidl
      74           3 : }   // namespace csi
      75             : 
      76             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10