OSDN Git Service
(root)
/
simplecms
/
utakata.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
-- NestedCommentLexer、StringLexerの実装を完了。
[simplecms/utakata.git]
/
lexeme_id.cpp
1
#include "lexeme_id.h"
2
3
using namespace utakata::lexeme;
4
5
singleton<LexemeID> IDProxy::instance_;
6
7
LexemeID::LexemeID() : openParenthesis(1),
8
string(2),
9
closeParenthesis(3),
10
eof(-1),
11
backquote(4),
12
dot(5),
13
quote(6),
14
unquoteSplicing(7),
15
syntax(8),
16
quasiSyntax(9),
17
unsyntax(10),
18
unsyntaxSplicing(11),
19
identifier(12),
20
number(13),
21
charactor(14)
22
{
23
// 全てのIDをここで記述する。
24
// すべてconstなので、実際にはinitializerで初期化している。
25
}