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.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/token.h b/lib/token.h index f3188c9..a4072e0 100644 --- a/lib/token.h +++ b/lib/token.h
@@ -50,6 +50,11 @@ namespace verbly {
50 50
51 std::string compile() const; 51 std::string compile() const;
52 52
53 bool isEmpty() const
54 {
55 return ((type_ == type::utterance) && (utterance_.empty()));
56 }
57
53 // Word 58 // Word
54 59
55 token(word arg, inflection category = inflection::base); 60 token(word arg, inflection category = inflection::base);