diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/adjective_query.cpp | 21 |
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; |