class LexemeData;
// 各 lexeme を smart_ptr にして取得する.
-smart_ptr<ILexeme> makeOpenParen();
-smart_ptr<ILexeme> makeEOS();
-smart_ptr<ILexeme> makeCloseParen();
-smart_ptr<ILexeme> makeBackQuote();
-smart_ptr<ILexeme> makeQuote();
-smart_ptr<ILexeme> makeDot();
-smart_ptr<ILexeme> makeUnquoteSplicing();
-smart_ptr<ILexeme> makeUnquote();
-smart_ptr<ILexeme> makeSyntax();
-smart_ptr<ILexeme> makeQuasiSyntax();
-smart_ptr<ILexeme> makeUnsyntaxSplicing();
-smart_ptr<ILexeme> makeUnsyntax();
-smart_ptr<ILexeme> makeByteVector();
-smart_ptr<ILexeme> makeVector();
-smart_ptr<ILexeme> makeIdentifier(const utakata::unicode::UniString& str);
-smart_ptr<ILexeme> makeString(const utakata::unicode::UniString& str);
-smart_ptr<ILexeme> makeNumber(const utakata::unicode::UniString& real,
+smart_ptr<ILexeme> MakeOpenParen();
+smart_ptr<ILexeme> MakeEOS();
+smart_ptr<ILexeme> MakeCloseParen();
+smart_ptr<ILexeme> MakeBackQuote();
+smart_ptr<ILexeme> MakeQuote();
+smart_ptr<ILexeme> MakeDot();
+smart_ptr<ILexeme> MakeUnquoteSplicing();
+smart_ptr<ILexeme> MakeUnquote();
+smart_ptr<ILexeme> MakeSyntax();
+smart_ptr<ILexeme> MakeQuasiSyntax();
+smart_ptr<ILexeme> MakeUnsyntaxSplicing();
+smart_ptr<ILexeme> MakeUnsyntax();
+smart_ptr<ILexeme> MakeByteVector();
+smart_ptr<ILexeme> MakeVector();
+smart_ptr<ILexeme> MakeIdentifier(const utakata::unicode::UniString& str);
+smart_ptr<ILexeme> MakeString(const utakata::unicode::UniString& str);
+smart_ptr<ILexeme> MakeNumber(const utakata::unicode::UniString& real,
const utakata::unicode::UniString& imaginary,
bool exact, int radix);
-smart_ptr<ILexeme> makeCharactor(const utakata::unicode::UniChar& str);
-smart_ptr<ILexeme> makeNanImaginary(const utakata::unicode::UniString& str,
+smart_ptr<ILexeme> MakeCharactor(const utakata::unicode::UniChar& str);
+smart_ptr<ILexeme> MakeNanImaginary(const utakata::unicode::UniString& str,
bool exact);
-smart_ptr<ILexeme> makeInfImaginary(const utakata::unicode::UniString& str,
+smart_ptr<ILexeme> MakeInfImaginary(const utakata::unicode::UniString& str,
bool exact);
-smart_ptr<ILexeme> makeImaginaryOnly(const utakata::unicode::UniString& str,
+smart_ptr<ILexeme> MakeImaginaryOnly(const utakata::unicode::UniString& str,
bool exact);
-smart_ptr<ILexeme> makeBoolean(smart_ptr<utakata::unicode::UniChar> ch);
+smart_ptr<ILexeme> MakeBoolean(smart_ptr<utakata::unicode::UniChar> ch);
////////////////////////////////////////////
virtual ~PureLexeme() {}
const lexeme::LexemeID getID() const;
- smart_ptr<utakata::unicode::UniString> toString() const;
- smart_ptr<utakata::lexeme::LexemeData> getData() const;
+ smart_ptr<utakata::unicode::UniString> ToString() const;
+ smart_ptr<utakata::lexeme::LexemeData> GetData() const;
private:
virtual ~String() {}
const lexeme::LexemeID getID() const;
- smart_ptr<utakata::unicode::UniString> toString() const;
- smart_ptr<utakata::lexeme::LexemeData> getData() const;
+ smart_ptr<utakata::unicode::UniString> ToString() const;
+ smart_ptr<utakata::lexeme::LexemeData> GetData() const;
private:
virtual ~Identifier() {}
const lexeme::LexemeID getID() const;
- smart_ptr<utakata::unicode::UniString> toString() const;
- smart_ptr<utakata::lexeme::LexemeData> getData() const;
+ smart_ptr<utakata::unicode::UniString> ToString() const;
+ smart_ptr<utakata::lexeme::LexemeData> GetData() const;
private:
virtual ~Number() {}
const lexeme::LexemeID getID() const;
- smart_ptr<utakata::unicode::UniString> toString() const;
- smart_ptr<utakata::lexeme::LexemeData> getData() const;
+ smart_ptr<utakata::unicode::UniString> ToString() const;
+ smart_ptr<utakata::lexeme::LexemeData> GetData() const;
private:
smart_ptr<utakata::lexeme::LexemeData> data_;
virtual ~Charactor() {}
const lexeme::LexemeID getID() const;
- smart_ptr<utakata::unicode::UniString> toString() const;
- smart_ptr<utakata::lexeme::LexemeData> getData() const;
+ smart_ptr<utakata::unicode::UniString> ToString() const;
+ smart_ptr<utakata::lexeme::LexemeData> GetData() const;
private:
virtual ~Boolean() {}
const lexeme::LexemeID getID() const;
- smart_ptr<utakata::unicode::UniString> toString() const;
- smart_ptr<utakata::lexeme::LexemeData> getData() const;
+ smart_ptr<utakata::unicode::UniString> ToString() const;
+ smart_ptr<utakata::lexeme::LexemeData> GetData() const;
private:
smart_ptr<unicode::UniString> bool_;