summary refs log tree commit diff stats
path: root/lib
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2016-05-10 11:21:20 -0400
committerKelly Rauchenberger <fefferburbia@gmail.com>2016-05-10 11:21:20 -0400
commite7299f7bf66df7e62bf36ef42ab7810086d088c5 (patch)
treec952303d2543739492e1102473f0cf02b75987f5 /lib
parentbd398509575af0362e53ce6b805eaa210406b9fd (diff)
downloadverbly-e7299f7bf66df7e62bf36ef42ab7810086d088c5.tar.gz
verbly-e7299f7bf66df7e62bf36ef42ab7810086d088c5.tar.bz2
verbly-e7299f7bf66df7e62bf36ef42ab7810086d088c5.zip
Implemented some accidentally unimplemented adjective_query predicates
Diffstat (limited to 'lib')
-rw-r--r--lib/adjective_query.cpp21
1 files changed, 21 insertions, 0 deletions
diff --git a/lib/adjective_query.cpp b/lib/adjective_query.cpp index 2bea68f..e47b40c 100644 --- a/lib/adjective_query.cpp +++ b/lib/adjective_query.cpp
@@ -104,6 +104,27 @@ namespace verbly {
104 return *this; 104 return *this;
105 } 105 }
106 106
107 adjective_query& adjective_query::requires_comparative_form()
108 {
109 _requires_comparative_form = true;
110
111 return *this;
112 }
113
114 adjective_query& adjective_query::requires_superlative_form()
115 {
116 _requires_superlative_form = true;
117
118 return *this;
119 }
120
121 adjective_query& adjective_query::position(adjective::positioning pos)
122 {
123 _position = pos;
124
125 return *this;
126 }
127
107 adjective_query& adjective_query::is_variant() 128 adjective_query& adjective_query::is_variant()
108 { 129 {
109 this->_is_variant = true; 130 this->_is_variant = true;