IWORKTokenInfo.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 IWORKTOKENINFO_H_INCLUDED
11 #define IWORKTOKENINFO_H_INCLUDED
12 
13 namespace libetonyek
14 {
15 
16 template<class Parser>
18 {
19 };
20 
21 class IWORKParser;
22 class KEY1Parser;
23 class KEY2Parser;
24 class NUM1Parser;
25 class PAG1Parser;
26 
27 template<>
29 {
30  static const int first = 1;
31  static const int last = first + 1000;
32 };
33 
34 template<>
36 {
37  static const int first = IWORKTokenInfo<IWORKParser>::last + 1;
38  static const int last = first + 1000;
39 };
40 
41 template<>
43 {
44  static const int first = IWORKTokenInfo<KEY1Parser>::last + 1;
45  static const int last = first + 1000;
46 };
47 
48 template<>
50 {
51  static const int first = IWORKTokenInfo<KEY2Parser>::last + 1;
52  static const int last = first + 1000;
53 };
54 
55 template<>
57 {
58  static const int first = IWORKTokenInfo<NUM1Parser>::last + 1;
59  static const int last = first + 1000;
60 };
61 
62 }
63 
64 #endif // IWORKTOKENINFO_H_INCLUDED
65 
66 /* vim:set shiftwidth=2 softtabstop=2 expandtab: */
Definition: IWORKParser.h:23
Definition: KEY1Parser.h:23
Definition: IWORKTokenInfo.h:17
Definition: PAG1Parser.h:22
Definition: IWORKToken.h:531
Definition: NUM1Parser.h:22
Definition: KEY2Parser.h:22

Generated for libetonyek by doxygen 1.8.6