IWORKChainedTokenizer.h
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2/*
3 * This file is part of the libetonyek project.
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 */
9
10#ifndef IWORKCHAINEDTOKENIZER_H_INCLUDED
11#define IWORKCHAINEDTOKENIZER_H_INCLUDED
12
13#include "IWORKTokenizer.h"
14
15 namespace libetonyek
16{
17
18 class IWORKChainedTokenizer : public IWORKTokenizer
19{
20 public:
21 IWORKChainedTokenizer(const IWORKTokenizer &tokenizer, const IWORKTokenizer &next);
22
23 int getId(const char *name) const override;
24 int getQualifiedId(const char *name, const char *ns) const override;
25
26 private:
27 const IWORKTokenizer &m_tokenizer;
28 const IWORKTokenizer &m_next;
29};
30
31}
32
33#endif // IWORKCHAINEDTOKENIZER_H_INCLUDED
34
35/* vim:set shiftwidth=2 softtabstop=2 expandtab: */
IWORKTokenizer.h
libetonyek::IWORKChainedTokenizer::m_tokenizer
const IWORKTokenizer & m_tokenizer
Definition IWORKChainedTokenizer.h:27
libetonyek::IWORKChainedTokenizer::IWORKChainedTokenizer
IWORKChainedTokenizer(const IWORKTokenizer &tokenizer, const IWORKTokenizer &next)
Definition IWORKChainedTokenizer.cpp:15
libetonyek::IWORKChainedTokenizer::getId
int getId(const char *name) const override
Definition IWORKChainedTokenizer.cpp:22
libetonyek::IWORKChainedTokenizer::m_next
const IWORKTokenizer & m_next
Definition IWORKChainedTokenizer.h:28
libetonyek::IWORKChainedTokenizer::getQualifiedId
int getQualifiedId(const char *name, const char *ns) const override
Definition IWORKChainedTokenizer.cpp:28
libetonyek::IWORKTokenizer::IWORKTokenizer
IWORKTokenizer(const IWORKTokenizer &)
libetonyek::IWORKToken::name
@ name
Definition IWORKToken.h:585
libetonyek
Definition IWORKBezierElement.cpp:21