summary refs log tree commit diff stats
path: root/lib/token.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/token.h')
-rw-r--r--lib/token.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/token.h b/lib/token.h index 0bbe79a..ae7bf96 100644 --- a/lib/token.h +++ b/lib/token.h
@@ -116,6 +116,7 @@ namespace verbly {
116 static token punctuation(std::string param, token inner); 116 static token punctuation(std::string param, token inner);
117 static token indefiniteArticle(token inner); 117 static token indefiniteArticle(token inner);
118 static token capitalize(casing param, token inner); 118 static token capitalize(casing param, token inner);
119 static token quote(std::string open, std::string close, token inner);
119 120
120 token& getInnerToken(); 121 token& getInnerToken();
121 const token& getInnerToken() const; 122 const token& getInnerToken() const;
@@ -131,12 +132,14 @@ namespace verbly {
131 separator, 132 separator,
132 punctuation, 133 punctuation,
133 indefinite_article, 134 indefinite_article,
134 capitalize 135 capitalize,
136 quote
135 }; 137 };
136 138
137 token( 139 token(
138 transform_type type, 140 transform_type type,
139 std::string param, 141 std::string param1,
142 std::string param2,
140 token inner); 143 token inner);
141 144
142 token( 145 token(
@@ -156,6 +159,7 @@ namespace verbly {
156 struct { 159 struct {
157 transform_type type_; 160 transform_type type_;
158 std::string strParam_; 161 std::string strParam_;
162 std::string strParam2_;
159 casing casingParam_; 163 casing casingParam_;
160 std::unique_ptr<token> inner_; 164 std::unique_ptr<token> inner_;
161 } transform_; 165 } transform_;