diff options
Diffstat (limited to 'autodoc/source/parser_i/inc')
52 files changed, 1140 insertions, 1140 deletions
diff --git a/autodoc/source/parser_i/inc/s2_dsapi/cx_docu2.hxx b/autodoc/source/parser_i/inc/s2_dsapi/cx_docu2.hxx index b8a08fa987b4..44269613e3b9 100644 --- a/autodoc/source/parser_i/inc/s2_dsapi/cx_docu2.hxx +++ b/autodoc/source/parser_i/inc/s2_dsapi/cx_docu2.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -51,30 +51,30 @@ class Token_Receiver; class Cx_Base : public ::TkpContext { public: - virtual bool PassNewToken(); + virtual bool PassNewToken(); virtual TkpContext & FollowUpContext(); protected: // LIFECYCLE Cx_Base( - Token_Receiver & o_rReceiver, - TkpContext & i_rFollowUpContext ) - : rReceiver(o_rReceiver), + Token_Receiver & o_rReceiver, + TkpContext & i_rFollowUpContext ) + : rReceiver(o_rReceiver), pFollowUpContext(&i_rFollowUpContext) // pNewToken { } protected: - void SetToken( - DYN Token * let_dpToken ) + void SetToken( + DYN Token * let_dpToken ) { pNewToken = let_dpToken; } void Handle_DocuSyntaxError( CharacterSource & io_rText ); private: // DATA - Token_Receiver & rReceiver; - TkpContext * pFollowUpContext; - Dyn<Token> pNewToken; + Token_Receiver & rReceiver; + TkpContext * pFollowUpContext; + Dyn<Token> pNewToken; }; @@ -83,18 +83,18 @@ class Cx_EoHtml : public Cx_Base public: // LIFECYCLE Cx_EoHtml( - Token_Receiver & o_rReceiver, - TkpContext & i_rFollowUpContext ) - : Cx_Base(o_rReceiver, i_rFollowUpContext) {} - // OPERATIONS - virtual void ReadCharChain( - CharacterSource & io_rText ); - void SetIfIsStartOfParagraph( - bool i_bNextTokenProperty ) + Token_Receiver & o_rReceiver, + TkpContext & i_rFollowUpContext ) + : Cx_Base(o_rReceiver, i_rFollowUpContext) {} + // OPERATIONS + virtual void ReadCharChain( + CharacterSource & io_rText ); + void SetIfIsStartOfParagraph( + bool i_bNextTokenProperty ) { bToken_IsStartOfParagraph = i_bNextTokenProperty; } private: - bool bToken_IsStartOfParagraph; + bool bToken_IsStartOfParagraph; }; class Cx_EoXmlConst : public Cx_Base @@ -102,18 +102,18 @@ class Cx_EoXmlConst : public Cx_Base public: // LIFECYCLE Cx_EoXmlConst( - Token_Receiver & o_rReceiver, - TkpContext & i_rFollowUpContext ) - : Cx_Base(o_rReceiver, i_rFollowUpContext) {} - // OPERATIONS - virtual void ReadCharChain( - CharacterSource & io_rText ); - void SetTokenId( + Token_Receiver & o_rReceiver, + TkpContext & i_rFollowUpContext ) + : Cx_Base(o_rReceiver, i_rFollowUpContext) {} + // OPERATIONS + virtual void ReadCharChain( + CharacterSource & io_rText ); + void SetTokenId( lux::Enum< Tok_XmlConst::E_TokenId > i_eTokenId ) { eTokenId = i_eTokenId; } private: - Tok_XmlConst::EV_TokenId + Tok_XmlConst::EV_TokenId eTokenId; }; @@ -122,13 +122,13 @@ class Cx_EoXmlLink_BeginTag : public Cx_Base public: // LIFECYCLE Cx_EoXmlLink_BeginTag( - Token_Receiver & o_rReceiver, - TkpContext & i_rFollowUpContext ) - : Cx_Base(o_rReceiver, i_rFollowUpContext) {} - // OPERATIONS - virtual void ReadCharChain( - CharacterSource & io_rText ); - void SetTokenId( + Token_Receiver & o_rReceiver, + TkpContext & i_rFollowUpContext ) + : Cx_Base(o_rReceiver, i_rFollowUpContext) {} + // OPERATIONS + virtual void ReadCharChain( + CharacterSource & io_rText ); + void SetTokenId( Tok_XmlLink_BeginTag::EV_TokenId i_eTokenId ) { eTokenId = i_eTokenId; } @@ -142,13 +142,13 @@ class Cx_EoXmlLink_EndTag : public Cx_Base public: // LIFECYCLE Cx_EoXmlLink_EndTag( - Token_Receiver & o_rReceiver, - TkpContext & i_rFollowUpContext ) - : Cx_Base(o_rReceiver, i_rFollowUpContext) {} - // OPERATIONS - virtual void ReadCharChain( - CharacterSource & io_rText ); - void SetTokenId( + Token_Receiver & o_rReceiver, + TkpContext & i_rFollowUpContext ) + : Cx_Base(o_rReceiver, i_rFollowUpContext) {} + // OPERATIONS + virtual void ReadCharChain( + CharacterSource & io_rText ); + void SetTokenId( Tok_XmlLink_EndTag::EV_TokenId i_eTokenId ) { eTokenId = i_eTokenId; } @@ -162,13 +162,13 @@ class Cx_EoXmlFormat_BeginTag : public Cx_Base public: // LIFECYCLE Cx_EoXmlFormat_BeginTag( - Token_Receiver & o_rReceiver, - TkpContext & i_rFollowUpContext ) - : Cx_Base(o_rReceiver, i_rFollowUpContext) {} - // OPERATIONS - virtual void ReadCharChain( - CharacterSource & io_rText ); - void SetTokenId( + Token_Receiver & o_rReceiver, + TkpContext & i_rFollowUpContext ) + : Cx_Base(o_rReceiver, i_rFollowUpContext) {} + // OPERATIONS + virtual void ReadCharChain( + CharacterSource & io_rText ); + void SetTokenId( lux::Enum< Tok_XmlFormat_BeginTag::E_TokenId > i_eTokenId ) { eTokenId = i_eTokenId; } @@ -182,13 +182,13 @@ class Cx_EoXmlFormat_EndTag : public Cx_Base public: // LIFECYCLE Cx_EoXmlFormat_EndTag( - Token_Receiver & o_rReceiver, - TkpContext & i_rFollowUpContext ) - : Cx_Base(o_rReceiver, i_rFollowUpContext) {} - // OPERATIONS - virtual void ReadCharChain( - CharacterSource & io_rText ); - void SetTokenId( + Token_Receiver & o_rReceiver, + TkpContext & i_rFollowUpContext ) + : Cx_Base(o_rReceiver, i_rFollowUpContext) {} + // OPERATIONS + virtual void ReadCharChain( + CharacterSource & io_rText ); + void SetTokenId( lux::Enum< Tok_XmlFormat_EndTag::E_TokenId > i_eTokenId ) { eTokenId = i_eTokenId; } @@ -202,26 +202,26 @@ class Cx_CheckStar : public Cx_Base public: // LIFECYCLE Cx_CheckStar( - Token_Receiver & o_rReceiver, - TkpContext & i_rFollowUpContext ) - : Cx_Base(o_rReceiver, i_rFollowUpContext), + Token_Receiver & o_rReceiver, + TkpContext & i_rFollowUpContext ) + : Cx_Base(o_rReceiver, i_rFollowUpContext), bIsEnd(false), bEndTokenFound(false) { } - void Set_End_FolloUpContext( - TkpContext & i_rEnd_FollowUpContext ) + void Set_End_FolloUpContext( + TkpContext & i_rEnd_FollowUpContext ) { pEnd_FollowUpContext = &i_rEnd_FollowUpContext; } - virtual void ReadCharChain( - CharacterSource & io_rText ); - void SetIsEnd( - bool i_bIsEnd ) + virtual void ReadCharChain( + CharacterSource & io_rText ); + void SetIsEnd( + bool i_bIsEnd ) { bIsEnd = i_bIsEnd; } virtual TkpContext & FollowUpContext(); private: - TkpContext * pEnd_FollowUpContext; - bool bIsEnd; - bool bEndTokenFound; + TkpContext * pEnd_FollowUpContext; + bool bIsEnd; + bool bEndTokenFound; }; diff --git a/autodoc/source/parser_i/inc/s2_dsapi/cx_dsapi.hxx b/autodoc/source/parser_i/inc/s2_dsapi/cx_dsapi.hxx index 6e229c0af51b..7cf99190c190 100644 --- a/autodoc/source/parser_i/inc/s2_dsapi/cx_dsapi.hxx +++ b/autodoc/source/parser_i/inc/s2_dsapi/cx_dsapi.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -61,44 +61,44 @@ class Context_Docu : public TkpDocuContext, private StateMachineContext { public: - // LIFECYCLE + // LIFECYCLE Context_Docu( - Token_Receiver & o_rReceiver ); - virtual void SetParentContext( - TkpContext & io_rParentContext, - const char * i_sMultiLineEndToken ); + Token_Receiver & o_rReceiver ); + virtual void SetParentContext( + TkpContext & io_rParentContext, + const char * i_sMultiLineEndToken ); ~Context_Docu(); - // OPERATIONS - virtual void ReadCharChain( - CharacterSource & io_rText ); + // OPERATIONS + virtual void ReadCharChain( + CharacterSource & io_rText ); - virtual bool PassNewToken(); - virtual void SetMode_IsMultiLine( - bool i_bTrue ); + virtual bool PassNewToken(); + virtual void SetMode_IsMultiLine( + bool i_bTrue ); - // INQUIRY + // INQUIRY virtual TkpContext & FollowUpContext(); private: - // SERVICE FUNCTIONS - virtual void PerformStatusFunction( - uintt i_nStatusSignal, - UINT16 i_nTokenId, - CharacterSource & io_rText ); + // SERVICE FUNCTIONS + virtual void PerformStatusFunction( + uintt i_nStatusSignal, + UINT16 i_nTokenId, + CharacterSource & io_rText ); - void SetupStateMachine(); + void SetupStateMachine(); - // DATA - StateMachin2 aStateMachine; - Token_Receiver * pReceiver; + // DATA + StateMachin2 aStateMachine; + Token_Receiver * pReceiver; // Contexts - TkpContext * pParentContext; - String sMultiLineEndToken; + TkpContext * pParentContext; + String sMultiLineEndToken; - Dyn<Cx_EoHtml> pCx_EoHtml; - Dyn<Cx_EoXmlConst> pCx_EoXmlConst; + Dyn<Cx_EoHtml> pCx_EoHtml; + Dyn<Cx_EoXmlConst> pCx_EoXmlConst; Dyn<Cx_EoXmlLink_BeginTag> pCx_EoXmlLink_BeginTag; Dyn<Cx_EoXmlLink_EndTag> @@ -107,11 +107,11 @@ class Context_Docu : public TkpDocuContext, pCx_EoXmlFormat_BeginTag; Dyn<Cx_EoXmlFormat_EndTag> pCx_EoXmlFormat_EndTag; - Dyn<Cx_CheckStar> pCx_CheckStar; + Dyn<Cx_CheckStar> pCx_CheckStar; // Temporary data, used during ReadCharChain() - Dyn<Token> pNewToken; - ::TkpContext * pFollowUpContext; + Dyn<Token> pNewToken; + ::TkpContext * pFollowUpContext; bool bIsMultiline; }; diff --git a/autodoc/source/parser_i/inc/s2_dsapi/docu_pe2.hxx b/autodoc/source/parser_i/inc/s2_dsapi/docu_pe2.hxx index 977f9b65bf9e..a3a6b5306536 100644 --- a/autodoc/source/parser_i/inc/s2_dsapi/docu_pe2.hxx +++ b/autodoc/source/parser_i/inc/s2_dsapi/docu_pe2.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -70,41 +70,41 @@ class SapiDocu_PE : public TokenInterpreter ParserInfo & io_rPositionInfo ); ~SapiDocu_PE(); - void ProcessToken( + void ProcessToken( DYN csi::dsapi::Token & let_drToken ); - virtual void Process_AtTag( - const Tok_AtTag & i_rToken ); - virtual void Process_HtmlTag( - const Tok_HtmlTag & i_rToken ); - virtual void Process_XmlConst( + virtual void Process_AtTag( + const Tok_AtTag & i_rToken ); + virtual void Process_HtmlTag( + const Tok_HtmlTag & i_rToken ); + virtual void Process_XmlConst( const Tok_XmlConst & i_rToken ); - virtual void Process_XmlLink_BeginTag( + virtual void Process_XmlLink_BeginTag( const Tok_XmlLink_BeginTag & i_rToken ); - virtual void Process_XmlLink_EndTag( + virtual void Process_XmlLink_EndTag( const Tok_XmlLink_EndTag & i_rToken ); - virtual void Process_XmlFormat_BeginTag( + virtual void Process_XmlFormat_BeginTag( const Tok_XmlFormat_BeginTag & i_rToken ); - virtual void Process_XmlFormat_EndTag( + virtual void Process_XmlFormat_EndTag( const Tok_XmlFormat_EndTag & i_rToken ); - virtual void Process_Word( - const Tok_Word & i_rToken ); - virtual void Process_Comma(); - virtual void Process_DocuEnd(); - virtual void Process_EOL(); - virtual void Process_White(); + virtual void Process_Word( + const Tok_Word & i_rToken ); + virtual void Process_Comma(); + virtual void Process_DocuEnd(); + virtual void Process_EOL(); + virtual void Process_White(); DYN ary::doc::OldIdlDocu * ReleaseJustParsedDocu(); - bool IsComplete() const; + bool IsComplete() const; private: enum E_State @@ -118,48 +118,48 @@ class SapiDocu_PE : public TokenInterpreter typedef void ( SapiDocu_PE::*F_TokenAdder )( DYN ary::inf::DocuToken & let_drNewToken ); - void AddDocuToken2Void( + void AddDocuToken2Void( DYN ary::inf::DocuToken & let_drNewToken ); - void AddDocuToken2Short( + void AddDocuToken2Short( DYN ary::inf::DocuToken & let_drNewToken ); - void AddDocuToken2Description( + void AddDocuToken2Description( DYN ary::inf::DocuToken & let_drNewToken ); - void AddDocuToken2Deprecated( + void AddDocuToken2Deprecated( DYN ary::inf::DocuToken & let_drNewToken ); - void AddDocuToken2CurAtTag( + void AddDocuToken2CurAtTag( DYN ary::inf::DocuToken & let_drNewToken ); - void SetCurParameterAtTagName( + void SetCurParameterAtTagName( DYN ary::inf::DocuToken & let_drNewToken ); - void SetCurSeeAlsoAtTagLinkText( + void SetCurSeeAlsoAtTagLinkText( DYN ary::inf::DocuToken & let_drNewToken ); - void SetCurSeeAlsoAtTagLinkText_2( + void SetCurSeeAlsoAtTagLinkText_2( DYN ary::inf::DocuToken & let_drNewToken ); - void SetCurSeeAlsoAtTagLinkText_3( + void SetCurSeeAlsoAtTagLinkText_3( DYN ary::inf::DocuToken & let_drNewToken ); - void SetCurSinceAtTagVersion( + void SetCurSinceAtTagVersion( DYN ary::inf::DocuToken & let_drNewToken ); - void AddDocuToken2SinceAtTag( + void AddDocuToken2SinceAtTag( DYN ary::inf::DocuToken & let_drNewToken ); // DATA Dyn<ary::doc::OldIdlDocu> pDocu; - E_State eState; + E_State eState; ParserInfo * pPositionInfo; - F_TokenAdder fCurTokenAddFunction; + F_TokenAdder fCurTokenAddFunction; - Dyn<DT_AtTag> pCurAtTag; + Dyn<DT_AtTag> pCurAtTag; String sCurDimAttribute; StreamStr sCurAtSeeType_byXML; }; diff --git a/autodoc/source/parser_i/inc/s2_dsapi/dsapitok.hxx b/autodoc/source/parser_i/inc/s2_dsapi/dsapitok.hxx index 9ccccee02ef8..8d8d418b1104 100644 --- a/autodoc/source/parser_i/inc/s2_dsapi/dsapitok.hxx +++ b/autodoc/source/parser_i/inc/s2_dsapi/dsapitok.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -49,11 +49,11 @@ class Token : public TextToken { public: // LIFECYCLE - virtual ~Token() {} + virtual ~Token() {} // OPERATIONS - virtual void Trigger( - TokenInterpreter & io_rInterpreter ) const = 0; + virtual void Trigger( + TokenInterpreter & io_rInterpreter ) const = 0; }; diff --git a/autodoc/source/parser_i/inc/s2_dsapi/tk_atag2.hxx b/autodoc/source/parser_i/inc/s2_dsapi/tk_atag2.hxx index 57bf561ffdce..dd2e097678ce 100644 --- a/autodoc/source/parser_i/inc/s2_dsapi/tk_atag2.hxx +++ b/autodoc/source/parser_i/inc/s2_dsapi/tk_atag2.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -68,17 +68,17 @@ class Tok_AtTag : public Token // Spring and Fall Tok_AtTag( - EV_TokenId i_eTag ) - : eTag(i_eTag) {} + EV_TokenId i_eTag ) + : eTag(i_eTag) {} // OPERATIONS - virtual void Trigger( - TokenInterpreter & io_rInterpreter ) const; + virtual void Trigger( + TokenInterpreter & io_rInterpreter ) const; // INQUIRY - virtual const char* Text() const; - E_TokenId Id() const { return eTag; } + virtual const char* Text() const; + E_TokenId Id() const { return eTag; } private: - EV_TokenId eTag; + EV_TokenId eTag; }; } // namespace dsapi diff --git a/autodoc/source/parser_i/inc/s2_dsapi/tk_docw2.hxx b/autodoc/source/parser_i/inc/s2_dsapi/tk_docw2.hxx index 5ee763969ad6..25ebd547f47c 100644 --- a/autodoc/source/parser_i/inc/s2_dsapi/tk_docw2.hxx +++ b/autodoc/source/parser_i/inc/s2_dsapi/tk_docw2.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -46,27 +46,27 @@ class Tok_Word : public Token public: // Spring and Fall Tok_Word( - const char * i_sText ) - : sText(i_sText) {} + const char * i_sText ) + : sText(i_sText) {} // OPERATIONS - virtual void Trigger( - TokenInterpreter & io_rInterpreter ) const; + virtual void Trigger( + TokenInterpreter & io_rInterpreter ) const; // INQUIRY - virtual const char* Text() const; + virtual const char* Text() const; private: // DATA - String sText; + String sText; }; class Tok_Comma : public Token { public: // OPERATIONS - virtual void Trigger( - TokenInterpreter & io_rInterpreter ) const; + virtual void Trigger( + TokenInterpreter & io_rInterpreter ) const; // INQUIRY - virtual const char* Text() const; + virtual const char* Text() const; }; class Tok_DocuEnd : public Token @@ -74,10 +74,10 @@ class Tok_DocuEnd : public Token public: // Spring and Fall // OPERATIONS - virtual void Trigger( - TokenInterpreter & io_rInterpreter ) const; + virtual void Trigger( + TokenInterpreter & io_rInterpreter ) const; // INQUIRY - virtual const char* Text() const; + virtual const char* Text() const; }; class Tok_EOL : public Token @@ -85,10 +85,10 @@ class Tok_EOL : public Token public: // Spring and Fall // OPERATIONS - virtual void Trigger( - TokenInterpreter & io_rInterpreter ) const; + virtual void Trigger( + TokenInterpreter & io_rInterpreter ) const; // INQUIRY - virtual const char* Text() const; + virtual const char* Text() const; }; class Tok_EOF : public Token @@ -96,20 +96,20 @@ class Tok_EOF : public Token public: // Spring and Fall // OPERATIONS - virtual void Trigger( - TokenInterpreter & io_rInterpreter ) const; + virtual void Trigger( + TokenInterpreter & io_rInterpreter ) const; // INQUIRY - virtual const char* Text() const; + virtual const char* Text() const; }; class Tok_White : public Token { public: // OPERATIONS - virtual void Trigger( - TokenInterpreter & io_rInterpreter ) const; + virtual void Trigger( + TokenInterpreter & io_rInterpreter ) const; // INQUIRY - virtual const char* Text() const; + virtual const char* Text() const; }; diff --git a/autodoc/source/parser_i/inc/s2_dsapi/tk_html.hxx b/autodoc/source/parser_i/inc/s2_dsapi/tk_html.hxx index 3d69c13d296c..7bb8a26aa195 100644 --- a/autodoc/source/parser_i/inc/s2_dsapi/tk_html.hxx +++ b/autodoc/source/parser_i/inc/s2_dsapi/tk_html.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -47,22 +47,22 @@ class Tok_HtmlTag : public Token public: // Spring and Fall Tok_HtmlTag( - const char * i_sTag, - bool i_bIsParagraphStarter ) - : sTag(i_sTag), + const char * i_sTag, + bool i_bIsParagraphStarter ) + : sTag(i_sTag), bIsParagraphStarter(i_bIsParagraphStarter) {} // OPERATIONS - virtual void Trigger( - TokenInterpreter & io_rInterpreter ) const; + virtual void Trigger( + TokenInterpreter & io_rInterpreter ) const; // INQUIRY - virtual const char* Text() const; - bool IsParagraphStarter() const + virtual const char* Text() const; + bool IsParagraphStarter() const { return bIsParagraphStarter; } private: - String sTag; - bool bIsParagraphStarter; + String sTag; + bool bIsParagraphStarter; }; diff --git a/autodoc/source/parser_i/inc/s2_dsapi/tk_xml.hxx b/autodoc/source/parser_i/inc/s2_dsapi/tk_xml.hxx index 7bb8db52a27f..50d85212aaac 100644 --- a/autodoc/source/parser_i/inc/s2_dsapi/tk_xml.hxx +++ b/autodoc/source/parser_i/inc/s2_dsapi/tk_xml.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -64,18 +64,18 @@ class Tok_XmlConst : public Tok_XmlTag // Spring and Fall Tok_XmlConst( - EV_TokenId i_eTag ) - : eTag(i_eTag) {} + EV_TokenId i_eTag ) + : eTag(i_eTag) {} // OPERATIONS - virtual void Trigger( - TokenInterpreter & io_rInterpreter ) const; + virtual void Trigger( + TokenInterpreter & io_rInterpreter ) const; // INQUIRY - virtual const char* Text() const; - E_TokenId Id() const { return eTag; } + virtual const char* Text() const; + E_TokenId Id() const { return eTag; } private: // DATA - EV_TokenId eTag; + EV_TokenId eTag; }; class Tok_XmlLink_Tag : public Tok_XmlTag @@ -97,26 +97,26 @@ class Tok_XmlLink_BeginTag : public Tok_XmlLink_Tag public: // Spring and Fall Tok_XmlLink_BeginTag( - EV_TokenId i_eTag, - const String & i_sScope, - const String & i_sDim ) - : eTag(i_eTag), + EV_TokenId i_eTag, + const String & i_sScope, + const String & i_sDim ) + : eTag(i_eTag), sScope(i_sScope), sDim(i_sDim) {} // OPERATIONS - virtual void Trigger( - TokenInterpreter & io_rInterpreter ) const; + virtual void Trigger( + TokenInterpreter & io_rInterpreter ) const; // INQUIRY - virtual const char* Text() const; - E_TokenId Id() const { return eTag; } - const String & Scope() const { return sScope; } - const String & Dim() const { return sDim; } + virtual const char* Text() const; + E_TokenId Id() const { return eTag; } + const String & Scope() const { return sScope; } + const String & Dim() const { return sDim; } private: // DATA - EV_TokenId eTag; - String sScope; - String sDim; + EV_TokenId eTag; + String sScope; + String sDim; }; class Tok_XmlLink_EndTag : public Tok_XmlLink_Tag @@ -124,18 +124,18 @@ class Tok_XmlLink_EndTag : public Tok_XmlLink_Tag public: // Spring and Fall Tok_XmlLink_EndTag( - EV_TokenId i_eTag ) - : eTag(i_eTag) {} + EV_TokenId i_eTag ) + : eTag(i_eTag) {} // OPERATIONS - virtual void Trigger( - TokenInterpreter & io_rInterpreter ) const; + virtual void Trigger( + TokenInterpreter & io_rInterpreter ) const; // INQUIRY - virtual const char* Text() const; - E_TokenId Id() const { return eTag; } + virtual const char* Text() const; + E_TokenId Id() const { return eTag; } private: // DATA - EV_TokenId eTag; + EV_TokenId eTag; }; class Tok_XmlFormat_Tag : public Tok_XmlTag @@ -157,21 +157,21 @@ class Tok_XmlFormat_BeginTag : public Tok_XmlFormat_Tag public: // Spring and Fall Tok_XmlFormat_BeginTag( - EV_TokenId i_eTag, + EV_TokenId i_eTag, const String & i_sDim ) - : eTag(i_eTag), + : eTag(i_eTag), sDim(i_sDim) {} // OPERATIONS - virtual void Trigger( - TokenInterpreter & io_rInterpreter ) const; + virtual void Trigger( + TokenInterpreter & io_rInterpreter ) const; // INQUIRY - virtual const char* Text() const; - E_TokenId Id() const { return eTag; } - const String & Dim() const { return sDim; } + virtual const char* Text() const; + E_TokenId Id() const { return eTag; } + const String & Dim() const { return sDim; } private: // DATA - EV_TokenId eTag; + EV_TokenId eTag; String sDim; }; @@ -180,18 +180,18 @@ class Tok_XmlFormat_EndTag : public Tok_XmlFormat_Tag public: // Spring and Fall Tok_XmlFormat_EndTag( - EV_TokenId i_eTag ) - : eTag(i_eTag) {} + EV_TokenId i_eTag ) + : eTag(i_eTag) {} // OPERATIONS - virtual void Trigger( - TokenInterpreter & io_rInterpreter ) const; + virtual void Trigger( + TokenInterpreter & io_rInterpreter ) const; // INQUIRY - virtual const char* Text() const; - E_TokenId Id() const { return eTag; } + virtual const char* Text() const; + E_TokenId Id() const { return eTag; } private: // DATA - EV_TokenId eTag; + EV_TokenId eTag; }; diff --git a/autodoc/source/parser_i/inc/s2_dsapi/tokintpr.hxx b/autodoc/source/parser_i/inc/s2_dsapi/tokintpr.hxx index fed4c0e25121..8437f4f23843 100644 --- a/autodoc/source/parser_i/inc/s2_dsapi/tokintpr.hxx +++ b/autodoc/source/parser_i/inc/s2_dsapi/tokintpr.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -54,33 +54,33 @@ class Tok_HtmlTag; class TokenInterpreter { public: - virtual ~TokenInterpreter() {} + virtual ~TokenInterpreter() {} - virtual void Process_AtTag( - const Tok_AtTag & i_rToken ) = 0; - virtual void Process_HtmlTag( - const Tok_HtmlTag & i_rToken ) = 0; - virtual void Process_XmlConst( + virtual void Process_AtTag( + const Tok_AtTag & i_rToken ) = 0; + virtual void Process_HtmlTag( + const Tok_HtmlTag & i_rToken ) = 0; + virtual void Process_XmlConst( const Tok_XmlConst & i_rToken ) = 0; - virtual void Process_XmlLink_BeginTag( + virtual void Process_XmlLink_BeginTag( const Tok_XmlLink_BeginTag & i_rToken ) = 0; - virtual void Process_XmlLink_EndTag( + virtual void Process_XmlLink_EndTag( const Tok_XmlLink_EndTag & i_rToken ) = 0; - virtual void Process_XmlFormat_BeginTag( + virtual void Process_XmlFormat_BeginTag( const Tok_XmlFormat_BeginTag & i_rToken ) = 0; - virtual void Process_XmlFormat_EndTag( + virtual void Process_XmlFormat_EndTag( const Tok_XmlFormat_EndTag & i_rToken ) = 0; - virtual void Process_Word( - const Tok_Word & i_rToken ) = 0; - virtual void Process_Comma() = 0; - virtual void Process_DocuEnd() = 0; - virtual void Process_EOL() = 0; - virtual void Process_White() = 0; + virtual void Process_Word( + const Tok_Word & i_rToken ) = 0; + virtual void Process_Comma() = 0; + virtual void Process_DocuEnd() = 0; + virtual void Process_EOL() = 0; + virtual void Process_White() = 0; }; diff --git a/autodoc/source/parser_i/inc/s2_dsapi/tokrecv.hxx b/autodoc/source/parser_i/inc/s2_dsapi/tokrecv.hxx index 14ef872d4306..be7d77262073 100644 --- a/autodoc/source/parser_i/inc/s2_dsapi/tokrecv.hxx +++ b/autodoc/source/parser_i/inc/s2_dsapi/tokrecv.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -47,9 +47,9 @@ class Token; class Token_Receiver { public: - virtual ~Token_Receiver() {} - virtual void Receive( - DYN Token & let_drToken ) = 0; + virtual ~Token_Receiver() {} + virtual void Receive( + DYN Token & let_drToken ) = 0; virtual void Increment_CurLine() = 0; }; diff --git a/autodoc/source/parser_i/inc/s2_luidl/cx_idlco.hxx b/autodoc/source/parser_i/inc/s2_luidl/cx_idlco.hxx index 07d325846238..db10741e5dd8 100644 --- a/autodoc/source/parser_i/inc/s2_luidl/cx_idlco.hxx +++ b/autodoc/source/parser_i/inc/s2_luidl/cx_idlco.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -51,36 +51,36 @@ class Context_UidlCode : public TkpContext, private StateMachineContext { public: - // LIFECYCLE + // LIFECYCLE Context_UidlCode( - Token_Receiver & o_rReceiver, + Token_Receiver & o_rReceiver, DYN TkpDocuContext & - let_drContext_Docu ); + let_drContext_Docu ); ~Context_UidlCode(); - // OPERATORS + // OPERATORS - // OPERATIONS - virtual void ReadCharChain( - CharacterSource & io_rText ); - virtual bool PassNewToken(); + // OPERATIONS + virtual void ReadCharChain( + CharacterSource & io_rText ); + virtual bool PassNewToken(); - // INQUIRY + // INQUIRY virtual TkpContext & FollowUpContext(); private: - // SERVICE FUNCTIONS - void PerformStatusFunction( - uintt i_nStatusSignal, - UINT16 i_nTokenId, - CharacterSource & io_rText ); - void SetupStateMachine(); + // SERVICE FUNCTIONS + void PerformStatusFunction( + uintt i_nStatusSignal, + UINT16 i_nTokenId, + CharacterSource & io_rText ); + void SetupStateMachine(); - // DATA - StateMachin2 aStateMachine; - Token_Receiver * pReceiver; + // DATA + StateMachin2 aStateMachine; + Token_Receiver * pReceiver; // Contexts - Dyn<TkpDocuContext> pDocuContext; + Dyn<TkpDocuContext> pDocuContext; Dyn<TkpContext> dpContext_MLComment; Dyn<TkpContext> dpContext_SLComment; @@ -88,8 +88,8 @@ class Context_UidlCode : public TkpContext, Dyn<TkpContext> dpContext_Assignment; // Temporary data, used during ReadCharChain() - Dyn<Token> pNewToken; - ::TkpContext * pFollowUpContext; + Dyn<Token> pNewToken; + ::TkpContext * pFollowUpContext; }; diff --git a/autodoc/source/parser_i/inc/s2_luidl/cx_sub.hxx b/autodoc/source/parser_i/inc/s2_luidl/cx_sub.hxx index 0113a87c11e7..b1e96671b782 100644 --- a/autodoc/source/parser_i/inc/s2_luidl/cx_sub.hxx +++ b/autodoc/source/parser_i/inc/s2_luidl/cx_sub.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -49,29 +49,29 @@ class Token; class Cx_Base : public ::TkpContext { public: - virtual bool PassNewToken(); + virtual bool PassNewToken(); virtual TkpContext & FollowUpContext(); protected: // LIFECYCLE Cx_Base( - Token_Receiver & o_rReceiver, - TkpContext & i_rFollowUpContext ) - : rReceiver(o_rReceiver), + Token_Receiver & o_rReceiver, + TkpContext & i_rFollowUpContext ) + : rReceiver(o_rReceiver), pFollowUpContext(&i_rFollowUpContext), pNewToken() {} protected: - void SetToken( - DYN Token * let_dpToken ) + void SetToken( + DYN Token * let_dpToken ) { pNewToken = let_dpToken; } - Token_Receiver & Receiver() { return rReceiver; } + Token_Receiver & Receiver() { return rReceiver; } private: // DATA - Token_Receiver & rReceiver; - TkpContext * pFollowUpContext; - Dyn<Token> pNewToken; + Token_Receiver & rReceiver; + TkpContext * pFollowUpContext; + Dyn<Token> pNewToken; }; @@ -84,44 +84,44 @@ class Context_MLComment : public Cx_Base { public: Context_MLComment( - Token_Receiver & o_rReceiver, - TkpContext & i_rFollowUpContext ) - : Cx_Base(o_rReceiver, i_rFollowUpContext) {} - virtual void ReadCharChain( - CharacterSource & io_rText ); + Token_Receiver & o_rReceiver, + TkpContext & i_rFollowUpContext ) + : Cx_Base(o_rReceiver, i_rFollowUpContext) {} + virtual void ReadCharChain( + CharacterSource & io_rText ); }; class Context_SLComment : public Cx_Base { public: Context_SLComment( - Token_Receiver & o_rReceiver, - TkpContext & i_rFollowUpContext ) - : Cx_Base(o_rReceiver, i_rFollowUpContext) {} - virtual void ReadCharChain( - CharacterSource & io_rText ); + Token_Receiver & o_rReceiver, + TkpContext & i_rFollowUpContext ) + : Cx_Base(o_rReceiver, i_rFollowUpContext) {} + virtual void ReadCharChain( + CharacterSource & io_rText ); }; class Context_Praeprocessor : public Cx_Base { public: Context_Praeprocessor( - Token_Receiver & o_rReceiver, - TkpContext & i_rFollowUpContext ) - : Cx_Base(o_rReceiver, i_rFollowUpContext) {} - virtual void ReadCharChain( - CharacterSource & io_rText ); + Token_Receiver & o_rReceiver, + TkpContext & i_rFollowUpContext ) + : Cx_Base(o_rReceiver, i_rFollowUpContext) {} + virtual void ReadCharChain( + CharacterSource & io_rText ); }; class Context_Assignment : public Cx_Base { public: Context_Assignment( - Token_Receiver & o_rReceiver, - TkpContext & i_rFollowUpContext ) - : Cx_Base(o_rReceiver, i_rFollowUpContext) {} - virtual void ReadCharChain( - CharacterSource & io_rText ); + Token_Receiver & o_rReceiver, + TkpContext & i_rFollowUpContext ) + : Cx_Base(o_rReceiver, i_rFollowUpContext) {} + virtual void ReadCharChain( + CharacterSource & io_rText ); }; diff --git a/autodoc/source/parser_i/inc/s2_luidl/distrib.hxx b/autodoc/source/parser_i/inc/s2_luidl/distrib.hxx index 411fc402eb42..eec22017ff40 100644 --- a/autodoc/source/parser_i/inc/s2_luidl/distrib.hxx +++ b/autodoc/source/parser_i/inc/s2_luidl/distrib.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -68,8 +68,8 @@ namespace uidl { -typedef std::vector< DYN Token * > TokenQueue; -typedef TokenQueue::iterator TokenIterator; +typedef std::vector< DYN Token * > TokenQueue; +typedef TokenQueue::iterator TokenIterator; class TokenParser_Uidl; class UnoIDL_PE; @@ -81,21 +81,21 @@ class TokenDistributor : private TokenProcessing_Types { public: TokenDistributor( - ary::Repository & io_rRepository, + ary::Repository & io_rRepository, ParserInfo & io_rParserInfo ); - void SetTokenProvider( - TokenParser_Uidl & io_rTokenSource ); - void SetTopParseEnvironment( - UnoIDL_PE & io_pTopParseEnvironment ); + void SetTokenProvider( + TokenParser_Uidl & io_rTokenSource ); + void SetTopParseEnvironment( + UnoIDL_PE & io_pTopParseEnvironment ); ~TokenDistributor(); - void Reset() { aDocumentation.Reset(); } - /** calls pTokenSource->GetNextToken() and checks the incoming tokens, until a + void Reset() { aDocumentation.Reset(); } + /** calls pTokenSource->GetNextToken() and checks the incoming tokens, until a usable token is found. This token will be forwarded to pTopParseEnv; */ - void TradeToken(); + void TradeToken(); csi::uidl::Token_Receiver & CodeTokens_Receiver(); @@ -122,59 +122,59 @@ class TokenDistributor : private TokenProcessing_Types class ProcessingData; friend class ProcessingData; - class ProcessingData : public csi::uidl::Token_Receiver, + class ProcessingData : public csi::uidl::Token_Receiver, private TokenProcessing_Types { public: ProcessingData( - ary::Repository & io_rRepository, - Documentation & i_rDocuProcessor, + ary::Repository & io_rRepository, + Documentation & i_rDocuProcessor, ParserInfo & io_rParserInfo ); ~ProcessingData(); - void SetTopParseEnvironment( - UnoIDL_PE & io_pTopParseEnvironment ); + void SetTopParseEnvironment( + UnoIDL_PE & io_pTopParseEnvironment ); - /** is called from pTokenSource before finishing a ::TokenParse2::GetNextToken() + /** is called from pTokenSource before finishing a ::TokenParse2::GetNextToken() call and passes the just parsed token to this class. */ - virtual void Receive( + virtual void Receive( DYN csi::uidl::Token & let_drToken ); virtual void Increment_CurLine(); - void ProcessCurToken(); + void ProcessCurToken(); - UnoIDL_PE & CurEnvironment() const; - bool NextTokenExists() const; + UnoIDL_PE & CurEnvironment() const; + bool NextTokenExists() const; void Set_PublishedOn() { bPublishedRecentlyOn = true; } private: - typedef uintt TokenQ_Position; - typedef std::pair< UnoIDL_PE *, TokenQ_Position > EnvironmentInfo; + typedef uintt TokenQ_Position; + typedef std::pair< UnoIDL_PE *, TokenQ_Position > EnvironmentInfo; typedef std::vector< EnvironmentInfo > EnvironmentStack; - void AcknowledgeResult(); + void AcknowledgeResult(); const csi::uidl::Token & CurToken() const; - UnoIDL_PE & CurEnv() const; - UnoIDL_PE & PushEnv() const; - uintt CurTokenPosition() const; + UnoIDL_PE & CurEnv() const; + UnoIDL_PE & PushEnv() const; + uintt CurTokenPosition() const; uintt CurEnv_TriedTokenPosition() const; - void DecrementTryCount(); + void DecrementTryCount(); - EnvironmentStack aEnvironments; - TokenQueue aTokenQueue; - TokenIterator itCurToken; + EnvironmentStack aEnvironments; + TokenQueue aTokenQueue; + TokenIterator itCurToken; TokenProcessing_Result aCurResult; - uintt nTryCount; - bool bFinished; + uintt nTryCount; + bool bFinished; ary::Repository & rRepository; ParserInfo & rParserInfo; - Documentation * pDocuProcessor; + Documentation * pDocuProcessor; bool bPublishedRecentlyOn; }; @@ -185,9 +185,9 @@ class TokenDistributor : private TokenProcessing_Types ParserInfo & io_rParserInfo); ~Documentation(); - void Reset() { bIsPassedFirstDocu = false; } + void Reset() { bIsPassedFirstDocu = false; } - virtual void Receive( + virtual void Receive( DYN csi::dsapi::Token & let_drToken ); virtual void Increment_CurLine(); @@ -200,13 +200,13 @@ class TokenDistributor : private TokenProcessing_Types ParserInfo & rParserInfo; Dyn<ary::doc::OldIdlDocu> pMostRecentDocu; - bool bIsPassedFirstDocu; + bool bIsPassedFirstDocu; }; // DATA - TokenParser_Uidl * pTokenSource; - Documentation aDocumentation; - ProcessingData aProcessingData; + TokenParser_Uidl * pTokenSource; + Documentation aDocumentation; + ProcessingData aProcessingData; }; @@ -214,7 +214,7 @@ class TokenDistributor : private TokenProcessing_Types // IMPLEMENTATION inline void -TokenDistributor::SetTokenProvider( TokenParser_Uidl & io_rTokenSource ) +TokenDistributor::SetTokenProvider( TokenParser_Uidl & io_rTokenSource ) { pTokenSource = &io_rTokenSource; } inline void diff --git a/autodoc/source/parser_i/inc/s2_luidl/parsenv2.hxx b/autodoc/source/parser_i/inc/s2_luidl/parsenv2.hxx index 7708ac66775e..a6278f0dd240 100644 --- a/autodoc/source/parser_i/inc/s2_luidl/parsenv2.hxx +++ b/autodoc/source/parser_i/inc/s2_luidl/parsenv2.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -76,60 +76,60 @@ class UnoIDL_PE : virtual protected TokenProcessing_Types public: virtual ~UnoIDL_PE(); - virtual void EstablishContacts( - UnoIDL_PE * io_pParentPE, + virtual void EstablishContacts( + UnoIDL_PE * io_pParentPE, ary::Repository & io_rRepository, TokenProcessing_Result & o_rResult ); -// virtual void EstablishContacts( -// UnoIDL_PE * io_pParentPE, -// ary::idl::Gate & +// virtual void EstablishContacts( +// UnoIDL_PE * io_pParentPE, +// ary::idl::Gate & // io_rGate, -// TokenProcessing_Result & -// o_rResult ); - virtual void Enter( - E_EnvStackAction i_eWayOfEntering ); - virtual void Leave( - E_EnvStackAction i_eWayOfLeaving ); - virtual void ProcessToken( - const Token & i_rToken ) = 0; - - void SetDocu( +// TokenProcessing_Result & +// o_rResult ); + virtual void Enter( + E_EnvStackAction i_eWayOfEntering ); + virtual void Leave( + E_EnvStackAction i_eWayOfLeaving ); + virtual void ProcessToken( + const Token & i_rToken ) = 0; + + void SetDocu( DYN ary::doc::OldIdlDocu * let_dpDocu ); - void SetPublished(); - void SetOptional(); - void PassDocuAt( + void SetPublished(); + void SetOptional(); + void PassDocuAt( ary::idl::CodeEntity & io_rCe ); - UnoIDL_PE * Parent() const { return aMyNode.Parent(); } + UnoIDL_PE * Parent() const { return aMyNode.Parent(); } - void SetResult( - E_TokenDone i_eDone, - E_EnvStackAction i_eWhat2DoWithEnvStack, - UnoIDL_PE * i_pParseEnv2Push = 0 ) + void SetResult( + E_TokenDone i_eDone, + E_EnvStackAction i_eWhat2DoWithEnvStack, + UnoIDL_PE * i_pParseEnv2Push = 0 ) { aMyNode.SetTokenResult( i_eDone, i_eWhat2DoWithEnvStack, i_pParseEnv2Push ); } virtual const ary::idl::Module & CurNamespace() const; virtual const ParserInfo & ParseInfo() const; - ary::idl::Gate & Gate() const { return aMyNode.AryGate(); } + ary::idl::Gate & Gate() const { return aMyNode.AryGate(); } TokenProcessing_Result & TokenResult() const { return aMyNode.TokenResult(); } DYN ary::doc::OldIdlDocu * - ReleaseDocu() { return pDocu.Release(); } + ReleaseDocu() { return pDocu.Release(); } protected: UnoIDL_PE(); ary::Repository & MyRepository() { csv_assert(pRepository != 0); return *pRepository; } private: - virtual void InitData(); - virtual void TransferData() = 0; - virtual void ReceiveData(); + virtual void InitData(); + virtual void TransferData() = 0; + virtual void ReceiveData(); - SemanticNode aMyNode; + SemanticNode aMyNode; Dyn<ary::doc::OldIdlDocu> pDocu; ary::Repository * pRepository; diff --git a/autodoc/source/parser_i/inc/s2_luidl/pe_attri.hxx b/autodoc/source/parser_i/inc/s2_luidl/pe_attri.hxx index 222fcdf43b7a..5a6dffc76f7b 100644 --- a/autodoc/source/parser_i/inc/s2_luidl/pe_attri.hxx +++ b/autodoc/source/parser_i/inc/s2_luidl/pe_attri.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -69,30 +69,30 @@ class PE_Attribute : public UnoIDL_PE, PE_Attribute( const Ce_id & i_rCurOwner ); - virtual void EstablishContacts( - UnoIDL_PE * io_pParentPE, + virtual void EstablishContacts( + UnoIDL_PE * io_pParentPE, ary::Repository & io_rRepository, TokenProcessing_Result & o_rResult ); - virtual ~PE_Attribute(); + virtual ~PE_Attribute(); - virtual void ProcessToken( - const Token & i_rToken ); + virtual void ProcessToken( + const Token & i_rToken ); - virtual void Process_Identifier( + virtual void Process_Identifier( const TokIdentifier & i_rToken ); - virtual void Process_Stereotype( + virtual void Process_Stereotype( const TokStereotype & i_rToken ); - virtual void Process_MetaType( - const TokMetaType & i_rToken ); - virtual void Process_Punctuation( + virtual void Process_MetaType( + const TokMetaType & i_rToken ); + virtual void Process_Punctuation( const TokPunctuation & i_rToken ); - virtual void Process_Raises(); - virtual void Process_Default(); + virtual void Process_Raises(); + virtual void Process_Default(); private: enum E_State @@ -106,23 +106,23 @@ class PE_Attribute : public UnoIDL_PE, in_set }; - virtual void InitData(); - virtual void ReceiveData(); - virtual void TransferData(); - virtual UnoIDL_PE & MyPE(); + virtual void InitData(); + virtual void ReceiveData(); + virtual void TransferData(); + virtual UnoIDL_PE & MyPE(); // DATA E_State eState; const Ce_id * pCurOwner; - Dyn<PE_Variable> pPE_Variable; - Dyn<PE_Type> pPE_Exception; + Dyn<PE_Variable> pPE_Variable; + Dyn<PE_Type> pPE_Exception; // object-data ary::idl::Attribute * pCurAttribute; - Type_id nCurParsedType; - String sCurParsedName; + Type_id nCurParsedType; + String sCurParsedName; bool bReadOnly; bool bBound; }; diff --git a/autodoc/source/parser_i/inc/s2_luidl/pe_const.hxx b/autodoc/source/parser_i/inc/s2_luidl/pe_const.hxx index 397a235e4748..74d9302107d8 100644 --- a/autodoc/source/parser_i/inc/s2_luidl/pe_const.hxx +++ b/autodoc/source/parser_i/inc/s2_luidl/pe_const.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -58,24 +58,24 @@ class PE_Constant : public UnoIDL_PE, { public: PE_Constant(); - virtual void EstablishContacts( - UnoIDL_PE * io_pParentPE, + virtual void EstablishContacts( + UnoIDL_PE * io_pParentPE, ary::Repository & io_rRepository, TokenProcessing_Result & o_rResult ); ~PE_Constant(); - virtual void ProcessToken( - const Token & i_rToken ); + virtual void ProcessToken( + const Token & i_rToken ); - virtual void Process_Identifier( + virtual void Process_Identifier( const TokIdentifier & i_rToken ); - virtual void Process_Punctuation( + virtual void Process_Punctuation( const TokPunctuation & i_rToken ); - virtual void Process_Stereotype( + virtual void Process_Stereotype( const TokStereotype & i_rToken ); @@ -100,40 +100,40 @@ class PE_Constant : public UnoIDL_PE, typedef void (PE_Constant::*F_TOK)(const char *); - void CallHandler( - const char * i_sTokenText, - E_TokenType i_eTokenType ); + void CallHandler( + const char * i_sTokenText, + E_TokenType i_eTokenType ); - void On_expect_name_Identifier(const char * i_sText); - void On_expect_curl_bracket_open_Punctuation(const char * i_sText); - void On_expect_const_Stereotype(const char * i_sText); - void On_expect_const_Punctuation(const char * i_sText); - void On_expect_value_Identifier(const char * i_sText); + void On_expect_name_Identifier(const char * i_sText); + void On_expect_curl_bracket_open_Punctuation(const char * i_sText); + void On_expect_const_Stereotype(const char * i_sText); + void On_expect_const_Punctuation(const char * i_sText); + void On_expect_value_Identifier(const char * i_sText); void On_expect_finish_Punctuation(const char * i_sText); - void On_Default(const char * ); + void On_Default(const char * ); - void EmptySingleConstData(); - void CreateSingleConstant(); + void EmptySingleConstData(); + void CreateSingleConstant(); - virtual void InitData(); - virtual void ReceiveData(); - virtual void TransferData(); - virtual UnoIDL_PE & MyPE(); + virtual void InitData(); + virtual void ReceiveData(); + virtual void TransferData(); + virtual UnoIDL_PE & MyPE(); // DATA - static F_TOK aDispatcher[e_STATES_MAX][tt_MAX]; + static F_TOK aDispatcher[e_STATES_MAX][tt_MAX]; E_State eState; String sData_Name; - ary::idl::Ce_id nDataId; + ary::idl::Ce_id nDataId; - Dyn<PE_Type> pPE_Type; - ary::idl::Type_id nType; + Dyn<PE_Type> pPE_Type; + ary::idl::Type_id nType; - Dyn<PE_Value> pPE_Value; - String sName; - String sAssignment; + Dyn<PE_Value> pPE_Value; + String sName; + String sAssignment; }; diff --git a/autodoc/source/parser_i/inc/s2_luidl/pe_enum2.hxx b/autodoc/source/parser_i/inc/s2_luidl/pe_enum2.hxx index 2fef65658d9b..4d97c58ade7b 100644 --- a/autodoc/source/parser_i/inc/s2_luidl/pe_enum2.hxx +++ b/autodoc/source/parser_i/inc/s2_luidl/pe_enum2.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -54,20 +54,20 @@ class PE_Enum : public UnoIDL_PE, { public: PE_Enum(); - virtual void EstablishContacts( - UnoIDL_PE * io_pParentPE, - ary::Repository & io_rRepository, + virtual void EstablishContacts( + UnoIDL_PE * io_pParentPE, + ary::Repository & io_rRepository, TokenProcessing_Result & o_rResult ); ~PE_Enum(); - virtual void ProcessToken( - const Token & i_rToken ); + virtual void ProcessToken( + const Token & i_rToken ); - virtual void Process_Identifier( + virtual void Process_Identifier( const TokIdentifier & i_rToken ); - virtual void Process_Punctuation( + virtual void Process_Punctuation( const TokPunctuation & i_rToken ); @@ -90,36 +90,36 @@ class PE_Enum : public UnoIDL_PE, typedef void (PE_Enum::*F_TOK)(const char *); - void CallHandler( - const char * i_sTokenText, - E_TokenType i_eTokenType ); + void CallHandler( + const char * i_sTokenText, + E_TokenType i_eTokenType ); - void On_expect_name_Identifier(const char * i_sText); - void On_expect_curl_bracket_open_Punctuation(const char * i_sText); - void On_expect_value_Punctuation(const char * i_sText); - void On_expect_value_Identifier(const char * i_sText); + void On_expect_name_Identifier(const char * i_sText); + void On_expect_curl_bracket_open_Punctuation(const char * i_sText); + void On_expect_value_Punctuation(const char * i_sText); + void On_expect_value_Identifier(const char * i_sText); void On_expect_finish_Punctuation(const char * i_sText); - void On_Default(const char * ); + void On_Default(const char * ); - void EmptySingleValueData(); - void CreateSingleValue(); + void EmptySingleValueData(); + void CreateSingleValue(); - virtual void InitData(); - virtual void ReceiveData(); - virtual void TransferData(); - virtual UnoIDL_PE & MyPE(); + virtual void InitData(); + virtual void ReceiveData(); + virtual void TransferData(); + virtual UnoIDL_PE & MyPE(); // DATA - static F_TOK aDispatcher[e_STATES_MAX][tt_MAX]; + static F_TOK aDispatcher[e_STATES_MAX][tt_MAX]; E_State eState; String sData_Name; - ary::idl::Ce_id nDataId; + ary::idl::Ce_id nDataId; - Dyn<PE_Value> pPE_Value; - String sName; - String sAssignment; + Dyn<PE_Value> pPE_Value; + String sName; + String sAssignment; }; diff --git a/autodoc/source/parser_i/inc/s2_luidl/pe_evalu.hxx b/autodoc/source/parser_i/inc/s2_luidl/pe_evalu.hxx index 13bb996e6380..dbd279578f2a 100644 --- a/autodoc/source/parser_i/inc/s2_luidl/pe_evalu.hxx +++ b/autodoc/source/parser_i/inc/s2_luidl/pe_evalu.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -54,27 +54,27 @@ class PE_Value : public UnoIDL_PE, { public: PE_Value( - String & o_rName, - String & o_rAssignment, - bool i_bIsConst ); - virtual void EstablishContacts( - UnoIDL_PE * io_pParentPE, + String & o_rName, + String & o_rAssignment, + bool i_bIsConst ); + virtual void EstablishContacts( + UnoIDL_PE * io_pParentPE, ary::Repository & io_rRepository, TokenProcessing_Result & o_rResult ); ~PE_Value(); - virtual void ProcessToken( - const Token & i_rToken ); + virtual void ProcessToken( + const Token & i_rToken ); - virtual void Process_Identifier( + virtual void Process_Identifier( const TokIdentifier & i_rToken ); - virtual void Process_Punctuation( + virtual void Process_Punctuation( const TokPunctuation & i_rToken ); - virtual void Process_Assignment( + virtual void Process_Assignment( const TokAssignment & i_rToken ); private: @@ -85,7 +85,7 @@ class PE_Value : public UnoIDL_PE, got_name, e_STATES_MAX }; - enum E_TokenType /// @ATTENTION Do not change existing values (except of tt_MAX) !!! Else array-indices will break. + enum E_TokenType /// @ATTENTION Do not change existing values (except of tt_MAX) !!! Else array-indices will break. { tt_identifier = 0, tt_punctuation = 1, @@ -95,27 +95,27 @@ class PE_Value : public UnoIDL_PE, typedef void (PE_Value::*F_TOK)(const char *); - void CallHandler( - const char * i_sTokenText, - E_TokenType i_eTokenType ); + void CallHandler( + const char * i_sTokenText, + E_TokenType i_eTokenType ); - void On_expect_name_Identifier(const char * i_sText); - void On_got_name_Punctuation(const char * i_sText); - void On_got_name_Assignment(const char * i_sText); - void On_Default(const char * ); + void On_expect_name_Identifier(const char * i_sText); + void On_got_name_Punctuation(const char * i_sText); + void On_got_name_Assignment(const char * i_sText); + void On_Default(const char * ); - virtual void InitData(); - virtual void TransferData(); - virtual UnoIDL_PE & MyPE(); + virtual void InitData(); + virtual void TransferData(); + virtual UnoIDL_PE & MyPE(); - bool IsConst() const { return bIsConst; } + bool IsConst() const { return bIsConst; } - static F_TOK aDispatcher[e_STATES_MAX][tt_MAX]; + static F_TOK aDispatcher[e_STATES_MAX][tt_MAX]; E_State eState; - String * pName; - String * pAssignment; - bool bIsConst; + String * pName; + String * pAssignment; + bool bIsConst; }; diff --git a/autodoc/source/parser_i/inc/s2_luidl/pe_excp.hxx b/autodoc/source/parser_i/inc/s2_luidl/pe_excp.hxx index 4d6a9bd96872..6fe3b21105ba 100644 --- a/autodoc/source/parser_i/inc/s2_luidl/pe_excp.hxx +++ b/autodoc/source/parser_i/inc/s2_luidl/pe_excp.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -68,35 +68,35 @@ class PE_Exception : public UnoIDL_PE { public: PE_Exception(); - virtual void EstablishContacts( - UnoIDL_PE * io_pParentPE, - ary::Repository & io_rRepository, + virtual void EstablishContacts( + UnoIDL_PE * io_pParentPE, + ary::Repository & io_rRepository, TokenProcessing_Result & o_rResult ); ~PE_Exception(); - virtual void ProcessToken( - const Token & i_rToken ); + virtual void ProcessToken( + const Token & i_rToken ); private: struct S_Work { S_Work(); - void InitData(); - void Prepare_PE_QualifiedName(); - void Prepare_PE_Element(); - void Data_Set_Name( - const char * i_sName ); + void InitData(); + void Prepare_PE_QualifiedName(); + void Prepare_PE_Element(); + void Data_Set_Name( + const char * i_sName ); // DATA String sData_Name; - bool bIsPreDeclaration; - ary::idl::Ce_id nCurStruct; + bool bIsPreDeclaration; + ary::idl::Ce_id nCurStruct; Dyn<PE_StructElement> pPE_Element; - ary::idl::Ce_id nCurParsed_ElementRef; - Dyn<PE_Type> pPE_Type; - ary::idl::Type_id nCurParsed_Base; + ary::idl::Ce_id nCurParsed_ElementRef; + Dyn<PE_Type> pPE_Type; + ary::idl::Type_id nCurParsed_Base; }; struct S_Stati; @@ -111,50 +111,50 @@ class PE_Exception : public UnoIDL_PE protected: PE_StructState( - PE_Exception & i_rStruct ) - : rStruct(i_rStruct) {} - void MoveState( - ParseEnvState & i_rState ) const; - void SetResult( - E_TokenDone i_eDone, - E_EnvStackAction i_eWhat2DoWithEnvStack, - UnoIDL_PE * i_pParseEnv2Push = 0 ) const + PE_Exception & i_rStruct ) + : rStruct(i_rStruct) {} + void MoveState( + ParseEnvState & i_rState ) const; + void SetResult( + E_TokenDone i_eDone, + E_EnvStackAction i_eWhat2DoWithEnvStack, + UnoIDL_PE * i_pParseEnv2Push = 0 ) const { rStruct.SetResult(i_eDone, i_eWhat2DoWithEnvStack, i_pParseEnv2Push); } - S_Stati & Stati() const { return *rStruct.pStati; } - S_Work & Work() const { return rStruct.aWork; } - PE_Exception & PE() const { return rStruct; } + S_Stati & Stati() const { return *rStruct.pStati; } + S_Work & Work() const { return rStruct.aWork; } + PE_Exception & PE() const { return rStruct; } private: - virtual UnoIDL_PE & MyPE(); + virtual UnoIDL_PE & MyPE(); // DATA - PE_Exception & rStruct; + PE_Exception & rStruct; }; class State_None : public PE_StructState { public: State_None( - PE_Exception & i_rStruct ) - : PE_StructState(i_rStruct) {} + PE_Exception & i_rStruct ) + : PE_StructState(i_rStruct) {} }; class State_WaitForName : public PE_StructState - { // -> Name + { // -> Name public: State_WaitForName( - PE_Exception & i_rStruct ) - : PE_StructState(i_rStruct) {} - virtual void Process_Identifier( + PE_Exception & i_rStruct ) + : PE_StructState(i_rStruct) {} + virtual void Process_Identifier( const TokIdentifier & i_rToken ); }; class State_GotName : public PE_StructState - { // -> : { ; + { // -> : { ; public: State_GotName( - PE_Exception & i_rStruct ) - : PE_StructState(i_rStruct) {} - virtual void Process_Punctuation( + PE_Exception & i_rStruct ) + : PE_StructState(i_rStruct) {} + virtual void Process_Punctuation( const TokPunctuation & i_rToken ); }; @@ -162,17 +162,17 @@ class PE_Exception : public UnoIDL_PE { // -> Base public: State_WaitForBase( - PE_Exception & i_rStruct ) - : PE_StructState(i_rStruct) {} - virtual void On_SubPE_Left(); + PE_Exception & i_rStruct ) + : PE_StructState(i_rStruct) {} + virtual void On_SubPE_Left(); }; class State_GotBase : public PE_StructState { // -> { public: State_GotBase( - PE_Exception & i_rStruct ) - : PE_StructState(i_rStruct) {} - virtual void Process_Punctuation( + PE_Exception & i_rStruct ) + : PE_StructState(i_rStruct) {} + virtual void Process_Punctuation( const TokPunctuation & i_rToken ); }; @@ -180,30 +180,30 @@ class PE_Exception : public UnoIDL_PE { // -> Typ } public: State_WaitForElement( - PE_Exception & i_rStruct ) - : PE_StructState(i_rStruct) {} - virtual void Process_Identifier( + PE_Exception & i_rStruct ) + : PE_StructState(i_rStruct) {} + virtual void Process_Identifier( const TokIdentifier & i_rToken ); - virtual void Process_NameSeparator(); - virtual void Process_BuiltInType( + virtual void Process_NameSeparator(); + virtual void Process_BuiltInType( const TokBuiltInType & i_rToken ); - virtual void Process_TypeModifier( + virtual void Process_TypeModifier( const TokTypeModifier & i_rToken ); - virtual void Process_Punctuation( + virtual void Process_Punctuation( const TokPunctuation & i_rToken ); -// virtual void On_SubPE_Left(); +// virtual void On_SubPE_Left(); }; class State_WaitForFinish : public PE_StructState { // -> ; public: State_WaitForFinish( - PE_Exception & i_rStruct ) - : PE_StructState(i_rStruct) {} - virtual void Process_Punctuation( + PE_Exception & i_rStruct ) + : PE_StructState(i_rStruct) {} + virtual void Process_Punctuation( const TokPunctuation & i_rToken ); }; @@ -211,13 +211,13 @@ class PE_Exception : public UnoIDL_PE struct S_Stati { S_Stati( - PE_Exception & io_rStruct ); - void SetState( - ParseEnvState & i_rNextState ) + PE_Exception & io_rStruct ); + void SetState( + ParseEnvState & i_rNextState ) { pCurStatus = &i_rNextState; } - State_None aNone; - State_WaitForName aWaitForName; + State_None aNone; + State_WaitForName aWaitForName; State_GotName aGotName; State_WaitForBase aWaitForBase; State_GotBase aGotBase; @@ -225,31 +225,31 @@ class PE_Exception : public UnoIDL_PE aWaitForElement; State_WaitForFinish aWaitForFinish; - ParseEnvState * pCurStatus; + ParseEnvState * pCurStatus; }; - virtual void InitData(); - virtual void TransferData(); - virtual void ReceiveData(); + virtual void InitData(); + virtual void TransferData(); + virtual void ReceiveData(); public: void store_Exception(); - + private: - S_Stati & Stati() { return *pStati; } - S_Work & Work() { return aWork; } + S_Stati & Stati() { return *pStati; } + S_Work & Work() { return aWork; } // DATA - S_Work aWork; - Dyn<S_Stati> pStati; + S_Work aWork; + Dyn<S_Stati> pStati; }; inline void PE_Exception::PE_StructState::MoveState( - ParseEnvState & i_rState ) const + ParseEnvState & i_rState ) const { rStruct.Stati().SetState(i_rState); } } // namespace uidl diff --git a/autodoc/source/parser_i/inc/s2_luidl/pe_file2.hxx b/autodoc/source/parser_i/inc/s2_luidl/pe_file2.hxx index e499565e466a..80baf27bd806 100644 --- a/autodoc/source/parser_i/inc/s2_luidl/pe_file2.hxx +++ b/autodoc/source/parser_i/inc/s2_luidl/pe_file2.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -69,30 +69,30 @@ class PE_File : public UnoIDL_PE, { public: PE_File( - TokenDistributor & i_rTokenAdmin, + TokenDistributor & i_rTokenAdmin, const ParserInfo & i_parseInfo ); - virtual void EstablishContacts( - UnoIDL_PE * io_pParentPE, - ary::Repository & io_rRepository, + virtual void EstablishContacts( + UnoIDL_PE * io_pParentPE, + ary::Repository & io_rRepository, TokenProcessing_Result & o_rResult ); ~PE_File(); - virtual void ProcessToken( - const Token & i_rToken ); + virtual void ProcessToken( + const Token & i_rToken ); - virtual void Process_Identifier( + virtual void Process_Identifier( const TokIdentifier & i_rToken ); - virtual void Process_Punctuation( + virtual void Process_Punctuation( const TokPunctuation & i_rToken ); - virtual void Process_MetaType( - const TokMetaType & i_rToken ); - virtual void Process_Stereotype( + virtual void Process_MetaType( + const TokMetaType & i_rToken ); + virtual void Process_Stereotype( const TokStereotype & i_rToken ); - virtual void Process_Default(); + virtual void Process_Default(); private: enum E_State @@ -106,31 +106,31 @@ class PE_File : public UnoIDL_PE, on_default }; - virtual void InitData(); - virtual void TransferData(); - virtual void ReceiveData(); - virtual UnoIDL_PE & MyPE(); + virtual void InitData(); + virtual void TransferData(); + virtual void ReceiveData(); + virtual UnoIDL_PE & MyPE(); virtual const ary::idl::Module & CurNamespace() const; virtual const ParserInfo & ParseInfo() const; // DATA - TokenDistributor * pTokenAdmin; - Dyn<PE_Service> pPE_Service; - Dyn<PE_Singleton> pPE_Singleton; - Dyn<PE_Interface> pPE_Interface; - Dyn<PE_Struct> pPE_Struct; - Dyn<PE_Exception> pPE_Exception; - Dyn<PE_Constant> pPE_Constant; - Dyn<PE_Enum> pPE_Enum; - Dyn<PE_Typedef> pPE_Typedef; + TokenDistributor * pTokenAdmin; + Dyn<PE_Service> pPE_Service; + Dyn<PE_Singleton> pPE_Singleton; + Dyn<PE_Interface> pPE_Interface; + Dyn<PE_Struct> pPE_Struct; + Dyn<PE_Exception> pPE_Exception; + Dyn<PE_Constant> pPE_Constant; + Dyn<PE_Enum> pPE_Enum; + Dyn<PE_Typedef> pPE_Typedef; const ary::idl::Module * pCurNamespace; const ParserInfo * pParseInfo; - E_State eState; - uintt nBracketCount_inDefMode; + E_State eState; + uintt nBracketCount_inDefMode; }; diff --git a/autodoc/source/parser_i/inc/s2_luidl/pe_func2.hxx b/autodoc/source/parser_i/inc/s2_luidl/pe_func2.hxx index 3d639c2f8b6a..ab0caef1277e 100644 --- a/autodoc/source/parser_i/inc/s2_luidl/pe_func2.hxx +++ b/autodoc/source/parser_i/inc/s2_luidl/pe_func2.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -62,47 +62,47 @@ class PE_Function : public UnoIDL_PE, public ParseEnvState { public: - typedef ary::idl::Ce_id RParent; - typedef ary::idl::Ce_id RFunction; + typedef ary::idl::Ce_id RParent; + typedef ary::idl::Ce_id RFunction; enum E_Constructor { constructor }; /// Constructor for interfaces. PE_Function( - const RParent & i_rCurInterface ); + const RParent & i_rCurInterface ); /// Constructor for single interface based services. PE_Function( - const RParent & i_rCurService, + const RParent & i_rCurService, E_Constructor i_eCtorMarker ); - virtual void EstablishContacts( - UnoIDL_PE * io_pParentPE, - ary::Repository & io_rRepository, + virtual void EstablishContacts( + UnoIDL_PE * io_pParentPE, + ary::Repository & io_rRepository, TokenProcessing_Result & o_rResult ); - virtual ~PE_Function(); + virtual ~PE_Function(); - virtual void ProcessToken( - const Token & i_rToken ); + virtual void ProcessToken( + const Token & i_rToken ); - virtual void Process_Stereotype( + virtual void Process_Stereotype( const TokStereotype & i_rToken ); - virtual void Process_Identifier( + virtual void Process_Identifier( const TokIdentifier & i_rToken ); - virtual void Process_Punctuation( + virtual void Process_Punctuation( const TokPunctuation & i_rToken ); - virtual void Process_BuiltInType( + virtual void Process_BuiltInType( const TokBuiltInType & i_rToken ); - virtual void Process_ParameterHandling( + virtual void Process_ParameterHandling( const TokParameterHandling & i_rToken ); - virtual void Process_Raises(); - virtual void Process_Default(); + virtual void Process_Raises(); + virtual void Process_Default(); private: enum E_State @@ -124,15 +124,15 @@ class PE_Function : public UnoIDL_PE, exceptions_finished }; - void GoIntoReturnType(); - void GoIntoParameterVariable(); - void GoIntoException(); - void OnDefault(); + void GoIntoReturnType(); + void GoIntoParameterVariable(); + void GoIntoException(); + void OnDefault(); - virtual void InitData(); - virtual void ReceiveData(); - virtual void TransferData(); - virtual UnoIDL_PE & MyPE(); + virtual void InitData(); + virtual void ReceiveData(); + virtual void TransferData(); + virtual UnoIDL_PE & MyPE(); // DATA E_State eState; @@ -143,18 +143,18 @@ class PE_Function : public UnoIDL_PE, ary::idl::Function * pCurFunction; - const RParent * pCurParent; + const RParent * pCurParent; - Dyn<PE_Type> pPE_Type; - ary::idl::Type_id nCurParsedType; // ReturnType or Exception + Dyn<PE_Type> pPE_Type; + ary::idl::Type_id nCurParsedType; // ReturnType or Exception - String sName; + String sName; - Dyn<PE_Variable> pPE_Variable; + Dyn<PE_Variable> pPE_Variable; ary::idl::E_ParameterDirection eCurParsedParam_Direction; ary::idl::Type_id nCurParsedParam_Type; - String sCurParsedParam_Name; + String sCurParsedParam_Name; bool bIsForConstructors; }; diff --git a/autodoc/source/parser_i/inc/s2_luidl/pe_iface.hxx b/autodoc/source/parser_i/inc/s2_luidl/pe_iface.hxx index 37f33cf8a73a..cf0b40a25dd6 100644 --- a/autodoc/source/parser_i/inc/s2_luidl/pe_iface.hxx +++ b/autodoc/source/parser_i/inc/s2_luidl/pe_iface.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -62,35 +62,35 @@ class PE_Interface : public UnoIDL_PE, { public: PE_Interface(); - virtual ~PE_Interface(); + virtual ~PE_Interface(); - virtual void EstablishContacts( - UnoIDL_PE * io_pParentPE, - ary::Repository & io_rRepository, + virtual void EstablishContacts( + UnoIDL_PE * io_pParentPE, + ary::Repository & io_rRepository, TokenProcessing_Result & o_rResult ); - virtual void ProcessToken( - const Token & i_rToken ); + virtual void ProcessToken( + const Token & i_rToken ); - virtual void Process_MetaType( - const TokMetaType & i_rToken ); - virtual void Process_Identifier( + virtual void Process_MetaType( + const TokMetaType & i_rToken ); + virtual void Process_Identifier( const TokIdentifier & i_rToken ); - virtual void Process_Punctuation( + virtual void Process_Punctuation( const TokPunctuation & i_rToken ); - virtual void Process_NameSeparator(); - virtual void Process_BuiltInType( + virtual void Process_NameSeparator(); + virtual void Process_BuiltInType( const TokBuiltInType & i_rToken ); - virtual void Process_TypeModifier( + virtual void Process_TypeModifier( const TokTypeModifier & i_rToken ); - virtual void Process_Stereotype( + virtual void Process_Stereotype( const TokStereotype & i_rToken ); - virtual void Process_Default(); + virtual void Process_Default(); private: enum E_State /// @ATTENTION Do not change existing values (except of e_STATES_MAX) !!! Else array-indices will break. @@ -112,7 +112,7 @@ class PE_Interface : public UnoIDL_PE, in_base_interface, // in body, after "interface" e_STATES_MAX }; - enum E_TokenType /// @ATTENTION Do not change existing values (except of tt_MAX) !!! Else array-indices will break. + enum E_TokenType /// @ATTENTION Do not change existing values (except of tt_MAX) !!! Else array-indices will break. { tt_metatype = 0, tt_identifier = 1, @@ -124,51 +124,51 @@ class PE_Interface : public UnoIDL_PE, typedef void (PE_Interface::*F_TOK)(const char *); - void On_need_uik_MetaType(const char * i_sText); - void On_uik_Identifier(const char * i_sText); - void On_uik_Punctuation(const char * i_sText); - void On_need_ident_MetaType(const char * i_sText); - void On_ident_Identifier(const char * i_sText); - void On_ident_Punctuation(const char * i_sText); - void On_need_interface_MetaType(const char * i_sText); - void On_need_name_Identifer(const char * i_sText); - void On_wait_for_base_Punctuation(const char * i_sText); - void On_need_curlbr_open_Punctuation(const char * i_sText); - void On_std_Metatype(const char * i_sText); - void On_std_Punctuation(const char * i_sText); - void On_std_Stereotype(const char * i_sText); - void On_std_GotoFunction(const char * i_sText); - void On_std_GotoAttribute(const char * i_sText); - void On_std_GotoBaseInterface(const char * i_sText); - void On_need_finish_Punctuation(const char * i_sText); - void On_Default(const char * i_sText); - - void CallHandler( - const char * i_sTokenText, - E_TokenType i_eTokenType ); - - virtual void InitData(); - virtual void TransferData(); - virtual void ReceiveData(); - virtual UnoIDL_PE & MyPE(); + void On_need_uik_MetaType(const char * i_sText); + void On_uik_Identifier(const char * i_sText); + void On_uik_Punctuation(const char * i_sText); + void On_need_ident_MetaType(const char * i_sText); + void On_ident_Identifier(const char * i_sText); + void On_ident_Punctuation(const char * i_sText); + void On_need_interface_MetaType(const char * i_sText); + void On_need_name_Identifer(const char * i_sText); + void On_wait_for_base_Punctuation(const char * i_sText); + void On_need_curlbr_open_Punctuation(const char * i_sText); + void On_std_Metatype(const char * i_sText); + void On_std_Punctuation(const char * i_sText); + void On_std_Stereotype(const char * i_sText); + void On_std_GotoFunction(const char * i_sText); + void On_std_GotoAttribute(const char * i_sText); + void On_std_GotoBaseInterface(const char * i_sText); + void On_need_finish_Punctuation(const char * i_sText); + void On_Default(const char * i_sText); + + void CallHandler( + const char * i_sTokenText, + E_TokenType i_eTokenType ); + + virtual void InitData(); + virtual void TransferData(); + virtual void ReceiveData(); + virtual UnoIDL_PE & MyPE(); void store_Interface(); // DATA - static F_TOK aDispatcher[e_STATES_MAX][tt_MAX]; + static F_TOK aDispatcher[e_STATES_MAX][tt_MAX]; - E_State eState; + E_State eState; String sData_Name; - bool bIsPreDeclaration; + bool bIsPreDeclaration; ary::idl::Interface * pCurInterface; ary::idl::Ce_id nCurInterface; - Dyn<PE_Function> pPE_Function; - Dyn<PE_Attribute> pPE_Attribute; + Dyn<PE_Function> pPE_Function; + Dyn<PE_Attribute> pPE_Attribute; - Dyn<PE_Type> pPE_Type; - ary::idl::Type_id nCurParsed_Base; + Dyn<PE_Type> pPE_Type; + ary::idl::Type_id nCurParsed_Base; bool bOptionalMember; }; diff --git a/autodoc/source/parser_i/inc/s2_luidl/pe_modul.hxx b/autodoc/source/parser_i/inc/s2_luidl/pe_modul.hxx index 1c75d25203d1..88e101566034 100644 --- a/autodoc/source/parser_i/inc/s2_luidl/pe_modul.hxx +++ b/autodoc/source/parser_i/inc/s2_luidl/pe_modul.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -49,10 +49,10 @@ class PE_Module : public ::ParseEnvironment { public: - virtual void Enter( - E_EnvStackAction i_eWayOfEntering ); - virtual void Leave( - E_EnvStackAction i_eWayOfLeaving ); + virtual void Enter( + E_EnvStackAction i_eWayOfEntering ); + virtual void Leave( + E_EnvStackAction i_eWayOfLeaving ); private: }; diff --git a/autodoc/source/parser_i/inc/s2_luidl/pe_property.hxx b/autodoc/source/parser_i/inc/s2_luidl/pe_property.hxx index 15aa52b7c31a..7c3016304bf0 100644 --- a/autodoc/source/parser_i/inc/s2_luidl/pe_property.hxx +++ b/autodoc/source/parser_i/inc/s2_luidl/pe_property.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -62,29 +62,29 @@ class PE_Property : public UnoIDL_PE, PE_Property( const Ce_id & i_rCurOwner ); - virtual void EstablishContacts( - UnoIDL_PE * io_pParentPE, + virtual void EstablishContacts( + UnoIDL_PE * io_pParentPE, ary::Repository & io_rRepository, TokenProcessing_Result & o_rResult ); - virtual ~PE_Property(); + virtual ~PE_Property(); - virtual void ProcessToken( - const Token & i_rToken ); + virtual void ProcessToken( + const Token & i_rToken ); - virtual void Process_Stereotype( + virtual void Process_Stereotype( const TokStereotype & i_rToken ); - virtual void Process_MetaType( - const TokMetaType & i_rToken ); - virtual void Process_Punctuation( + virtual void Process_MetaType( + const TokMetaType & i_rToken ); + virtual void Process_Punctuation( const TokPunctuation & i_rToken ); - virtual void Process_Default(); + virtual void Process_Default(); - void PresetOptional() { bIsOptional = true; } - void PresetStereotypes( + void PresetOptional() { bIsOptional = true; } + void PresetStereotypes( Stereotypes::E_Flags i_eFlag ) { aStereotypes.Set_Flag(i_eFlag); } @@ -97,21 +97,21 @@ class PE_Property : public UnoIDL_PE, in_variable }; - virtual void InitData(); - virtual void ReceiveData(); - virtual void TransferData(); - virtual UnoIDL_PE & MyPE(); + virtual void InitData(); + virtual void ReceiveData(); + virtual void TransferData(); + virtual UnoIDL_PE & MyPE(); // DATA E_State eState; const Ce_id * pCurOwner; - Dyn<PE_Variable> pPE_Variable; + Dyn<PE_Variable> pPE_Variable; // object-data - Type_id nCurParsedType; - String sCurParsedName; - bool bIsOptional; + Type_id nCurParsedType; + String sCurParsedName; + bool bIsOptional; Stereotypes aStereotypes; }; diff --git a/autodoc/source/parser_i/inc/s2_luidl/pe_selem.hxx b/autodoc/source/parser_i/inc/s2_luidl/pe_selem.hxx index 54088fdbdd9c..ddb060c255a6 100644 --- a/autodoc/source/parser_i/inc/s2_luidl/pe_selem.hxx +++ b/autodoc/source/parser_i/inc/s2_luidl/pe_selem.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -62,27 +62,27 @@ class PE_StructElement : public UnoIDL_PE, typedef ary::idl::Ce_id RStruct; PE_StructElement( /// Use for Struct-elements - RStructElement & o_rResult, - const RStruct & i_rCurStruct, + RStructElement & o_rResult, + const RStruct & i_rCurStruct, const String & i_rCurStructTemplateParam ); PE_StructElement( /// Use for Exception-elements - RStructElement & o_rResult, - const RStruct & i_rCurExc ); - virtual void EstablishContacts( - UnoIDL_PE * io_pParentPE, - ary::Repository & io_rRepository, + RStructElement & o_rResult, + const RStruct & i_rCurExc ); + virtual void EstablishContacts( + UnoIDL_PE * io_pParentPE, + ary::Repository & io_rRepository, TokenProcessing_Result & o_rResult ); ~PE_StructElement(); - virtual void ProcessToken( - const Token & i_rToken ); + virtual void ProcessToken( + const Token & i_rToken ); - virtual void Process_Default(); - virtual void Process_Identifier( + virtual void Process_Default(); + virtual void Process_Identifier( const TokIdentifier & i_rToken ); - virtual void Process_Punctuation( + virtual void Process_Punctuation( const TokPunctuation & i_rToken ); @@ -95,20 +95,20 @@ class PE_StructElement : public UnoIDL_PE, expect_finish }; - virtual void InitData(); - virtual void TransferData(); - virtual UnoIDL_PE & MyPE(); + virtual void InitData(); + virtual void TransferData(); + virtual UnoIDL_PE & MyPE(); - ary::idl::Type_id lhf_FindTemplateParamType() const; + ary::idl::Type_id lhf_FindTemplateParamType() const; // DATA E_State eState; - RStructElement * pResult; - const RStruct * pCurStruct; + RStructElement * pResult; + const RStruct * pCurStruct; bool bIsExceptionElement; - Dyn<PE_Type> pPE_Type; - ary::idl::Type_id nType; + Dyn<PE_Type> pPE_Type; + ary::idl::Type_id nType; String sName; const String * pCurStructTemplateParam; }; diff --git a/autodoc/source/parser_i/inc/s2_luidl/pe_servi.hxx b/autodoc/source/parser_i/inc/s2_luidl/pe_servi.hxx index 691b97d5a432..c889e882a4c3 100644 --- a/autodoc/source/parser_i/inc/s2_luidl/pe_servi.hxx +++ b/autodoc/source/parser_i/inc/s2_luidl/pe_servi.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -62,33 +62,33 @@ class PE_Service : public UnoIDL_PE, { public: PE_Service(); - virtual ~PE_Service(); + virtual ~PE_Service(); - virtual void EstablishContacts( - UnoIDL_PE * io_pParentPE, - ary::Repository & io_rRepository, + virtual void EstablishContacts( + UnoIDL_PE * io_pParentPE, + ary::Repository & io_rRepository, TokenProcessing_Result & o_rResult ); - virtual void ProcessToken( - const Token & i_rToken ); + virtual void ProcessToken( + const Token & i_rToken ); - virtual void Process_MetaType( - const TokMetaType & i_rToken ); - virtual void Process_Identifier( + virtual void Process_MetaType( + const TokMetaType & i_rToken ); + virtual void Process_Identifier( const TokIdentifier & i_rToken ); - virtual void Process_Punctuation( + virtual void Process_Punctuation( const TokPunctuation & i_rToken ); - virtual void Process_Stereotype( + virtual void Process_Stereotype( const TokStereotype & i_rToken ); - virtual void Process_Needs(); - virtual void Process_Observes(); - virtual void Process_Default(); + virtual void Process_Needs(); + virtual void Process_Observes(); + virtual void Process_Default(); private: - void On_Default(); + void On_Default(); enum E_State { @@ -109,32 +109,32 @@ class PE_Service : public UnoIDL_PE, e_STATES_MAX }; - virtual void InitData(); - virtual void TransferData(); - virtual void ReceiveData(); - virtual UnoIDL_PE & MyPE(); + virtual void InitData(); + virtual void TransferData(); + virtual void ReceiveData(); + virtual UnoIDL_PE & MyPE(); - void StartProperty(); + void StartProperty(); // DATA - E_State eState; + E_State eState; String sData_Name; - bool bIsPreDeclaration; + bool bIsPreDeclaration; ary::idl::Service * pCurService; ary::idl::SglIfcService * pCurSiService; ary::idl::Ce_id nCurService; // Needed for PE_Attribute. - Dyn<PE_Property> pPE_Property; - ary::idl::Ce_id nCurParsed_Property; + Dyn<PE_Property> pPE_Property; + ary::idl::Ce_id nCurParsed_Property; - Dyn<PE_Type> pPE_Type; - ary::idl::Type_id nCurParsed_Type; + Dyn<PE_Type> pPE_Type; + ary::idl::Type_id nCurParsed_Type; - Dyn<PE_Function> pPE_Constructor; + Dyn<PE_Function> pPE_Constructor; - bool bOptionalMember; + bool bOptionalMember; }; diff --git a/autodoc/source/parser_i/inc/s2_luidl/pe_singl.hxx b/autodoc/source/parser_i/inc/s2_luidl/pe_singl.hxx index 5affacaa925e..9c38a8eda5c1 100644 --- a/autodoc/source/parser_i/inc/s2_luidl/pe_singl.hxx +++ b/autodoc/source/parser_i/inc/s2_luidl/pe_singl.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -61,25 +61,25 @@ class PE_Singleton : public UnoIDL_PE, { public: PE_Singleton(); - virtual ~PE_Singleton(); + virtual ~PE_Singleton(); - virtual void EstablishContacts( - UnoIDL_PE * io_pParentPE, - ary::Repository & io_rRepository, + virtual void EstablishContacts( + UnoIDL_PE * io_pParentPE, + ary::Repository & io_rRepository, TokenProcessing_Result & o_rResult ); - virtual void ProcessToken( - const Token & i_rToken ); + virtual void ProcessToken( + const Token & i_rToken ); - virtual void Process_MetaType( - const TokMetaType & i_rToken ); - virtual void Process_Identifier( + virtual void Process_MetaType( + const TokMetaType & i_rToken ); + virtual void Process_Identifier( const TokIdentifier & i_rToken ); - virtual void Process_Punctuation( + virtual void Process_Punctuation( const TokPunctuation & i_rToken ); - virtual void Process_Default(); + virtual void Process_Default(); private: enum E_State @@ -94,26 +94,26 @@ class PE_Singleton : public UnoIDL_PE, e_STATES_MAX }; - void On_Default(); + void On_Default(); - virtual void InitData(); - virtual void TransferData(); - virtual void ReceiveData(); - virtual UnoIDL_PE & MyPE(); + virtual void InitData(); + virtual void TransferData(); + virtual void ReceiveData(); + virtual UnoIDL_PE & MyPE(); // DATA -// static F_TOK aDispatcher[e_STATES_MAX][tt_MAX]; +// static F_TOK aDispatcher[e_STATES_MAX][tt_MAX]; - E_State eState; + E_State eState; String sData_Name; - bool bIsPreDeclaration; + bool bIsPreDeclaration; ary::idl::Singleton * pCurSingleton; ary::idl::SglIfcSingleton * pCurSiSingleton; - Dyn<PE_Type> pPE_Type; - ary::idl::Type_id nCurParsed_Type; + Dyn<PE_Type> pPE_Type; + ary::idl::Type_id nCurParsed_Type; }; diff --git a/autodoc/source/parser_i/inc/s2_luidl/pe_struc.hxx b/autodoc/source/parser_i/inc/s2_luidl/pe_struc.hxx index 3746d74e4144..6b7a5e16040f 100644 --- a/autodoc/source/parser_i/inc/s2_luidl/pe_struc.hxx +++ b/autodoc/source/parser_i/inc/s2_luidl/pe_struc.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -68,38 +68,38 @@ class PE_Struct : public UnoIDL_PE { public: PE_Struct(); - virtual void EstablishContacts( - UnoIDL_PE * io_pParentPE, - ary::Repository & io_rRepository, + virtual void EstablishContacts( + UnoIDL_PE * io_pParentPE, + ary::Repository & io_rRepository, TokenProcessing_Result & o_rResult ); ~PE_Struct(); - virtual void ProcessToken( - const Token & i_rToken ); + virtual void ProcessToken( + const Token & i_rToken ); private: struct S_Work { S_Work(); - void InitData(); - void Prepare_PE_QualifiedName(); - void Prepare_PE_Element(); - void Data_Set_Name( - const char * i_sName ); - void Data_Set_TemplateParam( - const char * i_sTemplateParam ); + void InitData(); + void Prepare_PE_QualifiedName(); + void Prepare_PE_Element(); + void Data_Set_Name( + const char * i_sName ); + void Data_Set_TemplateParam( + const char * i_sTemplateParam ); String sData_Name; String sData_TemplateParam; - bool bIsPreDeclaration; - ary::idl::Ce_id nCurStruct; + bool bIsPreDeclaration; + ary::idl::Ce_id nCurStruct; Dyn<PE_StructElement> pPE_Element; - ary::idl::Ce_id nCurParsed_ElementRef; - Dyn<PE_Type> pPE_Type; - ary::idl::Type_id nCurParsed_Base; + ary::idl::Ce_id nCurParsed_ElementRef; + Dyn<PE_Type> pPE_Type; + ary::idl::Type_id nCurParsed_Base; }; struct S_Stati; @@ -114,70 +114,70 @@ class PE_Struct : public UnoIDL_PE protected: PE_StructState( - PE_Struct & i_rStruct ) - : rStruct(i_rStruct) {} - void MoveState( - ParseEnvState & i_rState ) const; - void SetResult( - E_TokenDone i_eDone, - E_EnvStackAction i_eWhat2DoWithEnvStack, - UnoIDL_PE * i_pParseEnv2Push = 0 ) const + PE_Struct & i_rStruct ) + : rStruct(i_rStruct) {} + void MoveState( + ParseEnvState & i_rState ) const; + void SetResult( + E_TokenDone i_eDone, + E_EnvStackAction i_eWhat2DoWithEnvStack, + UnoIDL_PE * i_pParseEnv2Push = 0 ) const { rStruct.SetResult(i_eDone, i_eWhat2DoWithEnvStack, i_pParseEnv2Push); } - S_Stati & Stati() const { return *rStruct.pStati; } - S_Work & Work() const { return rStruct.aWork; } - PE_Struct & PE() const { return rStruct; } + S_Stati & Stati() const { return *rStruct.pStati; } + S_Work & Work() const { return rStruct.aWork; } + PE_Struct & PE() const { return rStruct; } private: - virtual UnoIDL_PE & MyPE(); + virtual UnoIDL_PE & MyPE(); // DATA - PE_Struct & rStruct; + PE_Struct & rStruct; }; class State_None : public PE_StructState { public: State_None( - PE_Struct & i_rStruct ) - : PE_StructState(i_rStruct) {} + PE_Struct & i_rStruct ) + : PE_StructState(i_rStruct) {} }; class State_WaitForName : public PE_StructState - { // -> Name + { // -> Name public: State_WaitForName( - PE_Struct & i_rStruct ) - : PE_StructState(i_rStruct) {} - virtual void Process_Identifier( + PE_Struct & i_rStruct ) + : PE_StructState(i_rStruct) {} + virtual void Process_Identifier( const TokIdentifier & i_rToken ); }; class State_GotName : public PE_StructState - { // -> : { ; < + { // -> : { ; < public: State_GotName( - PE_Struct & i_rStruct ) - : PE_StructState(i_rStruct) {} - virtual void Process_Punctuation( + PE_Struct & i_rStruct ) + : PE_StructState(i_rStruct) {} + virtual void Process_Punctuation( const TokPunctuation & i_rToken ); }; class State_WaitForTemplateParam : public PE_StructState - { // -> Template parameter identifier + { // -> Template parameter identifier public: State_WaitForTemplateParam( - PE_Struct & i_rStruct ) - : PE_StructState(i_rStruct) {} - virtual void Process_Identifier( + PE_Struct & i_rStruct ) + : PE_StructState(i_rStruct) {} + virtual void Process_Identifier( const TokIdentifier & i_rToken ); }; class State_WaitForTemplateEnd : public PE_StructState - { // -> > + { // -> > public: State_WaitForTemplateEnd( - PE_Struct & i_rStruct ) - : PE_StructState(i_rStruct) {} - virtual void Process_Punctuation( + PE_Struct & i_rStruct ) + : PE_StructState(i_rStruct) {} + virtual void Process_Punctuation( const TokPunctuation & i_rToken ); }; @@ -185,17 +185,17 @@ class PE_Struct : public UnoIDL_PE { // -> Base public: State_WaitForBase( - PE_Struct & i_rStruct ) - : PE_StructState(i_rStruct) {} - virtual void On_SubPE_Left(); + PE_Struct & i_rStruct ) + : PE_StructState(i_rStruct) {} + virtual void On_SubPE_Left(); }; class State_GotBase : public PE_StructState { // -> { public: State_GotBase( - PE_Struct & i_rStruct ) - : PE_StructState(i_rStruct) {} - virtual void Process_Punctuation( + PE_Struct & i_rStruct ) + : PE_StructState(i_rStruct) {} + virtual void Process_Punctuation( const TokPunctuation & i_rToken ); }; @@ -203,19 +203,19 @@ class PE_Struct : public UnoIDL_PE { // -> Typ } public: State_WaitForElement( - PE_Struct & i_rStruct ) - : PE_StructState(i_rStruct) {} - virtual void Process_Identifier( + PE_Struct & i_rStruct ) + : PE_StructState(i_rStruct) {} + virtual void Process_Identifier( const TokIdentifier & i_rToken ); - virtual void Process_NameSeparator(); - virtual void Process_BuiltInType( + virtual void Process_NameSeparator(); + virtual void Process_BuiltInType( const TokBuiltInType & i_rToken ); - virtual void Process_TypeModifier( + virtual void Process_TypeModifier( const TokTypeModifier & i_rToken ); - virtual void Process_Punctuation( + virtual void Process_Punctuation( const TokPunctuation & i_rToken ); }; @@ -223,9 +223,9 @@ class PE_Struct : public UnoIDL_PE { // -> ; public: State_WaitForFinish( - PE_Struct & i_rStruct ) - : PE_StructState(i_rStruct) {} - virtual void Process_Punctuation( + PE_Struct & i_rStruct ) + : PE_StructState(i_rStruct) {} + virtual void Process_Punctuation( const TokPunctuation & i_rToken ); }; @@ -233,13 +233,13 @@ class PE_Struct : public UnoIDL_PE struct S_Stati { S_Stati( - PE_Struct & io_rStruct ); - void SetState( - ParseEnvState & i_rNextState ) + PE_Struct & io_rStruct ); + void SetState( + ParseEnvState & i_rNextState ) { pCurStatus = &i_rNextState; } - State_None aNone; - State_WaitForName aWaitForName; + State_None aNone; + State_WaitForName aWaitForName; State_GotName aGotName; State_WaitForTemplateParam aWaitForTemplateParam; @@ -251,12 +251,12 @@ class PE_Struct : public UnoIDL_PE aWaitForElement; State_WaitForFinish aWaitForFinish; - ParseEnvState * pCurStatus; + ParseEnvState * pCurStatus; }; - virtual void InitData(); - virtual void TransferData(); - virtual void ReceiveData(); + virtual void InitData(); + virtual void TransferData(); + virtual void ReceiveData(); public: @@ -264,18 +264,18 @@ class PE_Struct : public UnoIDL_PE private: - S_Stati & Stati() { return *pStati; } - S_Work & Work() { return aWork; } + S_Stati & Stati() { return *pStati; } + S_Work & Work() { return aWork; } // DATA - S_Work aWork; - Dyn<S_Stati> pStati; + S_Work aWork; + Dyn<S_Stati> pStati; }; inline void PE_Struct::PE_StructState::MoveState( - ParseEnvState & i_rState ) const + ParseEnvState & i_rState ) const { rStruct.Stati().SetState(i_rState); } } // namespace uidl diff --git a/autodoc/source/parser_i/inc/s2_luidl/pe_tydf2.hxx b/autodoc/source/parser_i/inc/s2_luidl/pe_tydf2.hxx index ea8228fecbae..261715239caa 100644 --- a/autodoc/source/parser_i/inc/s2_luidl/pe_tydf2.hxx +++ b/autodoc/source/parser_i/inc/s2_luidl/pe_tydf2.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -54,23 +54,23 @@ class PE_Typedef : public UnoIDL_PE, { public: PE_Typedef(); - virtual void EstablishContacts( - UnoIDL_PE * io_pParentPE, - ary::Repository & io_rRepository, + virtual void EstablishContacts( + UnoIDL_PE * io_pParentPE, + ary::Repository & io_rRepository, TokenProcessing_Result & o_rResult ); ~PE_Typedef(); - virtual void ProcessToken( - const Token & i_rToken ); + virtual void ProcessToken( + const Token & i_rToken ); - virtual void Process_Identifier( + virtual void Process_Identifier( const TokIdentifier & i_rToken ); - virtual void Process_Punctuation( + virtual void Process_Punctuation( const TokPunctuation & i_rToken ); - virtual void Process_Default(); + virtual void Process_Default(); private: enum E_State @@ -81,7 +81,7 @@ class PE_Typedef : public UnoIDL_PE, got_name, e_STATES_MAX }; - enum E_TokenType /// @ATTENTION Do not change existing values (except of tt_MAX) !!! Else array-indices will break. + enum E_TokenType /// @ATTENTION Do not change existing values (except of tt_MAX) !!! Else array-indices will break. { tt_any = 0, tt_identifier, @@ -91,27 +91,27 @@ class PE_Typedef : public UnoIDL_PE, typedef void (PE_Typedef::*F_TOK)(const char *); - void CallHandler( - const char * i_sTokenText, - E_TokenType i_eTokenType ); + void CallHandler( + const char * i_sTokenText, + E_TokenType i_eTokenType ); - void On_expect_description_Any(const char * i_sText); - void On_expect_name_Identifier(const char * i_sText); - void On_got_name_Punctuation(const char * i_sText); - void On_Default(const char * ); + void On_expect_description_Any(const char * i_sText); + void On_expect_name_Identifier(const char * i_sText); + void On_got_name_Punctuation(const char * i_sText); + void On_Default(const char * ); - virtual void InitData(); - virtual void ReceiveData(); - virtual void TransferData(); - virtual UnoIDL_PE & MyPE(); + virtual void InitData(); + virtual void ReceiveData(); + virtual void TransferData(); + virtual UnoIDL_PE & MyPE(); // DATA - static F_TOK aDispatcher[e_STATES_MAX][tt_MAX]; + static F_TOK aDispatcher[e_STATES_MAX][tt_MAX]; E_State eState; - Dyn<PE_Type> pPE_Type; - ary::idl::Type_id nType; - String sName; + Dyn<PE_Type> pPE_Type; + ary::idl::Type_id nType; + String sName; }; diff --git a/autodoc/source/parser_i/inc/s2_luidl/pe_type2.hxx b/autodoc/source/parser_i/inc/s2_luidl/pe_type2.hxx index 2d6367528672..020c846fa9fe 100644 --- a/autodoc/source/parser_i/inc/s2_luidl/pe_type2.hxx +++ b/autodoc/source/parser_i/inc/s2_luidl/pe_type2.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -51,26 +51,26 @@ class PE_Type : public UnoIDL_PE, { public: PE_Type( - ary::idl::Type_id & o_rResult ); + ary::idl::Type_id & o_rResult ); virtual ~PE_Type(); - virtual void ProcessToken( - const Token & i_rToken ); + virtual void ProcessToken( + const Token & i_rToken ); - virtual void Process_Identifier( + virtual void Process_Identifier( const TokIdentifier & i_rToken ); - virtual void Process_NameSeparator(); - virtual void Process_Punctuation( + virtual void Process_NameSeparator(); + virtual void Process_Punctuation( const TokPunctuation & i_rToken ); - virtual void Process_BuiltInType( + virtual void Process_BuiltInType( const TokBuiltInType & i_rToken ); - virtual void Process_TypeModifier( + virtual void Process_TypeModifier( const TokTypeModifier & i_rToken ); - virtual void Process_Default(); + virtual void Process_Default(); private: enum E_State @@ -82,23 +82,23 @@ class PE_Type : public UnoIDL_PE, in_template_type }; - void Finish(); + void Finish(); PE_Type & MyTemplateType(); - virtual void InitData(); - virtual void TransferData(); - virtual UnoIDL_PE & MyPE(); + virtual void InitData(); + virtual void TransferData(); + virtual UnoIDL_PE & MyPE(); // DATA ary::idl::Type_id * pResult; - uintt nIsSequenceCounter; - uintt nSequenceDownCounter; - bool bIsUnsigned; - ary::QualifiedName sFullType; + uintt nIsSequenceCounter; + uintt nSequenceDownCounter; + bool bIsUnsigned; + ary::QualifiedName sFullType; - E_State eState; - String sLastPart; + E_State eState; + String sLastPart; Dyn<PE_Type> pPE_TemplateType; /// @attention Recursion, only initiate, if needed! ary::idl::Type_id nTemplateType; diff --git a/autodoc/source/parser_i/inc/s2_luidl/pe_vari2.hxx b/autodoc/source/parser_i/inc/s2_luidl/pe_vari2.hxx index 961539c57abd..58a7bc22cc86 100644 --- a/autodoc/source/parser_i/inc/s2_luidl/pe_vari2.hxx +++ b/autodoc/source/parser_i/inc/s2_luidl/pe_vari2.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -53,27 +53,27 @@ class PE_Variable : public UnoIDL_PE, { public: PE_Variable( - ary::idl::Type_id & i_rResult_Type, - String & i_rResult_Name ); - virtual void EstablishContacts( - UnoIDL_PE * io_pParentPE, + ary::idl::Type_id & i_rResult_Type, + String & i_rResult_Name ); + virtual void EstablishContacts( + UnoIDL_PE * io_pParentPE, ary::Repository & io_rRepository, TokenProcessing_Result & o_rResult ); - virtual ~PE_Variable(); + virtual ~PE_Variable(); - virtual void ProcessToken( - const Token & i_rToken ); + virtual void ProcessToken( + const Token & i_rToken ); - virtual void Process_Default(); - virtual void Process_Identifier( + virtual void Process_Default(); + virtual void Process_Identifier( const TokIdentifier & i_rToken ); - virtual void Process_Punctuation( + virtual void Process_Punctuation( const TokPunctuation & i_rToken ); - virtual void Process_BuiltInType( + virtual void Process_BuiltInType( const TokBuiltInType & i_rToken ); private: @@ -85,17 +85,17 @@ class PE_Variable : public UnoIDL_PE, expect_finish }; - virtual void InitData(); - virtual void ReceiveData(); - virtual void TransferData(); - virtual UnoIDL_PE & MyPE(); + virtual void InitData(); + virtual void ReceiveData(); + virtual void TransferData(); + virtual UnoIDL_PE & MyPE(); // DATA E_State eState; - ary::idl::Type_id * pResult_Type; - String * pResult_Name; + ary::idl::Type_id * pResult_Type; + String * pResult_Name; - Dyn<PE_Type> pPE_Type; + Dyn<PE_Type> pPE_Type; }; diff --git a/autodoc/source/parser_i/inc/s2_luidl/pestate.hxx b/autodoc/source/parser_i/inc/s2_luidl/pestate.hxx index 78582ab0abae..26d03df6aecd 100644 --- a/autodoc/source/parser_i/inc/s2_luidl/pestate.hxx +++ b/autodoc/source/parser_i/inc/s2_luidl/pestate.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -49,50 +49,50 @@ class TokBuiltInType; class TokPunctuation; class Tok_Documentation; -class ParseEnvState : public TokenInterpreter, +class ParseEnvState : public TokenInterpreter, virtual protected TokenProcessing_Types { public: - virtual void Process_Identifier( + virtual void Process_Identifier( const TokIdentifier & i_rToken ); - virtual void Process_NameSeparator(); - virtual void Process_Punctuation( + virtual void Process_NameSeparator(); + virtual void Process_Punctuation( const TokPunctuation & i_rToken ); - virtual void Process_BuiltInType( + virtual void Process_BuiltInType( const TokBuiltInType & i_rToken ); - virtual void Process_TypeModifier( + virtual void Process_TypeModifier( const TokTypeModifier & i_rToken ); - virtual void Process_MetaType( - const TokMetaType & i_rToken ); - virtual void Process_Stereotype( + virtual void Process_MetaType( + const TokMetaType & i_rToken ); + virtual void Process_Stereotype( const TokStereotype & i_rToken ); - virtual void Process_ParameterHandling( + virtual void Process_ParameterHandling( const TokParameterHandling & i_rToken ); - virtual void Process_Raises(); - virtual void Process_Needs(); - virtual void Process_Observes(); - virtual void Process_Assignment( + virtual void Process_Raises(); + virtual void Process_Needs(); + virtual void Process_Observes(); + virtual void Process_Assignment( const TokAssignment & i_rToken ); - virtual void Process_EOL(); + virtual void Process_EOL(); - virtual void On_SubPE_Left(); + virtual void On_SubPE_Left(); - virtual void Process_Default(); + virtual void Process_Default(); protected: - ParseEnvState() : bDefaultIsError(true) {} - void SetDefault2Ignore() { bDefaultIsError = false; } + ParseEnvState() : bDefaultIsError(true) {} + void SetDefault2Ignore() { bDefaultIsError = false; } private: - virtual UnoIDL_PE & MyPE() = 0; - bool bDefaultIsError; + virtual UnoIDL_PE & MyPE() = 0; + bool bDefaultIsError; }; diff --git a/autodoc/source/parser_i/inc/s2_luidl/semnode.hxx b/autodoc/source/parser_i/inc/s2_luidl/semnode.hxx index 75c8fdf4bdce..65f18a6c192e 100644 --- a/autodoc/source/parser_i/inc/s2_luidl/semnode.hxx +++ b/autodoc/source/parser_i/inc/s2_luidl/semnode.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -63,32 +63,32 @@ class Struct; class Token; -/** is an implementation class for UnoIDL_PE s +/** is an implementation class for UnoIDL_PE s */ class SemanticNode : private TokenProcessing_Types { public: SemanticNode(); - void EstablishContacts( - UnoIDL_PE * io_pParentPE, + void EstablishContacts( + UnoIDL_PE * io_pParentPE, ary::idl::Gate & io_rRepository, TokenProcessing_Result & o_rResult ); ~SemanticNode(); - void SetTokenResult( - E_TokenDone i_eDone, - E_EnvStackAction i_eWhat2DoWithEnvStack, - UnoIDL_PE * i_pParseEnv2Push = 0 ); - UnoIDL_PE * Parent() const { return pParentPE; } - ary::idl::Gate & AryGate() const { return *pAryGate; } + void SetTokenResult( + E_TokenDone i_eDone, + E_EnvStackAction i_eWhat2DoWithEnvStack, + UnoIDL_PE * i_pParseEnv2Push = 0 ); + UnoIDL_PE * Parent() const { return pParentPE; } + ary::idl::Gate & AryGate() const { return *pAryGate; } TokenProcessing_Result & TokenResult() const { return *pTokenResult; } private: // DATA - UnoIDL_PE * pParentPE; - ary::idl::Gate * pAryGate; + UnoIDL_PE * pParentPE; + ary::idl::Gate * pAryGate; TokenProcessing_Result * pTokenResult; }; @@ -98,26 +98,26 @@ class SemanticNode : private TokenProcessing_Types class Trying_PE { public: - virtual ~Trying_PE() {} + virtual ~Trying_PE() {} protected: Trying_PE(); - virtual void ProcessToken( - const Token & i_rToken ); + virtual void ProcessToken( + const Token & i_rToken ); - void StartTry( - UnoIDL_PE & i_rFirstTry ); - void Add2Try( - UnoIDL_PE & i_rTry ); - bool AmITrying() const; - UnoIDL_PE * NextTry() const; - void FinishTry(); + void StartTry( + UnoIDL_PE & i_rFirstTry ); + void Add2Try( + UnoIDL_PE & i_rTry ); + bool AmITrying() const; + UnoIDL_PE * NextTry() const; + void FinishTry(); private: std::vector<UnoIDL_PE*> aTryableSubEnvironments; - uintt nTryCounter; + uintt nTryCounter; }; */ diff --git a/autodoc/source/parser_i/inc/s2_luidl/smp_uidl.hxx b/autodoc/source/parser_i/inc/s2_luidl/smp_uidl.hxx index c29f7297c181..ebdd7326c48a 100644 --- a/autodoc/source/parser_i/inc/s2_luidl/smp_uidl.hxx +++ b/autodoc/source/parser_i/inc/s2_luidl/smp_uidl.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -45,27 +45,27 @@ namespace uidl -/** is an implementation class for ParseEnvironment +/** is an implementation class for ParseEnvironment */ class SemanticParser : public csi::uidl::Token_Receiver, public csi::dsapi::Token_Receiver { public: - typedef std::deque< DYN TextToken * > TokenQueue; + typedef std::deque< DYN TextToken * > TokenQueue; ~SemanticParser(); - void Receive( + void Receive( DYN csi::uidl::Token & let_drToken ); - void Receive( + void Receive( DYN csi::dsapi::Token & let_drToken ); private: // DATA - TokenQueue aTokenQueue; + TokenQueue aTokenQueue; }; diff --git a/autodoc/source/parser_i/inc/s2_luidl/tk_const.hxx b/autodoc/source/parser_i/inc/s2_luidl/tk_const.hxx index e423a8130b0d..36e03a1e60fc 100644 --- a/autodoc/source/parser_i/inc/s2_luidl/tk_const.hxx +++ b/autodoc/source/parser_i/inc/s2_luidl/tk_const.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -45,16 +45,16 @@ class TokAssignment : public Token { public: TokAssignment( - const char * i_sText ) - : sText(i_sText) {} + const char * i_sText ) + : sText(i_sText) {} - virtual void Trigger( - TokenInterpreter & io_rInterpreter ) const; + virtual void Trigger( + TokenInterpreter & io_rInterpreter ) const; virtual const char * Text() const; private: // DATA - String sText; + String sText; }; diff --git a/autodoc/source/parser_i/inc/s2_luidl/tk_ident.hxx b/autodoc/source/parser_i/inc/s2_luidl/tk_ident.hxx index 1abc3cf77a46..c7345c2410c1 100644 --- a/autodoc/source/parser_i/inc/s2_luidl/tk_ident.hxx +++ b/autodoc/source/parser_i/inc/s2_luidl/tk_ident.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -46,23 +46,23 @@ class TokIdentifier : public Token { public: TokIdentifier( - const char * i_sText ) - : sText(i_sText) {} + const char * i_sText ) + : sText(i_sText) {} - virtual void Trigger( - TokenInterpreter & io_rInterpreter ) const; + virtual void Trigger( + TokenInterpreter & io_rInterpreter ) const; virtual const char * Text() const; private: // DATA - String sText; + String sText; }; class TokNameSeparator : public Token { public: - virtual void Trigger( - TokenInterpreter & io_rInterpreter ) const; + virtual void Trigger( + TokenInterpreter & io_rInterpreter ) const; virtual const char * Text() const; }; diff --git a/autodoc/source/parser_i/inc/s2_luidl/tk_keyw.hxx b/autodoc/source/parser_i/inc/s2_luidl/tk_keyw.hxx index ac0120c7582d..a250a5dda485 100644 --- a/autodoc/source/parser_i/inc/s2_luidl/tk_keyw.hxx +++ b/autodoc/source/parser_i/inc/s2_luidl/tk_keyw.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -69,18 +69,18 @@ class TokBuiltInType : public TokKeyword typedef lux::Enum<E_TokenId> EV_TokenId; TokBuiltInType( - EV_TokenId i_eTag ) - : eTag(i_eTag) {} + EV_TokenId i_eTag ) + : eTag(i_eTag) {} - virtual void Trigger( - TokenInterpreter & io_rInterpreter ) const; + virtual void Trigger( + TokenInterpreter & io_rInterpreter ) const; virtual const char * Text() const; - E_TokenId Id() const { return eTag; } + E_TokenId Id() const { return eTag; } private: // DATA - EV_TokenId eTag; + EV_TokenId eTag; }; @@ -96,17 +96,17 @@ class TokTypeModifier : public TokKeyword typedef lux::Enum<E_TokenId> EV_TokenId; TokTypeModifier( - EV_TokenId i_eTag ) - : eTag(i_eTag) {} - virtual void Trigger( - TokenInterpreter & io_rInterpreter ) const; + EV_TokenId i_eTag ) + : eTag(i_eTag) {} + virtual void Trigger( + TokenInterpreter & io_rInterpreter ) const; virtual const char * Text() const; - E_TokenId Id() const { return eTag; } + E_TokenId Id() const { return eTag; } private: // DATA - EV_TokenId eTag; + EV_TokenId eTag; }; class TokMetaType : public TokKeyword @@ -132,19 +132,19 @@ class TokMetaType : public TokKeyword typedef lux::Enum<E_TokenId> EV_TokenId; TokMetaType( - EV_TokenId i_eTag ) - : eTag(i_eTag) {} + EV_TokenId i_eTag ) + : eTag(i_eTag) {} - virtual void Trigger( - TokenInterpreter & io_rInterpreter ) const; + virtual void Trigger( + TokenInterpreter & io_rInterpreter ) const; virtual const char * Text() const; - E_TokenId Id() const { return eTag; } + E_TokenId Id() const { return eTag; } private: // DATA - EV_TokenId eTag; + EV_TokenId eTag; }; class TokStereotype : public TokKeyword @@ -172,19 +172,19 @@ class TokStereotype : public TokKeyword typedef lux::Enum<E_TokenId> EV_TokenId; TokStereotype( - EV_TokenId i_eTag ) - : eTag(i_eTag) {} + EV_TokenId i_eTag ) + : eTag(i_eTag) {} // OPERATIONS - virtual void Trigger( - TokenInterpreter & io_rInterpreter ) const; + virtual void Trigger( + TokenInterpreter & io_rInterpreter ) const; // INQUIRY virtual const char * Text() const; - E_TokenId Id() const { return eTag; } + E_TokenId Id() const { return eTag; } private: // DATA - EV_TokenId eTag; + EV_TokenId eTag; }; class TokParameterHandling : public TokKeyword @@ -201,26 +201,26 @@ class TokParameterHandling : public TokKeyword typedef lux::Enum<E_TokenId> EV_TokenId; TokParameterHandling( - EV_TokenId i_eTag ) - : eTag(i_eTag) {} + EV_TokenId i_eTag ) + : eTag(i_eTag) {} // OPERATIONS - virtual void Trigger( - TokenInterpreter & io_rInterpreter ) const; + virtual void Trigger( + TokenInterpreter & io_rInterpreter ) const; // INQUIRY virtual const char * Text() const; - E_TokenId Id() const { return eTag; } + E_TokenId Id() const { return eTag; } private: // DATA - EV_TokenId eTag; + EV_TokenId eTag; }; class TokRaises : public TokKeyword { public: - virtual void Trigger( - TokenInterpreter & io_rInterpreter ) const; + virtual void Trigger( + TokenInterpreter & io_rInterpreter ) const; virtual const char * Text() const; }; @@ -228,8 +228,8 @@ class TokRaises : public TokKeyword class TokNeeds : public TokKeyword { public: - virtual void Trigger( - TokenInterpreter & io_rInterpreter ) const; + virtual void Trigger( + TokenInterpreter & io_rInterpreter ) const; virtual const char * Text() const; }; @@ -237,8 +237,8 @@ class TokNeeds : public TokKeyword class TokObserves : public TokKeyword { public: - virtual void Trigger( - TokenInterpreter & io_rInterpreter ) const; + virtual void Trigger( + TokenInterpreter & io_rInterpreter ) const; virtual const char * Text() const; }; diff --git a/autodoc/source/parser_i/inc/s2_luidl/tk_punct.hxx b/autodoc/source/parser_i/inc/s2_luidl/tk_punct.hxx index 043256ef27e5..9bb2d48b2847 100644 --- a/autodoc/source/parser_i/inc/s2_luidl/tk_punct.hxx +++ b/autodoc/source/parser_i/inc/s2_luidl/tk_punct.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -50,13 +50,13 @@ class TokPunctuation : public Token enum E_TokenId { e_none = 0, - BracketOpen = 1, // ( + BracketOpen = 1, // ( BracketClose = 2, // ) ArrayBracketOpen = 3, // [ ArrayBracketClose = 4, // ] CurledBracketOpen = 5, // { CurledBracketClose = 6, // } - Semicolon = 7, // ; + Semicolon = 7, // ; Colon = 8, // : DoubleColon = 9, // :: Comma = 10, // , @@ -69,27 +69,27 @@ class TokPunctuation : public Token TokPunctuation( - EV_TokenId i_eTag ) - : eTag(i_eTag) {} + EV_TokenId i_eTag ) + : eTag(i_eTag) {} // OPERATIONS - virtual void Trigger( - TokenInterpreter & io_rInterpreter ) const; + virtual void Trigger( + TokenInterpreter & io_rInterpreter ) const; // INQUIRY virtual const char * Text() const; - EV_TokenId Id() const { return eTag; } + EV_TokenId Id() const { return eTag; } private: // DATA - EV_TokenId eTag; + EV_TokenId eTag; }; class Tok_EOL : public Token { // OPERATIONS - virtual void Trigger( - TokenInterpreter & io_rInterpreter ) const; + virtual void Trigger( + TokenInterpreter & io_rInterpreter ) const; // INQUIRY virtual const char * Text() const; @@ -98,8 +98,8 @@ class Tok_EOL : public Token class Tok_EOF : public Token { // OPERATIONS - virtual void Trigger( - TokenInterpreter & io_rInterpreter ) const; + virtual void Trigger( + TokenInterpreter & io_rInterpreter ) const; // INQUIRY virtual const char * Text() const; diff --git a/autodoc/source/parser_i/inc/s2_luidl/tkp_uidl.hxx b/autodoc/source/parser_i/inc/s2_luidl/tkp_uidl.hxx index 02c35e2fd871..50d2b4f5d5ba 100644 --- a/autodoc/source/parser_i/inc/s2_luidl/tkp_uidl.hxx +++ b/autodoc/source/parser_i/inc/s2_luidl/tkp_uidl.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -57,19 +57,19 @@ class TokenParser_Uidl : public TokenParse2 public: // LIFECYCLE TokenParser_Uidl( - Token_Receiver & o_rUidlReceiver, + Token_Receiver & o_rUidlReceiver, DYN TkpDocuContext & let_drDocuContext ); - virtual ~TokenParser_Uidl(); + virtual ~TokenParser_Uidl(); // OPERATIONS private: virtual ::TkpContext & CurrentContext(); - virtual void SetStartContext(); + virtual void SetStartContext(); virtual void SetCurrentContext( - TkpContext & io_rContext ); + TkpContext & io_rContext ); // DATA Dyn<Context_UidlCode> pBaseContext; diff --git a/autodoc/source/parser_i/inc/s2_luidl/tokintpr.hxx b/autodoc/source/parser_i/inc/s2_luidl/tokintpr.hxx index fcfd1972ce1b..340ee0b7c5bf 100644 --- a/autodoc/source/parser_i/inc/s2_luidl/tokintpr.hxx +++ b/autodoc/source/parser_i/inc/s2_luidl/tokintpr.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -56,36 +56,36 @@ class Tok_Documentation; class TokenInterpreter { public: - virtual ~TokenInterpreter() {} + virtual ~TokenInterpreter() {} - virtual void Process_Identifier( + virtual void Process_Identifier( const TokIdentifier & i_rToken ) = 0; - virtual void Process_NameSeparator() = 0; // :: - virtual void Process_Punctuation( + virtual void Process_NameSeparator() = 0; // :: + virtual void Process_Punctuation( const TokPunctuation & i_rToken ) = 0; - virtual void Process_BuiltInType( + virtual void Process_BuiltInType( const TokBuiltInType & i_rToken ) = 0; - virtual void Process_TypeModifier( + virtual void Process_TypeModifier( const TokTypeModifier & i_rToken ) = 0; - virtual void Process_MetaType( - const TokMetaType & i_rToken ) = 0; - virtual void Process_Stereotype( + virtual void Process_MetaType( + const TokMetaType & i_rToken ) = 0; + virtual void Process_Stereotype( const TokStereotype & i_rToken ) = 0; - virtual void Process_ParameterHandling( + virtual void Process_ParameterHandling( const TokParameterHandling & i_rToken ) = 0; - virtual void Process_Raises() = 0; - virtual void Process_Needs() = 0; - virtual void Process_Observes() = 0; - virtual void Process_Assignment( + virtual void Process_Raises() = 0; + virtual void Process_Needs() = 0; + virtual void Process_Observes() = 0; + virtual void Process_Assignment( const TokAssignment & i_rToken ) = 0; - virtual void Process_EOL() = 0; + virtual void Process_EOL() = 0; }; diff --git a/autodoc/source/parser_i/inc/s2_luidl/tokproct.hxx b/autodoc/source/parser_i/inc/s2_luidl/tokproct.hxx index 0afae87c52b7..ccacd3e6f371 100644 --- a/autodoc/source/parser_i/inc/s2_luidl/tokproct.hxx +++ b/autodoc/source/parser_i/inc/s2_luidl/tokproct.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -46,7 +46,7 @@ namespace uidl class UnoIDL_PE; -/** is a parent class for classes, which take part in parsing tokens semantically. +/** is a parent class for classes, which take part in parsing tokens semantically. It provides some types for them. */ class TokenProcessing_Types @@ -60,7 +60,7 @@ class TokenProcessing_Types enum E_EnvStackAction { - stay, // same parse environment + stay, // same parse environment push_sure, // push sub environment, which must be the correct one push_try, // push sub environment, which is tried, if it may be the right one pop_success, // return to parent environment, parsing was successful @@ -69,13 +69,13 @@ class TokenProcessing_Types struct TokenProcessing_Result { - E_TokenDone eDone; - E_EnvStackAction eStackAction; - UnoIDL_PE * pEnv2Push; + E_TokenDone eDone; + E_EnvStackAction eStackAction; + UnoIDL_PE * pEnv2Push; TokenProcessing_Result() : eDone(not_done), eStackAction(stay), pEnv2Push(0) {} - void reset() { eDone = not_done; eStackAction = stay; pEnv2Push = 0; } + void reset() { eDone = not_done; eStackAction = stay; pEnv2Push = 0; } }; enum E_ParseResult diff --git a/autodoc/source/parser_i/inc/s2_luidl/tokrecv.hxx b/autodoc/source/parser_i/inc/s2_luidl/tokrecv.hxx index f1d43dd5a435..033ff8da04b4 100644 --- a/autodoc/source/parser_i/inc/s2_luidl/tokrecv.hxx +++ b/autodoc/source/parser_i/inc/s2_luidl/tokrecv.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -48,9 +48,9 @@ class Token; class Token_Receiver { public: - virtual ~Token_Receiver() {} - virtual void Receive( - DYN Token & let_drToken ) = 0; + virtual ~Token_Receiver() {} + virtual void Receive( + DYN Token & let_drToken ) = 0; virtual void Increment_CurLine() = 0; }; diff --git a/autodoc/source/parser_i/inc/s2_luidl/uidl_tok.hxx b/autodoc/source/parser_i/inc/s2_luidl/uidl_tok.hxx index a316582b381b..82f2b4b92042 100644 --- a/autodoc/source/parser_i/inc/s2_luidl/uidl_tok.hxx +++ b/autodoc/source/parser_i/inc/s2_luidl/uidl_tok.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -50,11 +50,11 @@ class Token : public TextToken { public: // LIFECYCLE - virtual ~Token() {} + virtual ~Token() {} // OPERATIONS - virtual void Trigger( - TokenInterpreter & io_rInterpreter ) const = 0; + virtual void Trigger( + TokenInterpreter & io_rInterpreter ) const = 0; }; } // namespace uidl diff --git a/autodoc/source/parser_i/inc/semantic/parsenv2.hxx b/autodoc/source/parser_i/inc/semantic/parsenv2.hxx index 75facea675ce..16b4af226f02 100644 --- a/autodoc/source/parser_i/inc/semantic/parsenv2.hxx +++ b/autodoc/source/parser_i/inc/semantic/parsenv2.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -42,9 +42,9 @@ class ParseEnvironment { public: - virtual ~ParseEnvironment(); + virtual ~ParseEnvironment(); - virtual void Enter() = 0; + virtual void Enter() = 0; }; diff --git a/autodoc/source/parser_i/inc/tokens/stmstar2.hxx b/autodoc/source/parser_i/inc/tokens/stmstar2.hxx index 1555cde5e0d6..e16e4fbdbc29 100644 --- a/autodoc/source/parser_i/inc/tokens/stmstar2.hxx +++ b/autodoc/source/parser_i/inc/tokens/stmstar2.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -42,32 +42,32 @@ class StmArrayStatu2 : public StmStatu2 public: // LIFECYCLE StmArrayStatu2( - intt i_nStatusSize, - const INT16 * in_aArrayModel, - uintt i_nTokenId, - bool in_bIsDefault ); + intt i_nStatusSize, + const INT16 * in_aArrayModel, + uintt i_nTokenId, + bool in_bIsDefault ); ~StmArrayStatu2(); // INQUIRY - StmStatu2::Branch NextBy( - intt in_nFollowersIndex) const; - UINT16 TokenId() const { return nTokenId; } - virtual bool IsADefault() const; + StmStatu2::Branch NextBy( + intt in_nFollowersIndex) const; + UINT16 TokenId() const { return nTokenId; } + virtual bool IsADefault() const; // ACCESS virtual StmArrayStatu2 * AsArray(); - bool SetBranch( - intt in_nBranchIx, + bool SetBranch( + intt in_nBranchIx, StmStatu2::Branch in_nBranch ); - void SetTokenId( - UINT16 in_nTokenId ); + void SetTokenId( + UINT16 in_nTokenId ); private: - StmStatu2::Branch * dpBranches; - intt nNrOfBranches; - UINT16 nTokenId; - bool bIsADefault; + StmStatu2::Branch * dpBranches; + intt nNrOfBranches; + UINT16 nTokenId; + bool bIsADefault; }; diff --git a/autodoc/source/parser_i/inc/tokens/stmstat2.hxx b/autodoc/source/parser_i/inc/tokens/stmstat2.hxx index 3d83bb0f77fb..4602da49c59c 100644 --- a/autodoc/source/parser_i/inc/tokens/stmstat2.hxx +++ b/autodoc/source/parser_i/inc/tokens/stmstat2.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -36,21 +36,21 @@ class StmArrayStatu2; class StmBoundsStatu2; -/** A StmStatu2 is a state within a StateMachin2. +/** A StmStatu2 is a state within a StateMachin2. There are two kinds of it. Either its an array of pointers to other states within the state machine - an ArrayStatus. Or it is a BoundsStatus, which shows, the token cannot be followed further within the StateMachin2. **/ -class StmStatu2 // := "State machine status" +class StmStatu2 // := "State machine status" { public: - typedef intt Branch; /// Values >= 0 give a next #Status' ID. + typedef intt Branch; /// Values >= 0 give a next #Status' ID. /// Values <= 0 tell, that a token is finished. /// a value < 0 returns the status back to an upper level state machine. // LIFECYCLE - virtual ~StmStatu2() {} + virtual ~StmStatu2() {} // OPERATIONS virtual StmArrayStatu2 * @@ -59,7 +59,7 @@ class StmStatu2 // := "State machine status" AsBounds(); // INQUIRY - virtual bool IsADefault() const = 0; + virtual bool IsADefault() const = 0; }; diff --git a/autodoc/source/parser_i/inc/tokens/stmstfi2.hxx b/autodoc/source/parser_i/inc/tokens/stmstfi2.hxx index d5550752e6a3..b7b38d608573 100644 --- a/autodoc/source/parser_i/inc/tokens/stmstfi2.hxx +++ b/autodoc/source/parser_i/inc/tokens/stmstfi2.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -48,13 +48,13 @@ class StmBoundsStatu2 : public StmStatu2 StmBoundsStatu2( StateMachineContext & o_rOwner, - TkpContext & i_rFollowUpContext, - uintt i_nStatusFunctionNr, - bool i_bIsDefault ); + TkpContext & i_rFollowUpContext, + uintt i_nStatusFunctionNr, + bool i_bIsDefault ); // INQUIRY - TkpContext * FollowUpContext(); - uintt StatusFunctionNr() const; - virtual bool IsADefault() const; + TkpContext * FollowUpContext(); + uintt StatusFunctionNr() const; + virtual bool IsADefault() const; // ACCESS virtual StmBoundsStatu2 * @@ -63,9 +63,9 @@ class StmBoundsStatu2 : public StmStatu2 private: StateMachineContext * pOwner; - TkpContext * pFollowUpContext; - uintt nStatusFunctionNr; - bool bIsDefault; + TkpContext * pFollowUpContext; + uintt nStatusFunctionNr; + bool bIsDefault; }; inline TkpContext * diff --git a/autodoc/source/parser_i/inc/tokens/tkp2.hxx b/autodoc/source/parser_i/inc/tokens/tkp2.hxx index faf45d8e5332..f5d9839361de 100644 --- a/autodoc/source/parser_i/inc/tokens/tkp2.hxx +++ b/autodoc/source/parser_i/inc/tokens/tkp2.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -54,29 +54,29 @@ class TokenParse2 public: // LIFECYCLE TokenParse2(); - virtual ~TokenParse2() {} + virtual ~TokenParse2() {} // OPERATIONS - virtual void Start( + virtual void Start( CharacterSource & i_rSource ); - /** @short Gets the next identifiable token out of the + /** @short Gets the next identifiable token out of the source code. @return true, if there was passed a valid token. false, if the parsed stream is finished or - an error occured. + an error occured. */ - bool GetNextToken(); + bool GetNextToken(); private: - virtual void SetStartContext() = 0; + virtual void SetStartContext() = 0; virtual void SetCurrentContext( - TkpContext & io_rContext ) = 0; + TkpContext & io_rContext ) = 0; virtual TkpContext & CurrentContext() = 0; // DATA - CharacterSource * pChars; + CharacterSource * pChars; }; diff --git a/autodoc/source/parser_i/inc/tokens/tkpcont2.hxx b/autodoc/source/parser_i/inc/tokens/tkpcont2.hxx index fc7991ae1832..2246385b09fc 100644 --- a/autodoc/source/parser_i/inc/tokens/tkpcont2.hxx +++ b/autodoc/source/parser_i/inc/tokens/tkpcont2.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -37,7 +37,7 @@ class CharacterSource; class TkpNullContext; class TkpNullContex2; -/** @task +/** @task Specifies a context within which tokens are interpreted in a special way. For example in parsing C++ there could be a context for code, one for comments and a third one for preprocessor statements, because @@ -47,7 +47,7 @@ class TkpContext { public: // LIFECYCLE - virtual ~TkpContext() {} + virtual ~TkpContext() {} // OPERATIONS /** @descr @@ -67,13 +67,13 @@ class TkpContext passes the parsed token to the internally known receiver and returns true. The token is cut from io_rText. **/ - virtual void ReadCharChain( - CharacterSource & io_rText ) = 0; + virtual void ReadCharChain( + CharacterSource & io_rText ) = 0; /** Has to pass the parsed token to a known receiver. @return true, if a token was passed. false, if no token was parsed complete by this context. */ - virtual bool PassNewToken() = 0; + virtual bool PassNewToken() = 0; virtual TkpContext & FollowUpContext() = 0; @@ -89,10 +89,10 @@ class StateMachineContext virtual ~StateMachineContext() {} /// Is used by StmBoundsStatu2 only. - virtual void PerformStatusFunction( - uintt i_nStatusSignal, - UINT16 i_nTokenId, - CharacterSource & io_rText ) = 0; + virtual void PerformStatusFunction( + uintt i_nStatusSignal, + UINT16 i_nTokenId, + CharacterSource & io_rText ) = 0; }; class TkpNullContex2 : public TkpContext @@ -100,9 +100,9 @@ class TkpNullContex2 : public TkpContext public: ~TkpNullContex2(); - virtual void ReadCharChain( - CharacterSource & io_rText ); - virtual bool PassNewToken(); + virtual void ReadCharChain( + CharacterSource & io_rText ); + virtual bool PassNewToken(); virtual TkpContext & FollowUpContext(); }; @@ -110,11 +110,11 @@ class TkpNullContex2 : public TkpContext class TkpDocuContext : public TkpContext { public: - virtual void SetParentContext( - TkpContext & io_rParentContext, - const char * i_sMultiLineEndToken ) = 0; - virtual void SetMode_IsMultiLine( - bool i_bTrue ) = 0; + virtual void SetParentContext( + TkpContext & io_rParentContext, + const char * i_sMultiLineEndToken ) = 0; + virtual void SetMode_IsMultiLine( + bool i_bTrue ) = 0; }; diff --git a/autodoc/source/parser_i/inc/tokens/tkpstam2.hxx b/autodoc/source/parser_i/inc/tokens/tkpstam2.hxx index a23da72f2c1e..635f696bf5d0 100644 --- a/autodoc/source/parser_i/inc/tokens/tkpstam2.hxx +++ b/autodoc/source/parser_i/inc/tokens/tkpstam2.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -36,7 +36,7 @@ #include <tokens/stmstar2.hxx> #include <tokens/stmstfi2.hxx> -/** @descr +/** @descr This state-machine models state transitions from one state to another per indices of branches. If the indices represent ascii-char-values, the state-machine can be used for recognising tokens of text. @@ -52,62 +52,62 @@ class StateMachin2 { public: // Types - typedef StmStatu2::Branch Branch; - typedef StmStatu2 * * StatusList; + typedef StmStatu2::Branch Branch; + typedef StmStatu2 * * StatusList; //# Interface self // LIFECYCLE StateMachin2( - intt in_nStatusSize, - intt in_nInitial_StatusListSize ); /// The user of the constructor should guess + intt in_nStatusSize, + intt in_nInitial_StatusListSize ); /// The user of the constructor should guess /// the approximate number of stati here to - /// avoid multiple reallocations. + /// avoid multiple reallocations. /// @#AddStatus - intt AddStatus( /// @return the new #Status' ID - DYN StmStatu2 * let_dpStatus); + intt AddStatus( /// @return the new #Status' ID + DYN StmStatu2 * let_dpStatus); /// @#AddToken - void AddToken( - const char * in_sToken, - UINT16 in_nTokenId, - const INT16 * in_aBranches, - INT16 in_nBoundsStatus ); + void AddToken( + const char * in_sToken, + UINT16 in_nTokenId, + const INT16 * in_aBranches, + INT16 in_nBoundsStatus ); ~StateMachin2(); // OPERATIONS StmBoundsStatu2 & GetCharChain( - UINT16 & o_nTokenId, - CharacterSource & io_rText ); + UINT16 & o_nTokenId, + CharacterSource & io_rText ); private: // SERVICE FUNCTIONS - StmStatu2 & Status( - intt in_nStatusNr) const; + StmStatu2 & Status( + intt in_nStatusNr) const; StmArrayStatu2 & CurrentStatus() const; StmBoundsStatu2 * BoundsStatus() const; /// Sets the PeekedStatus. - void Peek( - intt in_nBranch); + void Peek( + intt in_nBranch); - void ResizeStati(); // Adds space for 32 stati. + void ResizeStati(); // Adds space for 32 stati. // DATA - StatusList pStati; /// List of Status, implemented as simple C-array of length #nStatiSpace + StatusList pStati; /// List of Status, implemented as simple C-array of length #nStatiSpace /// with nStatiLength valid members (beginning from zero). - intt nCurrentStatus; - intt nPeekedStatus; + intt nCurrentStatus; + intt nPeekedStatus; - intt nStatusSize; /// Size of the branch array of a single status. + intt nStatusSize; /// Size of the branch array of a single status. - intt nNrofStati; /// Nr of Stati so far. - intt nStatiSpace; /// Size of allocated array for #pStati (size in items). + intt nNrofStati; /// Nr of Stati so far. + intt nStatiSpace; /// Size of allocated array for #pStati (size in items). }; -/** @#AddToken +/** @#AddToken @descr Adds a token, which will be recogniszeds by the statemachine. diff --git a/autodoc/source/parser_i/inc/tokens/token2.hxx b/autodoc/source/parser_i/inc/tokens/token2.hxx index d1a4ac3b275c..1e6750c48359 100644 --- a/autodoc/source/parser_i/inc/tokens/token2.hxx +++ b/autodoc/source/parser_i/inc/tokens/token2.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -51,11 +51,11 @@ class TextToken { public: // LIFECYCLE - virtual ~TextToken() {} + virtual ~TextToken() {} // INQUIRY - virtual const char* Text() const = 0; + virtual const char* Text() const = 0; }; diff --git a/autodoc/source/parser_i/inc/x_parse2.hxx b/autodoc/source/parser_i/inc/x_parse2.hxx index 0301dc74f5a4..bbc69bb99239 100644 --- a/autodoc/source/parser_i/inc/x_parse2.hxx +++ b/autodoc/source/parser_i/inc/x_parse2.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -42,22 +42,22 @@ class X_AutodocParser : public csv::Exception // TYPES enum E_Type { - x_Any = 0, + x_Any = 0, x_InvalidChar, x_UnexpectedToken, x_UnexpectedEOF }; // LIFECYCLE X_AutodocParser( - E_Type i_eType, - const char * i_sName = "" ) - : eType(i_eType), sName(i_sName) {} + E_Type i_eType, + const char * i_sName = "" ) + : eType(i_eType), sName(i_sName) {} // INQUIRY - virtual void GetInfo( + virtual void GetInfo( std::ostream & o_rOutputMedium ) const; private: - E_Type eType; + E_Type eType; String sName; }; |