LCOV - code coverage report
Current view: top level - libreoffice/autodoc/source/parser_i/inc/s2_luidl - pestate.hxx (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 2 2 100.0 %
Date: 2012-12-27 Functions: 2 4 50.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             : #ifndef ADC_PESTATE_HXX
      21             : #define ADC_PESTATE_HXX
      22             : 
      23             : 
      24             : 
      25             : // USED SERVICES
      26             :     // BASE CLASSES
      27             : #include<s2_luidl/tokintpr.hxx>
      28             : #include<s2_luidl/tokproct.hxx>
      29             :     // COMPONENTS
      30             :     // PARAMETERS
      31             : 
      32             : namespace csi
      33             : {
      34             : namespace uidl
      35             : {
      36             : 
      37             : 
      38             : class TokIdentifier;
      39             : class TokBuiltInType;
      40             : class TokPunctuation;
      41             : 
      42         162 : class ParseEnvState : public    TokenInterpreter,
      43             :                       virtual protected TokenProcessing_Types
      44             : {
      45             :   public:
      46             :     virtual void        Process_Identifier(
      47             :                             const TokIdentifier &
      48             :                                                 i_rToken );
      49             :     virtual void        Process_NameSeparator();
      50             :     virtual void        Process_Punctuation(
      51             :                             const TokPunctuation &
      52             :                                                 i_rToken );
      53             :     virtual void        Process_BuiltInType(
      54             :                             const TokBuiltInType &
      55             :                                                 i_rToken );
      56             :     virtual void        Process_TypeModifier(
      57             :                             const TokTypeModifier &
      58             :                                                 i_rToken );
      59             :     virtual void        Process_MetaType(
      60             :                             const TokMetaType & i_rToken );
      61             :     virtual void        Process_Stereotype(
      62             :                             const TokStereotype &
      63             :                                                 i_rToken );
      64             :     virtual void        Process_ParameterHandling(
      65             :                             const TokParameterHandling &
      66             :                                                 i_rToken );
      67             :     virtual void        Process_Raises();
      68             :     virtual void        Process_Needs();
      69             :     virtual void        Process_Observes();
      70             :     virtual void        Process_Assignment(
      71             :                             const TokAssignment &
      72             :                                                 i_rToken );
      73             :     virtual void        Process_EOL();
      74             : 
      75             :     virtual void        On_SubPE_Left();
      76             : 
      77             :     virtual void        Process_Default();
      78             : 
      79             :   protected:
      80         162 :                         ParseEnvState()         :   bDefaultIsError(true) {}
      81             :     void                SetDefault2Ignore()     { bDefaultIsError = false; }
      82             : 
      83             :   private:
      84             :     virtual UnoIDL_PE & MyPE() = 0;
      85             :     bool                bDefaultIsError;
      86             : };
      87             : 
      88             : 
      89             : 
      90             : // IMPLEMENTATION
      91             : 
      92             : 
      93             : }   // namespace uidl
      94             : }   // namespace csi
      95             : 
      96             : #endif
      97             : 
      98             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10