OSDN Git Service

google testをテスティングライブラリとして利用することに決定。
[simplecms/utakata.git] / src / lexeme_impl.h
index 9904af8..d81e08f 100755 (executable)
@@ -21,33 +21,33 @@ class LexemeID;
 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);
 
 
 ////////////////////////////////////////////
@@ -64,8 +64,8 @@ class PureLexeme : public ILexeme {
   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:
 
@@ -84,8 +84,8 @@ class String : public ILexeme {
   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:
 
@@ -103,8 +103,8 @@ class Identifier : public ILexeme {
   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:
 
@@ -123,8 +123,8 @@ class Number : public ILexeme {
   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_;
@@ -141,8 +141,8 @@ class Charactor : public ILexeme {
   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:
 
@@ -160,8 +160,8 @@ class Boolean : public ILexeme {
   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_;