summaryrefslogtreecommitdiff
path: root/autodoc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-03-05 10:51:35 +0000
committerCaolán McNamara <caolanm@redhat.com>2013-03-05 12:35:29 +0000
commitafae9b56a0fd80581043afae94d38b29c4262016 (patch)
tree8826105cda9f666f3464af4f2ce6690a31e9a667 /autodoc
parentd431a1323f0b7bbeff79216b2c132e457b6cd3ef (diff)
update unusedcode target and list
Change-Id: I53344d6a17570c044ad6e24cc148e07fe6f99ae8
Diffstat (limited to 'autodoc')
-rw-r--r--autodoc/Executable_autodoc.mk1
-rw-r--r--autodoc/source/parser/inc/tokens/tkp.hxx78
-rw-r--r--autodoc/source/parser/tokens/tkp.cxx50
3 files changed, 0 insertions, 129 deletions
diff --git a/autodoc/Executable_autodoc.mk b/autodoc/Executable_autodoc.mk
index 8f7ff192946e..49217677445e 100644
--- a/autodoc/Executable_autodoc.mk
+++ b/autodoc/Executable_autodoc.mk
@@ -31,7 +31,6 @@ $(eval $(call gb_Executable_add_exception_objects,autodoc,\
autodoc/source/exes/adc_uni/main \
autodoc/source/exes/adc_uni/adc_msg \
autodoc/source/exes/adc_uni/cmd_run \
- autodoc/source/parser/tokens/tkp \
autodoc/source/parser/tokens/tokdeal \
autodoc/source/parser/tokens/stmstate \
autodoc/source/parser/tokens/tkpcontx \
diff --git a/autodoc/source/parser/inc/tokens/tkp.hxx b/autodoc/source/parser/inc/tokens/tkp.hxx
deleted file mode 100644
index bd78cd204964..000000000000
--- a/autodoc/source/parser/inc/tokens/tkp.hxx
+++ /dev/null
@@ -1,78 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-
-#ifndef ADC_TKP_HXX
-#define ADC_TKP_HXX
-
-// USED SERVICES
- // BASE CLASSES
- // COMPONENTS
-class CharacterSource;
-class TkpContext;
- // PARAMETRS
-
-
-
-/** This is the interface for parser classes, which get a sequence of tokens from
- a text.
-
- Start() starts to parse the text from the given i_rSource.
-
- The algorithms for parsing tokens from the text are an issue of
- the derived classes.
-*/
-
-class TokenParser
-{
- public:
- // LIFECYCLE
- TokenParser();
- virtual ~TokenParser() {}
-
- // OPERATIONS
- /** Start parsing a character source. Any previously parsed sources
- are discarded.
- */
- virtual void Start(
- CharacterSource &
- i_rSource );
-
- /// @return true, if there are more tokens to parse.
- bool HasMore() const { return bHasMore; }
-
- private:
- void InitSource(
- CharacterSource &
- i_rSource );
-
- virtual void SetStartContext() = 0;
- virtual void SetCurrentContext(
- TkpContext & io_rContext ) = 0;
- virtual TkpContext &
- CurrentContext() = 0;
- // DATA
- CharacterSource * pChars;
- bool bHasMore;
-};
-
-
-#endif
-
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/autodoc/source/parser/tokens/tkp.cxx b/autodoc/source/parser/tokens/tkp.cxx
deleted file mode 100644
index 217827bc1e3b..000000000000
--- a/autodoc/source/parser/tokens/tkp.cxx
+++ /dev/null
@@ -1,50 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-
-#include <precomp.h>
-#include <tokens/tkp.hxx>
-
-// NOT FULLY DECLARED SERVICES
-#include <tools/tkpchars.hxx>
-#include <tokens/tkpcontx.hxx>
-
-
-
-TokenParser::TokenParser()
- : pChars(0),
- bHasMore(false)
-{
-}
-
-void
-TokenParser::Start( CharacterSource & i_rSource )
-{
- InitSource(i_rSource);
-}
-
-void
-TokenParser::InitSource( CharacterSource & i_rSource )
-{
- pChars = &i_rSource;
- bHasMore = true;
- SetStartContext();
-}
-
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */