Update ooo320-m1
[ooovba.git] / autodoc / source / parser_i / inc / s2_luidl / tkp_uidl.hxx
blob329b1669db8db65bbb5689990b6f8a73ce59e6ae
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: tkp_uidl.hxx,v $
10 * $Revision: 1.3 $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
31 #ifndef ADC_TKP_UIDL_HXX
32 #define ADC_TKP_UIDL_HXX
34 // USED SERVICES
35 // BASE CLASSES
36 #include <tokens/tkp2.hxx>
37 // COMPONENTS
38 // PARAMETRS
40 class TkpDocuContext;
43 namespace csi
45 namespace uidl
50 class Token_Receiver;
51 class Context_UidlCode;
54 /** This is a TokenParser which is able to parse tokens from
55 C++ source code.
57 class TokenParser_Uidl : public TokenParse2
59 public:
60 // LIFECYCLE
61 TokenParser_Uidl(
62 Token_Receiver & o_rUidlReceiver,
63 DYN TkpDocuContext &
64 let_drDocuContext );
65 virtual ~TokenParser_Uidl();
67 // OPERATIONS
68 private:
69 virtual ::TkpContext &
70 CurrentContext();
72 virtual void SetStartContext();
73 virtual void SetCurrentContext(
74 TkpContext & io_rContext );
75 // DATA
76 Dyn<Context_UidlCode>
77 pBaseContext;
78 ::TkpContext * pCurContext;
82 } // namespace uidl
83 } // namespace csi
85 #endif